|
vpImageConvert Class Reference
Detailed DescriptionConvert image types. Definition at line 95 of file vpImageConvert.h. Member Function Documentation
Converts a BGR image to greyscale Flips the image verticaly if needed assumes that grey is already resized Definition at line 3064 of file vpImageConvert.cpp. References src. Referenced by vpV4l2Grabber::acquire(), and convert().
Here is the caller graph for this function:
![]()
Converts a BGR image to RGBa Flips the image verticaly if needed assumes that rgba is already resized Definition at line 3026 of file vpImageConvert.cpp. References src. Referenced by vpV4l2Grabber::acquire().
Here is the caller graph for this function:
![]()
Convert a vpImage<vpRGBa> to a vpImage<unsigned char>
Definition at line 68 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), GreyToRGBa(), and vpImage< Type >::resize(). Referenced by vpOpenCVGrabber::acquire(), vpKeyPointSurf::buildReference(), vpImageFilter::canny(), vpDisplayOpenCV::displayImage(), vpDisplayOpenCV::displayImageROI(), vpDisplayOpenCV::getImage(), vpImageSimulator::init(), vpMbEdgeTracker::initPyramid(), main(), vpKeyPointSurf::matchPoint(), vpImageIo::readJPEG(), vpImageIo::readPGM(), vpImageIo::readPNG(), vpImageIo::readPPM(), vpMeNurbs::seekExtremitiesCanny(), vpFernClassifier::setImage(), vpImageIo::writePGM(), and vpImageIo::writePPM().
Here is the caller graph for this function:
![]()
Convert a vpImage<unsigned char> to a vpImage<vpRGBa>
Definition at line 83 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpImage< Type >::resize(), and RGBaToGrey().
Convert a vpImage<float> to a vpImage<unsigend char> by renormalizing between 0 and 255.
Definition at line 99 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getMinMaxValue(), vpImage< Type >::getWidth(), and vpImage< Type >::resize().
Convert a vpImage<unsigned char> to a vpImage<float> by basic casting.
Definition at line 125 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpImage< Type >::resize().
Convert a vpImage<double> to a vpImage<unsigend char> by renormalizing between 0 and 255.
Definition at line 139 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getMinMaxValue(), vpImage< Type >::getWidth(), and vpImage< Type >::resize().
Convert a vpImage<unsigned char> to a vpImage<double> by basic casting.
Definition at line 165 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpImage< Type >::resize().
Convert a IplImage to a vpImage<vpRGBa> An IplImage is an OpenCV (Intel's Open source Computer Vision Library) image structure. See http://opencvlibrary.sourceforge.net/ for general OpenCV documentation, or http://opencvlibrary.sourceforge.net/CxCore for the specific IplImage structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #ifdef VISP_HAVE_OPENCV vpImage<vpRGBa> Ic; // A color image IplImage* Ip; // Read an image on a disk with openCV library Ip = cvLoadImage("image.ppm", CV_LOAD_IMAGE_COLOR); // Convert the grayscale IplImage into vpImage<vpRGBa> vpImageConvert::convert(Ip, Ic); // ... // Release Ip header and data cvReleaseImage(&Ip); #endif } Definition at line 215 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, and vpImage< Type >::resize().
Convert a IplImage to a vpImage<unsigned char> An IplImage is an OpenCV (Intel's Open source Computer Vision Library) image structure. See http://opencvlibrary.sourceforge.net/ for general OpenCV documentation, or http://opencvlibrary.sourceforge.net/CxCore for the specific IplImage structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #ifdef VISP_HAVE_OPENCV vpImage<unsigned char> Ig; // A grayscale image IplImage* Ip; // Read an image on a disk with openCV library Ip = cvLoadImage("image.pgm", CV_LOAD_IMAGE_GRAYSCALE); // Convert the grayscale IplImage into vpImage<unsigned char> vpImageConvert::convert(Ip, Ig); // ... // Release Ip header and data cvReleaseImage(&Ip); #endif } Definition at line 318 of file vpImageConvert.cpp. References BGRToGrey(), vpImage< Type >::bitmap, and vpImage< Type >::resize().
Convert a vpImage<vpRGBa> to a IplImage An IplImage is an OpenCV (Intel's Open source Computer Vision Library) image structure. See http://opencvlibrary.sourceforge.net/ for general OpenCV documentation, or http://opencvlibrary.sourceforge.net/CxCore for the specific IplImage structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #ifdef VISP_HAVE_OPENCV vpImage<vpRGBa> Ic; // A color image IplImage* Ip = NULL; // Read an image on a disk vpImageIo::readPPM(Ic, "image.ppm"); // Convert the vpImage<vpRGBa> in to color IplImage vpImageConvert::convert(Ic, Ip); // Treatments on IplImage //... // Save the IplImage on the disk cvSaveImage("Ipl.ppm", Ip); //Release Ip header and data cvReleaseImage(&Ip); #endif } Definition at line 420 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), and vpImage< Type >::getWidth().
Convert a vpImage<unsigned char> to a IplImage An IplImage is an OpenCV (Intel's Open source Computer Vision Library) image structure. See http://opencvlibrary.sourceforge.net/ for general OpenCV documentation, or http://opencvlibrary.sourceforge.net/CxCore for the specific IplImage structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #ifdef VISP_HAVE_OPENCV vpImage<unsigned char> Ig; // A greyscale image IplImage* Ip = NULL; // Read an image on a disk vpImageIo::readPGM(Ig, "image.pgm"); // Convert the vpImage<unsigned char> in to greyscale IplImage vpImageConvert::convert(Ig, Ip); // Treatments on IplImage Ip //... // Save the IplImage on the disk cvSaveImage("Ipl.pgm", Ip); //Release Ip header and data cvReleaseImage(&Ip); #endif } Definition at line 505 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), and vpImage< Type >::getWidth().
Convert a cv::Mat to a vpImage<vpRGBa> A cv::Mat is an OpenCV image class. See http://opencv.willowgarage.com for the general OpenCV documentation, or http://opencv.willowgarage.com/documentation/cpp/core_basic_structures.html for the specific Mat structure documentation. Similarily to the convert(const IplImage* src, vpImage<vpRGBa> & dest, bool flip) method, only Mat with a depth equal to 8 and a channel between 1 and 3 are converted.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #include <visp/vpRGBa.h> int main() { #if defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION >= 0x020100) vpImage<vpRGBa> Ic; // A color image cv::Mat Ip; // Read an image on a disk with openCV library Ip = cv::imread("image.pgm", 1);// second parameter > 0 for a RGB encoding. // Convert the grayscale cv::Mat into vpImage<vpRGBa> vpImageConvert::convert(Ip, Ic); // ... #endif } Definition at line 580 of file vpImageConvert.cpp. References vpRGBa::A, vpRGBa::B, vpRGBa::G, vpImage< Type >::getCols(), vpImage< Type >::getRows(), vpRGBa::R, and vpImage< Type >::resize().
Convert a cv::Mat to a vpImage<unsigned char> A cv::Mat is an OpenCV image class. See http://opencv.willowgarage.com for the general OpenCV documentation, or http://opencv.willowgarage.com/documentation/cpp/core_basic_structures.html for the specific Mat structure documentation. Similarily to the convert(const IplImage* src, vpImage<vpRGBa> & dest, bool flip) method, only Mat with a depth equal to 8 and a channel between 1 and 3 are converted.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #if defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION >= 0x020100) vpImage<unsigned char> Ig; // A grayscale image cv::Mat Ip; // Read an image on a disk with openCV library Ip = cv::imread("image.pgm", 0);// second parameter = 0 for a gray level. // Convert the grayscale cv::Mat into vpImage<unsigned char> vpImageConvert::convert(Ip, Ig); // ... #endif } Definition at line 674 of file vpImageConvert.cpp. References BGRToGrey(), vpImage< Type >::bitmap, vpImage< Type >::getCols(), vpImage< Type >::getRows(), and vpImage< Type >::resize().
Convert a vpImage<unsigned char> to a cv::Mat A cv::Mat is an OpenCV image class. See http://opencv.willowgarage.com for the general OpenCV documentation, or http://opencv.willowgarage.com/documentation/cpp/core_basic_structures.html for the specific Mat structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #if defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION >= 0x020100) vpImage<unsigned char> Ig; // A greyscale image cv::Mat Ip; // Read an image on a disk vpImageIo::readPGM(Ig, "image.pgm"); // Convert the vpImage<unsigned char> in to color cv::Mat. vpImageConvert::convert(Ig, Ip); // Treatments on cv::Mat Ip //... // Save the cv::Mat on the disk cv::imwrite("image.pgm", Ip); #endif } Definition at line 757 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getCols(), and vpImage< Type >::getRows().
Convert a vpImage<unsigned char> to a cv::Mat A cv::Mat is an OpenCV image class. See http://opencv.willowgarage.com for the general OpenCV documentation, or http://opencv.willowgarage.com/documentation/cpp/core_basic_structures.html for the specific Mat structure documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #if defined(VISP_HAVE_OPENCV) && (VISP_HAVE_OPENCV_VERSION >= 0x020100) vpImage<unsigned char> Ig; // A greyscale image cv::Mat Ip; // Read an image on a disk vpImageIo::readPGM(Ig, "image.pgm"); // Convert the vpImage<unsigned char> in to greyscale cv::Mat vpImageConvert::convert(Ig, Ip); // Treatments on cv::MatIp //... // Save the cv::Mat on the disk cv::imwrite("image.pgm", Ip); #endif } Definition at line 812 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getCols(), and vpImage< Type >::getRows().
Convert a vpImage<unsigned char> to a yarp::sig::ImageOf<yarp::sig::PixelMono> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { #if defined(VISP_HAVE_YARP) vpImage<unsigned char> I; // A mocochrome image // Read an image on a disk vpImageIo::readPGM(I, "image.pgm"); yarp::sig::ImageOf< yarp::sig::PixelMono > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelMono >(); // Convert the vpImage<unsigned char> to a yarp::sig::ImageOf<yarp::sig::PixelMono> vpImageConvert::convert(I, Iyarp); // ... #endif } Definition at line 859 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getCols(), vpImage< Type >::getHeight(), vpImage< Type >::getRows(), and vpImage< Type >::getWidth().
Convert a yarp::sig::ImageOf<yarp::sig::PixelMono> to a vpImage<unsigned char> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #if defined(VISP_HAVE_YARP) #include <yarp/sig/ImageFile.h> #endif int main() { #if defined(VISP_HAVE_YARP) yarp::sig::ImageOf< yarp::sig::PixelMono > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelMono >(); // Read an image on a disk yarp::sig::file::read(*Iyarp, "image.pgm"); // Convert the yarp::sig::ImageOf<yarp::sig::PixelMono> to a vpImage<unsigned char> vpImage<unsigned char> I; vpImageConvert::convert(Iyarp, I); // ... #endif } Definition at line 907 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, and vpImage< Type >::resize().
Convert a vpImage<vpRGBa> to a yarp::sig::ImageOf<yarp::sig::PixelRgba> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #include <visp/vpRGBa.h> int main() { #if defined(VISP_HAVE_YARP) vpImage<vpRGBa> I; // A color image // Read an image on a disk vpImageIo::read(I,"image.jpg"); yarp::sig::ImageOf< yarp::sig::PixelRgba > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelRgba >(); // Convert the vpImage<vpRGBa> to a yarp::sig::ImageOf<yarp::sig::PixelRgba> vpImageConvert::convert(I,Iyarp); // ... #endif } Definition at line 950 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, vpImage< Type >::getCols(), vpImage< Type >::getHeight(), vpImage< Type >::getRows(), and vpImage< Type >::getWidth().
Convert a yarp::sig::ImageOf<yarp::sig::PixelRgba> to a vpImage<vpRGBa> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #include <visp/vpRGBa.h> #if defined(VISP_HAVE_YARP) #include <yarp/sig/ImageFile.h> #endif int main() { #if defined(VISP_HAVE_YARP) yarp::sig::ImageOf< yarp::sig::PixelRgba > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelRgba >(); // Read an image on a disk yarp::sig::file::read(*Iyarp,"image.pgm"); // Convert the yarp::sig::ImageOf<yarp::sig::PixelRgba> to a vpImage<vpRGBa> vpImage<vpRGBa> I; vpImageConvert::convert(Iyarp,I); // ... #endif } Definition at line 998 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, and vpImage< Type >::resize().
Convert a vpImage<vpRGBa> to a yarp::sig::ImageOf<yarp::sig::PixelRgb> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #include <visp/vpRGBa.h> int main() { #if defined(VISP_HAVE_YARP) vpImage<vpRGBa> I; // A color image // Read an image on a disk vpImageIo::read(I,"image.jpg"); yarp::sig::ImageOf< yarp::sig::PixelRgb > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelRgb >(); // Convert the vpImage<vpRGBa> to a yarp::sig::ImageOf<yarp::sig::PixelRgb> vpImageConvert::convert(I,Iyarp); // ... #endif } Definition at line 1040 of file vpImageConvert.cpp. References vpImage< Type >::getHeight(), vpImage< Type >::getRows(), and vpImage< Type >::getWidth().
Convert a yarp::sig::ImageOf<yarp::sig::PixelRgb> to a vpImage<vpRGBa> A yarp::sig::Image is a YARP image class. See http://eris.liralab.it/yarpdoc/df/d15/classyarp_1_1sig_1_1Image.html for the YARP image class documentation.
#include <visp/vpConfig.h> #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> #include <visp/vpRGBa.h> #if defined(VISP_HAVE_YARP) #include <yarp/sig/ImageFile.h> #endif int main() { #if defined(VISP_HAVE_YARP) yarp::sig::ImageOf< yarp::sig::PixelRgb > *Iyarp = new yarp::sig::ImageOf< yarp::sig::PixelRgb >(); // Read an image on a disk yarp::sig::file::read(*Iyarp,"image.pgm"); // Convert the yarp::sig::ImageOf<yarp::sig::PixelRgb> to a vpImage<vpRGBa> vpImage<vpRGBa> I; vpImageConvert::convert(Iyarp,I); // ... #endif } Definition at line 1089 of file vpImageConvert.cpp. References vpImage< Type >::resize().
Convert from grey to linear RGBa. Definition at line 3001 of file vpImageConvert.cpp.
Convert from grey to linear RGBa. Definition at line 2977 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), convert(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Converts a MONO16 grey scale image (each pixel is coded by two bytes) into a grey image where each pixels are coded on one byte.
Definition at line 3552 of file vpImageConvert.cpp. Referenced by vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Converts a MONO16 grey scale image (each pixel is coded by two bytes) into a grey image where each pixels are coded on one byte.
Definition at line 3575 of file vpImageConvert.cpp. Referenced by vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Weights convert from linear RGBa to CIE luminance assuming a modern monitor. See Charles Pontyon's Colour FAQ http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html Definition at line 2956 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), vpV4l2Grabber::acquire(), and convert().
Here is the caller graph for this function:
![]()
Convert RGB into RGBa Definition at line 2915 of file vpImageConvert.cpp.
Weights convert from linear RGB to CIE luminance assuming a modern monitor. See Charles Pontyon's Colour FAQ http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html Definition at line 2935 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::dequeue(), and vpSimulator::getInternalImage().
Here is the caller graph for this function:
![]()
Converts a RGB image to greyscale Flips the image verticaly if needed assumes that grey is already resized Definition at line 3134 of file vpImageConvert.cpp. References src.
Convert RGB into RGBa Definition at line 2895 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vp1394TwoGrabber::dequeue(), and vpSimulator::getInternalImage().
Here is the caller graph for this function:
![]()
Converts a RGB image to RGBa Flips the image verticaly if needed assumes that rgba is already resized Definition at line 3099 of file vpImageConvert.cpp. References src.
Split an image from vpRGBa format to monochrome channels.
Example code using split : #include <visp/vpImage.h> #include <visp/vpImageIo.h> #include <visp/vpImageConvert.h> int main() { vpImage<vpRGBa> Ic; // A color image // Load a color image from the disk vpImageIo::readPPM(Ic,"image.ppm"); // Only R and B Channels are desired. vpImage<unsigned char> R, B; // Split Ic color image // R and B will be resized in split function if needed vpImageConvert::split(Ic, &R, NULL, &B, NULL); // Save the the R Channel. vpImageIo::writePGM(R, "RChannel.pgm"); }
Definition at line 3487 of file vpImageConvert.cpp. References vpImage< Type >::bitmap, dst, vpImage< Type >::getHeight(), vpImage< Type >::getNumberOfPixel(), vpImage< Type >::getWidth(), and vpImage< Type >::resize(). Referenced by main().
Here is the caller graph for this function:
![]()
Convert an image from YCrCb 4:2:2 (Y0 Cr01 Y1 Cb01 Y2 Cr23 Y3 ...) to grey format. Destination grey image memory area has to be allocated before.
Definition at line 3324 of file vpImageConvert.cpp.
Convert an image from YCbCr 4:2:2 (Y0 Cb01 Y1 Cr01 Y2 Cb23 Y3 ...) to RGB format. Destination rgb memory area has to be allocated before.
Definition at line 3209 of file vpImageConvert.cpp. References vpDEBUG_TRACE.
Convert an image from YCbCr 4:2:2 (Y0 Cb01 Y1 Cr01 Y2 Cb23 Y3...) to RGBa format. Destination rgba memory area has to be allocated before.
Definition at line 3268 of file vpImageConvert.cpp. References vpDEBUG_TRACE.
Convert an image from YCrCb 4:2:2 (Y0 Cr01 Y1 Cb01 Y2 Cr23 Y3 ...) to RGB format. Destination rgb memory area has to be allocated before.
Definition at line 3356 of file vpImageConvert.cpp. References vpDEBUG_TRACE.
Convert an image from YCrCb 4:2:2 (Y0 Cr01 Y1 Cb01 Y2 Cr23 Y3 ...) to RGBa format. Destination rgba memory area has to be allocated before.
Definition at line 3413 of file vpImageConvert.cpp. References vpDEBUG_TRACE.
Convert YUV411 into Grey yuv411 : u y1 y2 v y3 y4 Definition at line 1555 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Convert YUV411 into RGB yuv411 : u y1 y2 v y3 y4 Definition at line 1684 of file vpImageConvert.cpp. References YUVToRGB().
Convert YUV411 into RGB32 yuv411 : u y1 y2 v y3 y4 Definition at line 1344 of file vpImageConvert.cpp. References YUVToRGB(). Referenced by vp1394Grabber::acquire(), vp1394TwoGrabber::acquire(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Convert YUV420 into Grey yuv420 : Y(NxM), U(N/2xM/2), V(N/2xM/2) Definition at line 2008 of file vpImageConvert.cpp.
Convert YUV420 into RGB yuv420 : Y(NxM), U(N/2xM/2), V(N/2xM/2) Definition at line 1910 of file vpImageConvert.cpp.
Convert YUV420 into RGBa yuv420 : Y(NxM), U(N/2xM/2), V(N/2xM/2) Definition at line 1809 of file vpImageConvert.cpp.
Convert YUV 4:2:2 (u01 y0 v01 y1 u23 y2 v23 y3 ...) images into Grey. Destination grey memory area has to be allocated before.
Definition at line 1664 of file vpImageConvert.cpp. Referenced by vp1394Grabber::acquire(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Convert YUV 4:2:2 (u01 y0 v01 y1 u23 y2 v23 y3 ...) images into RGB images. Destination rgb memory area has to be allocated before.
Definition at line 1584 of file vpImageConvert.cpp. References YUVToRGB().
Convert YUV 4:2:2 (u01 y0 v01 y1 u23 y2 v23 y3 ...) images into RGB32 images. Destination rgba memory area has to be allocated before.
Definition at line 1473 of file vpImageConvert.cpp. References YUVToRGB(). Referenced by vp1394Grabber::acquire(), vp1394TwoGrabber::acquire(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Convert YUV444 into Grey yuv444 : u y v Definition at line 2106 of file vpImageConvert.cpp. Referenced by vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Convert YUV444 into RGB yuv444 : u y v Definition at line 2065 of file vpImageConvert.cpp.
Convert YUV444 into RGBa yuv444 : u y v Definition at line 2024 of file vpImageConvert.cpp. Referenced by vp1394TwoGrabber::acquire(), and vp1394TwoGrabber::dequeue().
Here is the caller graph for this function:
![]()
Converts a yuv pixel value in rgb format.
Definition at line 186 of file vpImageConvert.h. Referenced by main(), YUV411ToRGB(), YUV411ToRGBa(), YUV422ToRGB(), and YUV422ToRGBa().
Here is the caller graph for this function:
![]()
Convert an image from YUYV 4:2:2 (y0 u01 y1 v01 y2 u23 y3 v23 ...) to grey. Destination rgb memory area has to be allocated before.
Definition at line 1324 of file vpImageConvert.cpp. Referenced by vpV4l2Grabber::acquire().
Here is the caller graph for this function:
![]()
Convert an image from YUYV 4:2:2 (y0 u01 y1 v01 y2 u23 y3 v23 ...) to RGB24. Destination rgb memory area has to be allocated before.
Definition at line 1271 of file vpImageConvert.cpp.
Convert an image from YUYV 4:2:2 (y0 u01 y1 v01 y2 u23 y3 v23 ...) to RGB32. Destination rgba memory area has to be allocated before.
Definition at line 1215 of file vpImageConvert.cpp. Referenced by vpV4l2Grabber::acquire().
Here is the caller graph for this function:
![]()
Convert YV12 into RGB yuv420 : Y(NxM), V(N/2xM/2), U(N/2xM/2) Definition at line 2225 of file vpImageConvert.cpp.
Convert YV12 into RGBa yuv420 : Y(NxM), V(N/2xM/2), U(N/2xM/2) Definition at line 2124 of file vpImageConvert.cpp.
Convert YV12 into RGB yuv420 : Y(NxM), V(N/4xM/4), U(N/4xM/4) Definition at line 2617 of file vpImageConvert.cpp.
Convert YVU9 into RGBa yuv420 : Y(NxM), V(N/4xM/4), U(N/4xM/4) Definition at line 2323 of file vpImageConvert.cpp. The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||