Image format conversion method, image format conversion module, image recognition device and image recognition method
The invention discloses an image format conversion method and module and an image recognition device and method based on image format conversion. The image format conversion method comprises the following steps: storing a bitmap data entity of a bmp format file as a 16-bit unsigned integer x; the 16...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an image format conversion method and module and an image recognition device and method based on image format conversion. The image format conversion method comprises the following steps: storing a bitmap data entity of a bmp format file as a 16-bit unsigned integer x; the 16-bit unsigned shaping number x is subjected to normalization processing through a first conversion formula, a normalized integer number x 'is obtained, and max (x) represents the maximum value of the 16-bit unsigned integer number x; and converting the normalized integer number x'into an 8-bit unsigned integer number y, performing nonlinear conversion on the 8-bit unsigned integer number y by using a second conversion formula, and storing a conversion result z as a png format file. According to the method, the bitmap data entity of the bmp format file is subjected to normalization and nonlinear conversion and is saved as the png format file, so that the problem of image display is avoided, a complete picture can be |
---|