#include <Base/Image/ImageConvert.hh>


Public Member Functions | |
| template<> | |
| int | BGRAToHSL_ (const Image< unsigned char > &source, Image< unsigned char > &dest) |
| template<> | |
| int | BGRToHSL_ (const Image< unsigned char > &source, Image< unsigned char > &dest) |
| template<> | |
| int | DVToRGB_ (const Image< unsigned char > &source, Image< unsigned char > &dest, unsigned char quality) |
| template<> | |
| BIASImageBase_EXPORT int | RGBTohsL_ (const Image< unsigned char > &source, Image< unsigned char > &dest) |
| template<> | |
| BIASImageBase_EXPORT int | RGBTohsL_ (const Image< float > &source, Image< float > &dest) |
| template<> | |
| BIASImageBase_EXPORT int | RGBTohsL_ (const Image< int > &source, Image< int > &dest) |
| template<> | |
| int | RGBToHSL_ (const Image< unsigned char > &source, Image< unsigned char > &dest) |
| template<> | |
| int | RGBToHSL_ (const Image< float > &source1, Image< float > &dest) |
| template<> | |
| int | RGBToHSV_ (const Image< unsigned char > &source, Image< unsigned char > &dest) |
| template<> | |
| int | RGBToHSV_ (const Image< float > &source1, Image< float > &dest) |
Static Public Member Functions | |
| template<class StorageType> | |
| static int | BayerToRGB (const Image< StorageType > &source, Image< StorageType > &dest, BayerDemosaicMethod method=BAYER_DEMOSAIC_METHOD_BILINEAR, bool flip=false) |
| converts an image with bayer pattern to rgb | |
| template<class StorageType> | |
| static int | BayerToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| added border calculation, woelk evers, woelk | |
| template<class StorageType> | |
| static int | BayerToRGBSimple (const StorageType *source, StorageType *dest, int sx, int sy, ImageBase::EColorModel tile) |
| template<class StorageType> | |
| static int | BIAS2ipl (const Image< StorageType > &source, IplImage *&dest) |
| Returns a new, separate IplImage for use with OpenCV created rom the source BIAS Image. | |
| static int | Convert (BIAS::ImageBase &source, BIAS::ImageBase &dest, enum BIAS::ImageBase::EColorModel targetColorModel, bool bPlanar=false) |
| main general function, calls desired specialized functions, always initializes the destImage(if not source==dest) | |
| static int | ConvertST (const BIAS::ImageBase &source, BIAS::ImageBase &dest, ImageBase::EStorageType targetST) |
| ask Friso | |
| static int | DeinterleaveHorizontal (const BIAS::ImageBase &raw, BIAS::ImageBase &out) |
| Take Pointgrey X3B packed interleaved raw and store there three contained images side by side keeping the Bayer pattern. | |
| template<class StorageType> | |
| static int | DVToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest, unsigned char quality=4) |
| foreign image formats, ipl, vil so far untested | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | FromInterleaved (const Image< StorageType > &source, Image< StorageType > &Image1, Image< StorageType > &Image2, Image< StorageType > &Image3) |
| extracts color planes to argument images without changing source. | |
| static int | GetChannel (ImageBase &image, int channel, bool strip=false) |
| in place: Crop selected channel. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | GetChannel (Image< StorageType > &image, int channel, bool strip=false) |
| in place: Crop the selected channel. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | GetChannel (const Image< StorageType > &source, Image< StorageType > &dest, const unsigned int channel) |
| Create a new image dest by cropping one of the source images channels. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | IP_ToGrey (Image< StorageType > &img) |
| In place conversion to gray image. | |
| template<class StorageType> | |
| static int | Ipl2BIAS (IplImage *source, Image< StorageType > &dest) |
| Takes the image information and data of an existing IplImage and builds a Image. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | LUVToRGB (const BIAS::Image< float > &source, BIAS::Image< StorageType > &dest, float scale=255.0) |
| static int | LUVToXYZ (const BIAS::Image< float > &source, BIAS::Image< float > &dest) |
| static int | RGBToI1I2I3 (const BIAS::ImageBase &source, BIAS::Image< float > &dest) |
| Converts RGB image to Othe's principle component generalization for RGB based segmentation. | |
| static int | RGBToLAB (const BIAS::ImageBase &source, BIAS::Image< float > &dest, float scale=255.0) |
| static int | RGBToLUV (const BIAS::ImageBase &source, BIAS::Image< float > &dest, float scale=255.0) |
| static int | RGBToXYZ (const BIAS::ImageBase &source, BIAS::Image< float > &dest, float scale=255.0) |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToGrey (const Image< StorageType > &source, Image< StorageType > &dest) |
| Create a grey converted copy of source image in this. | |
| static int | ToGrey (const ImageBase &source, ImageBase &dest) |
| wrapper for the templated function below | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | TohsL (const Image< StorageType > &source, Image< StorageType > &dest) |
| create a hsL converted copy of source image in this Release() and Init() are called if necessary. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToHSL (const Image< StorageType > &source, Image< StorageType > &dest) |
| create a HSL converted copy of source image in this Release() and Init() are called if necessary. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToHSV (const Image< StorageType > &source, Image< StorageType > &dest) |
| create a HSV converted copy of source image in this Release() and Init() are called if necessary. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToInterleaved (const Image< StorageType > &source, Image< StorageType > &dest) |
| Takes the source image, and build an interleaved version. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToInterleavedRGB (const Image< StorageType > &red, const Image< StorageType > &green, const Image< StorageType > &blue, Image< StorageType > &dest) |
| Takes the three channels an compose one interleaved RGB image. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToPlanar (const Image< StorageType > &source, Image< StorageType > &dest) |
| Converts the existing image to an planar version. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToRGB (const Image< StorageType > &source, Image< StorageType > &dest) |
| Create a RGB converted copy of source image in this. | |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | ToRGBA (const Image< StorageType > &source, Image< StorageType > &dest) |
| Create a RGBA converted copy of source image in dest. | |
| static int | XYZToLAB (const BIAS::Image< float > &source, BIAS::Image< float > &dest) |
| static int | XYZToLUV (const BIAS::Image< float > &source, BIAS::Image< float > &dest) |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | XYZToRGB (const BIAS::Image< float > &source, BIAS::Image< StorageType > &dest, float scale=255.0) |
Static Protected Member Functions | |
| template<class StorageType> | |
| static int | BayerToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| interpolates, better than above | |
| template<class StorageType> | |
| static int | BayerToRGBAHD_ (const StorageType *source, StorageType *dest, int sx, int sy, ImageBase::EColorModel tile, int bits) |
| template<class StorageType> | |
| static int | BayerToRGBBilinear_ (const StorageType *source, StorageType *dest, int sx, int sy, ImageBase::EColorModel tile) |
| static int | BayerToRGBHQLinear_ (const unsigned short *source, unsigned short *dest, int sx, int sy, ImageBase::EColorModel tile, int bits) |
| static int | BayerToRGBHQLinear_ (const unsigned char *source, unsigned char *dest, int sx, int sy, ImageBase::EColorModel tile) |
| template<class StorageType> | |
| static int | BayerToRGBNearestNeighbour_ (const StorageType *source, StorageType *dest, int sx, int sy, ImageBase::EColorModel tile) |
| template<class StorageType> | |
| static int | BayerToRGBSimple_ (const StorageType *source, StorageType *dest, int sx, int sy, ImageBase::EColorModel tile) |
| template<class StorageType> | |
| static int | BayerToRGBSlow_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| this is the right way, green interpoaltion is mostly done out of two values no visible difference to fast calculation as used above | |
| template<class StorageType> | |
| static int | BGRAToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| not tested - use at own risk - alpha channel will be ignored | |
| template<class StorageType> | |
| static int | BGRAToHSL_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | BGRAToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | BGRToHSL_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | BGRToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static void | ClearBorders_ (StorageType *rgb, int sx, int sy, int w) |
| template<class StorageType> | |
| static void | CLIP (StorageType &in, StorageType &out) |
| template<class StorageType> | |
| static void | CLIP16 (StorageType &in, StorageType &out, StorageType bits) |
| template<class sourceType> | |
| static BIASImageBase_EXPORT void | ConvertRGBToI1I2I3Worker_ (const sourceType *soP, float *siP, int size) |
| static int | FloatToUC_ (const ImageBase &source, ImageBase &dest) |
| template<class StorageType> | |
| static int | FromInterleavedRGB_ (const Image< StorageType > &source, Image< StorageType > &R, Image< StorageType > &G, Image< StorageType > &B) |
| template<class StorageType> | |
| static int | FromInterleavedYUYV422_ (const Image< StorageType > &source, Image< StorageType > &Y, Image< StorageType > &U, Image< StorageType > &V) |
| template<class StorageType> | |
| static int | GreyToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | HSLToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| just copies the L channel | |
| template<class StorageType> | |
| static int | HSLToRGB_ (const BIAS::Image< StorageType > &source, BIAS::Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | HSVToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | IP_RGBToGrey_ (Image< StorageType > &img) |
| template<class StorageType> | |
| static int | IP_YUV422ToGrey_ (Image< StorageType > &img) |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | RGBAToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | RGBToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static BIASImageBase_EXPORT int | RGBTohsL_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | RGBToHSL_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | RGBToHSV_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| so far only implemented for StorageType=float | |
| template<class StorageType> | |
| static int | ToInterleavedRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | ToInterleavedYUYV422_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | ToPlanarRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | ToPlanarYUYV422_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | YUV411ToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | YUV420PToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | YUV420PToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | YUV422ToGrey_ (const Image< StorageType > &source, Image< StorageType > &dest) |
| template<class StorageType> | |
| static int | YUV422ToRGB_ (const Image< StorageType > &source, Image< StorageType > &dest) |
Static Protected Attributes | |
| static dv_decoder_t * | DVDecoder_ = NULL |
Private Member Functions | |
| void | AddDebugLevel (const std::string &name) |
| void | AddDebugLevel (const long int lv) |
| long | ConsumeNextFreeDebuglevel_ () |
| returns the next available debuglevel | |
| bool | DebugLevelIsSet (const std::string &name) const |
| bool | DebugLevelIsSet (const long int lv) const |
| int | GetDebugLevel () const |
| void | GetDebugStream (std::ostream &os) const |
| std::ostream & | GetDebugStream () const |
| long int | Name2DebugLevel (const std::string &name) const |
| looks up a debuglevel in the internal map, returns 0 if not found | |
| long int | NewDebugLevel (const std::string &name) |
| creates a new debuglevel | |
| void | PrintDebugLevel (std::ostream &os=std::cout) const |
| void | RemoveDebugLevel (const std::string &name) |
| void | RemoveDebugLevel (const long int lv) |
| void | SetDebugLevel (const std::string &name) |
| void | SetDebugLevel (const long int lv) |
| void | SetDebugStream (const std::ostream &os) |
| void | ShowDebugLevel (std::ostream &os=std::cout) const |
| prints all internally known debuglevels | |
Static Private Member Functions | |
| static long int | GetGlobalDebugLevel () |
| static void | SetGlobalDebugLevel (long int lev) |
Private Attributes | |
| long int | _liDebugLevel |
| long int | _liNextDebugLevel |
| new concept, debuglevel are managed here in the debug class | |
| std::map< std::string, long int > | _String2Debuglevel |
Static Private Attributes | |
| static std::ostream | _zDebugStream |
| static long int | GlobalDebugLevel = 0 |
Friends | |
| class | ImageBase |
As all fucntions are static they have to be called by eg. ImageConvert::Convert() and not with an object.
Be carefull: You must use the correct the color-scheme if you want to convert images by a camera. Use SetColorScheme().
Definition at line 81 of file ImageConvert.hh.
| void BIAS::Debug::AddDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::AddDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 356 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::RANSAC< SolutionType >::RANSAC(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
| int BIAS::ImageConvert::BayerToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
interpolates, better than above
Definition at line 1965 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
Referenced by ToGrey().
| int BIAS::ImageConvert::BayerToRGB | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest, | |||
| BayerDemosaicMethod | method = BAYER_DEMOSAIC_METHOD_BILINEAR, |
|||
| bool | flip = false | |||
| ) | [inline, static] |
converts an image with bayer pattern to rgb
| source | source image | |
| dest | destination image | |
| method | choose the demosaicing method from several methods drom BayerDemosaicMethod enum. standard is bilinear | |
| flip | flip the image horizontal after converting it to rgb |
Definition at line 2587 of file ImageConvert.cpp.
References BayerToRGBBilinear_(), BayerToRGBHQLinear_(), BayerToRGBNearestNeighbour_(), BayerToRGBSimple_(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::ST_unsignedchar.
Referenced by BIAS::VideoSource_DCAM::GrabSingleAndConvert().
| int BIAS::ImageConvert::BayerToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
added border calculation, woelk evers, woelk
Definition at line 2260 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
Referenced by ToRGB().
| int ImageConvert::BayerToRGBAHD_ | ( | const StorageType * | source, | |
| StorageType * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile, | |||
| int | bits | |||
| ) | [inline, static, protected] |
Definition at line 4293 of file ImageConvert.cpp.
| int ImageConvert::BayerToRGBBilinear_ | ( | const StorageType * | source, | |
| StorageType * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile | |||
| ) | [inline, static, protected] |
Definition at line 3698 of file ImageConvert.cpp.
References ClearBorders_(), BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, and BIAS::ImageBase::CM_Bayer_GRBG.
Referenced by BayerToRGB().
| int ImageConvert::BayerToRGBHQLinear_ | ( | const unsigned short * | source, | |
| unsigned short * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile, | |||
| int | bits | |||
| ) | [static, protected] |
Definition at line 4093 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, and BIAS::ImageBase::CM_Bayer_GRBG.
| int ImageConvert::BayerToRGBHQLinear_ | ( | const unsigned char * | source, | |
| unsigned char * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile | |||
| ) | [static, protected] |
Definition at line 3896 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, and BIAS::ImageBase::CM_Bayer_GRBG.
Referenced by BayerToRGB().
| int ImageConvert::BayerToRGBNearestNeighbour_ | ( | const StorageType * | source, | |
| StorageType * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile | |||
| ) | [inline, static, protected] |
Definition at line 3793 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, and BIAS::ImageBase::CM_Bayer_GRBG.
Referenced by BayerToRGB().
| int ImageConvert::BayerToRGBSimple | ( | const StorageType * | source, | |
| StorageType * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile | |||
| ) | [inline, static] |
| int ImageConvert::BayerToRGBSimple_ | ( | const StorageType * | source, | |
| StorageType * | dest, | |||
| int | sx, | |||
| int | sy, | |||
| ImageBase::EColorModel | tile | |||
| ) | [inline, static, protected] |
Definition at line 3617 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, and BIAS::ImageBase::CM_Bayer_GRBG.
Referenced by BayerToRGB(), and BayerToRGBSimple().
| int BIAS::ImageConvert::BayerToRGBSlow_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
this is the right way, green interpoaltion is mostly done out of two values no visible difference to fast calculation as used above
Definition at line 2655 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::GetWidthStep(), and BIAS::ImageBase::SetROI().
| int BIAS::ImageConvert::BGRAToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
not tested - use at own risk - alpha channel will be ignored
Definition at line 741 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by ToGrey().
| int BIAS::ImageConvert::BGRAToHSL_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest | |||
| ) | [inline] |
Definition at line 490 of file ToHSL.cpp.
References BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::BGRAToHSL_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 476 of file ToHSL.cpp.
References BIAS::ImageBase::GetStorageType().
Referenced by ToHSL().
| int BIAS::ImageConvert::BGRAToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 1734 of file ImageConvert.cpp.
References BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by ToRGB().
| int BIAS::ImageConvert::BGRToHSL_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest | |||
| ) | [inline] |
Definition at line 361 of file ToHSL.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::BGRToHSL_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 347 of file ToHSL.cpp.
References BIAS::ImageBase::GetStorageType().
Referenced by ToHSL().
| int BIAS::ImageConvert::BGRToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 1682 of file ImageConvert.cpp.
References BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by ToRGB().
| int ImageConvert::BIAS2ipl | ( | const Image< StorageType > & | source, | |
| IplImage *& | dest | |||
| ) | [inline, static] |
Returns a new, separate IplImage for use with OpenCV created rom the source BIAS Image.
The dest has to be a call by reference "*&" because the pointer itself is changed due to new (JW). The colorChannel order is swapped because OpenCv used BGR - which may be inefficient. See WrapBias2Ipl class, too (jw).
Definition at line 3085 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by BIAS::CheckerboardDetector::Compute().
| void ImageConvert::ClearBorders_ | ( | StorageType * | rgb, | |
| int | sx, | |||
| int | sy, | |||
| int | w | |||
| ) | [inline, static, protected] |
| void ImageConvert::CLIP | ( | StorageType & | in, | |
| StorageType & | out | |||
| ) | [inline, static, protected] |
Definition at line 4299 of file ImageConvert.cpp.
| void ImageConvert::CLIP16 | ( | StorageType & | in, | |
| StorageType & | out, | |||
| StorageType | bits | |||
| ) | [inline, static, protected] |
Definition at line 4306 of file ImageConvert.cpp.
| long BIAS::Debug::ConsumeNextFreeDebuglevel_ | ( | ) | [inline, protected, inherited] |
| int ImageConvert::Convert | ( | BIAS::ImageBase & | source, | |
| BIAS::ImageBase & | dest, | |||
| enum BIAS::ImageBase::EColorModel | targetColorModel, | |||
| bool | bPlanar = false | |||
| ) | [static] |
main general function, calls desired specialized functions, always initializes the destImage(if not source==dest)
Definition at line 136 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetStorageType(), IP_ToGrey(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::ST_char, BIAS::ImageBase::ST_double, BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_int, BIAS::ImageBase::ST_invalid, BIAS::ImageBase::ST_shortint, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedint, BIAS::ImageBase::ST_unsignedshortint, BIAS::ImageBase::StealImage(), ToGrey(), TohsL(), ToHSL(), ToHSV(), ToInterleaved(), ToPlanar(), ToRGB(), and ToRGBA().
Referenced by BIAS::ImageBlender::BlendImages(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageConvertThreaded::ConvertThread_(), BIAS::GuiBase::ConvertToUC_(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Color(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::FilterDialogCannyEdge< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogMedian< InputST, OutputST >::OnFilterButton(), BIAS::ImageCanvasCheckerboardExtract::RefreshDrawIm_(), BIAS::ImageCanvasEnhanced::RefreshDrawIm_(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::GuiBase::ShowImage(), and BIAS::ScaledImageCanvas::UpdateScaleOffset().
| void BIAS::ImageConvert::ConvertRGBToI1I2I3Worker_ | ( | const sourceType * | soP, | |
| float * | siP, | |||
| int | size | |||
| ) | [inline, static, protected] |
Definition at line 1437 of file ImageConvert.cpp.
| int ImageConvert::ConvertST | ( | const BIAS::ImageBase & | source, | |
| BIAS::ImageBase & | dest, | |||
| ImageBase::EStorageType | targetST | |||
| ) | [static] |
ask Friso
Definition at line 2847 of file ImageConvert.cpp.
References FloatToUC_(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), BIAS::ImageBase::SetColorModel(), BIAS::ROI::SetCorners(), BIAS::ImageBase::ST_char, BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_int, BIAS::ImageBase::ST_shortint, BIAS::ImageBase::ST_unsignedchar, and BIAS::ImageBase::ST_unsignedshortint.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::ImageBlender::BlendImages(), BIAS::BVWXMainFrame::ConvertFLtoUC(), BIAS::GuiBase::ConvertToUC_(), BIAS::FilterDialogBase< InputST, OutputST >::CopyOriginalImage(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::DistTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::CylindricDepthPanorama::GetPanorama(), BIAS::SphericalDepthPanorama::GetPanorama(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::VideoSource_PMD::GrabSingle(), BIAS::CheckerBoardExtractFrame::HandleImage(), BIAS::ClickCornersFrame::HandleImage(), HSLToRGB_(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::Label::Label4Neighbour(), BIAS::IOUtils::LoadFloat(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::Label::Process(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::GuiBase::ShowImage(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), and BIAS::ScaledImageCanvas::UpdateScaleOffset().
| bool BIAS::Debug::DebugLevelIsSet | ( | const std::string & | name | ) | const [inline, inherited] |
| bool BIAS::Debug::DebugLevelIsSet | ( | const long int | lv | ) | const [inline, inherited] |
Definition at line 342 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::Rescale< InputStorageType, OutputStorageType >::_ApplyMeanFilter(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::Gauss< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), and BIAS::MonteCarloTransform::Transform().
| int ImageConvert::DeinterleaveHorizontal | ( | const BIAS::ImageBase & | raw, | |
| BIAS::ImageBase & | out | |||
| ) | [static] |
Take Pointgrey X3B packed interleaved raw and store there three contained images side by side keeping the Bayer pattern.
data: abcABC --> aAbBcC
Definition at line 3280 of file ImageConvert.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), and BIAS::ImageBase::SetColorModel().
Referenced by BIAS::ShowCamWxFrame::InitCameras(), ToRGB(), BIAS::BVWXMainFrame::UncompressImage(), and BIAS::MainFrame::UncompressImage().
| int BIAS::ImageConvert::DVToRGB_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest, | |||
| unsigned char | quality | |||
| ) | [inline] |
Definition at line 1901 of file ImageConvert.cpp.
References DVDecoder_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), and BIAS::Image< StorageType >::Release().
| int BIAS::ImageConvert::DVToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest, | |||
| unsigned char | quality = 4 | |||
| ) | [inline, static] |
foreign image formats, ipl, vil so far untested
Can specify speed/quality trade off 0 : monochrome , DC coeffs only 1 : monochrome , AC 1 coeffs 2 : color , DC coeffs only 3 : color , AC 1 coeffs 4 : color, AC 2 coeffs (slowest but best quality)
Definition at line 1890 of file ImageConvert.cpp.
Definition at line 2830 of file ImageConvert.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by ConvertST().
| int BIAS::ImageConvert::FromInterleaved | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | Image1, | |||
| Image< StorageType > & | Image2, | |||
| Image< StorageType > & | Image3 | |||
| ) | [inline, static] |
extracts color planes to argument images without changing source.
So far only implemented for CM_YUYV422
Definition at line 143 of file ToPlanar.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_YUYV422, FromInterleavedRGB_(), FromInterleavedYUYV422_(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::IsEmpty(), and BIAS::ImageBase::IsPlanar().
| int BIAS::ImageConvert::FromInterleavedRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | R, | |||
| Image< StorageType > & | G, | |||
| Image< StorageType > & | B | |||
| ) | [inline, static, protected] |
Definition at line 173 of file ToPlanar.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), and BIAS::ImageBase::GetWidth().
Referenced by FromInterleaved().
| int BIAS::ImageConvert::FromInterleavedYUYV422_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | Y, | |||
| Image< StorageType > & | U, | |||
| Image< StorageType > & | V | |||
| ) | [inline, static, protected] |
Definition at line 205 of file ToPlanar.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), and BIAS::ImageBase::GetWidth().
Referenced by FromInterleaved().
| int BIAS::ImageConvert::GetChannel | ( | ImageBase & | image, | |
| int | channel, | |||
| bool | strip = false | |||
| ) | [static] |
in place: Crop selected channel.
(will actually copy values from selected channel to all other channels)
| strip | resulting image will have only one channel, other channels are thrown away |
Definition at line 500 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::ImageData_, BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
| int BIAS::ImageConvert::GetChannel | ( | Image< StorageType > & | image, | |
| int | channel, | |||
| bool | strip = false | |||
| ) | [inline, static] |
in place: Crop the selected channel.
(will actually copy values from selected channel to all other channels)
| strip | resulting image will have only one channel, other channels are thrown away |
Definition at line 463 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::ImageData_, BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
| int BIAS::ImageConvert::GetChannel | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest, | |||
| const unsigned int | channel | |||
| ) | [inline, static] |
Create a new image dest by cropping one of the source images channels.
Unlike GetChannel(Image<StorageType>& image, int channel), this one really creates a new single-channel image with the selected channel of the source. fkellner: Other GetChannels now have "strip" param, doing the same in-place.
Definition at line 548 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::BVWXMainFrame::LoadImageFromList(), and BIAS::MainFrame::LoadImageFromList().
| int BIAS::Debug::GetDebugLevel | ( | ) | const [inline, inherited] |
Definition at line 333 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::ImageAlignment::Align(), BIAS::ExampleDebug::func(), BIAS::FMatrix::GetEpipoles(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), and BIAS::TrackerBaseAffine< StorageType >::TrackAffine_().
| void BIAS::Debug::GetDebugStream | ( | std::ostream & | os | ) | const [inline, inherited] |
| std::ostream& BIAS::Debug::GetDebugStream | ( | ) | const [inline, inherited] |
Definition at line 406 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), and BIAS::GuiGTK::MouseMotionCallback_().
| static long int BIAS::Debug::GetGlobalDebugLevel | ( | ) | [inline, static, inherited] |
Definition at line 432 of file Debug.hh.
Referenced by BIAS::ExampleDebug::func(), and BIAS::ExampleDebug::ResetDebugLevelFromGlobal().
| int BIAS::ImageConvert::GreyToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 1870 of file ImageConvert.cpp.
References BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by ToRGB().
| int BIAS::ImageConvert::HSLToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
just copies the L channel
Definition at line 3040 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by ToGrey().
| int BIAS::ImageConvert::HSLToRGB_ | ( | const BIAS::Image< StorageType > & | source, | |
| BIAS::Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 844 of file ToHSL.cpp.
References BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_RGB, ConvertST(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::SetInterleaved(), and BIAS::ImageBase::ST_float.
Referenced by ToRGB().
| int BIAS::ImageConvert::HSVToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 394 of file ToHSV.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), and BIAS::ImageBase::IsPlanar().
Referenced by ToRGB().
| int BIAS::ImageConvert::IP_RGBToGrey_ | ( | Image< StorageType > & | img | ) | [inline, static, protected] |
Definition at line 1314 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by IP_ToGrey().
| int BIAS::ImageConvert::IP_ToGrey | ( | Image< StorageType > & | img | ) | [inline, static] |
In place conversion to gray image.
No further memory is allocated, because only the the first part of the existing image is used.
Definition at line 857 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetColorModel(), IP_RGBToGrey_(), IP_YUV422ToGrey_(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
| int BIAS::ImageConvert::IP_YUV422ToGrey_ | ( | Image< StorageType > & | img | ) | [inline, static, protected] |
Definition at line 1465 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by IP_ToGrey().
| int ImageConvert::Ipl2BIAS | ( | IplImage * | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Takes the image information and data of an existing IplImage and builds a Image.
The existing data is discarded.
| image | The IplImage to be transfered untested |
Definition at line 3228 of file ImageConvert.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetSizeByte(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), and BIAS::Image< StorageType >::Release().
| int ImageConvert::LUVToRGB | ( | const BIAS::Image< float > & | source, | |
| BIAS::Image< StorageType > & | dest, | |||
| float | scale = 255.0 | |||
| ) | [inline, static] |
| int ImageConvert::LUVToXYZ | ( | const BIAS::Image< float > & | source, | |
| BIAS::Image< float > & | dest | |||
| ) | [static] |
Definition at line 1184 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_LUV, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::Image< StorageType >::SetPixel().
Referenced by LUVToRGB().
| long int BIAS::Debug::Name2DebugLevel | ( | const std::string & | name | ) | const [inline, inherited] |
| long int BIAS::Debug::NewDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
creates a new debuglevel
Definition at line 475 of file Debug.hh.
Referenced by BIAS::Condensation::Condensation(), BIAS::COSAC< SolutionType >::COSAC(), BIAS::Histogram::Histogram(), BIAS::MonteCarloTransform::MonteCarloTransform(), myclass::myclass(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PMatrixLinear::PMatrixLinear(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSAC< SolutionType >::RANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
| void BIAS::Debug::PrintDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| void BIAS::Debug::RemoveDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::RemoveDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
| int BIAS::ImageConvert::RGBAToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 1713 of file ImageConvert.cpp.
References BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by ToRGB().
| int BIAS::ImageConvert::RGBToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 658 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::IsPlanar().
Referenced by ToGrey().
| BIASImageBase_EXPORT int BIAS::ImageConvert::RGBTohsL_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest | |||
| ) | [inline] |
Definition at line 771 of file ToHSL.cpp.
References BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| BIASImageBase_EXPORT int BIAS::ImageConvert::RGBTohsL_ | ( | const Image< float > & | source, | |
| Image< float > & | dest | |||
| ) | [inline] |
Definition at line 694 of file ToHSL.cpp.
References BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| BIASImageBase_EXPORT int BIAS::ImageConvert::RGBTohsL_ | ( | const Image< int > & | source, | |
| Image< int > & | dest | |||
| ) | [inline] |
Definition at line 617 of file ToHSL.cpp.
References BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::RGBToHSL_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest | |||
| ) | [inline] |
Definition at line 229 of file ToHSL.cpp.
References BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::RGBToHSL_ | ( | const Image< float > & | source1, | |
| Image< float > & | dest | |||
| ) | [inline] |
Definition at line 94 of file ToHSL.cpp.
References BIAS::ImageBase::CM_HSL, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::IsPlanar(), BIAS::Image< StorageType >::ScaleShiftBetween(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| BIASImageBase_EXPORT int BIAS::ImageConvert::RGBTohsL_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 603 of file ToHSL.cpp.
References BIAS::ImageBase::GetStorageType().
Referenced by TohsL().
| int BIAS::ImageConvert::RGBToHSL_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 82 of file ToHSL.cpp.
References BIAS::ImageBase::GetStorageType().
Referenced by ToHSL().
| int BIAS::ImageConvert::RGBToHSV_ | ( | const Image< unsigned char > & | source, | |
| Image< unsigned char > & | dest | |||
| ) | [inline] |
Definition at line 232 of file ToHSV.cpp.
References BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::RGBToHSV_ | ( | const Image< float > & | source1, | |
| Image< float > & | dest | |||
| ) | [inline] |
Definition at line 74 of file ToHSV.cpp.
References BIAS::ImageBase::CM_HSV, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::IsPlanar(), BIAS::Image< StorageType >::ScaleShiftBetween(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::RGBToI1I2I3 | ( | const BIAS::ImageBase & | source, | |
| BIAS::Image< float > & | dest | |||
| ) | [static] |
Converts RGB image to Othe's principle component generalization for RGB based segmentation.
Definition at line 1404 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::ST_float, and BIAS::ImageBase::ST_unsignedchar.
| int ImageConvert::RGBToLAB | ( | const BIAS::ImageBase & | source, | |
| BIAS::Image< float > & | dest, | |||
| float | scale = 255.0 | |||
| ) | [static] |
| int ImageConvert::RGBToLUV | ( | const BIAS::ImageBase & | source, | |
| BIAS::Image< float > & | dest, | |||
| float | scale = 255.0 | |||
| ) | [static] |
| int ImageConvert::RGBToXYZ | ( | const BIAS::ImageBase & | source, | |
| BIAS::Image< float > & | dest, | |||
| float | scale = 255.0 | |||
| ) | [static] |
Definition at line 902 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::Image< StorageType >::SetPixel().
Referenced by RGBToLAB(), and RGBToLUV().
| void BIAS::Debug::SetDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::SetDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 319 of file Debug.hh.
Referenced by BIAS::Interpolator::Interpolator(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::MDcam::SetDebugLevelDcam(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
| void BIAS::Debug::SetDebugStream | ( | const std::ostream & | os | ) | [inline, inherited] |
| static void BIAS::Debug::SetGlobalDebugLevel | ( | long int | lev | ) | [inline, static, inherited] |
| void BIAS::Debug::ShowDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| int BIAS::ImageConvert::ToGrey | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Create a grey converted copy of source image in this.
Release() and Init() are called if necessary.
Definition at line 380 of file ImageConvert.cpp.
References BayerToGrey_(), BGRAToGrey_(), BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_DV, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV411, BIAS::ImageBase::CM_YUV420P, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::Depth_, DVToRGB_(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), HSLToGrey_(), BIAS::Image< StorageType >::Init(), IP_ToGrey(), BIAS::ImageBase::IsEmpty(), BIAS::Image< StorageType >::Release(), RGBToGrey_(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::SetROI(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageBase::Width_, BIAS::ImageBase::WidthStep_, YUV411ToGrey_(), YUV420PToGrey_(), and YUV422ToGrey_().
wrapper for the templated function below
Definition at line 614 of file ImageConvert.cpp.
References BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::SetROI(), BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedshortint, and BIAS::ImageBase::StealImage().
Referenced by BIAS::StereoRedGreen::Combine(), BIAS::CheckerboardDetector::Compute(), Convert(), BIAS::CheckerBoardExtractFrame::HandleImage(), BIAS::ClickCornersFrame::HandleImage(), BIAS::VideoTransmitter::Process(), and BIAS::VideoServer::ProcessOneImage().
| BIASImageBase_EXPORT int BIAS::ImageConvert::TohsL | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
create a hsL converted copy of source image in this Release() and Init() are called if necessary.
only for unsigned char similar to HSL but in euclidean coordinates for the CNCC
Definition at line 570 of file ToHSL.cpp.
References BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), RGBTohsL_(), BIAS::ImageBase::SamePixelAndChannelCount(), and BIAS::ImageBase::SetColorModel().
Referenced by Convert().
| BIASImageBase_EXPORT int BIAS::ImageConvert::ToHSL | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
create a HSL converted copy of source image in this Release() and Init() are called if necessary.
only for float and unsigned char
Definition at line 35 of file ToHSL.cpp.
References BGRAToHSL_(), BGRToHSL_(), BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), RGBToHSL_(), BIAS::ImageBase::SetColorModel(), and ToRGB().
Referenced by BIAS::MixtureOfGaussians< StorageType >::Apply(), and Convert().
| BIASImageBase_EXPORT int BIAS::ImageConvert::ToHSV | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
create a HSV converted copy of source image in this Release() and Init() are called if necessary.
HSV space is implemented as a cylinder not as a cone! only for float and unsigned char
Definition at line 34 of file ToHSV.cpp.
References BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), RGBToHSV_(), BIAS::ImageBase::SamePixelAndChannelCount(), and BIAS::ImageBase::SetColorModel().
Referenced by Convert().
| BIASImageBase_EXPORT int BIAS::ImageConvert::ToInterleaved | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Takes the source image, and build an interleaved version.
Definition at line 33 of file ToInterleaved.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetColorModel(), and ToInterleavedRGB_().
Referenced by Convert().
| int BIAS::ImageConvert::ToInterleavedRGB | ( | const Image< StorageType > & | red, | |
| const Image< StorageType > & | green, | |||
| const Image< StorageType > & | blue, | |||
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Takes the three channels an compose one interleaved RGB image.
Definition at line 61 of file ToInterleaved.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SamePixelAndChannelCount(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
| int BIAS::ImageConvert::ToInterleavedRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 109 of file ToInterleaved.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::ImageBase::SetInterleaved().
Referenced by ToInterleaved().
| int BIAS::ImageConvert::ToInterleavedYUYV422_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 100 of file ToInterleaved.cpp.
| BIASImageBase_EXPORT int BIAS::ImageConvert::ToPlanar | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Converts the existing image to an planar version.
If source = dest in place conversion alters the source image!!!
Definition at line 33 of file ToPlanar.cpp.
References BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::SamePixelAndChannelCount(), BIAS::ImageBase::SetInterleaved(), ToPlanarRGB_(), and ToPlanarYUYV422_().
Referenced by Convert(), and BIAS::VideoSink::Encode().
| int BIAS::ImageConvert::ToPlanarRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 70 of file ToPlanar.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), and BIAS::ImageBase::SetInterleaved().
Referenced by ToPlanar().
| int BIAS::ImageConvert::ToPlanarYUYV422_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 108 of file ToPlanar.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), and BIAS::ImageBase::SetInterleaved().
Referenced by ToPlanar().
| int BIAS::ImageConvert::ToRGB | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Create a RGB converted copy of source image in this.
Release() and Init() are called if necessary.
Definition at line 1549 of file ImageConvert.cpp.
References BayerToRGB_(), BGRAToRGB_(), BGRToRGB_(), BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Depth, BIAS::ImageBase::CM_DepthAndVariance, BIAS::ImageBase::CM_Disparity, BIAS::ImageBase::CM_DV, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_PGR_XB3_F7M3_GBRG, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUV420P, BIAS::ImageBase::CM_YUYV422, DeinterleaveHorizontal(), DVToRGB_(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), GreyToRGB_(), HSLToRGB_(), HSVToRGB_(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::Image< StorageType >::Release(), RGBAToRGB_(), BIAS::ImageBase::SetColorModel(), YUV420PToRGB_(), and YUV422ToRGB_().
Referenced by BIAS::ImageBlender::AddCamera(), BIAS::CheckerboardDetector::Compute(), Convert(), BIAS::BlobDetectorBFS< StorageType >::DrawInImage(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::CheckerBoardExtractFrame::HandleImage(), BIAS::ClickCornersFrame::HandleImage(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::VideoTransmitter::Process(), BIAS::VideoServer::ProcessOneImage(), BIAS::SceneBGImage::SetImage(), BIAS::VideoSource::SoftwareWhiteBalance(), ToHSL(), ToRGBA(), and BIAS::FitCircleFrame::UpdateImage().
| int BIAS::ImageConvert::ToRGBA | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static] |
Create a RGBA converted copy of source image in dest.
intermediate rgb image is produced, only interleaved supported
Definition at line 1510 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsInterleaved(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and ToRGB().
Referenced by Convert().
| int ImageConvert::XYZToLAB | ( | const BIAS::Image< float > & | source, | |
| BIAS::Image< float > & | dest | |||
| ) | [static] |
Definition at line 1100 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_LAB, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::Image< StorageType >::SetPixel().
Referenced by RGBToLAB().
| int ImageConvert::XYZToLUV | ( | const BIAS::Image< float > & | source, | |
| BIAS::Image< float > & | dest | |||
| ) | [static] |
Definition at line 1019 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_LUV, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::Image< StorageType >::SetPixel().
Referenced by RGBToLUV().
| int ImageConvert::XYZToRGB | ( | const BIAS::Image< float > & | source, | |
| BIAS::Image< StorageType > & | dest, | |||
| float | scale = 255.0 | |||
| ) | [inline, static] |
Definition at line 967 of file ImageConvert.cpp.
References BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SetColorModel(), and BIAS::Image< StorageType >::SetPixel().
Referenced by LUVToRGB().
| int BIAS::ImageConvert::YUV411ToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 2811 of file ImageConvert.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
Referenced by ToGrey().
| int BIAS::ImageConvert::YUV420PToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 2793 of file ImageConvert.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
Referenced by ToGrey().
| int BIAS::ImageConvert::YUV420PToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 2751 of file ImageConvert.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), and BIAS::ImageBase::GetWidth().
Referenced by ToRGB().
| int BIAS::ImageConvert::YUV422ToGrey_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 804 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::RedirectImageDataPointer(), and BIAS::ImageBase::ReleaseImageDataPointer().
Referenced by ToGrey().
| int BIAS::ImageConvert::YUV422ToRGB_ | ( | const Image< StorageType > & | source, | |
| Image< StorageType > & | dest | |||
| ) | [inline, static, protected] |
Definition at line 1754 of file ImageConvert.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::ColorModel_, BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::RedirectImageDataPointer(), and BIAS::ImageBase::ReleaseImageDataPointer().
Referenced by ToRGB().
friend class ImageBase [friend] |
Definition at line 83 of file ImageConvert.hh.
long int BIAS::Debug::_liDebugLevel [protected, inherited] |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), and BIAS::Debug::operator=().
long int BIAS::Debug::_liNextDebugLevel [protected, inherited] |
new concept, debuglevel are managed here in the debug class
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
std::map<std::string, long int> BIAS::Debug::_String2Debuglevel [protected, inherited] |
std::ostream BIAS::Debug::_zDebugStream [static, protected, inherited] |
Definition at line 512 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), and BIAS::Debug::operator=().
dv_decoder_t * ImageConvert::DVDecoder_ = NULL [static, protected] |
long int BIAS::Debug::GlobalDebugLevel = 0 [static, protected, inherited] |
1.5.6