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 | List of all members
BIAS::HistogramImage Class Reference

Class for easy histogram image generation. More...

#include <Image/HistogramImage.hh>

+ Inheritance diagram for BIAS::HistogramImage:
+ Collaboration diagram for BIAS::HistogramImage:

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)
 
template<class StorageType >
int AddHist (const Image< StorageType > &Image, unsigned int hist=0)
 calculates the histogram of image and adds them to the internal data structures More...
 
template<class DataType >
int AddHist (const std::vector< DataType > &data, unsigned int hist=0)
 Calcluates the histogram from data and adds them to the internal data structures. More...
 
template<class DataType >
int AddHist (const std::vector< DataType > &data, DataType min, DataType max, unsigned int hist=0)
 
template<>
BIASImage_EXPORT int AddHist (const Image< unsigned char > &Image, unsigned int hist)
 
template<class DataType >
int AddWeightedHist (const std::vector< DataType > &data, const std::vector< double > &weight, unsigned int hist=0)
 for data[i] increase according bin about weight[i] More...
 
float CalcRenyiEntropy (unsigned int hist=0, double alpha=1.0)
 calculates the Renyi Entropy and treats entries in HistogramImage as probabilities More...
 
float CalcShannonEntropy (unsigned int hist=0)
 calculates the Shannon Entropy and treats entries in HistogramImage as probabilities More...
 
virtual Image< unsigned char > * Clone () const
 virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, ...). More...
 
void CooTransf (double datacoo[2], double imcoo[2], unsigned hist=0)
 transforms data coordinates to image coordinates does automatic clipping More...
 
void CooTransf (double datacoo[2], unsigned imcoo[2], unsigned hist=0)
 transforms data coordinates to image coordinates does automatic clipping and rounding 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
 
int Draw ()
 actually draws histogram(s) from the internal data structures More...
 
int DrawLog ()
 actually draws histogram(s) from the internal data structures uses a logarithmic y axis More...
 
void Dump (std::ostream &os=std::cout)
 
double GetBin (unsigned int bin, unsigned int hist=0)
 Get the counted number of bin from hist, -1 for invalid bin/hist. More...
 
unsigned int GetBinCount ()
 
template<class outputType >
void GetChannel (const BIAS::ImageBase &im, const unsigned int channelId, outputType *channelOut)
 
void GetDataRange (double &min, double &max, unsigned int hist=0)
 returns the range of the histogram, i.e. More...
 
int GetDebugLevel () const
 
std::ostream & GetDebugStream () const
 
void GetDebugStream (std::ostream &os) const
 
unsigned int GetHistCount ()
 
void GetMaxHistEntry (double &maxentry, unsigned int hist=0)
 returns the biggest bin in histogram hist More...
 
template<class castType >
castType GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel)
 
 HistogramImage (unsigned short int zoomfactor=2)
 
void Init (unsigned int Width, unsigned int Height, unsigned int channels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true)
 calls Init from ImageBase storageType is ignored, just dummy argument More...
 
int InitHist (unsigned int bincount=256, unsigned int histcount=1)
 reserves the internal data structures for histcount histograms with bincount bins in each in one image More...
 
int InitWithForeignData (unsigned int width, unsigned int height, unsigned int channels, void *data, const bool interleaved=true, const bool shouldRelease=true)
 This is used to construct a BIAS::Image hull around existing image data. 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 ()
 returns true if MaxHistEntry==0 for all histograms 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 ()
 reimplemented from ImageBase 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...
 
int ReleaseHist ()
 releases internal data structures (Hist_) More...
 
void RemoveDebugLevel (const long int lv)
 
void RemoveDebugLevel (const std::string &name)
 
int SetBin (unsigned int bin, double value, unsigned int hist=0)
 Set the counted number of bin from hist to manipulate the histogram. More...
 
void SetBinCount (unsigned int bincount)
 resizes Hist_ More...
 
template<class inputType >
void SetChannel (const BIAS::ImageBase &im, const unsigned int channelId, const inputType *channelIn)
 
int SetColor (unsigned char R, unsigned char G, unsigned char B, unsigned int hist=0)
 
void SetColorModel ()
 dummy function to avoid swapping color model in this class More...
 
void SetDebugLevel (const long int lv)
 
void SetDebugLevel (const std::string &name)
 
void SetDebugStream (const std::ostream &os)
 
void SetDrawMode (HistMode m)
 Select drawing style. Default is HIST_POINTS. More...
 
void SetFactor (unsigned short Factor)
 sets the zoomfactor More...
 
void SetHistCount (unsigned int histcount)
 Reserves internal data structures for histcount histograms. More...
 
void SetScaleYToMaxEntry (bool s)
 if true, the upper border of histogram is MaxHistEntry, otherwise the upper border of histogram k is Hist[k][i] = NumData_[k] More...
 
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...
 
void WriteASCII (std::ostream &os=std::cout)
 writes ascii data to stream, can be used later e.g. with gnuplot More...
 
int WriteASCII (const std::string &filename)
 opens file and calls WriteASCII() with it More...
 
int ZeroHist (unsigned int hist=0)
 zeros existing histogram More...
 
 ~HistogramImage ()
 
Get Functions
const unsigned char * GetImageData () const
 overloaded GetImageData() from ImageBase More...
 
unsigned char * GetImageData ()
 overloaded GetImageData() from ImageBase More...
 
const unsigned char ** GetImageDataArray () const
 overloaded GetImageDataArray() from ImageBase More...
 
unsigned char ** GetImageDataArray ()
 overloaded GetImageDataArray() from ImageBase More...
 
unsigned char PixelValue (const unsigned int x, const unsigned int y, const unsigned short int channel=0) const
 Returns value of pixel at specific position, using specific channel as offset. More...
 
unsigned char PixelValueInterleaved (const int x, const int y, const int channel=0) const
 Returns value of pixel at specific position, using specific channel as offset, in interleaved images. More...
 
unsigned char & PixelValueRefInterleaved (const int x, const int y, const int channel=0)
 Return pixel value at specified position as reference for read+write access in interleaved images. More...
 
unsigned char GetMinPixelValue (unsigned short int channel=0, unsigned int *coo=NULL) const
 Get the minimal pixel value if coo!=NULL the coo[0]=x of min and coo[1]=y of min. More...
 
unsigned char GetMaxPixelValue (unsigned short int channel=0, unsigned int *coo=NULL) const
 Get the maximal pixel value if coo!=NULL the coo[0]=x of max and coo[1]=y of max. More...
 
void GetMinMaxPixelValue (unsigned char &min, unsigned char &max, unsigned short int channel=0, unsigned int *mincoo=NULL, unsigned int *maxcoo=NULL) const
 returns the minimal and maximal pixel value in channel only Finds minimum and maximum pixel value in image in channel only, i.e. More...
 
void GetMeanPixelValue (unsigned charmean[])
 calculates mean of pixel More...
 
void GetMeanPixelValueIgnoreRange (unsigned charmean[], const unsigned charignoreStart=0, const unsigned charignoreEnd=(unsigned char) 0) const
 calculates mean of pixel ignoring values between ignoreStart and ignoreEnd More...
 
bool GetMinMaxPixelValueIgnoreRange (unsigned char &min, unsigned char &max, const unsigned charignoreStart=0, const unsigned charignoreEnd=0, const unsigned short int channel=0) const
 Get both, minimal and maximal pixel value –actual implementation only for planar images–. More...
 
const unsigned char & GetPixelNearestNeighbor (const double x, const double y, const unsigned short int channel=0) const
 Get the value of a specific channel offset of specific pixel nearest to given double coordinates. More...
 
const unsigned char & GetPixelNearestNeighbor (const float x, const float y, const unsigned short int channel=0) const
 Get the value of a specific channel offset of specific pixel nearest to given float coordinates, using the double version. More...
 
Set Functions
void Clear (const unsigned charvalue=0)
 sets all pixels to zero/value More...
 
void ClearChannel (const unsigned int channel, const unsigned charvalue)
 Sets all pixel values in the declared channel to the specified value. More...
 
void FillImageWithConstValue (unsigned charValue)
 fill grey images More...
 
void FillImageWithConstValue (unsigned charValue[])
 fill color images More...
 
void FillImageWithXValue ()
 fills image with value depending on x coordinate More...
 
void SetPixel (const unsigned char &value, const unsigned int &x, const unsigned int &y, const unsigned short int channel=0)
 Set the value of a given pixel (x,y) in channel to value. More...
 
void SetPixel (const unsigned char &value0, const unsigned char &value1, const unsigned char &value2, const unsigned int &x, const unsigned int &y)
 Set the values of the first three channels of a given pixel (x,y) in channel to value[0..2]. More...
 
Thresholding and Scaling
int ScaleShift (double Scale, double Shift)
 scales and shifts image (all channels simultanously) More...
 
int ScaleShiftChannel (double Scale, double Shift, unsigned int channel)
 similiar to ScaleShift, but only scales and shifts one image channel More...
 
int ScaleShiftBetween (double Min, double Max)
 scales and shifts image so afterwards every pixel has a value between Min and Max More...
 
int Transpose (BIAS::Image< unsigned char > &result)
 Transposes an image on diagonal, rows become columns, columns become rows. More...
 
int InvertValues (BIAS::Image< unsigned char > &inverted, unsigned char *newMax=NULL)
 inverts values of image, new values are StorageType_MAX-oldvalue or newMax-oldvalue if newMax != NULL More...
 
int CalcScaleShift (double Min, double Max, double &Scale, double &Shift) const
 calculate the values needed by ScaleShiftBetween More...
 
int BelowThresholdToValue (unsigned charThreshold, unsigned charValue)
 sets alls pixels with values below Threshold to Value More...
 
int AboveThresholdToValue (unsigned charThreshold, unsigned charValue)
 sets alls pixels with values above Threshold to Value More...
 
void Binarize (unsigned charThreshold)
 sets all pixels >= Threshold to MaxPixelValue and all others to MinPixelValue only for one channel / grey images More...
 
void Binarise (unsigned charThreshold)
 Wrapper for Binarize() More...
 
int BinaryThreshold (unsigned charThreshold, unsigned charMinValue, unsigned charMaxValue)
 Test for every pixel wether it is >= than the threshold. More...
 
void MaskValues (unsigned charThreshold, Image< unsigned char > &binaryImage)
 Calculates a mask image from given image depending on threshold. More...
 
Operators

Operators -,+,*,/,-=,+=,*=,/= for scalar and image arguments
Operators do only work for argument of the same type
Division Operators do zero checks (if BIAS_DEBUG is defined)

Image< unsigned char > & operator/= (const unsigned char &argimage)
 Operator /= for scalar value. More...
 
Image< unsigned char > & operator/= (const Image< unsigned char > &argimage)
 Operator /= for another image as argument. More...
 
Image< unsigned char > operator/ (const unsigned char &argimage) const
 Operator / for scalar value, returning a new image. More...
 
Image< unsigned char > operator/ (const Image< unsigned char > &argimage) const
 Operator / for another image as argument, returning a new image. More...
 
Image< unsigned char > & operator*= (const unsigned char &argimage)
 Operator *= for scalar value. More...
 
Image< unsigned char > & operator*= (const Image< unsigned char > &argimage)
 Operator *= for another image as argument. More...
 
Image< unsigned char > operator* (const unsigned char &argimage) const
 Operator * for scalar value, returning a new image. More...
 
Image< unsigned char > operator* (const Image< unsigned char > &argimage) const
 Operator * for another image as argument, returning a new image. More...
 
Image< unsigned char > & operator+= (const unsigned char &argimage)
 Operator += for scalar value. More...
 
Image< unsigned char > & operator+= (const Image< unsigned char > &argimage)
 Operator += for another image as argument. More...
 
Image< unsigned char > operator+ (const unsigned char &argimage) const
 Operator + for scalar value, returning a new image. More...
 
Image< unsigned char > operator+ (const Image< unsigned char > &argimage) const
 Operator + for another image as argument, returning a new image. More...
 
Image< unsigned char > & operator-= (const unsigned char &argimage)
 Operator -= for scalar value. More...
 
Image< unsigned char > & operator-= (const Image< unsigned char > &argimage)
 Operator -= for another image as argument. More...
 
Image< unsigned char > operator- (const unsigned char &argimage) const
 Operator - for scalar value, returning a new image. More...
 
Image< unsigned char > operator- (const Image< unsigned char > &argimage) const
 subtracts every from every pixel (in ROI if defined) the pixel value from argimage !!! negative results are clipped to zero !!! More...
 
Image< unsigned char > & operator| (const Image< unsigned char > &argimage)
 
Interpolating Functions
double LinearInterpolation (const unsigned int x, const double y) const
 Linear interpolation in image rows. More...
 
double LinearInterpolation (const double x, const unsigned int y) const
 Linear interpolation in image columns. More...
 
unsigned char FastBilinearInterpolationGrey (const double x, const double y) const
 Fast bilinear interpolation for grey-value images. More...
 
double BilinearInterpolation (const double x, const double y, const unsigned short int channel=0) const
 Generic bilinear interpolation. More...
 
bool CheckBilinearInterpolation (const double x, const double y) const
 Check if subpixel position (x,y) in image is valid for bilinear interpolation (i.e. More...
 
bool CheckBicubicInterpolation (const double x, const double y) const
 Check if subpixel position (x,y) in image is valid for bicubic interpolation (i.e. More...
 
double BilinearInterpolationGrey (const double x, const double y) const
 Bilinear interpolation for grey-value images. More...
 
double BilinearInterpolationRGBPlanar (const double x, const double y, unsigned int channel) const
 Bilinear interpolation for planar RGB images. More...
 
double BilinearInterpolationRGBInterleaved (const double x, const double y, unsigned int channel) const
 Bilinear interpolation for interleaved RGB images. More...
 
double DistanceWeightedInterpolationGrey (const double x, const double y) const
 Interpolation for grey-value images with weights according to distance of (x,y) to pixel center. More...
 
void BilinearInterpolationShiftRegion (const double &x, const double &y, unsigned int hws_x, unsigned int hws_y, unsigned char *buffer)
 Interpolate shifted rectangular region centered at given subpixel position. More...
 
double BilinearInterpolationGreyMinVal (const double x, const double y, const unsigned char &minVal) const
 Bilinear interpolation for grey-value images with pixel value check. More...
 
double BilinearInterpolationGreyMaxVal (const double x, const double y, const unsigned char &maxVal) const
 Bilinear interpolation for grey-value images with pixel value check. More...
 
double BicubicInterpolation (const double &x, const double &y, const unsigned short int channel=0) const
 Generic bicubic interpolation. More...
 
Misc Functions

Append an image with one channel of same StorageType Append means: RGB + A => RGBA

int AppendChannel (Image< unsigned char > &img)
 
int RemoveChannel (unsigned int channel)
 remove a channel from an image Remove means: RGB, remove channel 2 => RG CAUTION, channels start a 0 Status, planar case untested More...
 
int DeleteNBorderPixel (int n, unsigned chardelVal=unsigned char(0))
 Deletes n pixels at border of image. More...
 
unsigned char MaxSTValue ()
 returns the maximal possible StorageType More...
 
unsigned char MinSTValue ()
 returns the minimal possible StorageType More...
 
std::ostream & PrintPointer (std::ostream &os) const
 writes pointer of IplImage_ to os (ascii) More...
 
std::ostream & PrintData (std::ostream &os) const
 writes data of IplImage_ to os (ascii) More...
 
void AbsDiff (const Image< unsigned char > &im1, const Image< unsigned char > &im2)
 (*this) = | im1 - im2 | sets this as the absolute difference between two arg images More...
 
Image< float > Reciprocal (const float factor=1.0, const unsigned short int channel=0)
 Calculates the reciprocal for each pixel: x' = 1/x computes for exactly one channel (in case of multi channel images) More...
 
void Invert ()
 inverts every pixel value, i.e. MaxSTValue() - value More...
 
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
 
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...
 
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 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
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

int CalcAverage_ (unsigned int hist)
 
long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel More...
 
int DeleteHist_ (unsigned int hist)
 
int DrawHist_ (unsigned int hist)
 
int DrawHistLog_ (unsigned int hist)
 
int RedrawHist_ (unsigned int hist)
 
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
 
unsigned char _ucBorderColor
 
unsigned int _uiBorder
 
BIAS::UUID _UID
 unique id for every image More...
 
double * Average_
 
unsigned int BinCount_
 
double * BinSize_
 
unsigned int BitDepth_
 relevant bits per pixel per channel More...
 
unsigned int ChannelCount_
 number of channels per pixel More...
 
unsigned char ** Color_
 
enum EColorModel ColorModel_
 the color model of the pixels More...
 
unsigned int Depth_
 size of one channel of one pixel in bytes More...
 
unsigned short int Factor_
 
unsigned int Height_
 image height in pixels More...
 
double ** Hist_
 
unsigned short int HistCount_
 
unsigned int HistSize_
 
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...
 
double * MaxBinVal_
 
double * MaxHistEntry_
 
double * MinBinVal_
 
HistMode Mode_
 
double * NumData_
 
ROI Roi_
 roi object More...
 
bool ScaleYToMaxEntry_
 
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...
 

Get functions

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 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 bool IsPowerOfTwoSize (const unsigned int w, const unsigned int h)
 
static unsigned int PowerOfTwoSize (const unsigned int &val)
 
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

Class for easy histogram image generation.

Automatically generate and draw some histograms in one image.

The histogram image has size bincount*zoomfactor+border by bincount*zoomfactor+border and can display some histograms simultanously. The zoomfactor represents the size of one point in the histogram image in pixel units. It can be set via the constructor HistogramImage(). The Border is fixed to 2 pixel.

For usage, see ExampleHistogram.cpp or call successivly

Two styles are possible: point (HIST_POINTS) and bar (HIST_BARS) style. Use SetDrawMode() for choosing a style.

Colors can be set for each histogram via SetColor().

see also ExampleHistogram.cpp

Since HistogramImage is derived from Image<unsigned char>, any drawing function working on Image<unsigned char> can be used on HistogramImage as well.

Author
woelk
Examples:
ExampleHistogram.cpp, and ExampleHistogramEqualization.cpp.

Definition at line 76 of file HistogramImage.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

BIAS::HistogramImage::HistogramImage ( unsigned short int  zoomfactor = 2)

Definition at line 41 of file HistogramImage.cpp.

BIAS::HistogramImage::~HistogramImage ( )

Definition at line 65 of file HistogramImage.cpp.

Member Function Documentation

int BIAS::Image< unsigned char >::AboveThresholdToValue ( unsigned char  Threshold,
unsigned char  Value 
)
inherited

sets alls pixels with values above Threshold to Value

void BIAS::Image< unsigned char >::AbsDiff ( const Image< unsigned char > &  im1,
const Image< unsigned char > &  im2 
)
inherited

(*this) = | im1 - im2 | sets this as the absolute difference between two arg images

absolut difference

Author
Felix Woelk
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.

template<class StorageType >
int BIAS::HistogramImage::AddHist ( const Image< StorageType > &  Image,
unsigned int  hist = 0 
)
template<class DataType >
int BIAS::HistogramImage::AddHist ( const std::vector< DataType > &  data,
unsigned int  hist = 0 
)

Calcluates the histogram from data and adds them to the internal data structures.

Minimum and maximum data values are determined automatically and BinCount_ bins are calculated evenspaced between min and max.

Author
woelk

Definition at line 312 of file HistogramImage.cpp.

template<class DataType >
int BIAS::HistogramImage::AddHist ( const std::vector< DataType > &  data,
DataType  min,
DataType  max,
unsigned int  hist = 0 
)

Definition at line 327 of file HistogramImage.cpp.

template<>
BIASImage_EXPORT int BIAS::HistogramImage::AddHist ( const Image< unsigned char > &  Image,
unsigned int  hist 
)
template<class DataType >
template int BIAS::HistogramImage::AddWeightedHist< unsigned > ( const std::vector< DataType > &  data,
const std::vector< double > &  weight,
unsigned int  hist = 0 
)

for data[i] increase according bin about weight[i]

Author
woelk

Definition at line 385 of file HistogramImage.cpp.

int BIAS::Image< unsigned char >::AppendChannel ( Image< unsigned char > &  img)
inherited
int BIAS::Image< unsigned char >::BelowThresholdToValue ( unsigned char  Threshold,
unsigned char  Value 
)
inherited

sets alls pixels with values below Threshold to Value

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

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().

double BIAS::Image< unsigned char >::BicubicInterpolation ( const double &  x,
const double &  y,
const unsigned short int  channel = 0 
) const
inherited

Generic bicubic interpolation.

Returns the bicubic interpolated pixel value (using channel offset) at subpixel position defined by double coordinates. The subpixel value is obtained by computing a weighted average of the surrounding 4x4 pixel block. The weights are computed by independent x/y direction cubic polynomials which guarantee constant first order derivatives at the grid positions.

Attention
Uses boundary check in debug build, but ignores ROI. Does not work for planar multi-channel images!
Author
koeser 02/2005
Examples:
ExampleInterpolation.cpp, and ExampleUpsampleBy2Grey.cpp.
double BIAS::Image< unsigned char >::BilinearInterpolation ( const double  x,
const double  y,
const unsigned short int  channel = 0 
) const
inherited

Generic bilinear interpolation.

Returns the bilinear interpolated pixel value (using channel offset) at subpixel position defined by double coordinates.

Attention
Uses boundary check in debug build, but ignores ROI. Does not work for planar non-RGB images!
Date
04.03.2002 tested (only with gray images yet)
Author
Ingo Thomsen
Examples:
ExampleInterpolation.cpp, and ExampleUpsampleBy2Grey.cpp.
double BIAS::Image< unsigned char >::BilinearInterpolationGrey ( const double  x,
const double  y 
) const
inlineinherited

Bilinear interpolation for grey-value images.

Attention
No boundary check, ignores ROI!
Author
Felix Woelk
double BIAS::Image< unsigned char >::BilinearInterpolationGreyMaxVal ( const double  x,
const double  y,
const unsigned char &  maxVal 
) const
inlineinherited

Bilinear interpolation for grey-value images with pixel value check.

If at least one of the input values is >= maxVal, then the unknown value maxVal is returned, too.

Parameters
maxValall values >= maxVal are invalid/unknown.
Attention
No boundary check, ignores ROI!
Author
bartczak 08/2006
double BIAS::Image< unsigned char >::BilinearInterpolationGreyMinVal ( const double  x,
const double  y,
const unsigned char &  minVal 
) const
inlineinherited

Bilinear interpolation for grey-value images with pixel value check.

If at least one of the input values is <= minVal, then the unknown value minVal is returned, too.

Parameters
minValall values <= minVal are invalid/unknown.
Attention
No boundary check, ignores ROI!
Author
Jan Woetzel 12/2004
double BIAS::Image< unsigned char >::BilinearInterpolationRGBInterleaved ( const double  x,
const double  y,
unsigned int  channel 
) const
inlineinherited

Bilinear interpolation for interleaved RGB images.

Attention
No boundary check, ignores ROI!
Author
Felix Woelk
double BIAS::Image< unsigned char >::BilinearInterpolationRGBPlanar ( const double  x,
const double  y,
unsigned int  channel 
) const
inlineinherited

Bilinear interpolation for planar RGB images.

Attention
No boundary check, ignores ROI!
Author
Felix Woelk
void BIAS::Image< unsigned char >::BilinearInterpolationShiftRegion ( const double &  x,
const double &  y,
unsigned int  hws_x,
unsigned int  hws_y,
unsigned char *  buffer 
)
inlineinherited

Interpolate shifted rectangular region centered at given subpixel position.

Sample the continuous (bilinear interpolation of (this)) image using a grid with one pixel spacing at subpixel positions (x-hws, y-hws) , ... (x,y), ... (x-hws, y-hws). You get a window of size (2*hws_x+1)(2*hws_y+1) which is exactly centered at (x,y) (a subpixel position) of the original image

Parameters
buffermust have size (2*hws_x+1)*(2*hws_y+1)
hws_xhalf window size in x direction
hws_yhalf window size in y direction
xx-center of window
yy-center of window
Attention
No boundary check, ignores ROI! Image must be one-channel! Only unsigned char is implemented!
Author
koeser 01/2004

Definition at line 487 of file ImageInline.hh.

void BIAS::Image< unsigned char >::Binarise ( unsigned char  Threshold)
inherited

Wrapper for Binarize()

Author
woelk
Date
01/2003
void BIAS::Image< unsigned char >::Binarize ( unsigned char  Threshold)
inherited

sets all pixels >= Threshold to MaxPixelValue and all others to MinPixelValue only for one channel / grey images

Author
woelk
Date
01/2003
int BIAS::Image< unsigned char >::BinaryThreshold ( unsigned char  Threshold,
unsigned char  MinValue,
unsigned char  MaxValue 
)
inherited

Test for every pixel wether it is >= than the threshold.

If so set to a MaxValue, otherwise to an MinValue. (status tested)

Author
Ingo Thomsen
Date
03/28/2002
int BIAS::HistogramImage::CalcAverage_ ( unsigned int  hist)
protected

Definition at line 437 of file HistogramImage.cpp.

float BIAS::HistogramImage::CalcRenyiEntropy ( unsigned int  hist = 0,
double  alpha = 1.0 
)

calculates the Renyi Entropy and treats entries in HistogramImage as probabilities

Parameters
hist,:the histogram number (default =0)
alpha,:parameter alpah of renyi entropy
Author
ischiller

Definition at line 202 of file HistogramImage.cpp.

int BIAS::Image< unsigned char >::CalcScaleShift ( double  Min,
double  Max,
double &  Scale,
double &  Shift 
) const
inherited

calculate the values needed by ScaleShiftBetween

float BIAS::HistogramImage::CalcShannonEntropy ( unsigned int  hist = 0)

calculates the Shannon Entropy and treats entries in HistogramImage as probabilities

Parameters
hist,:the histogram number (default =0)
Author
ischiller

Definition at line 173 of file HistogramImage.cpp.

bool BIAS::Image< unsigned char >::CheckBicubicInterpolation ( const double  x,
const double  y 
) const
inlineinherited

Check if subpixel position (x,y) in image is valid for bicubic interpolation (i.e.

4x4 window centered at (x,y) is inside the image).

Attention
Ignores ROI!
Author
esquivel
bool BIAS::Image< unsigned char >::CheckBilinearInterpolation ( const double  x,
const double  y 
) const
inlineinherited

Check if subpixel position (x,y) in image is valid for bilinear interpolation (i.e.

has 4 neighbors inside the image).

Attention
Ignores ROI!
Author
esquivel
void BIAS::Image< unsigned char >::Clear ( const unsigned char  value = 0)
inlineinherited

sets all pixels to zero/value

clear all pixels elements and set them to a 'default' value JW 04/2003

Examples:
ExampleConic.cpp, and ExampleCylinderMapping.cpp.

Definition at line 289 of file Image.hh.

void BIAS::Image< unsigned char >::ClearChannel ( const unsigned int  channel,
const unsigned char  value 
)
inherited

Sets all pixel values in the declared channel to the specified value.

Author
bartczak 05/2010
void BIAS::ImageBase::ClearDataPointer ( )
inlineinherited

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 Image<unsigned char >* BIAS::Image< unsigned char >::Clone ( ) const
inlinevirtualinherited

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 from BIAS::ImageBase.

Reimplemented in BIAS::Camera< unsigned char >.

Definition at line 104 of file Image.hh.

long BIAS::Debug::ConsumeNextFreeDebuglevel_ ( )
inlineprotectedinherited

returns the next available debuglevel

Author
woelk 09/2006

Definition at line 521 of file Debug.hh.

void BIAS::HistogramImage::CooTransf ( double  datacoo[2],
double  imcoo[2],
unsigned  hist = 0 
)

transforms data coordinates to image coordinates does automatic clipping

Examples:
ExampleHistogram.cpp.

Definition at line 803 of file HistogramImage.cpp.

void BIAS::HistogramImage::CooTransf ( double  datacoo[2],
unsigned  imcoo[2],
unsigned  hist = 0 
)

transforms data coordinates to image coordinates does automatic clipping and rounding

Definition at line 819 of file HistogramImage.cpp.

void ImageBase::CopyIn_NoInit ( void *  data)
inherited
int ImageBase::Cut2ROI ( )
inherited
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.

int BIAS::HistogramImage::DeleteHist_ ( unsigned int  hist)
protected

Definition at line 625 of file HistogramImage.cpp.

int BIAS::Image< unsigned char >::DeleteNBorderPixel ( int  n,
unsigned char  delVal = StorageType(0) 
)
inherited

Deletes n pixels at border of image.

Parameters
n[in],:number of pixels to delete
delVal[in],:new value for deleted pixel (default=0)
Returns
number of deleted pixel
Author
ischiller
Date
08/2010
bool ImageBase::DimensionMatch ( const BIAS::ImageBase other) const
inherited
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 BIAS::ImageBase::GetHeight(), and BIAS::ImageBase::GetWidth().

Referenced by BIAS::ImageBase::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
inherited

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
inherited

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 BIAS::ImageBase::Display().

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

interface for the above

Author
Jan Woetzel 2005

Definition at line 1452 of file ImageBase.cpp.

References BIAS::ImageBase::Display().

int ImageBase::Display ( ) const
inherited

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 BIAS::ImageBase::Display().

double BIAS::Image< unsigned char >::DistanceWeightedInterpolationGrey ( const double  x,
const double  y 
) const
inlineinherited

Interpolation for grey-value images with weights according to distance of (x,y) to pixel center.

Attention
No boundary check, ignores ROI!
int BIAS::HistogramImage::Draw ( )

actually draws histogram(s) from the internal data structures

Examples:
ExampleHistogram.cpp.

Definition at line 659 of file HistogramImage.cpp.

int BIAS::HistogramImage::DrawHist_ ( unsigned int  hist)
protected

Definition at line 469 of file HistogramImage.cpp.

References BIAS::HIST_BARS, BIAS::HIST_LINES, and BIAS::HIST_POINTS.

int BIAS::HistogramImage::DrawHistLog_ ( unsigned int  hist)
protected

Definition at line 546 of file HistogramImage.cpp.

References BIAS::HIST_BARS, BIAS::HIST_LINES, and BIAS::HIST_POINTS.

int BIAS::HistogramImage::DrawLog ( )

actually draws histogram(s) from the internal data structures uses a logarithmic y axis

Definition at line 682 of file HistogramImage.cpp.

void BIAS::HistogramImage::Dump ( std::ostream &  os = std::cout)

Definition at line 726 of file HistogramImage.cpp.

unsigned char BIAS::Image< unsigned char >::FastBilinearInterpolationGrey ( const double  x,
const double  y 
) const
inlineinherited

Fast bilinear interpolation for grey-value images.

Specialisation for storage tupe unsigned char exists which is 20% faster than the generic function!

Attention
No boundary check! Returns actual storage type rather than double.
Author
woelk 01/2003

Definition at line 422 of file ImageInline.hh.

void BIAS::Image< unsigned char >::FillImageWithConstValue ( unsigned char  Value)
inherited
void BIAS::Image< unsigned char >::FillImageWithConstValue ( unsigned char  Value[])
inherited

fill color images

void BIAS::Image< unsigned char >::FillImageWithXValue ( )
inherited

fills image with value depending on x coordinate

Examples:
ExampleCamera.cpp, ExampleDrawTextWx.cpp, ExampleFFT2D_free.cpp, ExamplePMDImageIO.cpp, and ExampleROI.cpp.
int ImageBase::Flip ( )
inherited
int ImageBase::FlipHorizontal ( )
inherited
bool ImageBase::FormatMatch ( const BIAS::ImageBase d) const
inherited
double BIAS::HistogramImage::GetBin ( unsigned int  bin,
unsigned int  hist = 0 
)

Get the counted number of bin from hist, -1 for invalid bin/hist.

Examples:
ExampleHistogramEqualization.cpp.

Definition at line 704 of file HistogramImage.cpp.

Referenced by BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter().

unsigned int BIAS::HistogramImage::GetBinCount ( )
inline
unsigned int BIAS::ImageBase::GetBitDepth ( ) const
inlineinherited
unsigned int BIAS::ImageBase::GetByteDepth ( ) const
inlineinherited

Definition at line 334 of file ImageBase.hh.

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

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

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 
)
staticinherited
unsigned int BIAS::ImageBase::GetChannelCount ( ) const
inlineinherited

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(), 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_(), BIAS::ImageBase::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_(), BIAS::ImageBase::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(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageBase::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(), BIAS::ImageBase::GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::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<<(), BIAS::ImageBase::operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), BIAS::ImageBase::Pad(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), BIAS::ImageLegendFrame::SetImage(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::ImageBase::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_(), BIAS::ImageBase::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(), BIAS::ImageBase::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)
staticinherited

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 BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_GreyA, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_PGR_XB3_F7M3_GBRG, BIAS::ImageBase::CM_RGB, and BIAS::ImageBase::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
inlineinherited
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(), BIAS::ImageBase::FormatMatch(), BIAS::ImageConvert::FromInterleaved(), BIAS::ColorHistogram< StorageType >::GenerateCircleHist(), BIAS::ColorHistogram< StorageType >::GenerateHist(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Pad(), BIAS::ImageBase::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(), BIAS::ImageBase::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
inherited
int ImageBase::GetCopyOfROI2 ( ImageBase copy) const
inherited

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 BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::Release(), and BIAS::ImageBase::SetColorModel().

void BIAS::HistogramImage::GetDataRange ( double &  min,
double &  max,
unsigned int  hist = 0 
)
inline

returns the range of the histogram, i.e.

the data value associated with bin[0] and bin[bincount-1]

Definition at line 156 of file HistogramImage.hh.

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
inlineinherited
static long int BIAS::Debug::GetGlobalDebugLevel ( )
inlinestaticinherited

Definition at line 431 of file Debug.hh.

unsigned int BIAS::ImageBase::GetHeight ( ) const
inlineinherited
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(), 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(), BIAS::ImageBase::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(), BIAS::ImageBase::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_(), BIAS::ImageBase::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(), BIAS::ImageBase::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_(), BIAS::ImageBase::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/(), BIAS::ImageBase::operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), BIAS::ImageBase::Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::TriangleMesh::SimplifyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), BIAS::ImageBase::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(), BIAS::ImageBase::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_().

unsigned int BIAS::HistogramImage::GetHistCount ( )
inline

Definition at line 89 of file HistogramImage.hh.

const unsigned char * BIAS::Image< unsigned char >::GetImageData ( ) const
inlineinherited
unsigned char * BIAS::Image< unsigned char >::GetImageData ( )
inlineinherited

overloaded GetImageData() from ImageBase

Author
Daniel Grest

Definition at line 145 of file Image.hh.

const unsigned char ** BIAS::Image< unsigned char >::GetImageDataArray ( ) const
inlineinherited
unsigned char ** BIAS::Image< unsigned char >::GetImageDataArray ( )
inlineinherited

overloaded GetImageDataArray() from ImageBase

Author
Daniel Grest

Definition at line 161 of file Image.hh.

void BIAS::HistogramImage::GetMaxHistEntry ( double &  maxentry,
unsigned int  hist = 0 
)
inline

returns the biggest bin in histogram hist

Definition at line 160 of file HistogramImage.hh.

unsigned char BIAS::Image< unsigned char >::GetMaxPixelValue ( unsigned short int  channel = 0,
unsigned int *  coo = NULL 
) const
inherited

Get the maximal pixel value if coo!=NULL the coo[0]=x of max and coo[1]=y of max.

Author
Felix Woelk
void BIAS::Image< unsigned char >::GetMeanPixelValue ( unsigned char  mean[])
inherited

calculates mean of pixel

Author
woelk 08/2004
Parameters
mean(output) mean image value with as many entries as image has channels, init before!
void BIAS::Image< unsigned char >::GetMeanPixelValueIgnoreRange ( unsigned char  mean[],
const unsigned char  ignoreStart = 0,
const unsigned char  ignoreEnd = (StorageType)0 
) const
inherited

calculates mean of pixel ignoring values between ignoreStart and ignoreEnd

Author
ischiller 12/09
Parameters
mean(output) mean image value with as many entries as image has channels, init before!
ignoreStart(input) start of interval of values to ignore (default=0)
ignoreEnd(input) end of interval of values to ignore (default=0)
MetaData* BIAS::ImageBase::GetMetaData ( )
inlineinherited
const MetaData* BIAS::ImageBase::GetMetaData ( ) const
inlineinherited

Definition at line 463 of file ImageBase.hh.

void BIAS::Image< unsigned char >::GetMinMaxPixelValue ( unsigned char &  min,
unsigned char &  max,
unsigned short int  channel = 0,
unsigned int *  mincoo = NULL,
unsigned int *  maxcoo = NULL 
) const
inherited

returns the minimal and maximal pixel value in channel only Finds minimum and maximum pixel value in image in channel only, i.e.

all other channels are ignored during the search. Returns the first occurance of min/max pixelvalue, if they occure multiple times.

Parameters
minThe variable where to store the minimun value
maxThe variable where to store the maximum value if mincoo or maxcoo !=NULL, also stores the location of min resp. max, works slow on woelk 10/2004 ( Examples/ExampleMinMax.cpp )
Author
Jan Frahm, woelk 01/2003, woelk 10/2004
Examples:
ExampleMinMax.cpp.
bool BIAS::Image< unsigned char >::GetMinMaxPixelValueIgnoreRange ( unsigned char &  min,
unsigned char &  max,
const unsigned char  ignoreStart = 0,
const unsigned char  ignoreEnd = 0,
const unsigned short int  channel = 0 
) const
inherited

Get both, minimal and maximal pixel value –actual implementation only for planar images–.

Parameters
minThe variable where to store the minimum value
maxThe variable where to store the maximum value
ignoreStart,ignoreEnddefine the range of values to be ignored
channelto be searched from multi-channel images
Returns
true if a value within range was found, else false
Author
Jan Woetzel 01/2003
unsigned char BIAS::Image< unsigned char >::GetMinPixelValue ( unsigned short int  channel = 0,
unsigned int *  coo = NULL 
) const
inherited

Get the minimal pixel value if coo!=NULL the coo[0]=x of min and coo[1]=y of min.

Author
Felix Woelk
unsigned long int BIAS::ImageBase::GetPixelCount ( ) const
inlineinherited

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 AddHist(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BGRAToRGB_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BGRToRGB_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::ConvertST(), BIAS::ImageBase::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(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::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<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::ImageBase::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(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().

const unsigned char & BIAS::Image< unsigned char >::GetPixelNearestNeighbor ( const double  x,
const double  y,
const unsigned short int  channel = 0 
) const
inlineinherited

Get the value of a specific channel offset of specific pixel nearest to given double coordinates.

Author
Ingo Thomsen
Date
03/27/2002
Attention
Checks boundaries in debug build. tested (only with interleaved grey images)
const unsigned char & BIAS::Image< unsigned char >::GetPixelNearestNeighbor ( const float  x,
const float  y,
const unsigned short int  channel = 0 
) const
inlineinherited

Get the value of a specific channel offset of specific pixel nearest to given float coordinates, using the double version.

Author
Ingo Thomsen
Date
03/28/2002
Attention
Checks boundaries in debug build. tested (only with interleaved gray images)
unsigned int ImageBase::GetPixelPosition ( unsigned int  x,
unsigned int  y,
unsigned short int  channel = 0 
) const
inlineinherited

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 ( )
inlineinherited

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(), 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(), BIAS::ImageBase::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(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetROILowerRightX(), BIAS::ImageBase::GetROILowerRightY(), BIAS::ImageBase::GetROIUpperLeftX(), BIAS::ImageBase::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<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::ImageBase::PrintROI(), BIAS::Label::Process(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::ImageBase::SetROI(), BIAS::ImageBase::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_(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), BIAS::ImageBase::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
inlineinherited

Definition at line 621 of file ImageBase.hh.

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

deprecated, use GetROICorners()

Definition at line 1062 of file ImageBase.cpp.

References BIAS::ImageBase::GetROICorners().

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

deprecated, use GetROICorners()

Definition at line 1074 of file ImageBase.cpp.

References BIAS::ImageBase::GetROICorners().

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

access region of interest rectangle JW

Definition at line 1079 of file ImageBase.cpp.

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

const unsigned int ImageBase::GetROILowerRightX ( ) const
inherited

deprecated, use GetROI()->GetCorners()

Definition at line 1106 of file ImageBase.cpp.

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

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROILowerRightY ( ) const
inherited

deprecated, use GetROI()->GetCorners()

Definition at line 1113 of file ImageBase.cpp.

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

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROIUpperLeftX ( ) const
inherited

deprecated, use GetROI()->GetCorners()

Definition at line 1092 of file ImageBase.cpp.

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

Referenced by BIAS::HaveImagesMatchingROI().

const unsigned int ImageBase::GetROIUpperLeftY ( ) const
inherited

deprecated, use GetROI()->GetCorners()

Definition at line 1099 of file ImageBase.cpp.

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

Referenced by BIAS::HaveImagesMatchingROI().

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

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
inlineinherited
int ImageBase::GetSizeByte ( const enum BIAS::ImageBase::EStorageType storagetype)
staticinherited

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 BIAS::ImageBase::ST_char, BIAS::ImageBase::ST_double, BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_int, BIAS::ImageBase::ST_invalid, BIAS::ImageBase::ST_shortint, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedint, and BIAS::ImageBase::ST_unsignedshortint.

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

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 BIAS::ImageBase::CM_Bayer_BGGR, BIAS::ImageBase::CM_Bayer_GBRG, BIAS::ImageBase::CM_Bayer_GRBG, BIAS::ImageBase::CM_Bayer_RGGB, BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_BGRA, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_GreyA, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_PGR_XB3_F7M3_GBRG, BIAS::ImageBase::CM_RGB, and BIAS::ImageBase::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 
)
staticinherited

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 BIAS::ImageBase::GetSizeByte().

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

enum EStorageType BIAS::ImageBase::GetStorageType ( ) const
inlineinherited
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(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ROI::GetMaskImage(), BIAS::ImageBase::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(), BIAS::ImageBase::Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::VideoSource::InitImage(), BIAS::ImageBase::InitWithForeignData(), BIAS::IOUtils::LoadFloat(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ScaledImageCanvas::OnAutoScaleOffset(), BIAS::BVWXMainFrame::OnSaveCurrent(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::Pad(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::ImageBase::PrintPixelValue(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::ImageBase::ReInit(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::PMDImageIO::Save(), BIAS::ImageIO::Save(), BIAS::ImageBase::SetChannel(), BIAS::ImageLegendFrame::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::ImageBase::SetValue(), BIAS::ScaledImageCanvas::Show(), BIAS::BVWXMainFrame::ShowHistogramm(), BIAS::GuiBase::ShowImage(), BIAS::BVWXMainFrame::ShowImageValueBar(), BIAS::ImageBase::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
inlineinherited
template<class castType >
castType BIAS::ImageBase::GetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel 
)
inherited
template<class castType >
castType BIAS::ImageBase::GetValue ( const ImageBase im,
const unsigned int  x,
const unsigned int  y,
const unsigned int  channel = 0 
)
staticinherited

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
inlineinherited

Definition at line 477 of file ImageBase.hh.

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

unsigned int BIAS::ImageBase::GetWidth ( ) const
inlineinherited
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(), 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(), BIAS::ImageBase::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(), BIAS::ImageBase::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_(), BIAS::ImageBase::Flip(), BIAS::ImageBase::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(), BIAS::ImageBase::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_(), BIAS::ImageBase::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/(), BIAS::ImageBase::operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), BIAS::ImageBase::Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::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
inlineinherited

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(), BIAS::ImageBase::FormatMatch(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::ImageBase::StealImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2().

void BIAS::Image< unsigned char >::Init ( unsigned int  Width,
unsigned int  Height,
unsigned int  channels = 1,
enum EStorageType  storageType = ST_unsignedchar,
const bool  interleaved = true 
)
inherited
int BIAS::HistogramImage::InitHist ( unsigned int  bincount = 256,
unsigned int  histcount = 1 
)

reserves the internal data structures for histcount histograms with bincount bins in each in one image

Author
woelk
Examples:
ExampleHistogram.cpp, and ExampleHistogramEqualization.cpp.

Definition at line 97 of file HistogramImage.cpp.

Referenced by BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter().

int BIAS::Image< unsigned char >::InitWithForeignData ( unsigned int  width,
unsigned int  height,
unsigned int  channels,
void *  data,
const bool  interleaved = true,
const bool  shouldRelease = true 
)
inherited

This is used to construct a BIAS::Image hull around existing image data.

Be sure to ClearDataPointer() before destructing the Image object to avoid deletion of the data array

Author
evers
Examples:
ExampleForeignData.cpp.
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 
)
inherited

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 BIAS::ImageBase::BitDepth_, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::Height_, BIAS::ImageBase::ImageData_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::Release(), BIAS::ROI::Resize(), BIAS::ImageBase::Roi_, BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::shouldReleaseData_, BIAS::ImageBase::StorageType_, BIAS::ROI::UnsetROI(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.

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

void BIAS::ImageBase::InvalidateUID ( )
inlineinherited
void BIAS::Image< unsigned char >::Invert ( )
inherited

inverts every pixel value, i.e. MaxSTValue() - value

int BIAS::Image< unsigned char >::InvertValues ( BIAS::Image< unsigned char > &  inverted,
unsigned char *  newMax = NULL 
)
inherited

inverts values of image, new values are StorageType_MAX-oldvalue or newMax-oldvalue if newMax != NULL

Parameters
inverted(out) the inverted image
newMax(in) the new maximum of image
bool BIAS::HistogramImage::IsEmpty ( )

returns true if MaxHistEntry==0 for all histograms

Author
woelk 10/2004

Definition at line 751 of file HistogramImage.cpp.

bool BIAS::ImageBase::IsEmpty ( ) const
inlineinherited

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(), 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(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::InitWithForeignData(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::PMDImageIO::PostprocessData_(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::ImageBase::ReInit(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::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
inlineinherited

Definition at line 701 of file ImageBase.hh.

bool BIAS::ImageBase::IsInterleaved ( ) const
inlineinherited
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(), BIAS::ImageBase::GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ImageBase::GetValue(), BIAS::ImageBase::Pad(), BIAS::ImageBase::PadToPowerOfTwo(), BIAS::ImageBase::ReInit(), BIAS::ImageBase::SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), BIAS::ImageBase::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
inlineinherited
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(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Paste2ROI(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageCanvas::Show(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().

bool ImageBase::IsPositionInImage ( const int &  x,
const int &  y 
) const
inlineinherited
bool ImageBase::IsPowerOfTwoSize ( ) const
inherited
bool ImageBase::IsPowerOfTwoSize ( const unsigned int  w,
const unsigned int  h 
)
staticinherited

Definition at line 950 of file ImageBase.cpp.

double BIAS::Image< unsigned char >::LinearInterpolation ( const unsigned int  x,
const double  y 
) const
inlineinherited

Linear interpolation in image rows.

Attention
Uses boundary check in debug build, but ignores ROI.
double BIAS::Image< unsigned char >::LinearInterpolation ( const double  x,
const unsigned int  y 
) const
inlineinherited

Linear interpolation in image columns.

Attention
Uses boundary check in debug build, but ignores ROI.
void BIAS::Image< unsigned char >::MaskValues ( unsigned char  Threshold,
Image< unsigned char > &  binaryImage 
)
inherited

Calculates a mask image from given image depending on threshold.

If the value of one or more channels is above a pixel, the binary image is set to 255, if none of the image channels of above the threshold the binary image is set to 0.

Parameters
Threshold[in],:threshold to check.
binaryImage[out],:resulting 1 channel binary image
unsigned char BIAS::Image< unsigned char >::MaxSTValue ( )
inlineinherited

returns the maximal possible StorageType

This file defines programs for BIAS to disable some warning on WIN32 /W4 pedantic compilation mode.

You MUST use the Start/End files only in pairs ! Use it like this in .cpp file:

#include <BIASpragmaStart.hh>
... code ...
#include <BIASpragmaStop.hh>
Author
Jan Woetzel 08/2005

Definition at line 33 of file ImageInline.hh.

unsigned char BIAS::Image< unsigned char >::MinSTValue ( )
inlineinherited

returns the minimal possible StorageType

Definition at line 82 of file ImageInline.hh.

int BIAS::ImageBase::Mirror ( )
inlineinherited

interface for the above JW

Definition at line 769 of file ImageBase.hh.

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

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
inlineinherited

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().

Image<unsigned char > BIAS::Image< unsigned char >::operator* ( const unsigned char &  argimage) const
inherited

Operator * for scalar value, returning a new image.

Binary operator * operating on pixel values with a scalar, returning a new image.

Image<unsigned char > BIAS::Image< unsigned char >::operator* ( const Image< unsigned char > &  argimage) const
inherited

Operator * for another image as argument, returning a new image.

Binary Operator * operating pixel values with pixel values of another image, returning a new image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator*= ( const unsigned char &  argimage)
inherited

Operator *= for scalar value.

Operator *= with scalar on pixel values of an image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator*= ( const Image< unsigned char > &  argimage)
inherited

Operator *= for another image as argument.

Operator *= operating on pixel values with pixel values of another image.

Image<unsigned char > BIAS::Image< unsigned char >::operator+ ( const unsigned char &  argimage) const
inherited

Operator + for scalar value, returning a new image.

Binary operator + operating on pixel values with a scalar, returning a new image.

Image<unsigned char > BIAS::Image< unsigned char >::operator+ ( const Image< unsigned char > &  argimage) const
inherited

Operator + for another image as argument, returning a new image.

Binary Operator + operating pixel values with pixel values of another image, returning a new image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator+= ( const unsigned char &  argimage)
inherited

Operator += for scalar value.

Operator += with scalar on pixel values of an image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator+= ( const Image< unsigned char > &  argimage)
inherited

Operator += for another image as argument.

Operator += operating on pixel values with pixel values of another image.

Image<unsigned char > BIAS::Image< unsigned char >::operator- ( const unsigned char &  argimage) const
inherited

Operator - for scalar value, returning a new image.

Binary operator - operating on pixel values with a scalar, returning a new image.

Image<unsigned char > BIAS::Image< unsigned char >::operator- ( const Image< unsigned char > &  argimage) const
inherited

subtracts every from every pixel (in ROI if defined) the pixel value from argimage !!! negative results are clipped to zero !!!

Binary Operator - operating pixel values with pixel values of another image, returning a new image.

Author
Ingo Thomsen tested (18/04/2002)
Image<unsigned char >& BIAS::Image< unsigned char >::operator-= ( const unsigned char &  argimage)
inherited

Operator -= for scalar value.

Operator -= with scalar on pixel values of an image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator-= ( const Image< unsigned char > &  argimage)
inherited

Operator -= for another image as argument.

Operator -= operating on pixel values with pixel values of another image.

Image<unsigned char > BIAS::Image< unsigned char >::operator/ ( const unsigned char &  argimage) const
inherited

Operator / for scalar value, returning a new image.

Binary operator / operating on pixel values with a scalar, returning a new image.

Image<unsigned char > BIAS::Image< unsigned char >::operator/ ( const Image< unsigned char > &  argimage) const
inherited

Operator / for another image as argument, returning a new image.

Binary Operator / operating pixel values with pixel values of another image, returning a new image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator/= ( const unsigned char &  argimage)
inherited

Operator /= for scalar value.

Operator /= with scalar on pixel values of an image.

Image<unsigned char >& BIAS::Image< unsigned char >::operator/= ( const Image< unsigned char > &  argimage)
inherited

Operator /= for another image as argument.

Operator /= operating on pixel values with pixel values of another image.

bool BIAS::ImageBase::operator== ( const ImageBase img) const
inlineinherited

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

Author
Ingo Thomsen tested

Definition at line 738 of file ImageBase.hh.

References BIAS::ImageBase::GetImageData().

Image<unsigned char >& BIAS::Image< unsigned char >::operator| ( const Image< unsigned char > &  argimage)
inherited

logical Operator || operating pixel values with pixel values of another image, returning a new image

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

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 BIAS::ImageBase::ImageBase(), BIAS::ImageBase::IsInterleaved(), BIAS::ImageBase::Pad(), and BIAS::ImageBase::PowerOfTwoSize().

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

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

in place version of the above

Author
JW

Definition at line 1131 of file ImageBase.cpp.

References BIAS::ImageBase::PadToPowerOfTwo(), and BIAS::ImageBase::PowerOfTwoSize().

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

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 BIAS::ImageBase::Flip(), and BIAS::ImageBase::PadToPowerOfTwo().

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

int ImageBase::Paste2ROI ( const ImageBase Image)
inherited
unsigned char BIAS::Image< unsigned char >::PixelValue ( const unsigned int  x,
const unsigned int  y,
const unsigned short int  channel = 0 
) const
inlineinherited

Returns value of pixel at specific position, using specific channel as offset.

Attention
Checks boundaries in debug build.
Author
Ingo Thomsen, JW
Date
03/27/2002
Examples:
ExampleHSVConversion2.cpp.
void * ImageBase::PixelValueBase ( unsigned  x,
unsigned  y,
unsigned  channel = 0 
)
inherited
unsigned char BIAS::Image< unsigned char >::PixelValueInterleaved ( const int  x,
const int  y,
const int  channel = 0 
) const
inlineinherited

Returns value of pixel at specific position, using specific channel as offset, in interleaved images.

Attention
Checks boundaries and interleaved flag in debug build.
Author
Johan Skoglund
Date
06/10/2004
unsigned char & BIAS::Image< unsigned char >::PixelValueRefInterleaved ( const int  x,
const int  y,
const int  channel = 0 
)
inlineinherited

Return pixel value at specified position as reference for read+write access in interleaved images.

Useful to iterate with read+write acess over pixels for shorter code. Not faster - but easier to debug. Useful for rapid prototyping of i.e. Cg fragment shaders in Software. Intentionaly NOT const and reference return instead of value. Assume interleaved (color) images of typically 3/4 channels (RGB/RGBA).

Attention
Checks boundaries and interleaved flag in debug build.
Author
Jan Woetzel
unsigned int ImageBase::PowerOfTwoSize ( const unsigned int &  val)
staticinherited
bool ImageBase::PowerOfTwoSize ( unsigned int &  width2,
unsigned int &  height2 
) const
inherited
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 BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::PowerOfTwoSize().

std::ostream& BIAS::Image< unsigned char >::PrintData ( std::ostream &  os) const
inherited

writes data of IplImage_ to os (ascii)

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
inherited
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 
)
staticinherited

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 BIAS::ImageBase::GetStorageType(), BIAS::Image< StorageType >::PixelValue(), BIAS::ImageBase::ST_char, BIAS::ImageBase::ST_double, BIAS::ImageBase::ST_float, BIAS::ImageBase::ST_int, BIAS::ImageBase::ST_shortint, BIAS::ImageBase::ST_unsignedchar, BIAS::ImageBase::ST_unsignedint, and BIAS::ImageBase::ST_unsignedshortint.

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

std::ostream& BIAS::Image< unsigned char >::PrintPointer ( std::ostream &  os) const
inherited

writes pointer of IplImage_ to os (ascii)

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

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

Definition at line 1087 of file ImageBase.cpp.

References BIAS::ImageBase::GetROI().

Referenced by BIAS::HaveImagesMatchingROI().

Image<float> BIAS::Image< unsigned char >::Reciprocal ( const float  factor = 1.0,
const unsigned short int  channel = 0 
)
inherited

Calculates the reciprocal for each pixel: x' = 1/x computes for exactly one channel (in case of multi channel images)

Jan Woetzel 01/2003.

Returns
resulting reciprocal image
Author
Jan Woetzel 01/2003
void BIAS::ImageBase::RedirectImageDataPointer ( void *  data)
inlineinherited
int BIAS::HistogramImage::RedrawHist_ ( unsigned int  hist)
protected

Definition at line 463 of file HistogramImage.cpp.

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 
)
inherited
void BIAS::Image< unsigned char >::Release ( )
inherited
void ImageBase::Release ( const bool  reset_storage_type = false)
inherited

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 BIAS::ImageBase::_MetaData, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::ColorModel_, BIAS::ImageBase::Depth_, BIAS::ImageBase::Height_, BIAS::ImageBase::ImageData_, BIAS::ImageBase::ImageDataArray_, BIAS::ImageBase::IsEmpty(), BIAS::ROI::Release(), BIAS::ImageBase::Roi_, BIAS::ImageBase::shouldReleaseData_, BIAS::ImageBase::ST_invalid, BIAS::ImageBase::StorageType_, BIAS::ImageBase::Width_, and BIAS::ImageBase::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(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::InitWithForeignData(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::ImageBase::ReInit(), BIAS::OpenGLCanvasBase::ScreenShot(), and BIAS::ImageBase::StealImage().

int BIAS::HistogramImage::ReleaseHist ( )

releases internal data structures (Hist_)

Definition at line 145 of file HistogramImage.cpp.

void ImageBase::ReleaseImageDataPointer ( )
inlineinherited
int BIAS::Image< unsigned char >::RemoveChannel ( unsigned int  channel)
inherited

remove a channel from an image Remove means: RGB, remove channel 2 => RG CAUTION, channels start a 0 Status, planar case untested

Parameters
channel,thechannel to remove, starting at 0
Author
ischiller
Date
04/2010
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
inlineinherited

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(), BIAS::ImageBase::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().

int BIAS::Image< unsigned char >::ScaleShift ( double  Scale,
double  Shift 
)
inherited

scales and shifts image (all channels simultanously)

does scale and shift every channel with same factor so that (max of all channels) = Max and (min of all channels) = Min. First shifts, then scales.

Author
Felix Woelk
int BIAS::Image< unsigned char >::ScaleShiftBetween ( double  Min,
double  Max 
)
inherited

scales and shifts image so afterwards every pixel has a value between Min and Max

scales and shifts every channel with same factor

Author
Felix Woelk
int BIAS::Image< unsigned char >::ScaleShiftChannel ( double  Scale,
double  Shift,
unsigned int  channel 
)
inherited

similiar to ScaleShift, but only scales and shifts one image channel

Author
Patrick Fittkau
int BIAS::HistogramImage::SetBin ( unsigned int  bin,
double  value,
unsigned int  hist = 0 
)

Set the counted number of bin from hist to manipulate the histogram.

Definition at line 710 of file HistogramImage.cpp.

void BIAS::HistogramImage::SetBinCount ( unsigned int  bincount)

resizes Hist_

Definition at line 82 of file HistogramImage.cpp.

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

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().

int BIAS::HistogramImage::SetColor ( unsigned char  R,
unsigned char  G,
unsigned char  B,
unsigned int  hist = 0 
)
Examples:
ExampleHistogram.cpp.

Definition at line 644 of file HistogramImage.cpp.

void BIAS::HistogramImage::SetColorModel ( )

dummy function to avoid swapping color model in this class

Definition at line 76 of file HistogramImage.cpp.

void BIAS::ImageBase::SetColorModel ( EColorModel  Model)
inlineinherited
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(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::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(), BIAS::ImageBase::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(), BIAS::ImageBase::InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ImageBase::Pad(), BIAS::PMDImageIO::PostprocessData_(), BIAS::ImageBase::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.

void BIAS::HistogramImage::SetDrawMode ( HistMode  m)
inline

Select drawing style. Default is HIST_POINTS.

Examples:
ExampleHistogram.cpp.

Definition at line 100 of file HistogramImage.hh.

void BIAS::HistogramImage::SetFactor ( unsigned short  Factor)

sets the zoomfactor

Todo:
factor also scales the y axis, this is most probably not desired
Examples:
ExampleHistogram.cpp.

Definition at line 70 of file HistogramImage.cpp.

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

Definition at line 424 of file Debug.hh.

void BIAS::HistogramImage::SetHistCount ( unsigned int  histcount)

Reserves internal data structures for histcount histograms.

Definition at line 90 of file HistogramImage.cpp.

void BIAS::ImageBase::SetInterleaved ( bool  interleaved)
inlineinherited
void BIAS::ImageBase::SetMetaData ( const MetaData m)
inlineinherited
void ImageBase::SetOutsideROIZero ( )
inherited
void BIAS::Image< unsigned char >::SetPixel ( const unsigned char &  value,
const unsigned int &  x,
const unsigned int &  y,
const unsigned short int  channel = 0 
)
inlineinherited

Set the value of a given pixel (x,y) in channel to value.

Warning
This function is slower than direct pointer access if you want to access ALL pixels of an image!
Attention
Checks boundaries in debug build.
Author
Jan Woetzel 08/2003
Examples:
ExampleHSVConversion2.cpp, and ExampleMinMax.cpp.
void BIAS::Image< unsigned char >::SetPixel ( const unsigned char &  value0,
const unsigned char &  value1,
const unsigned char &  value2,
const unsigned int &  x,
const unsigned int &  y 
)
inlineinherited

Set the values of the first three channels of a given pixel (x,y) in channel to value[0..2].

Warning
This function is slower than direct pointer access if you want to access ALL pixels of an image!
Attention
Checks boundaries in debug build.
Author
Jan Woetzel 08/2003
int ImageBase::SetROI ( unsigned int  UpperLeftX,
unsigned int  UpperLeftY,
unsigned int  LowerRightX,
unsigned int  LowerRightY 
)
inherited
int ImageBase::SetROI ( const ROI roi)
inherited

Definition at line 1042 of file ImageBase.cpp.

References BIAS::ImageBase::GetROI().

int ImageBase::SetROICorners ( unsigned int  UpperLeftX,
unsigned int  UpperLeftY,
unsigned int  LowerRightX,
unsigned int  LowerRightY 
)
inherited
void BIAS::HistogramImage::SetScaleYToMaxEntry ( bool  s)
inline

if true, the upper border of histogram is MaxHistEntry, otherwise the upper border of histogram k is Hist[k][i] = NumData_[k]

Definition at line 165 of file HistogramImage.hh.

void BIAS::ImageBase::SetStorageType ( const EStorageType  st)
inlineprotectedinherited

changes StorageType data mmeber

Definition at line 1042 of file ImageBase.hh.

Referenced by BIAS::ImageBase::ReInit().

void BIAS::ImageBase::SetUID ( const BIAS::UUID id)
inlineinherited
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 
)
inherited
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 
)
staticinherited

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 ( )
inlineinherited
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)
inherited

steals the image data array from source, after releasing the actual image data and sets source image data to NULL

Warning
Important for template: Steal images only, if u know the storageTypes are euqal!
Author
Daniel Grest tested

Definition at line 395 of file ImageBase.cpp.

References BIAS::ImageBase::_MetaData, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::ColorModel_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::GetWidthStep(), BIAS::ImageBase::Height_, BIAS::ImageBase::ImageData_, BIAS::ImageBase::ImageDataArray_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::Release(), BIAS::ImageBase::Roi_, BIAS::ImageBase::StorageType_, BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.

Referenced by BIAS::ImageConvert::Convert(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::GuiBase::ShowImage(), and BIAS::ImageConvert::ToGrey().

void BIAS::ImageBase::StringToColorModel ( const std::string &  str,
ImageBase::EColorModel cm 
)
staticinherited
void BIAS::ImageBase::StringToStorageType ( const std::string &  str,
ImageBase::EStorageType st 
)
staticinherited
void ImageBase::TextureToBIASCoordinates ( const double &  gl_x,
const double &  gl_y,
double &  biasx,
double &  biasy 
) const
inlineinherited

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.

int BIAS::Image< unsigned char >::Transpose ( BIAS::Image< unsigned char > &  result)
inherited

Transposes an image on diagonal, rows become columns, columns become rows.

void ImageBase::UnsetROI ( )
inherited
int ImageBase::UpdateImageDataArrayFromImageData_ ( )
protectedinherited
void BIAS::HistogramImage::WriteASCII ( std::ostream &  os = std::cout)

writes ascii data to stream, can be used later e.g. with gnuplot

Definition at line 780 of file HistogramImage.cpp.

int BIAS::HistogramImage::WriteASCII ( const std::string &  filename)

opens file and calls WriteASCII() with it

Definition at line 760 of file HistogramImage.cpp.

int BIAS::HistogramImage::ZeroHist ( unsigned int  hist = 0)

zeros existing histogram

Definition at line 450 of file HistogramImage.cpp.

int ImageBase::ZeroPad ( const unsigned int  newwidth,
const unsigned int  newheight,
unsigned char  bgcolor = 0 
)
inherited

backward compatibility interface for Pad.

DEPRECATED

Author
Jan Woetzel 2005

Definition at line 1122 of file ImageBase.cpp.

References BIAS::ImageBase::Pad().

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

Member Data Documentation

long int BIAS::Debug::_liDebugLevel
protectedinherited

Definition at line 510 of file Debug.hh.

Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::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
protectedinherited

additional data block, handled by derived classes

Definition at line 1080 of file ImageBase.hh.

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

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

Definition at line 517 of file Debug.hh.

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

unsigned char BIAS::HistogramImage::_ucBorderColor
protected

Definition at line 215 of file HistogramImage.hh.

unsigned int BIAS::HistogramImage::_uiBorder
protected

Definition at line 214 of file HistogramImage.hh.

BIAS::UUID BIAS::ImageBase::_UID
protectedinherited

unique id for every image

Definition at line 1078 of file ImageBase.hh.

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

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

Definition at line 511 of file Debug.hh.

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

double* BIAS::HistogramImage::Average_
protected

Definition at line 212 of file HistogramImage.hh.

unsigned int BIAS::HistogramImage::BinCount_
protected

Definition at line 205 of file HistogramImage.hh.

double * BIAS::HistogramImage::BinSize_
protected

Definition at line 216 of file HistogramImage.hh.

unsigned int BIAS::ImageBase::BitDepth_
protectedinherited
unsigned int BIAS::ImageBase::ChannelCount_
protectedinherited
unsigned char** BIAS::HistogramImage::Color_
protected

Definition at line 207 of file HistogramImage.hh.

enum EColorModel BIAS::ImageBase::ColorModel_
protectedinherited
unsigned int BIAS::ImageBase::Depth_
protectedinherited
unsigned short int BIAS::HistogramImage::Factor_
protected

Definition at line 211 of file HistogramImage.hh.

long int BIAS::Debug::GlobalDebugLevel = 0
staticprotectedinherited

Definition at line 513 of file Debug.hh.

unsigned int BIAS::ImageBase::Height_
protectedinherited
double** BIAS::HistogramImage::Hist_
protected

Definition at line 206 of file HistogramImage.hh.

unsigned short int BIAS::HistogramImage::HistCount_
protected

Definition at line 204 of file HistogramImage.hh.

unsigned int BIAS::HistogramImage::HistSize_
protected

Definition at line 208 of file HistogramImage.hh.

void* BIAS::ImageBase::ImageData_
protectedinherited
void** BIAS::ImageBase::ImageDataArray_
protectedinherited
bool BIAS::ImageBase::InterleavedDataOrder_
protectedinherited
double * BIAS::HistogramImage::MaxBinVal_
protected

Definition at line 216 of file HistogramImage.hh.

double* BIAS::HistogramImage::MaxHistEntry_
protected

Definition at line 209 of file HistogramImage.hh.

double* BIAS::HistogramImage::MinBinVal_
protected

Definition at line 216 of file HistogramImage.hh.

HistMode BIAS::HistogramImage::Mode_
protected

Definition at line 213 of file HistogramImage.hh.

double* BIAS::HistogramImage::NumData_
protected

Definition at line 210 of file HistogramImage.hh.

ROI BIAS::ImageBase::Roi_
protectedinherited
bool BIAS::HistogramImage::ScaleYToMaxEntry_
protected

Definition at line 219 of file HistogramImage.hh.

bool BIAS::ImageBase::shouldReleaseData_
protectedinherited
enum EStorageType BIAS::ImageBase::StorageType_
protectedinherited
const int BIAS::ImageBase::Version_ = VERSION_NUMBER
staticprotectedinherited

version number of imagebase class

Definition at line 1052 of file ImageBase.hh.

Referenced by BIAS::ImageBase::PrintHeader().

unsigned int BIAS::ImageBase::Width_
protectedinherited
unsigned int BIAS::ImageBase::WidthStep_
protectedinherited

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