This pixelaccess is a carmen module intended to provide fast (but unsafe) iplimage pixel read and write functions. More...
Files | |
| file | pixelaccess.cpp |
This is where main is defined and etc. | |
| file | pixelaccess.h |
main header file for this module. Includes, global vars, funtion prototypes, etc. | |
Functions | |
| int | set_all_processors_speed (int speed) |
| int | get_number_of_processors (void) |
| int | setup_intel_ipp (void) |
| Sets up intel ipp libraries. Warning must do the followin in .bashrc "export LD_LIBRARY_PATH=/opt/intel/ipp/6.1.1.042/em64t/sharedlib/:$LD_LIBRARY_PATH". | |
| unsigned char | GetPixel_8UC1 (const IplImage *src, int u, int v) |
| Get the value of pixel index u,v from the 1 channel 8 bit unsigned char IPLImage src. | |
| void | SetPixel_8UC1 (IplImage *dst, int u, int v, unsigned char val) |
| Sets the value of pixel index u,v from the 1 channel 8 bit unsigned char IPLImage src to value val. | |
| void | SetMVAL_32FC1 (CvMat *src, int u, int v, float val) |
| Sets the value of element index u,v from the 1 channel 32 bit CVMat src to value val. | |
| float | GetMVAL_32FC1 (CvMat *src, int u, int v) |
| Get the value of element index u,v from the 1 channel 32 bit CVMat src. | |
| void | SetMVAL_8UC1 (CvMat *src, int u, int v, unsigned char val) |
| Sets the value of element index u,v from the 1 channel 8 bit CVMat src to value val. | |
| unsigned char | GetMVAL_8UC1 (CvMat *src, int u, int v) |
| Get the value of element index u,v from the 1 channel 8 bit CVMat src. | |
| unsigned char * | GetPixel_8UC3 (IplImage *src, int u, int v) |
| Get the value of pixel index u,v from the 3 channel 8 bit IPLImage src. | |
| void | SetPixel_8UC3 (IplImage *dst, int u, int v, unsigned char *val) |
| Sets the value of pixel index u,v from the 3 channel 8 bit unsigned char IPLImage src to value val. | |
| void | SetMVAL_32FC3 (CvMat *src, int u, int v, float *val) |
| Sets the value of element index u,v for 3 channel 32 bit CVMat src to value val. | |
| float * | GetMVAL_32FC3 (CvMat *src, int u, int v) |
| Get the value of element index u,v from the 3 channel 32 bit CVMat src. | |
| float | GetPixel_32FC1 (IplImage *src, int u, int v) |
| void | SetPixel_32FC1 (IplImage *src, int u, int v, double val) |
This pixelaccess is a carmen module intended to provide fast (but unsafe) iplimage pixel read and write functions.
| int get_number_of_processors | ( | void | ) |
| float GetMVAL_32FC1 | ( | CvMat * | src, | |
| int | u, | |||
| int | v | |||
| ) |
Get the value of element index u,v from the 1 channel 32 bit CVMat src.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. |
Referenced by class_base_ipm::RemapImages_Gray(), class_base_ipm::RemapImages_RGB(), class_base_ipm::ReportProjectionMaps(), and class_base_ipm::ReportProjectionMaps2().
| float * GetMVAL_32FC3 | ( | CvMat * | src, | |
| int | u, | |||
| int | v | |||
| ) |
Get the value of element index u,v from the 3 channel 32 bit CVMat src.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. |
| unsigned char GetMVAL_8UC1 | ( | CvMat * | src, | |
| int | u, | |||
| int | v | |||
| ) |
Get the value of element index u,v from the 1 channel 8 bit CVMat src.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. |
Referenced by class_base_ipm::RemapImages_Gray(), class_base_ipm::RemapImages_RGB(), class_base_ipm::ReportProjectionMaps(), and class_base_ipm::ReportProjectionMaps2().
| float GetPixel_32FC1 | ( | IplImage * | src, | |
| int | u, | |||
| int | v | |||
| ) |
| unsigned char GetPixel_8UC1 | ( | const IplImage * | src, | |
| int | u, | |||
| int | v | |||
| ) |
Get the value of pixel index u,v from the 1 channel 8 bit unsigned char IPLImage src.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. |
Referenced by findbasepoints(), findgroups_rightpix(), get_sparse_pts_from_img(), class_base_ipm::InterpolateImage_Gray(), class_base_ipm::RemapImages_Gray(), setbasepointspix(), sparse_and(), stretch_image(), imageprocessing::stretch_image_histogram(), stretch_image_masked(), and tf_stretch_image().
| unsigned char * GetPixel_8UC3 | ( | IplImage * | src, | |
| int | u, | |||
| int | v | |||
| ) |
Get the value of pixel index u,v from the 3 channel 8 bit IPLImage src.
Get the value of pixel index u,v from the 1 channel 32 bit IPLImage src.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. |
Referenced by class_base_ipm::RemapImages_RGB().
| int set_all_processors_speed | ( | int | speed | ) |
| speed | in MHz |
| void SetMVAL_32FC1 | ( | CvMat * | src, | |
| int | u, | |||
| int | v, | |||
| float | val | |||
| ) |
Sets the value of element index u,v from the 1 channel 32 bit CVMat src to value val.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. | |
| val | the value of the element. |
Referenced by class_base_ipm::CalculateProjectionMaps().
| void SetMVAL_32FC3 | ( | CvMat * | src, | |
| int | u, | |||
| int | v, | |||
| float * | val | |||
| ) |
Sets the value of element index u,v for 3 channel 32 bit CVMat src to value val.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. | |
| val | the value of the element. |
| void SetMVAL_8UC1 | ( | CvMat * | src, | |
| int | u, | |||
| int | v, | |||
| unsigned char | val | |||
| ) |
Sets the value of element index u,v from the 1 channel 8 bit CVMat src to value val.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. | |
| val | the value of the element. |
Referenced by class_base_ipm::CalculateProjectionMaps().
| void SetPixel_32FC1 | ( | IplImage * | src, | |
| int | u, | |||
| int | v, | |||
| double | val | |||
| ) |
| void SetPixel_8UC1 | ( | IplImage * | dst, | |
| int | u, | |||
| int | v, | |||
| unsigned char | val | |||
| ) |
Sets the value of pixel index u,v from the 1 channel 8 bit unsigned char IPLImage src to value val.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. | |
| val | the value of the pixel. |
Referenced by class_base_ipm::InterpolateImage_Gray(), class_base_ipm::RemapImages_Gray(), class_advancedfloodfill::show_image(), stretch_image(), imageprocessing::stretch_image_histogram(), stretch_image_masked(), and tf_stretch_image().
| void SetPixel_8UC3 | ( | IplImage * | dst, | |
| int | u, | |||
| int | v, | |||
| unsigned char * | val | |||
| ) |
Sets the value of pixel index u,v from the 3 channel 8 bit unsigned char IPLImage src to value val.
| src | The IplImage to get the pixel from. | |
| u | the line coordinate of the image. | |
| v | the column coordinate of the image. | |
| val | the value of the pixel. |
Referenced by class_base_ipm::RemapImages_RGB().
| int setup_intel_ipp | ( | void | ) |
Sets up intel ipp libraries. Warning must do the followin in .bashrc "export LD_LIBRARY_PATH=/opt/intel/ipp/6.1.1.042/em64t/sharedlib/:$LD_LIBRARY_PATH".
Referenced by main().
1.6.3