read_jpeg_file Reads from a jpeg file on disk specified by filename and saves into the raw_image buffer in an uncompressed format.
More...
List of all members.
Public Member Functions
-
float differenceTo (Image &picP)
-
unsigned long getTotalIntesity () const
-
void print ()
Public Attributes
-
unsigned char * data
-
unsigned height
-
unsigned num_components
-
unsigned width
Detailed Description
read_jpeg_file Reads from a jpeg file on disk specified by filename and saves into the raw_image buffer in an uncompressed format.
- Returns:
- positive integer if successful, -1 otherwise
- Parameters:
-
*filename | char string specifying the file name to read from |
The documentation for this struct was generated from the following file:
- modules/examples/JpegCompare/JpegCompare.cpp