Changeset 47 in flair-dev for trunk/include/FlairVisionFilter


Ignore:
Timestamp:
Jan 19, 2017, 3:06:46 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

m

Location:
trunk/include/FlairVisionFilter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/FlairVisionFilter/CvtColor.h

    r44 r47  
    3939            */
    4040            enum class Conversion_t {
    41                 BGR,/*!< BGR 24 bits */
    42                 GRAY,/*!< gray 8 bits */
     41                ToBGR,/*!< BGR 24 bits */
     42                ToGray,/*!< gray 8 bits */
    4343                } ;
    4444
  • trunk/include/FlairVisionFilter/VisionFilter.h

    r45 r47  
    1212void CloseVisionFilter(void);
    1313
    14 void saveToJpeg(IplImage* src_img,std::string filename,unsigned char compression_level=95);
     14enum class PictureFormat_t {
     15                Gray,/*!< gray 8 bits */
     16                RGB,/*!< rgb 24 bits */
     17                YUV_422ile,/*!< YUV 4:2:2 interleaved */
     18                YUV_422p,/*!< YUV 4:2:2 planer */
     19                } ;
     20                                                               
     21void saveToJpeg(IplImage* src_img,std::string filename,PictureFormat_t input_format,PictureFormat_t output_format,unsigned char compression_level=95);
Note: See TracChangeset for help on using the changeset viewer.