Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
BIAS::ImageBase Class Reference

This is the base class for images in BIAS. More...

#include <Base/Image/ImageBase.hh>

+ Inheritance diagram for BIAS::ImageBase:
+ Collaboration diagram for BIAS::ImageBase:

Public Types

enum  EColorModel {
  CM_invalid = -1, CM_Grey, CM_RGB, CM_BGR,
  CM_YUYV422, CM_UYVY422, CM_YUV420P, CM_YUV444,
  CM_YUV411, CM_HSV, CM_HSI_OBS, CM_DV,
  CM_RGBA, CM_GreyA, CM_Bayer_RGGB, CM_Bayer_GBRG,
  CM_Bayer_GRBG, CM_Bayer_BGGR, CM_HSL, CM_hsL,
  CM_SymTensor2x2, CM_BGRA, CM_RGBE, CM_PGR_XB3_F7M3_GBRG,
  CM_DepthAndVariance, CM_YUYV, CM_LUV, CM_XYZ,
  CM_LAB, CM_Disparity, CM_Depth, CM_I1I2I3,
  CM_DOES_NOT_EXIST
}
 These are the most often used color models. More...
 
enum  EStorageType {
  ST_invalid = -1, ST_unsignedchar, ST_char, ST_unsignedshortint,
  ST_shortint, ST_unsignedint, ST_int, ST_float,
  ST_double
}
 

Public Member Functions

void AddDebugLevel (const long int lv)
 
void AddDebugLevel (const std::string &name)
 
virtual ImageBaseClone () const
 virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, ...). More...
 
void CopyIn_NoInit (void *data)
 Take some data and fill it into the Image. More...
 
bool DebugLevelIsSet (const long int lv) const
 
bool DebugLevelIsSet (const std::string &name) const
 
template<class outputType >
void GetChannel (const BIAS::ImageBase &im, const unsigned int channelId, outputType *channelOut)
 
int GetDebugLevel () const
 
std::ostream & GetDebugStream () const
 
void GetDebugStream (std::ostream &os) const
 
template<class castType >
castType GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel)
 
 ImageBase ()
 
 ImageBase (const ImageBase &im)
 
 ImageBase (unsigned int width, unsigned int height, unsigned int channels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true)
 Constructor, initializing image size and channels. More...
 
void Init (unsigned int width, unsigned int height, unsigned int nChannels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true)
 Initialize image size and channels. More...
 
void InitWithForeignData (unsigned int width, unsigned int height, unsigned int nChannels, void *data, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true, const bool shouldRelease=true)
 Initialize image size and channels using a foreign data pointer. More...
 
bool IsEmpty () const
 check if ImageData_ points to allocated image buffer or not More...
 
long int Name2DebugLevel (const std::string &name) const
 looks up a debuglevel in the internal map, returns 0 if not found More...
 
long int NewDebugLevel (const std::string &name)
 creates a new debuglevel More...
 
void PrintDebugLevel (std::ostream &os=std::cout) const
 
void ReInit (const unsigned int &width, const unsigned int &height, const unsigned int nChannels=1, const enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true, const EColorModel colormodel=CM_Grey)
 (Re-)Initialize Image data if required. More...
 
void Release (const bool reset_storage_type=false)
 Free the allocated data structures Hands off: Do !!NOT!! change the default of reset_storage_type: ImageBase::Release() is also implicitly called for templated images when releasing the storage type here, it becomes possible to assign a float image to an unsigned char image via ImageBase: Image<float> f; Image<unsigned char> uc; ImageBase *ibf = dynamic_cast<ImageBase *>(f); ImageBase *ibuc = dynamic_cast<ImageBase *>(uc); (*ibf) = (*ibuc);. More...
 
void RemoveDebugLevel (const long int lv)
 
void RemoveDebugLevel (const std::string &name)
 
template<class inputType >
void SetChannel (const BIAS::ImageBase &im, const unsigned int channelId, const inputType *channelIn)
 
void SetDebugLevel (const long int lv)
 
void SetDebugLevel (const std::string &name)
 
void SetDebugStream (const std::ostream &os)
 
template<class inputType >
void SetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel, const inputType val)
 
void ShowDebugLevel (std::ostream &os=std::cout) const
 prints all internally known debuglevels More...
 
int StealImage (ImageBase &source)
 steals the image data array from source, after releasing the actual image data and sets source image data to NULL More...
 
virtual ~ImageBase ()
 
Set functions
void SetColorModel (EColorModel Model)
 
void SetInterleaved (bool interleaved)
 
void SetBitDepth (unsigned bitdepth)
 needed by ImageIO More...
 
void SetUID (const BIAS::UUID &id)
 
void InvalidateUID ()
 sets the image's uid to invalid More...
 
Region of Interest Functions

Important: the ROI has a size of (lrx-ulx)*(lry-uly) that means the lower right point is not part of the ROI!

ROIGetROI ()
 Returns a pointer to the roi object. More...
 
const ROIGetROI () const
 
int SetROI (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY)
 deprecated, use SetROICorners() More...
 
int SetROI (const ROI &roi)
 
int SetROICorners (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY)
 
void UnsetROI ()
 deprecated, use GetROI()->UnsetROI() More...
 
void GetROI (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const
 deprecated, use GetROICorners() More...
 
void GetROI (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const
 deprecated, use GetROICorners() More...
 
void GetROICorners (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const
 access region of interest rectangle JW More...
 
void GetROICorners (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const
 access region of interest rectangle JW More...
 
void PrintROI (std::ostream &os=std::cout) const
 deprecated, use 'os << *GetROI()' More...
 
int GetCopyOfROI (ImageBase &copy) const
 returns a copy of ROI (a new image) lower right point excluded, only interleaved images ! More...
 
int GetCopyOfROI2 (ImageBase &copy) const
 like GetCopyOfROI, but with lower right point included only interleaved images ! More...
 
int Paste2ROI (const ImageBase &Image)
 paste Image to current ROI More...
 
int Cut2ROI ()
 reduces image to current ROI, !!! image size changes !!! More...
 
void SetOutsideROIZero ()
 sets all pixel not in ROI to zero More...
 
const bool IsInROI (const double &x, const double &y) const
 
const unsigned int GetROIUpperLeftX () const
 deprecated, use GetROI()->GetCorners() More...
 
const unsigned int GetROIUpperLeftY () const
 deprecated, use GetROI()->GetCorners() More...
 
const unsigned int GetROILowerRightX () const
 deprecated, use GetROI()->GetCorners() More...
 
const unsigned int GetROILowerRightY () const
 deprecated, use GetROI()->GetCorners() More...
 
Operators
ImageBaseoperator= (const ImageBase &Source)
 assignment operator, allocates memory structure via Init only if necessary More...
 
bool operator== (const ImageBase &img) const
 comparison operator, based upon the adresses of the actual image data More...
 
Padding and Appending
int Flip ()
 flips the image vertically (row order is inverted) In place function return 0 in case of success, -1 otherwise More...
 
int FlipHorizontal ()
 flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise More...
 
int Mirror ()
 interface for the above JW More...
 
int Pad (BIAS::ImageBase &dest, const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0) const
 
int Pad (const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0)
 
int ZeroPad (const unsigned int newwidth, const unsigned int newheight, unsigned char bgcolor=0)
 backward compatibility interface for Pad. More...
 
int PadToPowerOfTwo (BIAS::ImageBase &dest, const int &padVal=0) const
 increase the size of this image to next power of two (e.g. More...
 
int PadToPowerOfTwo (const int &padVal=0)
 in place version of the above More...
 
int PadToPowerOfTwoAndFlip (const int &padVal=0)
 first pad, then flip. More...
 

Static Public Member Functions

template<class outputType >
static void GetChannel (const ImageBase &im, const unsigned int channelId, outputType *channelOut)
 Copy channel, determines the internal ImageBase type and casts it to the output type. More...
 
static void GetChannel (const ImageBase &im, const unsigned int channelId, half *channelOut)
 
static long int GetGlobalDebugLevel ()
 
template<class castType >
static castType GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel=0)
 Determines the internale ImageBase type and casts it to the output type. More...
 
template<class inputType >
static void SetChannel (const ImageBase &im, const unsigned int channelId, const inputType *channelIn)
 Copy channel, determines the internal ImageBase type and casts the input type to the type foreseen in im. More...
 
static void SetGlobalDebugLevel (long int lev)
 
template<class inputType >
static void SetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel, const inputType val)
 Determines the internal ImageBase type and casts the input type to the type foreseen in im. More...
 

Protected Member Functions

long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel More...
 
void SetStorageType (const EStorageType st)
 changes StorageType data mmeber More...
 
int UpdateImageDataArrayFromImageData_ ()
 recomputes pointer array returned by GetImageDataArray More...
 

Protected Attributes

long int _liDebugLevel
 
long int _liNextDebugLevel
 new concept, debuglevel are managed here in the debug class More...
 
MetaData _MetaData
 additional data block, handled by derived classes More...
 
std::map< std::string, long int > _String2Debuglevel
 
BIAS::UUID _UID
 unique id for every image More...
 
unsigned int BitDepth_
 relevant bits per pixel per channel More...
 
unsigned int ChannelCount_
 number of channels per pixel More...
 
enum EColorModel ColorModel_
 the color model of the pixels More...
 
unsigned int Depth_
 size of one channel of one pixel in bytes More...
 
unsigned int Height_
 image height in pixels More...
 
void * ImageData_
 a pointer to the image data More...
 
void ** ImageDataArray_
 array of pointers to the first byte in an image row More...
 
bool InterleavedDataOrder_
 planar or interleaved: planar means we have several image planes, e.g. More...
 
ROI Roi_
 roi object More...
 
bool shouldReleaseData_
 shoud ImageBase release the data pointer? More...
 
enum EStorageType StorageType_
 the storage type in a pixel channel More...
 
unsigned int Width_
 image width in pixels More...
 
unsigned int WidthStep_
 size of a line in bytes for interleaved, NOT nr . of pixels (but size a line in one plane for planar) More...
 

Static Protected Attributes

static std::ostream _zDebugStream
 
static long int GlobalDebugLevel = 0
 
static const int Version_ = VERSION_NUMBER
 version number of imagebase class More...
 

Friends

class ImageConvert
 
class ImageIO
 
class WrapBias2Ipl
 

Get functions

BIASImageBase_EXPORT std::ostream & operator<< (std::ostream &os, const ImageBase &img)
 
BIASImageBase_EXPORT std::istream & operator>> (std::istream &is, ImageBase &img)
 
const void * GetImageData () const
 
void * GetImageData ()
 
void ** GetImageDataArray () const
 Get an array of pointers to image data. More...
 
unsigned int GetWidth () const
 
unsigned int GetHeight () const
 
unsigned int GetDepth () const
 returns the bytes per channel, which is the sizeof(StorageType) Should match GetSizeDepth(GetStorageType()). More...
 
unsigned int GetByteDepth () const
 
unsigned int GetBitDepth () const
 returns the bits per channel Is not necessairily 8*sizeof(StorageType), could be fewer bits, eg. More...
 
unsigned int GetSizeByte () const
 returns the nr. More...
 
unsigned int GetSize () const
 returns the image size in bytes = count - NOT the dimension DEPRECATED Please use GetSizeByte instead to avoid storage type confusion on pointers and char/wideChar unicode More...
 
bool DimensionMatch (const BIAS::ImageBase &other) const
 
bool FormatMatch (const BIAS::ImageBase &d) const
 
unsigned int GetChannelCount () const
 returns the number of Color channels, e.g. More...
 
unsigned int GetWidthStep () const
 returns the number of bytes per line More...
 
enum EColorModel GetColorModel () const
 
enum EStorageType GetStorageType () const
 
unsigned long int GetPixelCount () const
 returns number of pixels in image More...
 
unsigned int GetPixelPosition (unsigned int x, unsigned int y, unsigned short int channel=0) const
 returns the Position (index from array start) in ImageData Warning: until 2005-01-04 the position inbyte was returned but used as position in <StorageType> (ImageDraw). More...
 
int GetChannel (const ImageBase &source, const unsigned int channel)
 copies one specific channel from source to Image can only be called from an planar image, so call ToPlanar() before so far only implemented for CM_YUYV422, BGR and RGB More...
 
const BIAS::UUIDGetUID () const
 returns the UUID of the image More...
 
MetaDataGetMetaData ()
 
const MetaDataGetMetaData () const
 
void SetMetaData (const MetaData &m)
 
int GetVersionNumber () const
 
bool IsPlanar () const
 
bool IsInterleaved () const
 
static void PrintPixelValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned short channel=0, std::ostream &os=std::cout)
 print the (typed) pixel value to stream. More...
 

Misc functions

bool SamePixelAndChannelCount (const ImageBase &Image) const
 checks if data area has same "size" as Image of other type More...
 
bool NotBiggerPixelAndSameChannelCount (const ImageBase &Image) const
 checks if data area has bigger or the same "size" as Image of other type More...
 
void ReleaseImageDataPointer ()
 Releases ImageData_ (to be used together with RedirectImageDataPointer) More...
 
void RedirectImageDataPointer (void *data)
 This method takes data and set the internal image data pointer to this. More...
 
void ClearDataPointer ()
 set data pointer to NULL, such that image IsEmpty without deletion of data. More...
 
bool IsPowerOfTwoSize () const
 
bool PowerOfTwoSize (unsigned int &width2, unsigned int &height2) const
 
void * PixelValueBase (unsigned x, unsigned y, unsigned channel=0)
 
void PrintHeader (std::ostream &os=std::cout) const
 
void SetZero ()
 zeroes the image More...
 
bool IsPositionInImage (const int &x, const int &y) const
 check if image contains that pixel position More...
 
int MoveToClosestPositionInImage (int &x, int &y) const
 find closest valid pixel position to x,y More...
 
void BIASToTextureCoordinates (const double &biasx, const double &biasy, double &gl_x, double &gl_y) const
 transfer BIAS image coordinates [0..w-1] x [0..h-1] to GL texture coordinates [0..1[ x [0..1[ More...
 
void TextureToBIASCoordinates (const double &gl_x, const double &gl_y, double &biasx, double &biasy) const
 transfer GL texture coordinates [0..1[ x [0..1[ to BIAS image coordinates [0..w-1] x [0..h-1] More...
 
int Display (const std::string &DestWin, const bool &autoresize, const bool &moveToTopLeft, const bool &waitForKey, const unsigned int &delayMsec=DEFAULT_Display_delay, const float &scale=DEFAULT_32to8_scale, const bool &allowAlphaWindow=false) const
 OpenCV onscreen popup display, very useful for fast debugging. (JW) More...
 
int Display (const std::string &DestWin) const
 simpler interface for the above. More...
 
int Display (const bool &waitForKey, const unsigned int &delayMsec, const float &scale) const
 interface for the above More...
 
int Display () const
 display image simple signature interface for Debugger usage This function can be used to display an (intermediate) image "interactively" with the MS Visual Studio Debugger in "Watch+Debug" expert mode. More...
 
static bool IsPowerOfTwoSize (const unsigned int w, const unsigned int h)
 
static unsigned int PowerOfTwoSize (const unsigned int &val)
 
static int GetSizeByte (const enum BIAS::ImageBase::EStorageType &storagetype)
 get the size in Byte of the type corresponding to a storagetype uses sizeof(type) internally. More...
 
static int GetSizeUnits (const enum BIAS::ImageBase::EColorModel &colormodel)
 get the number of (packed) data values of color model E.g: CM_Grey : 1 CM_YUYV422 : 2 packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packed Bayer pattern CM_PGR_XB3_F7M3_GBRG : 3 packed three Bayer patterns w. More...
 
static int GetChannelcount (const enum BIAS::ImageBase::EColorModel &colormodel)
 get the number of channels corresponding to the enum ColorModel Determines the number of (packed) data values. More...
 
static int GetStorageSizeByte (const unsigned int &width, const unsigned int &height, const unsigned int nChannels, const enum EStorageType storageType)
 computes the storage data size in Byte required for a given video format. More...
 
static void StringToColorModel (const std::string &str, ImageBase::EColorModel &cm)
 
static void StringToStorageType (const std::string &str, ImageBase::EStorageType &st)
 

Detailed Description

This is the base class for images in BIAS.

It is a non template class, so you can write image type independet functions. Use this class if you deal with different storage types or you don't know the storage type, eg. when loading an image from disk.

Examples:
EvaluateAlignment.cpp, ExampleAlignment.cpp, ExampleBilateral.cpp, ExampleBlobDetectorLevelSet.cpp, ExampleCannyEdge.cpp, ExampleConvert.cpp, ExampleCornerDetector.cpp, ExampleDeInterlace2.cpp, ExampleDynamicCastImage.cpp, ExampleEmpty.cpp, ExampleHSVConversion2.cpp, ExampleImageCanvasFloat.cpp, ExampleImageLoad.cpp, ExampleImageWinApi.cpp, ExampleMedian.cpp, ExampleMedian3x3x3.cpp, ExampleMeshFromImage.cpp, ExampleProjectionParametersPerspective.cpp, ExampleTracker.cpp, ExampleTrackerBase.cpp, ExampleTrackerBaseInterface.cpp, and TestPyramidImage.cpp.

Definition at line 102 of file ImageBase.hh.

Member Enumeration Documentation

These are the most often used color models.

Determines the data storage size per channel per pixel.

Enumerator
CM_invalid 

invalid (not set) image format

CM_Grey 

gray values, 1 channel

CM_RGB 

color values, 3 channels, order: red,green,blue

CM_BGR 

color values, 3 channels, order: blue,green,red

CM_YUYV422 

YUYV422, 2 channels, full luminance Y, subsampled half U,V.

CM_UYVY422 

UYVY422, 2 channels, full luminance Y, subsampled half U,V inverse order.

CM_YUV420P 

YUV420P, 2 channels, full luminance Y, 1 U, 1 V. Y, U and V are grouped together for better compression.

CM_YUV444 

CM_YUV444, 3 channels, all channels have full data.

CM_YUV411 

YUV411, 2 channles, full luminance, 1 U, 1 V.

CM_HSV 

HSV, 3 channels, order: hue, sat , value.

CM_HSI_OBS 

obsolete, HSI is unused and identical to HSL

CM_DV 

DV, color model used for digital video cameras such as Mini-DV.

CM_RGBA 

RGBA, 4 channels, order: red,green,blue,alpha.

CM_GreyA 

GreyA, 2 channels, grey plus Alpha.

CM_Bayer_RGGB 

Bayer_RGGB, 1 channel RGB image Bayer tile.

CM_Bayer_GBRG 

Bayer_GBRG, 1 channel RGB image Bayer tile.

CM_Bayer_GRBG 

Bayer_GRBG, 1 channel RGB image Bayer tile.

CM_Bayer_BGGR 

Bayer_BGGR, 1 channel RGB image Bayer tile.

CM_HSL 

HSL, similar to HSV but space is a double tipped cone.

CM_hsL 

hsl, similar to HSL but euclidean (h,s) for CNCC

CM_SymTensor2x2 

SymTensor2x2 The image contains a 2x2 symmetric tensor.

CM_BGRA 

BGRA color values, 4 channels, order: blue,green,red,alpha.

CM_RGBE 

RGBE color values, 4 channels, RADIANCE hdr format, four low dynamic channels meaning: 3x mantissa (red,green,blue) +1x (exponent)

CM_PGR_XB3_F7M3_GBRG 

PGR XB3 in format 7 mode 3 delivers an image that consists of 3 channels with 8bbp (overal 24bpp), each channel codes an whole color image in GBRG bayer pattern, ch0 = left image, ch1 = right image, ch3 = center image.

CM_DepthAndVariance 

Todo: Unclear, I think one channel float, why isn't grey used for that?

CM_YUYV 

Todo: Conflict with YUVU model, what does it do?

CM_LUV 

CIELUV color space, 3 channels, http://en.wikipedia.org/wiki/CIELUV_color_space.

CM_XYZ 

XYZ, 3 channels, http://en.wikipedia.org/wiki/Xyz_color_space.

CM_LAB 

LAB, 3 channels, http://en.wikipedia.org/wiki/Lab_color_space.

CM_Disparity 

Disparity images Q: should disp and depth be treated separately, if not what would be a good name to cover both?

CM_Depth 

Depth images A: separated for now.

CM_I1I2I3 

Othe's principle component generalization for RGB based segmentation.

CM_DOES_NOT_EXIST 

Definition at line 127 of file ImageBase.hh.

Enumerator
ST_invalid 

invalid not set image storage type

ST_unsignedchar 

(8bit) unsigned char image storage type

ST_char 

(8bit) signed char image storage type

ST_unsignedshortint 

(16bit) unsigned integer image storage type

ST_shortint 

(16bit) signed integer image storage type

ST_unsignedint 

(32bit) unsigned integer image storage type

ST_int 

(32bit) signed integer image storage type

ST_float 

float image storage type

ST_double 

double image storage type

Definition at line 109 of file ImageBase.hh.

Constructor & Destructor Documentation

ImageBase::ImageBase ( )
ImageBase::~ImageBase ( )
virtual

Definition at line 42 of file ImageBase.cpp.

ImageBase::ImageBase ( const ImageBase im)

Definition at line 77 of file ImageBase.cpp.

References ChannelCount_, Height_, ImageData_, ImageDataArray_, ST_invalid, StorageType_, and Width_.

ImageBase::ImageBase ( unsigned int  width,
unsigned int  height,
unsigned int  channels = 1,
enum EStorageType  storageType = ST_unsignedchar,
const bool  interleaved = true 
)

Constructor, initializing image size and channels.

Author
Felix Woelk tested
Parameters
widthimage width of the new image
heightimage height of the new image
channelsnumber of color planes
Note
Example: Defining an RGB image.
ImageBase im;
im.init(width, height, 3);

Definition at line 93 of file ImageBase.cpp.

References CM_invalid, ColorModel_, ImageData_, ImageDataArray_, Init(), InterleavedDataOrder_, BIAS::ROI::Resize(), Roi_, and BIAS::ROI::UnsetROI().

Member Function Documentation

void BIAS::Debug::AddDebugLevel ( const long int  lv)
inlineinherited
void BIAS::Debug::AddDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 362 of file Debug.hh.

void ImageBase::BIASToTextureCoordinates ( const double &  biasx,
const double &  biasy,
double &  gl_x,
double &  gl_y 
) const
inline

transfer BIAS image coordinates [0..w-1] x [0..h-1] to GL texture coordinates [0..1[ x [0..1[

GL coordinates are relative to image size of *this (must be valid) !

Please note that this is only one of many possible bias to gl coord transformations which may be particularly different for pow2, non-pow2, rectangle, padded, scaled, bordered, offset etc. OpenGL textures.

BIASASSERT(Equal(biasx, biasx2)); BIASASSERT(Equal(biasy, biasy2));

Definition at line 141 of file ImageBase.hh.

Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap().

void BIAS::ImageBase::ClearDataPointer ( )
inline

set data pointer to NULL, such that image IsEmpty without deletion of data.

Author
evers
Examples:
ExampleForeignData.cpp.

Definition at line 871 of file ImageBase.hh.

virtual ImageBase* BIAS::ImageBase::Clone ( ) const
inlinevirtual

virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, ...).

Must be implemented in all derived classes and since some people do work with ImageBase objects, it is also implemented there. The caller is responsible to delete the clone.

Author
koeser 06/2006

Reimplemented in BIAS::Image< StorageType >, BIAS::Image< InputST >, BIAS::Image< InputStorageType >, BIAS::Image< LABEL_CALC_TYPE >, BIAS::Image< float >, BIAS::Image< CONV_FLOAT >, BIAS::Image< unsigned char >, BIAS::Image< OutputStorageType >, BIAS::Image< CONV_INT >, BIAS::Image< CalculationType >, BIAS::Image< OutputST >, BIAS::Camera< StorageType >, BIAS::Camera< InputStorageType >, BIAS::Camera< float >, BIAS::Camera< unsigned char >, and BIAS::CorrespondenceMap< StorageType >.

Definition at line 193 of file ImageBase.hh.

long BIAS::Debug::ConsumeNextFreeDebuglevel_ ( )
inlineprotectedinherited

returns the next available debuglevel

Author
woelk 09/2006

Definition at line 521 of file Debug.hh.

void ImageBase::CopyIn_NoInit ( void *  data)
int ImageBase::Cut2ROI ( )
bool BIAS::Debug::DebugLevelIsSet ( const long int  lv) const
inlineinherited
bool BIAS::Debug::DebugLevelIsSet ( const std::string &  name) const
inlineinherited

Definition at line 350 of file Debug.hh.

bool ImageBase::DimensionMatch ( const BIAS::ImageBase other) const
Returns
true if the image dimension w x h of this and other match = are equal, values of descriptions Fit.
Author
JW

Definition at line 985 of file ImageBase.cpp.

References GetHeight(), and GetWidth().

Referenced by FormatMatch().

int ImageBase::Display ( const std::string &  DestWin,
const bool &  autoresize,
const bool &  moveToTopLeft,
const bool &  waitForKey,
const unsigned int &  delayMsec = DEFAULT_Display_delay,
const float &  scale = DEFAULT_32to8_scale,
const bool &  allowAlphaWindow = false 
) const

OpenCV onscreen popup display, very useful for fast debugging. (JW)

display image as popup to screnn sing OpenCv IplImage using Highgui functions. Very useful to easily display an image, e.g. for debugging. Can be used inside MSVS debugger watch to inspect intermediate Images wit a popup. Can be used with waiting for user interaction (for delayMsec).

Returns
positive nr. of pressed key or negative if no key pressed or error occured.
Parameters
waitForKeyif true delayMsec is waited for keypres. 0=forever.
delayMsecif waitForKey is true wait for key with 0=forever, see cvWaitkey.
Returns
pressed key (if any)
Author
Jan Woetzel 2005
Examples:
ExampleConvertRAW.cpp, ExampleImageWinApi.cpp, ExampleIplImageDisplay.cpp, and ExampleVideoSource_Controller.cpp.

Definition at line 1414 of file ImageBase.cpp.

References BIAS::WrapBias2Ipl::Display().

int ImageBase::Display ( const std::string &  DestWin) const

simpler interface for the above.

shows image in window named "DestWin" without. Does not wait for key, you may want to use WrapBias2Ipl::WaitKey after calling this.

Definition at line 1440 of file ImageBase.cpp.

References Display().

int ImageBase::Display ( const bool &  waitForKey,
const unsigned int &  delayMsec,
const float &  scale 
) const

interface for the above

Author
Jan Woetzel 2005

Definition at line 1452 of file ImageBase.cpp.

References Display().

int ImageBase::Display ( ) const

display image simple signature interface for Debugger usage This function can be used to display an (intermediate) image "interactively" with the MS Visual Studio Debugger in "Watch+Debug" expert mode.

This signature is required because MSVS debugger does not support default params.

Author
Jan Woetzel

Definition at line 1463 of file ImageBase.cpp.

Referenced by Display().

int ImageBase::Flip ( )
int ImageBase::FlipHorizontal ( )

flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise

Author
woelk 10/2004

Definition at line 878 of file ImageBase.cpp.

References GetChannelCount(), GetDepth(), GetPixelCount(), Height_, ImageDataArray_, InterleavedDataOrder_, RedirectImageDataPointer(), ReleaseImageDataPointer(), Width_, and WidthStep_.

Referenced by BIAS::ImageConvert::BayerToRGB().

bool ImageBase::FormatMatch ( const BIAS::ImageBase d) const
Returns
true if (all) format descriptions between this and dest image match/fit are equal.
Author
JW

Definition at line 992 of file ImageBase.cpp.

References DimensionMatch(), GetBitDepth(), GetChannelCount(), GetColorModel(), GetDepth(), GetHeight(), GetSizeByte(), GetWidth(), and GetWidthStep().

unsigned int BIAS::ImageBase::GetBitDepth ( ) const
inline
unsigned int BIAS::ImageBase::GetByteDepth ( ) const
inline

Definition at line 334 of file ImageBase.hh.

Referenced by BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB().

int ImageBase::GetChannel ( const ImageBase source,
const unsigned int  channel 
)
template<class outputType >
void BIAS::ImageBase::GetChannel ( const BIAS::ImageBase im,
const unsigned int  channelId,
outputType *  channelOut 
)
template<class outputType >
void BIAS::ImageBase::GetChannel ( const ImageBase im,
const unsigned int  channelId,
outputType *  channelOut 
)
static

Copy channel, determines the internal ImageBase type and casts it to the output type.

Attention
im and channel both have to be initialized and of compatible size! Only for interleaved images.

Definition at line 449 of file ImageBase.hh.

void BIAS::ImageBase::GetChannel ( const ImageBase im,
const unsigned int  channelId,
half *  channelOut 
)
static
unsigned int BIAS::ImageBase::GetChannelCount ( ) const
inline

returns the number of Color channels, e.g.

RGB 3

the value returned is independent of the StorageType

Examples:
EvaluateAlignment.cpp, ExampleAffineMappingScaleOnly.cpp, ExampleAlignment.cpp, ExampleBilateral.cpp, ExampleBlobDetectorLevelSet.cpp, ExampleCalibratedPyramid.cpp, ExampleCannyEdge.cpp, ExampleContourDetectorSimple.cpp, ExampleCylinderMapping.cpp, ExampleDrawConic.cpp, ExampleFMT2D.cpp, ExampleForeignData.cpp, ExampleHistogram.cpp, ExampleHomographyMapping.cpp, ExampleImageDiff.cpp, ExampleImageDri.cpp, ExampleImageLoad.cpp, ExampleInterpolation.cpp, ExampleJPEGDecompress.cpp, ExampleLEDDetector.cpp, ExampleLogPolarMapping.cpp, ExampleMedian.cpp, ExampleProjectionMapping.cpp, ExampleProjectionParametersPerspective.cpp, ExamplePtGreyHiresColor.cpp, ExampleTile.cpp, ExampleUndistort.cpp, ExampleUpsampleBy2Grey.cpp, ExampleVideoSource_Net.cpp, and ExampleVideoSource_Shm.cpp.

Definition at line 382 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::ColourMap::Apply(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), CopyIn_NoInit(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), Cut2ROI(), BIAS::DataPlot::DataPlot(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Histogram2D::Draw(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::BlobDetectorBFS< StorageType >::DrawInImage(), BIAS::Histogram2D::DrawLog(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), Flip(), FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleaved(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::CheckerboardDetectorCrossFilter::GetAvgBlackWhiteValue(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::CheckerboardDetectorCrossFilter::GetFinalCheckerboard(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), GetValue(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageDraw< StorageType >::InterpolatedLineGrey(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageDraw< StorageType >::Line(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::ImageDistribution::MapImagesToSquare(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), BIAS::operator<<(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), Paste2ROI(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::BlobDetectorDOM< StorageType >::refineBlobPosAndSize(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::ImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), BIAS::ImageLegendFrame::SetImage(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), SetValue(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), StealImage(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::Image< StorageType >::Transpose(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().

int ImageBase::GetChannelcount ( const enum BIAS::ImageBase::EColorModel colormodel)
static

get the number of channels corresponding to the enum ColorModel Determines the number of (packed) data values.

Is typically consistent with GetSizeByte. E.g. CM_Grey : 1 CM_YUYV422 : packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packs 3 channel RGB into 1 Byte Bayer pattern

Author
Jan Woetzel

Definition at line 1366 of file ImageBase.cpp.

References CM_Bayer_BGGR, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_RGGB, CM_BGR, CM_BGRA, CM_Grey, CM_GreyA, CM_HSL, CM_hsL, CM_HSV, CM_PGR_XB3_F7M3_GBRG, CM_RGB, and CM_RGBA.

Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::CopyToBiasImage(), and BIAS::clfImage2D::CopyToBiasImage().

enum EColorModel BIAS::ImageBase::GetColorModel ( ) const
inline
Examples:
ExampleFMT2D.cpp, ExampleImageDiff.cpp, ExampleImageDri.cpp, ExampleLogPolarMapping.cpp, ExampleMixtureOfGaussians.cpp, ExampleProjectionMapping.cpp, ExamplePyramidImage.cpp, ExampleTrackerBase.cpp, ExampleTrackerBaseInterface.cpp, ExampleUndistort.cpp, and ExampleUpsampleBy2Grey.cpp.

Definition at line 407 of file ImageBase.hh.

Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::Convert(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::ImageConvert::ConvertST(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), FormatMatch(), BIAS::ImageConvert::FromInterleaved(), BIAS::ColorHistogram< StorageType >::GenerateCircleHist(), BIAS::ColorHistogram< StorageType >::GenerateHist(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::CornerMatcher::NCCSearch(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_DiskPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), operator=(), Pad(), Paste2ROI(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::VideoTransmitter::Process(), BIAS::ImageCanvasCheckerboardExtract::RefreshDrawIm_(), BIAS::ImageCanvasRectangularSelection::RefreshDrawImage_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::SceneBGImage::SetImage(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ImageCanvas::Show(), StealImage(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleaved(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::BVWXMainFrame::UncompressImage(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().

int ImageBase::GetCopyOfROI ( ImageBase copy) const

returns a copy of ROI (a new image) lower right point excluded, only interleaved images !

Author
Felix Woelk, grest untested

Definition at line 568 of file ImageBase.cpp.

References GetChannelCount(), GetColorModel(), BIAS::ROI::GetCorners(), GetDepth(), GetImageDataArray(), GetROI(), GetStorageType(), Init(), IsEmpty(), IsPlanar(), Release(), and SetColorModel().

Referenced by BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::Label::Label4Neighbour(), BIAS::Label::Process(), and BIAS::ImageConvertThreaded::SplitImage_().

int ImageBase::GetCopyOfROI2 ( ImageBase copy) const

like GetCopyOfROI, but with lower right point included only interleaved images !

Note
GetCopyOfROI returns an image where the lower right ROI point is not included. This version does it. Correction are not made in the original method, because extensive corrections would become necessary in other methods.
Author
Ingo Thomsen

Definition at line 535 of file ImageBase.cpp.

References GetChannelCount(), GetColorModel(), BIAS::ROI::GetCorners(), GetDepth(), GetImageDataArray(), GetROI(), GetStorageType(), Init(), IsEmpty(), IsPlanar(), Release(), and SetColorModel().

int BIAS::Debug::GetDebugLevel ( ) const
inlineinherited
std::ostream& BIAS::Debug::GetDebugStream ( ) const
inlineinherited

Definition at line 405 of file Debug.hh.

void BIAS::Debug::GetDebugStream ( std::ostream &  os) const
inlineinherited

Definition at line 414 of file Debug.hh.

unsigned int BIAS::ImageBase::GetDepth ( ) const
inline
static long int BIAS::Debug::GetGlobalDebugLevel ( )
inlinestaticinherited

Definition at line 431 of file Debug.hh.

unsigned int BIAS::ImageBase::GetHeight ( ) const
inline
Examples:
EvaluateAlignment.cpp, ExampleAffineMappingScaleOnly.cpp, ExampleAlignment.cpp, ExampleBlobDetectorLevelSet.cpp, ExampleCamera.cpp, ExampleChessboard.cpp, ExampleColorNCC.cpp, ExampleCondensHisto.cpp, ExampleContextWx.cpp, ExampleContourDetectorSimple.cpp, ExampleConvertBayerPattern.cpp, ExampleCylinderMapping.cpp, ExampleDcamImageConvert.cpp, ExampleDrawConic.cpp, ExampleDrawLines.cpp, ExampleFFT2D.cpp, ExampleFFT2D_free.cpp, ExampleFFT2D_Tiles.cpp, ExampleFMT2D.cpp, ExampleForeignData.cpp, ExampleHomographyMapping.cpp, ExampleHSVConversion2.cpp, ExampleImageDiff.cpp, ExampleImageDri.cpp, ExampleImageLoad.cpp, ExampleImageOperator.cpp, ExampleImageWinApi.cpp, ExampleInterpolation.cpp, ExampleIplImageDisplay.cpp, ExampleIplImageDraw.cpp, ExampleIplWrapOpenCV.cpp, ExampleJPEGDecompress.cpp, ExampleLEDDetector.cpp, ExampleLogPolarMapping.cpp, ExampleMeshFromImage.cpp, ExampleMinMax.cpp, ExampleMixtureOfGaussians.cpp, ExamplePlainPerPixelProcessing.cpp, ExamplePMDImageIO.cpp, ExamplePtGreyHiresColor.cpp, ExamplePyramidImage.cpp, ExampleRectification.cpp, ExampleRefineContour.cpp, ExampleROI.cpp, ExampleROIImage.cpp, ExampleStencilBuffer.cpp, ExampleTemplateSpecializedBatch.cpp, ExampleTile.cpp, ExampleTriangleMesh.cpp, ExampleTriangleMeshQuad.cpp, ExampleUndistort.cpp, ExampleUpsampleBy2Grey.cpp, ExampleVideoSource_Net.cpp, and ExampleVideoSource_Shm.cpp.

Definition at line 319 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::ImageBlender::AddCamera(), BIAS::ImageBlenderIncremental::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::PMDImageProc::CalcSigmaDepth(), 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::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::ImageDraw< StorageType >::CircleCenterFilled(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::FFT2D_free< StorageType >::ComplexColumnToWorkArray1_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), BIAS::ImageBlenderIncremental::ComputeAlphaChannelWeight_(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::ImageBlenderIncremental::CopyAlphaChannel_(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ColorHarris::CreateSTColor(), BIAS::PMDImageProc::CrossCheck(), Cut2ROI(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::ConstantRegionDetector< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), DimensionMatch(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::DistortReflectivityDepthIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Conic2D::Draw(), BIAS::Histogram2D::Draw(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::GenGroundTruth::DrawMatches(), BIAS::CondensHisto::DrawMean(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::ImageBlenderIncremental::FillBGImage_(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::TriangleMesh::GenerateTexturedQuadStrip(), BIAS::CheckerboardDetectorCrossFilter::getAverage(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerLineFactor(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ImageBlenderIncremental::GetLowPassAndHighPassImage_(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), IsPowerOfTwoSize(), BIAS::PMDImageProc::LimitDepthSpread(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::DistTransform< InputStorageType, OutputStorageType >::MakeDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::MakeDistanceImage_(), BIAS::TriangleMesh::MakeTriangles_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::PMDImageProc::MarkHighVarianceValues(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::FitCircleFrame::OnRescaleImage(), BIAS::BVWXMainFrame::OnSaveAsMovie(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::ImageWarper< StorageType >::Process(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::ExampleMixtureOfGaussiansFrame::processImages_(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::ImageDraw< StorageType >::RectangleCornersGreyFill(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::EpipolarLine::ScanLine(), BIAS::EpipolarLine::ScanLine_(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::TriangleMesh::SimplifyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), StealImage(), BIAS::CheckerboardDetectorCrossFilter::StretchImageValues(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), BIAS::GLProjectionParametersBase::TranslateZToMetricZ(), BIAS::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortReflectivityDepthIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FFT2D_free< StorageType >::WorkArray1ToComplexColumn_(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().

const void* BIAS::ImageBase::GetImageData ( ) const
inline

Definition at line 280 of file ImageBase.hh.

Referenced by BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ImageConvert::ConvertST(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), CopyIn_NoInit(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::VideoSource_FFMPEGVideo::GetFrame(), BIAS::ROI::GetMaskImage(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportReal32(), BIAS::operator<<(), operator=(), operator==(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::clfUnifiedMultilateralFilter::SetImage(), BIAS::ROI::SetMaskImage(), SetOutsideROIZero(), StealImage(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), and BIAS::ImageIO::WriteRAW_IMA().

void* BIAS::ImageBase::GetImageData ( )
inline

Definition at line 287 of file ImageBase.hh.

void** BIAS::ImageBase::GetImageDataArray ( ) const
inline

Get an array of pointers to image data.

A pixel can be accessed by GetImageDataArray()[row][col] or GetImageDataArray()[y][x]
For multi channel images with interleaved data order, access with GetImageDataArray()[row][col * GetChannelCount() + Channel]
For multi channel images with planar data order, access with GetImageDataArray()[row + GetHeight * Channel][col]

Author
Felix Woelk
Returns
array with pointer to the first pixels in every row.
Examples:
ExampleProjectionParametersPerspective.cpp.

Definition at line 305 of file ImageBase.hh.

Referenced by Cut2ROI(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::IntegralImage< StorageType >::GenerateFrom(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), GetValue(), BIAS::ImageIO::ImportMatrix(), BIAS::ImageIO::ImportRADIANCE(), Pad(), Paste2ROI(), SetChannel(), SetValue(), and StealImage().

MetaData* BIAS::ImageBase::GetMetaData ( )
inline
const MetaData* BIAS::ImageBase::GetMetaData ( ) const
inline

Definition at line 463 of file ImageBase.hh.

unsigned long int BIAS::ImageBase::GetPixelCount ( ) const
inline

returns number of pixels in image

Examples:
EvaluateAlignment.cpp, ExampleAlignment.cpp, ExampleHistogram.cpp, and ExampleImageOperator.cpp.

Definition at line 422 of file ImageBase.hh.

Referenced by BIAS::HistogramImage::AddHist(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BGRAToRGB_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BGRToRGB_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::ConvertST(), CopyIn_NoInit(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::DetermineThresholds_(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::ImageIO::ExportDevIL(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), Flip(), FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), BIAS::ImageConvert::GreyToRGB_(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_(), BIAS::operator<<(), operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), PrintHeader(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::ImageConvert::RGBAToRGB_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().

unsigned int ImageBase::GetPixelPosition ( unsigned int  x,
unsigned int  y,
unsigned short int  channel = 0 
) const
inline

returns the Position (index from array start) in ImageData Warning: until 2005-01-04 the position inbyte was returned but used as position in <StorageType> (ImageDraw).

Changed this method to return position in StorageType Jan-Friso Evers

Definition at line 99 of file ImageBase.hh.

ROI* BIAS::ImageBase::GetROI ( )
inline

Returns a pointer to the roi object.

Author
woelk 07/2005
Examples:
ExampleBlobDetectorLevelSet.cpp, ExampleDrawLines.cpp, ExampleHomographyMapping.cpp, ExampleLogPolarMapping.cpp, ExampleProjectionMapping.cpp, ExampleROI.cpp, and ExampleROIImage.cpp.

Definition at line 615 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_ExtractLocalMaxima(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::HistogramImage::AddHist(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), Cut2ROI(), BIAS::BlobDetectorLevelSet< StorageType >::Detect(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3SameGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::TriangleMesh::GenerateDenseMesh(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), GetROICorners(), GetROILowerRightX(), GetROILowerRightY(), GetROIUpperLeftX(), GetROIUpperLeftY(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::Label::LabelInit_(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::ImageConvertThreaded::MergeImage_(), BIAS::operator<<(), operator=(), BIAS::operator>>(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), PrintROI(), BIAS::Label::Process(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), SetROI(), SetROICorners(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreySameFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::ImageConvertThreaded::SplitImage_(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), UnsetROI(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL1(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL2(), and BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenMax().

const ROI* BIAS::ImageBase::GetROI ( ) const
inline

Definition at line 621 of file ImageBase.hh.

void ImageBase::GetROI ( unsigned int &  UpperLeftX,
unsigned int &  UpperLeftY,
unsigned int &  LowerRightX,
unsigned int &  LowerRightY 
) const

deprecated, use GetROICorners()

Definition at line 1062 of file ImageBase.cpp.

References GetROICorners().

void ImageBase::GetROI ( int &  UpperLeftX,
int &  UpperLeftY,
int &  LowerRightX,
int &  LowerRightY 
) const

deprecated, use GetROICorners()

Definition at line 1074 of file ImageBase.cpp.

References GetROICorners().

void ImageBase::GetROICorners ( unsigned int &  UpperLeftX,
unsigned int &  UpperLeftY,
unsigned int &  LowerRightX,
unsigned int &  LowerRightY 
) const
void ImageBase::GetROICorners ( int &  UpperLeftX,
int &  UpperLeftY,
int &  LowerRightX,
int &  LowerRightY 
) const

access region of interest rectangle JW

Definition at line 1079 of file ImageBase.cpp.

References BIAS::ROI::GetCorners(), and GetROI().

const unsigned int ImageBase::GetROILowerRightX ( ) const

deprecated, use GetROI()->GetCorners()

Definition at line 1106 of file ImageBase.cpp.

References BIAS::ROI::GetCorners(), and GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROILowerRightY ( ) const

deprecated, use GetROI()->GetCorners()

Definition at line 1113 of file ImageBase.cpp.

References BIAS::ROI::GetCorners(), and GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROIUpperLeftX ( ) const

deprecated, use GetROI()->GetCorners()

Definition at line 1092 of file ImageBase.cpp.

References BIAS::ROI::GetCorners(), and GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROIUpperLeftY ( ) const

deprecated, use GetROI()->GetCorners()

Definition at line 1099 of file ImageBase.cpp.

References BIAS::ROI::GetCorners(), and GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

unsigned int BIAS::ImageBase::GetSize ( ) const
inline

returns the image size in bytes = count - NOT the dimension DEPRECATED Please use GetSizeByte instead to avoid storage type confusion on pointers and char/wideChar unicode

Definition at line 361 of file ImageBase.hh.

Referenced by BIAS::VideoSink_FFmpeg::AddFrame(), and BIAS::VideoSource_DCAM::GrabSingle().

unsigned int BIAS::ImageBase::GetSizeByte ( ) const
inline
int ImageBase::GetSizeByte ( const enum BIAS::ImageBase::EStorageType storagetype)
static

get the size in Byte of the type corresponding to a storagetype uses sizeof(type) internally.

Useful for allocation calculations.

Author
Jan Woetzel

Definition at line 1297 of file ImageBase.cpp.

References ST_char, ST_double, ST_float, ST_int, ST_invalid, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.

int ImageBase::GetSizeUnits ( const enum BIAS::ImageBase::EColorModel colormodel)
static

get the number of (packed) data values of color model E.g: CM_Grey : 1 CM_YUYV422 : 2 packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packed Bayer pattern CM_PGR_XB3_F7M3_GBRG : 3 packed three Bayer patterns w.

9 values in tri-image Useful for allocation calculations. Returns the number of data units, not Bytes!

Author
Jan Woetzel

Definition at line 1329 of file ImageBase.cpp.

References CM_Bayer_BGGR, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_RGGB, CM_BGR, CM_BGRA, CM_Grey, CM_GreyA, CM_HSL, CM_hsL, CM_HSV, CM_PGR_XB3_F7M3_GBRG, CM_RGB, and CM_RGBA.

Referenced by BIAS::VideoSource_Disk::OpenDevice().

int ImageBase::GetStorageSizeByte ( const unsigned int &  width,
const unsigned int &  height,
const unsigned int  nChannels,
const enum EStorageType  storageType 
)
static

computes the storage data size in Byte required for a given video format.

Author
Jan Woetzel

Definition at line 115 of file ImageBase.cpp.

References GetSizeByte().

Referenced by BIAS::clfImage2D::AllocateFromTexture2D(), and ReInit().

enum EStorageType BIAS::ImageBase::GetStorageType ( ) const
inline
Examples:
ExampleBilateral.cpp, ExampleCannyEdge.cpp, ExampleTile.cpp, and ExampleTracker.cpp.

Definition at line 414 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::ImageCalc< StorageType >::Add(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::BVWXMainFrame::AddInfo(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::DistTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ROI::GetMaskImage(), GetValue(), BIAS::VideoSource_Net::GrabSingle(), BIAS::VideoSource_PMD::GrabSingleIntensity(), BIAS::ImageConvert::HSLToRGB_(), BIAS::Image< StorageType >::Image(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::VideoSource::InitImage(), InitWithForeignData(), BIAS::IOUtils::LoadFloat(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ScaledImageCanvas::OnAutoScaleOffset(), BIAS::BVWXMainFrame::OnSaveCurrent(), BIAS::Image< StorageType >::operator=(), operator=(), BIAS::operator>>(), Pad(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), PrintPixelValue(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::PMDImageIO::Save(), BIAS::ImageIO::Save(), SetChannel(), BIAS::ImageLegendFrame::SetImage(), BIAS::ROI::SetMaskImage(), SetValue(), BIAS::ScaledImageCanvas::Show(), BIAS::BVWXMainFrame::ShowHistogramm(), BIAS::GuiBase::ShowImage(), BIAS::BVWXMainFrame::ShowImageValueBar(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample().

const BIAS::UUID& BIAS::ImageBase::GetUID ( ) const
inline
template<class castType >
castType BIAS::ImageBase::GetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel 
)
template<class castType >
castType BIAS::ImageBase::GetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel = 0 
)
static

Determines the internale ImageBase type and casts it to the output type.

Attention
im and input coordinates are not checked for validity! Only for interleaved images.

Definition at line 194 of file ImageBase.hh.

int BIAS::ImageBase::GetVersionNumber ( ) const
inline

Definition at line 477 of file ImageBase.hh.

Referenced by BIAS::BVWXMainFrame::AddInfo(), and BIAS::operator<<().

unsigned int BIAS::ImageBase::GetWidth ( ) const
inline
Examples:
EvaluateAlignment.cpp, ExampleAffineMappingScaleOnly.cpp, ExampleAlignment.cpp, ExampleBlobDetectorLevelSet.cpp, ExampleCamera.cpp, ExampleColorNCC.cpp, ExampleCondensHisto.cpp, ExampleContextWx.cpp, ExampleContourDetectorSimple.cpp, ExampleConvertBayerPattern.cpp, ExampleCylinderMapping.cpp, ExampleDcamImageConvert.cpp, ExampleDrawConic.cpp, ExampleDrawLines.cpp, ExampleFFT2D.cpp, ExampleFFT2D_free.cpp, ExampleFFT2D_Tiles.cpp, ExampleFMT2D.cpp, ExampleForeignData.cpp, ExampleHomographyMapping.cpp, ExampleHSVConversion2.cpp, ExampleImageDiff.cpp, ExampleImageDri.cpp, ExampleImageLoad.cpp, ExampleImageOperator.cpp, ExampleImageWinApi.cpp, ExampleInterpolation.cpp, ExampleIplImageDisplay.cpp, ExampleIplImageDraw.cpp, ExampleIplWrapOpenCV.cpp, ExampleJPEGDecompress.cpp, ExampleLEDDetector.cpp, ExampleLogPolarMapping.cpp, ExampleMeshFromImage.cpp, ExampleMinMax.cpp, ExampleMixtureOfGaussians.cpp, ExamplePlainPerPixelProcessing.cpp, ExamplePMDImageIO.cpp, ExamplePtGreyHiresColor.cpp, ExamplePyramidImage.cpp, ExampleRectification.cpp, ExampleRefineContour.cpp, ExampleROI.cpp, ExampleROIImage.cpp, ExampleStencilBuffer.cpp, ExampleTemplateSpecializedBatch.cpp, ExampleTile.cpp, ExampleTriangleMesh.cpp, ExampleTriangleMeshQuad.cpp, ExampleUndistort.cpp, ExampleUpsampleBy2Grey.cpp, ExampleVideoSource_Net.cpp, and ExampleVideoSource_Shm.cpp.

Definition at line 312 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::ImageBlender::AddCamera(), BIAS::ImageBlenderIncremental::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageDraw< StorageType >::Arrow(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::PMDImageProc::CalcSigmaDepth(), 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::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::ImageDraw< StorageType >::CircleCenterFilled(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::FFT2D_free< StorageType >::ComplexRowToWorkArray0_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), BIAS::ImageBlenderIncremental::ComputeAlphaChannelWeight_(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::ImageBlenderIncremental::CopyAlphaChannel_(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ColorHarris::CreateSTColor(), BIAS::PMDImageProc::CrossCheck(), Cut2ROI(), BIAS::DataPlot::DataPlot(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::ConstantRegionDetector< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), DimensionMatch(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::DistortReflectivityDepthIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Conic2D::Draw(), BIAS::Histogram2D::Draw(), BIAS::ImageCanvasCheckerboardExtract::DrawCheckerboardCorners_(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::GenGroundTruth::DrawMatches(), BIAS::CondensHisto::DrawMean(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::VideoSink::Encode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::ImageBlenderIncremental::FillBGImage_(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), Flip(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::TriangleMesh::GenerateTexturedQuadStrip(), BIAS::CheckerboardDetectorCrossFilter::getAverage(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerLineFactor(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ImageBlenderIncremental::GetLowPassAndHighPassImage_(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), IsPowerOfTwoSize(), BIAS::PMDImageProc::LimitDepthSpread(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::DistTransform< InputStorageType, OutputStorageType >::MakeDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::MakeDistanceImage_(), BIAS::TriangleMesh::MakeTriangles_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::ImageDistribution::MapImagesToSquare(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::PMDImageProc::MarkHighVarianceValues(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::FitCircleFrame::OnDump(), BIAS::FitCircleFrame::OnRescaleImage(), BIAS::BVWXMainFrame::OnSaveAsMovie(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::ImageWarper< StorageType >::Process(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::ExampleMixtureOfGaussiansFrame::processImages_(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::ImageDraw< StorageType >::RectangleCornersGreyFill(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::EpipolarLine::ScanLine(), BIAS::EpipolarLine::ScanLine_(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::ShowCamWxFrame::SelectAndShowCameraImage_(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::SetRectificationSetup(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::TriangleMesh::SimplifyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), StealImage(), BIAS::CheckerboardDetectorCrossFilter::StretchImageValues(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), BIAS::GLProjectionParametersBase::TranslateZToMetricZ(), BIAS::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortReflectivityDepthIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FFT2D_free< StorageType >::WorkArray0ToComplexRow_(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().

unsigned int BIAS::ImageBase::GetWidthStep ( ) const
inline

returns the number of bytes per line

returns the number of bytes per line, not the number of StorageTypes

interleaved data order: = Width * Depth * ChannelCount planar data order: = Width * Depth

Useful for memory aligned images (e.g. 4/8 Byte) and packing of textures. JW

Definition at line 400 of file ImageBase.hh.

Referenced by BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::Histogram2D::Draw(), BIAS::Histogram2D::DrawLog(), FormatMatch(), SetOutsideROIZero(), StealImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2().

void ImageBase::Init ( unsigned int  width,
unsigned int  height,
unsigned int  nChannels = 1,
enum EStorageType  storageType = ST_unsignedchar,
const bool  interleaved = true 
)

Initialize image size and channels.

Warning
call this only for empty images, calls new for the image data array. Overwrites the color model with some kind of best guess
Author
Felix Woelk tested
Parameters
widthimage width of the new image
heightimage height of the new image
channelsnumber of color planes
Examples:
ExampleProjectionParametersPerspective.cpp.

Definition at line 229 of file ImageBase.cpp.

References BitDepth_, ChannelCount_, CM_Grey, CM_invalid, CM_RGB, CM_RGBA, CM_YUYV422, Depth_, GetSizeByte(), GetStorageType(), Height_, ImageData_, InterleavedDataOrder_, IsEmpty(), Release(), BIAS::ROI::Resize(), Roi_, SetColorModel(), shouldReleaseData_, StorageType_, BIAS::ROI::UnsetROI(), UpdateImageDataArrayFromImageData_(), Width_, and WidthStep_.

Referenced by BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMagickPP(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ROI::GetMaskImage(), BIAS::Image< StorageType >::Image(), ImageBase(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportMatrix(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), BIAS::Image< StorageType >::Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::VideoSource_Kinect2Net::InitDepthImage(), BIAS::VideoSource_Kinect2::InitDepthImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_Centaurus::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_Kinect2::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_Kinect2::InitIrFullImage(), BIAS::VideoSource_Kinect2Net::InitIrImage(), BIAS::VideoSource_Kinect2::InitIrImage(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), operator=(), BIAS::operator>>(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), and BIAS::OpenGLCanvasBase::ScreenShot().

void ImageBase::InitWithForeignData ( unsigned int  width,
unsigned int  height,
unsigned int  nChannels,
void *  data,
enum EStorageType  storageType = ST_unsignedchar,
const bool  interleaved = true,
const bool  shouldRelease = true 
)

Initialize image size and channels using a foreign data pointer.

Warning
call this only for empty images, calls new for the image data array. Overwrites the color model with some kind of best guess, data is not released!
Author
Stefan Reinhold untested
Parameters
widthimage width of the new image
heightimage height of the new image
channelsnumber of color planes
datapointer to image data
shoudReleaseif true the ownership of data is transfered to ImageBase, i.e. ImageBase will release data, otherwise not

Definition at line 155 of file ImageBase.cpp.

References BitDepth_, ChannelCount_, CM_Grey, CM_invalid, CM_RGB, CM_RGBA, CM_YUYV422, Depth_, GetSizeByte(), GetStorageType(), Height_, ImageData_, InterleavedDataOrder_, IsEmpty(), Release(), BIAS::ROI::Resize(), Roi_, SetColorModel(), shouldReleaseData_, StorageType_, BIAS::ROI::UnsetROI(), UpdateImageDataArrayFromImageData_(), Width_, and WidthStep_.

Referenced by BIAS::Image< StorageType >::InitWithForeignData().

void BIAS::ImageBase::InvalidateUID ( )
inline
bool BIAS::ImageBase::IsEmpty ( ) const
inline

check if ImageData_ points to allocated image buffer or not

Examples:
ExampleBilateral.cpp, ExampleFMT2D.cpp, ExampleGrabTrippleFromXB3.cpp, ExampleHomographyMapping.cpp, ExamplePMDImageIO.cpp, ExamplePtGreyHiresColor.cpp, and ExampleStencilBuffer.cpp.

Definition at line 245 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GenSynthMatches::_Draw(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::HistogramImage::AddHist(), BIAS::ThreeDOut::AddImage(), BIAS::Image< StorageType >::AppendChannel(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StereoRedGreen::Combine(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::VideoSource_Kinect_Callback::CreateLookupTable(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::ImageConvert::FromInterleaved(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::MixtureOfGaussians< StorageType >::GetMaxWeightImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::ImagePackage::GetNextImage(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::GetRectifyingDisplacementMaps(), BIAS::ColorSegmentation::GetSatImage(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::VideoSource_DCAM_XB3::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingleAsSmallRGB(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleAsSmallRGB(), BIAS::VideoSource_PMD::GrabSingleDepth(), BIAS::VideoSource_PMD::GrabSingleIntensity(), BIAS::VideoSource_PMD::GrabSingleModCoeff(), BIAS::ColorHarris::HarrisValue(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportLibJPEG(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::PMDImageIO::PostprocessData_(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), Release(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::ImageConvert::RGBToHSV_(), BIAS::PMDImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraA(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraB(), BIAS::ImageLegendFrame::SetImage(), BIAS::ImageCanvas::ShowHistogramm(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), UpdateImageDataArrayFromImageData_(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().

const bool BIAS::ImageBase::IsInROI ( const double &  x,
const double &  y 
) const
inline

Definition at line 701 of file ImageBase.hh.

bool BIAS::ImageBase::IsInterleaved ( ) const
inline
Examples:
ExampleToPlanar.cpp.

Definition at line 491 of file ImageBase.hh.

Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::BVWXMainFrame::AddInfo(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), GetValue(), Pad(), PadToPowerOfTwo(), ReInit(), SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), SetValue(), BIAS::ImageConvert::ToRGBA(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), and BIAS::ImageIO::WriteRAW_IMA().

bool BIAS::ImageBase::IsPlanar ( ) const
inline
Examples:
ExampleToPlanar.cpp.

Definition at line 484 of file ImageBase.hh.

Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::ImageConvert::Convert(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::FromInterleaved(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::FilterDialogGradientSobel3x3< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogMedian< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogCannyEdge< InputST, OutputST >::OnFilterButton(), operator=(), Paste2ROI(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageCanvas::Show(), StealImage(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().

bool ImageBase::IsPositionInImage ( const int &  x,
const int &  y 
) const
inline
bool ImageBase::IsPowerOfTwoSize ( ) const
Returns
true if image size is a power of two JW

Definition at line 940 of file ImageBase.cpp.

References GetHeight(), and GetWidth().

Referenced by BIAS::ImgObjGL::CreateGLCubemap(), BIAS::ImgObjGL::CreateGLCubemapEmpty(), BIAS::ImgObjGL::CreateGLTexture(), and BIAS::ImageCanvasGLBase::ValidTexobj().

bool ImageBase::IsPowerOfTwoSize ( const unsigned int  w,
const unsigned int  h 
)
static

Definition at line 950 of file ImageBase.cpp.

int BIAS::ImageBase::Mirror ( )
inline

interface for the above JW

Definition at line 769 of file ImageBase.hh.

int ImageBase::MoveToClosestPositionInImage ( int &  x,
int &  y 
) const
inline

find closest valid pixel position to x,y

Author
koeser 01/2005
Returns
0=was correct 3,4=y out of range, 1,2 x out of range

Definition at line 114 of file ImageBase.hh.

long int BIAS::Debug::Name2DebugLevel ( const std::string &  name) const
inlineinherited

looks up a debuglevel in the internal map, returns 0 if not found

Author
woelk 09/2006

Definition at line 454 of file Debug.hh.

long int BIAS::Debug::NewDebugLevel ( const std::string &  name)
inlineinherited
bool ImageBase::NotBiggerPixelAndSameChannelCount ( const ImageBase Image) const
inline

checks if data area has bigger or the same "size" as Image of other type

Definition at line 78 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), and BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts().

ImageBase & ImageBase::operator= ( const ImageBase Source)
bool BIAS::ImageBase::operator== ( const ImageBase img) const
inline

comparison operator, based upon the adresses of the actual image data

Author
Ingo Thomsen tested

Definition at line 738 of file ImageBase.hh.

References GetImageData().

int ImageBase::Pad ( BIAS::ImageBase dest,
const unsigned int &  newwidth,
const unsigned int &  newheight,
const int &  padVal = 0 
) const
int ImageBase::Pad ( const unsigned int &  newwidth,
const unsigned int &  newheight,
const int &  padVal = 0 
)

Definition at line 1182 of file ImageBase.cpp.

References GetHeight(), GetWidth(), and Pad().

int ImageBase::PadToPowerOfTwo ( BIAS::ImageBase dest,
const int &  padVal = 0 
) const

increase the size of this image to next power of two (e.g.

384x100>512x128) the original image S is set to upper left rectangle

Parameters
padValused by memset to pad the right and lower added pixels No scale, just padding!
orig xx
xxxxxxx
Author
Jan Woetzel 09/2003 - 11/2005

Definition at line 1154 of file ImageBase.cpp.

References ImageBase(), IsInterleaved(), Pad(), and PowerOfTwoSize().

Referenced by BIAS::ImgObjGL::CreateGLTexture(), BIAS::ImageIO::ExportDevIL(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), PadToPowerOfTwo(), PadToPowerOfTwoAndFlip(), BIAS::SceneBGImage::SetImage(), and BIAS::SceneTexturedPlane::SetImage().

int ImageBase::PadToPowerOfTwo ( const int &  padVal = 0)

in place version of the above

Author
JW

Definition at line 1131 of file ImageBase.cpp.

References PadToPowerOfTwo(), and PowerOfTwoSize().

int ImageBase::PadToPowerOfTwoAndFlip ( const int &  padVal = 0)

first pad, then flip.

useful for OpenGL texture image which must be pow2 size and Y-flipped ics. example:

0 1 2
3 4 5
-->
x x x x
x x x x
3 4 5 x
0 1 2 x
Todo:
more efficient in place with memmove
Author
Jan Woetzel
Todo:
replace with linewise memmov

Definition at line 1282 of file ImageBase.cpp.

References Flip(), and PadToPowerOfTwo().

Referenced by BIAS::ImgObjGL::CreateGLTexture().

int ImageBase::Paste2ROI ( const ImageBase Image)
void * ImageBase::PixelValueBase ( unsigned  x,
unsigned  y,
unsigned  channel = 0 
)

Definition at line 1019 of file ImageBase.cpp.

References ChannelCount_, Depth_, Height_, ImageData_, InterleavedDataOrder_, Width_, and WidthStep_.

unsigned int ImageBase::PowerOfTwoSize ( const unsigned int &  val)
static
bool ImageBase::PowerOfTwoSize ( unsigned int &  width2,
unsigned int &  height2 
) const
Returns
true if both, width and height are already a power of two. The next power of two size >= actual size is computed and stored in args. useful for OpenGL texture enlargement for 'power of two' textures.
Author
Jan Woetzel 09/2003

Definition at line 961 of file ImageBase.cpp.

References GetHeight(), GetWidth(), and PowerOfTwoSize().

void BIAS::Debug::PrintDebugLevel ( std::ostream &  os = std::cout) const
inlineinherited

Definition at line 383 of file Debug.hh.

void ImageBase::PrintHeader ( std::ostream &  os = std::cout) const
void BIAS::ImageBase::PrintPixelValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned short  channel = 0,
std::ostream &  os = std::cout 
)
static

print the (typed) pixel value to stream.

Implemented using a big switch with casting to BIAS::Image internally to work with all image formats w.r.t StorageTypes, planar, interleaved etc. Jan Woetzel

Definition at line 1919 of file ImageBase.cpp.

References GetStorageType(), BIAS::Image< StorageType >::PixelValue(), ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.

Referenced by BIAS::ZoomImageCanvas::UpdateStatusBar(), and BIAS::ImageCanvas::UpdateStatusBar().

void ImageBase::PrintROI ( std::ostream &  os = std::cout) const

deprecated, use 'os << *GetROI()'

Definition at line 1087 of file ImageBase.cpp.

References GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

void BIAS::ImageBase::RedirectImageDataPointer ( void *  data)
inline
void ImageBase::ReInit ( const unsigned int &  width,
const unsigned int &  height,
const unsigned int  nChannels = 1,
const enum EStorageType  storageType = ST_unsignedchar,
const bool  interleaved = true,
const EColorModel  colormodel = CM_Grey 
)
void ImageBase::Release ( const bool  reset_storage_type = false)

Free the allocated data structures Hands off: Do !!NOT!! change the default of reset_storage_type: ImageBase::Release() is also implicitly called for templated images when releasing the storage type here, it becomes possible to assign a float image to an unsigned char image via ImageBase: Image<float> f; Image<unsigned char> uc; ImageBase *ibf = dynamic_cast<ImageBase *>(f); ImageBase *ibuc = dynamic_cast<ImageBase *>(uc); (*ibf) = (*ibuc);.

Definition at line 350 of file ImageBase.cpp.

References _MetaData, BitDepth_, ChannelCount_, CM_invalid, ColorModel_, Depth_, Height_, ImageData_, ImageDataArray_, IsEmpty(), BIAS::ROI::Release(), Roi_, shouldReleaseData_, ST_invalid, StorageType_, Width_, and WidthStep_.

Referenced by BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMagickPP(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ROI::GetMaskImage(), BIAS::ImagePackage::GetNextImage(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportLibJPEG(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), operator=(), BIAS::operator>>(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), BIAS::OpenGLCanvasBase::ScreenShot(), and StealImage().

void ImageBase::ReleaseImageDataPointer ( )
inline
void BIAS::Debug::RemoveDebugLevel ( const long int  lv)
inlineinherited

Definition at line 369 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 376 of file Debug.hh.

bool ImageBase::SamePixelAndChannelCount ( const ImageBase Image) const
inline

checks if data area has same "size" as Image of other type

Definition at line 73 of file ImageBase.hh.

Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), 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::TriangleMesh::ChangeTexture(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ColorHarris::CreateSTColor(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::VideoSource_Net::GrabSingle(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::Label::Label4Neighbour(), operator=(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToPlanar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().

void BIAS::ImageBase::SetBitDepth ( unsigned  bitdepth)
inline
template<class inputType >
void BIAS::ImageBase::SetChannel ( const BIAS::ImageBase im,
const unsigned int  channelId,
const inputType *  channelIn 
)
template<class inputType >
void BIAS::ImageBase::SetChannel ( const ImageBase im,
const unsigned int  channelId,
const inputType *  channelIn 
)
static

Copy channel, determines the internal ImageBase type and casts the input type to the type foreseen in im.

Attention
im and channel both have to be initialized and of compatible size! Only for interleaved images.

Definition at line 340 of file ImageBase.hh.

Referenced by BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), and BIAS::OpenEXRInterface::Import().

void BIAS::ImageBase::SetColorModel ( EColorModel  Model)
inline
Examples:
ExampleCondensHisto.cpp, ExampleCondensImg.cpp, ExampleDcamImageConvert.cpp, ExampleDrawTextWx.cpp, ExampleGrabTrippleFromXB3.cpp, ExampleHSVConversion.cpp, ExampleLogPolarMapping.cpp, and ExamplePtGreyHiresColor.cpp.

Definition at line 561 of file ImageBase.hh.

Referenced by BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::StereoRedGreen::Combine(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::ImageIO::ExportMagickPP(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::ImageConvert::GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToRGB_(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImage(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRAWwithHeader(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_Centaurus::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), Pad(), BIAS::PMDImageIO::PostprocessData_(), ReInit(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().

void BIAS::Debug::SetDebugLevel ( const long int  lv)
inlineinherited
void BIAS::Debug::SetDebugLevel ( const std::string &  name)
inlineinherited

Definition at line 325 of file Debug.hh.

void BIAS::Debug::SetDebugStream ( const std::ostream &  os)
inlineinherited

Definition at line 398 of file Debug.hh.

static void BIAS::Debug::SetGlobalDebugLevel ( long int  lev)
inlinestaticinherited

Definition at line 424 of file Debug.hh.

void BIAS::ImageBase::SetInterleaved ( bool  interleaved)
inline
void BIAS::ImageBase::SetMetaData ( const MetaData m)
inline
void ImageBase::SetOutsideROIZero ( )

sets all pixel not in ROI to zero

Author
woelk 10/2004
Examples:
ExampleROI.cpp.

Definition at line 675 of file ImageBase.cpp.

References GetChannelCount(), BIAS::ROI::GetCorners(), GetDepth(), GetHeight(), GetImageData(), GetROI(), GetWidth(), GetWidthStep(), BIAS::ROI::IsInROI(), and BIAS::ROI_Corners.

int ImageBase::SetROI ( unsigned int  UpperLeftX,
unsigned int  UpperLeftY,
unsigned int  LowerRightX,
unsigned int  LowerRightY 
)
int ImageBase::SetROI ( const ROI roi)

Definition at line 1042 of file ImageBase.cpp.

References GetROI().

int ImageBase::SetROICorners ( unsigned int  UpperLeftX,
unsigned int  UpperLeftY,
unsigned int  LowerRightX,
unsigned int  LowerRightY 
)
void BIAS::ImageBase::SetStorageType ( const EStorageType  st)
inlineprotected

changes StorageType data mmeber

Definition at line 1042 of file ImageBase.hh.

Referenced by ReInit().

void BIAS::ImageBase::SetUID ( const BIAS::UUID id)
inline
template<class inputType >
void BIAS::ImageBase::SetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel,
const inputType  val 
)
template<class inputType >
void BIAS::ImageBase::SetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel,
const inputType  val 
)
static

Determines the internal ImageBase type and casts the input type to the type foreseen in im.

Attention
im and input coordinates are not checked for validity! Only for interleaved images.

Definition at line 266 of file ImageBase.hh.

void ImageBase::SetZero ( )
inline
void BIAS::Debug::ShowDebugLevel ( std::ostream &  os = std::cout) const
inlineinherited

prints all internally known debuglevels

Author
woelk 09/2006

Definition at line 496 of file Debug.hh.

int ImageBase::StealImage ( ImageBase source)
void BIAS::ImageBase::StringToColorModel ( const std::string &  str,
ImageBase::EColorModel cm 
)
static
void BIAS::ImageBase::StringToStorageType ( const std::string &  str,
ImageBase::EStorageType st 
)
static
void ImageBase::TextureToBIASCoordinates ( const double &  gl_x,
const double &  gl_y,
double &  biasx,
double &  biasy 
) const
inline

transfer GL texture coordinates [0..1[ x [0..1[ to BIAS image coordinates [0..w-1] x [0..h-1]

GL coordinates are relative to image size of *this (must be valid) !

Please note that this is only one of many possible bias to gl coord transformations which may be particularly different for pow2, non-pow2, rectangle, padded, scaled, bordered, offset etc. OpenGL textures.

BIASASSERT(Equal(gl_x2, gl_x)); BIASASSERT(Equal(gl_y2, gl_y));

Examples:
ExampleHomographyMapping.cpp.

Definition at line 168 of file ImageBase.hh.

void ImageBase::UnsetROI ( )
int ImageBase::UpdateImageDataArrayFromImageData_ ( )
protected
int ImageBase::ZeroPad ( const unsigned int  newwidth,
const unsigned int  newheight,
unsigned char  bgcolor = 0 
)

backward compatibility interface for Pad.

DEPRECATED

Author
Jan Woetzel 2005

Definition at line 1122 of file ImageBase.cpp.

References Pad().

Referenced by BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs().

Friends And Related Function Documentation

friend class ImageConvert
friend

Definition at line 104 of file ImageBase.hh.

friend class ImageIO
friend

Definition at line 105 of file ImageBase.hh.

BIASImageBase_EXPORT std::ostream& operator<< ( std::ostream &  os,
const ImageBase img 
)
friend

Definition at line 1477 of file ImageBase.cpp.

BIASImageBase_EXPORT std::istream& operator>> ( std::istream &  is,
ImageBase img 
)
friend
Bug:
fake reading of uuid because of bug, id is DISABLED !

Definition at line 1647 of file ImageBase.cpp.

friend class WrapBias2Ipl
friend

Definition at line 106 of file ImageBase.hh.

Member Data Documentation

long int BIAS::Debug::_liDebugLevel
protectedinherited

Definition at line 510 of file Debug.hh.

Referenced by BIAS::Debug::operator=(), and operator=().

long int BIAS::Debug::_liNextDebugLevel
protectedinherited

new concept, debuglevel are managed here in the debug class

Definition at line 516 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

MetaData BIAS::ImageBase::_MetaData
protected

additional data block, handled by derived classes

Definition at line 1080 of file ImageBase.hh.

Referenced by ImageBase(), operator=(), Release(), and StealImage().

std::map<std::string, long int> BIAS::Debug::_String2Debuglevel
protectedinherited

Definition at line 517 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

BIAS::UUID BIAS::ImageBase::_UID
protected

unique id for every image

Definition at line 1078 of file ImageBase.hh.

Referenced by ImageBase(), BIAS::operator<<(), operator=(), and BIAS::operator>>().

std::ostream BIAS::Debug::_zDebugStream
staticprotectedinherited

Definition at line 511 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

unsigned int BIAS::ImageBase::BitDepth_
protected
unsigned int BIAS::ImageBase::ChannelCount_
protected
enum EColorModel BIAS::ImageBase::ColorModel_
protected
unsigned int BIAS::ImageBase::Depth_
protected
long int BIAS::Debug::GlobalDebugLevel = 0
staticprotectedinherited

Definition at line 513 of file Debug.hh.

unsigned int BIAS::ImageBase::Height_
protected
void* BIAS::ImageBase::ImageData_
protected
void** BIAS::ImageBase::ImageDataArray_
protected

array of pointers to the first byte in an image row

Definition at line 1074 of file ImageBase.hh.

Referenced by Flip(), FlipHorizontal(), ImageBase(), PrintHeader(), Release(), StealImage(), and UpdateImageDataArrayFromImageData_().

bool BIAS::ImageBase::InterleavedDataOrder_
protected

planar or interleaved: planar means we have several image planes, e.g.

for a 3x3 RGB image data is RRRRRRRRRGGGGGGGGGGBBBBBBBB while interleaved means RGBRGBRGBRGBRGBRGBRGBRGBRGB

Definition at line 1070 of file ImageBase.hh.

Referenced by Flip(), FlipHorizontal(), BIAS::Histogram2D::Histogram2D(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), StealImage(), and UpdateImageDataArrayFromImageData_().

ROI BIAS::ImageBase::Roi_
protected

roi object

Definition at line 1082 of file ImageBase.hh.

Referenced by ImageBase(), Init(), InitWithForeignData(), operator=(), PrintHeader(), Release(), and StealImage().

bool BIAS::ImageBase::shouldReleaseData_
protected

shoud ImageBase release the data pointer?

Definition at line 1084 of file ImageBase.hh.

Referenced by Init(), InitWithForeignData(), operator=(), and Release().

enum EStorageType BIAS::ImageBase::StorageType_
protected
const int BIAS::ImageBase::Version_ = VERSION_NUMBER
staticprotected

version number of imagebase class

Definition at line 1052 of file ImageBase.hh.

Referenced by PrintHeader().

unsigned int BIAS::ImageBase::Width_
protected
unsigned int BIAS::ImageBase::WidthStep_
protected

The documentation for this class was generated from the following files: