#include <Base/Image/Image.hh>


Misc functions | |
| void | BIASToTextureCoordinates (const double &biasx, const double &biasy, double &gl_x, double &gl_y) const |
| transfer BIAS image coordinates [0. | |
| void | ClearDataPointer () |
| set data pointer to NULL, such that image IsEmpty _without_ deletion of data. | |
| 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. | |
| int | Display (const bool &waitForKey, const unsigned int &delayMsec, const float &scale) const |
| DEPRECATED to avoid interface conflict between char* and bool. | |
| int | Display (const std::string &DestWin) const |
| simpler interface for the above. | |
| 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). | |
| bool | IsPositionInImage (const int &x, const int &y) const |
| check if image contains that pixel position | |
| bool | IsPowerOfTwoSize () const |
| int | MoveToClosestPositionInImage (int &x, int &y) const |
| find closest valid pixel position to x,y | |
| bool | NotBiggerPixelAndSameChannelCount (const ImageBase &Image) const |
| checks if data area has bigger or the same "size" as Image of other type | |
| void * | PixelValueBase (unsigned x, unsigned y, unsigned channel=0) |
| bool | PowerOfTwoSize (unsigned int &width2, unsigned int &height2) const |
| void | PrintHeader (std::ostream &os=std::cout) const |
| void | RedirectImageDataPointer (void *data) |
| This method takes data and set the internal image data pointer to this. | |
| void | ReleaseImageDataPointer () |
| Releases ImageData_ (to be used together with RedirectImageDataPointer). | |
| bool | SamePixelAndChannelCount (const ImageBase &Image) const |
| checks if data area has same "size" as Image of other type | |
| void | SetZero () |
| zeroes the image | |
| void | TextureToBIASCoordinates (const double &gl_x, const double &gl_y, double &biasx, double &biasy) const |
| transfer GL texture coordinates [0. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| static bool | IsPowerOfTwoSize (const unsigned int w, const unsigned int h) |
| static unsigned int | PowerOfTwoSize (const unsigned int &val) |
| static void | StringToColorModel (const std::string &str, ImageBase::EColorModel &cm) |
| static void | StringToStorageType (const std::string &str, ImageBase::EStorageType &st) |
Get functions | |
| bool | DimensionMatch (const BIAS::ImageBase &other) const |
| bool | FormatMatch (const BIAS::ImageBase &d) const |
| unsigned int | GetBitDepth () const |
| returns the bits per channel Is not necessairily 8*sizeof(StorageType), could be fewer bits, eg. | |
| unsigned int | GetByteDepth () const |
| 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 | |
| unsigned int | GetChannelCount () const |
| returns the number of Color channels, e.g. | |
| enum EColorModel | GetColorModel () const |
| unsigned int | GetDepth () const |
| returns the bytes per channel, which is the sizeof(StorageType) Should match GetSizeDepth(GetStorageType()). | |
| unsigned int | GetHeight () const |
| const MetaData * | GetMetaData () const |
| MetaData * | GetMetaData () |
| unsigned long int | GetPixelCount () const |
| returns number of pixels in image | |
| 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). | |
| 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 | |
| unsigned int | GetSizeByte () const |
| returns the nr. | |
| enum EStorageType | GetStorageType () const |
| const BIAS::UUID & | GetUID () const |
| returns the UUID of the image | |
| int | GetVersionNumber () const |
| unsigned int | GetWidth () const |
| unsigned int | GetWidthStep () const |
| returns the number of bytes per line | |
| bool | IsInterleaved () const |
| bool | IsPlanar () const |
| void | SetMetaData (const MetaData &m) |
| static void | PrintPixelValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned short channel=0, std::ostream &os=std::cout) |
| BIASImageBase_EXPORT std::ostream & | operator<< (std::ostream &os, const ImageBase &img) |
| BIASImageBase_EXPORT std::istream & | operator>> (std::istream &is, ImageBase &img) |
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 std::string &name) |
| void | AddDebugLevel (const long int lv) |
| int | AppendChannel (Image< StorageType > &img) |
| Append an image with one channel of same StorageType. | |
| template<> | |
| void | BilinearInterpolationShiftRegion (const double &x, const double &y, unsigned int hws_x, unsigned int hws_y, unsigned char *Buffer) |
| virtual Image< StorageType > * | Clone () const |
| virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, . | |
| void | CopyIn_NoInit (void *data) |
| Take some data and fill it into the Image. | |
| bool | DebugLevelIsSet (const std::string &name) const |
| bool | DebugLevelIsSet (const long int lv) const |
| template<> | |
| unsigned char | FastBilinearInterpolationGrey (const double x, const double y) const |
| template<class outputType> | |
| void | GetChannel (const BIAS::ImageBase &im, const unsigned int channelId, outputType *channelOut) |
| int | GetDebugLevel () const |
| void | GetDebugStream (std::ostream &os) const |
| std::ostream & | GetDebugStream () const |
| template<class castType> | |
| castType | GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel) |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (unsigned int Width, unsigned int Height, unsigned int Channels, bool interleaved) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image (const ImageBase &im) | |
| template<> | |
| Image () | |
| template<> | |
| Image () | |
| template<> | |
| Image () | |
| Image (const ImageBase &im) | |
| create image from imagebase. | |
| Image (unsigned int width, unsigned int height, unsigned int channels=1, const bool interleaved=true) | |
| constructor with size and channels allocates image data | |
| Image () | |
| 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 | |
| int | InitWithForeignData (unsigned int width, unsigned int height, unsigned int channels, void *data, const bool interleaved=true) |
| This is used to construct a BIAS::Image hull around existing image data. | |
| bool | IsEmpty () const |
| check if ImageData_ points to allocated image buffer or not | |
| template<> | |
| double | MaxSTValue () |
| template<> | |
| unsigned int | MaxSTValue () |
| template<> | |
| int | MaxSTValue () |
| template<> | |
| unsigned short | MaxSTValue () |
| template<> | |
| short | MaxSTValue () |
| template<> | |
| char | MaxSTValue () |
| template<> | |
| float | MaxSTValue () |
| template<> | |
| unsigned char | MaxSTValue () |
| template<> | |
| float | MinSTValue () |
| template<> | |
| unsigned char | MinSTValue () |
| template<> | |
| double | MinSTValue () |
| template<> | |
| unsigned int | MinSTValue () |
| template<> | |
| int | MinSTValue () |
| template<> | |
| unsigned short | MinSTValue () |
| template<> | |
| short | MinSTValue () |
| template<> | |
| char | MinSTValue () |
| long int | Name2DebugLevel (const std::string &name) const |
| looks up a debuglevel in the internal map, returns 0 if not found | |
| long int | NewDebugLevel (const std::string &name) |
| creates a new debuglevel | |
| template<> | |
| Image< unsigned char > & | operator| (const Image< unsigned char > &argimage) |
| template<> | |
| Image< short int > & | operator| (const Image< short int > &argimage) |
| 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. | |
| void | Release () |
| reimplemented from ImageBase | |
| void | RemoveDebugLevel (const std::string &name) |
| void | RemoveDebugLevel (const long int lv) |
| template<class inputType> | |
| void | SetChannel (const BIAS::ImageBase &im, const unsigned int channelId, const inputType *channelIn) |
| void | SetDebugLevel (const std::string &name) |
| void | SetDebugLevel (const long int lv) |
| void | SetDebugStream (const std::ostream &os) |
| template<class inputType> | |
| void | SetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel, const inputType val) |
| void | ShowDebugLevel (std::ostream &os=std::cout) const |
| prints all internally known debuglevels | |
| int | StealImage (ImageBase &source) |
| steals the image data array from source, after releasing the actual image data and sets source image data to NULL | |
| virtual | ~Image () |
Thresholding and Scaling | |
| int | AboveThresholdToValue (StorageType Threshold, StorageType Value) |
| sets alls pixels with values above Threshold to Value | |
| int | BelowThresholdToValue (StorageType Threshold, StorageType Value) |
| sets alls pixels with values below Threshold to Value | |
| void | Binarise (StorageType Threshold) |
| void | Binarize (StorageType Threshold) |
| sets all pixels >= Threshold to MaxPixelValue and all others to MinPixelValue only for one channel / grey images | |
| int | BinaryThreshold (StorageType Threshold, StorageType MinValue, StorageType MaxValue) |
| Test for every pixel wether it is >= than the threshold. | |
| int | CalcScaleShift (double Min, double Max, double &Scale, double &Shift) const |
| calculate the values needed by ScaleShiftBetween | |
| void | MaskValues (StorageType Threshold, Image< unsigned char > &binaryImage) |
| int | ScaleShift (double Scale, double Shift) |
| scales and shifts image (all channels simultanously) | |
| int | ScaleShiftBetween (double Min, double Max) |
| scales and shifts image so afterwards every pixel has a value between Min and Max | |
| int | ScaleShiftChannel (double Scale, double Shift, unsigned int channel) |
| similiar to ScaleShift, but only scales and shifts one image channel | |
| int | Transpose (BIAS::Image< StorageType > &result) |
Misc Functions | |
| void | AbsDiff (const Image< StorageType > &im1, const Image< StorageType > &im2) |
| (*this) = | im1 - im2 | sets this as the absolute difference between two arg images | |
| StorageType | MaxSTValue () |
| returns the maximal possible StorageType | |
| StorageType | MinSTValue () |
| returns the minimal possible StorageType | |
| std::ostream & | PrintData (std::ostream &os) const |
| writes data of IplImage_ to os (ascii) | |
| std::ostream & | PrintPointer (std::ostream &os) const |
| writes pointer of IplImage_ to os (ascii) | |
| Image< float > | Reciprocal (const float factor=1.0, const unsigned short int channel=0) |
| Jan Woetzel 01/2003. | |
Interpolating Functions | |
| double | BicubicInterpolation (const double &x, const double &y, const unsigned short int channel=0) const |
| Returns the bicubic interpolated pixel value (using channel offset) value of pixel defined by double coordinates, ignoring an existing ROI Does not work for planar multi-channel images ! | |
| double | BilinearInterpolation (const double x, const double y, const unsigned short int channel=0) const |
| Returns the bilinear interpolated pixel value (using channel offset) value of pixel defined by double coordinates, ignoring an existingROI. | |
| double | BilinearInterpolationGrey (const double x, const double y) const |
| no boundary checking ! ignores ROI | |
| double | BilinearInterpolationGreyMaxVal (const double x, const double y, const StorageType &maxVal) const |
| bilinear interpolation pixel value with value check. | |
| double | BilinearInterpolationGreyMinVal (const double x, const double y, const StorageType &minVal) const |
| bilinear interpolation pixel value with value check. | |
| double | BilinearInterpolationRGBInterleaved (const double x, const double y, unsigned int channel) const |
| no boundary checking ! ignores ROI | |
| double | BilinearInterpolationRGBPlanar (const double x, const double y, unsigned int channel) const |
| no boundary checking ! ignores ROI | |
| void | BilinearInterpolationShiftRegion (const double &x, const double &y, unsigned int hws_x, unsigned int hws_y, unsigned char *Buffer) |
| sample the continuous (bilinear interpolation of (*this)) image using a grid with one pixel spacing at subpixel positions (x-hws, y-hws) , . | |
| StorageType | FastBilinearInterpolationGrey (const double x, const double y) const |
| fast bilinear interpolation specialisation for unsigned char exists, 20% faster than function below | |
| double | InterpolationGrey (const double x, const double y) const |
| interpolation with weights according to distances to x and y | |
| double | LinearInterpolation (const double x, const unsigned int y) const |
| double | LinearInterpolation (const unsigned int x, const double y) const |
Set Functions | |
| void | Clear (const StorageType value=0) |
| sets all pixels to zero/value | |
| void | FillImageWithConstValue (StorageType Value[]) |
| fill color images | |
| void | FillImageWithConstValue (StorageType Value) |
| fill grey images | |
| void | FillImageWithXValue () |
| fills image with value depending on x coordinate | |
| void | SetPixel (const StorageType &value0, const StorageType &value1, const StorageType &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. | |
| void | SetPixel (const StorageType &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. | |
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! | |
| int | Cut2ROI () |
| reduces image to current ROI, !!! image size changes !!! | |
| int | GetCopyOfROI (ImageBase ©) const |
| returns a copy of ROI (a new image) lower right point excluded, only interleaved images ! | |
| int | GetCopyOfROI2 (ImageBase ©) const |
| like GetCopyOfROI, but with lower right point included only interleaved images ! | |
| void | GetROI (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const |
| deprecated, use GetROICorners() | |
| void | GetROI (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const |
| deprecated, use GetROICorners() | |
| const ROI * | GetROI () const |
| ROI * | GetROI () |
| Returns a pointer to the roi object. | |
| void | GetROICorners (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const |
| access region of interest rectangle JW | |
| void | GetROICorners (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const |
| access region of interest rectangle JW | |
| const unsigned int | GetROILowerRightX () const |
| deprecated, use GetROI()->GetCorners() | |
| const unsigned int | GetROILowerRightY () const |
| deprecated, use GetROI()->GetCorners() | |
| const unsigned int | GetROIUpperLeftX () const |
| deprecated, use GetROI()->GetCorners() | |
| const unsigned int | GetROIUpperLeftY () const |
| deprecated, use GetROI()->GetCorners() | |
| const bool | IsInROI (const double &x, const double &y) const |
| int | Paste2ROI (const ImageBase &Image) |
| paste Image to current ROI | |
| void | PrintROI (std::ostream &os=std::cout) const |
| deprecated, use 'os << *GetROI()' | |
| void | SetOutsideROIZero () |
| sets all pixel not in ROI to zero | |
| int | SetROI (const ROI roi) |
| int | SetROI (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY) |
| deprecated, use SetROICorners() | |
| int | SetROICorners (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY) |
| void | UnsetROI () |
| deprecated, use GetROI()->UnsetROI() | |
Padding and Appending | |
| int | Flip () |
| flips the image vertically (row order is inverted) In place function return 0 in case of success, -1 otherwise | |
| int | FlipHorizontal () |
| flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise | |
| int | Mirror () |
| interface for the above JW | |
| int | Pad (const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0) |
| int | Pad (BIAS::ImageBase &dest, const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0) const |
| int | PadToPowerOfTwo (const int &padVal=0) |
| in place version of the above | |
| int | PadToPowerOfTwo (BIAS::ImageBase &dest, const int &padVal=0) const |
| increase the size of this image to next power of two (e.g. | |
| int | PadToPowerOfTwoAndFlip (const int &padVal=0) |
| first pad, then flip. | |
| int | ZeroPad (const unsigned int newwidth, const unsigned int newheight, unsigned char bgcolor=0) |
| backward compatibility interface for Pad. | |
Get Functions | |
| StorageType * | GetImageData () |
| overloaded GetImageData() from ImageBase | |
| const StorageType * | GetImageData () const |
| overloaded GetImageData() from ImageBase | |
| StorageType ** | GetImageDataArray () |
| overloaded GetImageDataArray() from ImageBase | |
| const StorageType ** | GetImageDataArray () const |
| overloaded GetImageDataArray() from ImageBase | |
| StorageType | 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. | |
| void | GetMeanPixelValue (StorageType mean[]) |
| void | GetMinMaxPixelValue (StorageType &min, StorageType &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. | |
| bool | GetMinMaxPixelValueIgnoreRange (StorageType &min, StorageType &max, const StorageType ignoreStart=0, const StorageType ignoreEnd=0, const unsigned short int channel=0) const |
| Get both, minimal and maximal pixel value --actual implementation only for planar images--. | |
| StorageType | 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. | |
| const StorageType & | 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. | |
| const StorageType & | 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. | |
| StorageType | 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. | |
| StorageType | PixelValueInterleaved (const int x, const int y, const int channel=0) const |
| Returns value of pixel at specific position, using specific channel as offset. | |
| StorageType & | PixelValueRefInterleaved (const int x, const int y, const int channel=0) |
| return pixel value at specified position as reference for read+write access. | |
Set functions | |
| void | InvalidateUID () |
| sets the image's uid to invalid | |
| void | SetBitDepth (unsigned bitdepth) |
| needed by ImageIO | |
| void | SetColorModel (EColorModel Model) |
| void | SetInterleaved (bool interleaved) |
| void | SetUID (const BIAS::UUID &id) |
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< StorageType > | operator* (const Image< StorageType > &argimage) |
| Operator * for another image as argument, returning a new image. | |
| Image< StorageType > | operator* (const StorageType &argimage) |
| Operator * for scalar value, returning a new image. | |
| Image< StorageType > & | operator*= (const Image< StorageType > &argimage) |
| Operator *= for another image as argument. | |
| Image< StorageType > & | operator*= (const StorageType &argimage) |
| Operator *= for scalar value. | |
| Image< StorageType > | operator+ (const Image< StorageType > &argimage) |
| Operator + for another image as argument, returning a new image. | |
| Image< StorageType > | operator+ (const StorageType &argimage) |
| Operator + for scalar value, returning a new image. | |
| Image< StorageType > & | operator+= (const Image< StorageType > &argimage) |
| Operator += for another image as argument. | |
| Image< StorageType > & | operator+= (const StorageType &argimage) |
| Operator += for scalar value. | |
| Image< StorageType > | operator- (const Image< StorageType > &argimage) |
| subtracts every from every pixel (in ROI if defined) the pixel value from argimage !!! negative results are clipped to zero !!! | |
| Image< StorageType > | operator- (const StorageType &argimage) |
| Operator - for scalar value, returning a new image. | |
| Image< StorageType > & | operator-= (const Image< StorageType > &argimage) |
| Operator -= for another image as argument. | |
| Image< StorageType > & | operator-= (const StorageType &argimage) |
| Operator -= for scalar value. | |
| Image< StorageType > | operator/ (const Image< StorageType > &argimage) |
| Operator / for another image as argument, returning a new image. | |
| Image< StorageType > | operator/ (const StorageType &argimage) |
| Operator / for scalar value, returning a new image. | |
| Image< StorageType > & | operator/= (const Image< StorageType > &argimage) |
| Operator /= for another image as argument. | |
| Image< StorageType > & | operator/= (const StorageType &argimage) |
| Operator /= for scalar value. | |
| Image< StorageType > & | operator= (const ImageBase &Source) |
| copies ImageBase to an desired Image<>, be careful with this, because u can do something like: Image<char> = Image<float>, what usualluy not makes sense | |
| Image< StorageType > & | operator| (const Image< StorageType > &argimage) |
| logical Operator || operating pixel values with pixel values of another image, returning a new image | |
Operators | |
| bool | operator== (const ImageBase &img) const |
| comparison operator, based upon the adresses of the actual image data | |
Static Public Member Functions | |
| static void | GetChannel (const ImageBase &im, const unsigned int channelId, half *channelOut) |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
Protected Member Functions | |
| long | ConsumeNextFreeDebuglevel_ () |
| returns the next available debuglevel | |
| void | SetStorageType (const EStorageType st) |
| changes StorageType data mmeber | |
| int | UpdateImageDataArrayFromImageData_ () |
| recomputes pointer array returned by GetImageDataArray | |
Protected Attributes | |
| long int | _liDebugLevel |
| long int | _liNextDebugLevel |
| new concept, debuglevel are managed here in the debug class | |
| MetaData | _MetaData |
| additional data block, handled by derived classes | |
| std::map< std::string, long int > | _String2Debuglevel |
| BIAS::UUID | _UID |
| unique id for every image | |
| unsigned int | BitDepth_ |
| relevant bits per pixel per channel | |
| unsigned int | ChannelCount_ |
| number of channels per pixel | |
| enum EColorModel | ColorModel_ |
| the color model of the pixels | |
| unsigned int | Depth_ |
| size of one channel of one pixel in bytes | |
| unsigned int | Height_ |
| image height in pixels | |
| void * | ImageData_ |
| a pointer to the image data | |
| void ** | ImageDataArray_ |
| array of pointers to the first byte in an image row | |
| bool | InterleavedDataOrder_ |
| planar or interleaved: planar means we have several image planes, e.g. | |
| ROI | Roi_ |
| roi object | |
| enum EStorageType | StorageType_ |
| the storage type in a pixel channel | |
| unsigned int | Width_ |
| image width in pixels | |
| unsigned int | WidthStep_ |
| size of a line in bytes for interleaved, NOT nr . of pixels (but size a line in one plane for planar) | |
Static Protected Attributes | |
| static std::ostream | _zDebugStream |
| static long int | GlobalDebugLevel = 0 |
| static const int | Version_ = VERSION_NUMBER |
| version number of imagebase class | |
The real image data is stored as an array of the specific storage type. You can get the pointer by GetImageData() while accessing the image data could also be more efficiently done by GetImageDataArray()[y][x], which gives the first channel of pixel at position (x,y). The second and third channels for interleaved images are at [y][channelcount*x+1] and [y][channelcount*x+2].
There is an additional MetaData array, which holds information like the Pmatrix, which are used by derived classes.
see also ExampleLoad.cpp , ExampleOperator.cpp, ExampleChessboard.cpp
Definition at line 78 of file Image.hh.
enum BIAS::ImageBase::EColorModel [inherited] |
These are the most often used color models.
Determines the data storage size per channel per pixel.
| CM_invalid | invalid (not set) image format |
| CM_Grey | gray values (one channel: gray value) |
| CM_RGB | color values (three channel order: red,green,blue) |
| CM_BGR | color values (three channel order: blue,green,red) |
| CM_YUYV422 | YUYV422 full luminance Y, subsampled U,V. |
| CM_UYVY422 | (please insert a description) |
| CM_YUV420P | (please insert a description) |
| CM_YUV444 | (please insert a description) |
| CM_YUV411 | (please insert a description) |
| CM_HSV | HSV (three channel order: hue, sat , value). |
| CM_HSI_OBS | obsolete, HSI is unused and identical to HSL |
| CM_DV | DV (please insert a description). |
| CM_RGBA | RGBA (four channel order: red,green,blue,alpha). |
| CM_GreyA | Grey (or Gray) plus Alpha channel. |
| CM_Bayer_RGGB | One channel RGB image Bayer tile. |
| CM_Bayer_GBRG | One channel RGB image Bayer tile. |
| CM_Bayer_GRBG | One channel RGB image Bayer tile. |
| CM_Bayer_BGGR | One channel RGB image Bayer tile. |
| CM_HSL | similar to HSV but space is a double tipped cone |
| CM_hsL | similar to HSL but euclidean (h,s) for CNCC |
| CM_SymTensor2x2 | The image contains a 2x2 symmetric tensor. |
| CM_BGRA | BGRA (four channel order: blue,green,red,alpha). |
| CM_RGBE | RGBE: 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 | |
| CM_YUYV | (please insert a description) |
| CM_LUV | |
| CM_XYZ | |
| CM_LAB | |
| 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 generalisation for RGB based segmentation. |
| CM_DOES_NOT_EXIST |
Definition at line 127 of file ImageBase.hh.
enum BIAS::ImageBase::EStorageType [inherited] |
Definition at line 109 of file ImageBase.hh.
| BIAS::Image< StorageType >::Image | ( | ) | [inline] |
| BIAS::Image< StorageType >::~Image | ( | ) | [inline, virtual] |
| BIAS::Image< StorageType >::Image | ( | unsigned int | width, | |
| unsigned int | height, | |||
| unsigned int | channels = 1, |
|||
| const bool | interleaved = true | |||
| ) | [inline] |
| BIAS::Image< StorageType >::Image | ( | const ImageBase & | im | ) | [inline, explicit] |
create image from imagebase.
this is a dangerous operation and must therefore not be used by implicit conversion. That means, you can manually convert ImageBase->Image, but you cannot pass an Image<float> where Image<char> is expected.
Definition at line 133 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::GetStorageType(), PRINTTYPE, and StorageType.
| BIAS::Image< unsigned char >::Image | ( | ) | [inline] |
Definition at line 48 of file Image.cpp.
References BIASGDOUT, BIAS::ImageBase::BitDepth_, D_IMAGE_TRACE, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_unsignedchar, and BIAS::ImageBase::StorageType_.
| BIAS::Image< float >::Image | ( | ) | [inline] |
Definition at line 60 of file Image.cpp.
References BIASGDOUT, BIAS::ImageBase::BitDepth_, D_IMAGE_TRACE, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_float, and BIAS::ImageBase::StorageType_.
| BIAS::Image< short int >::Image | ( | ) | [inline] |
Definition at line 73 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_shortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned char >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 91 of file Image.cpp.
References BIASABORT, BIASERR, BIASGDOUT, BIAS::ImageBase::BitDepth_, D_IMAGE_TRACE, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_unsignedchar, and BIAS::ImageBase::StorageType_.
| BIAS::Image< float >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 112 of file Image.cpp.
References BIASABORT, BIASERR, BIASGDOUT, BIAS::ImageBase::BitDepth_, D_IMAGE_TRACE, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_float, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned char >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 152 of file Image.cpp.
References BIASGDOUT, D_IMAGE_TRACE, BIAS::ImageBase::Init(), BIAS::ImageBase::ST_unsignedchar, and BIAS::ImageBase::StorageType_.
| BIAS::Image< float >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 163 of file Image.cpp.
References BIASGDOUT, D_IMAGE_TRACE, BIAS::ImageBase::Init(), BIAS::ImageBase::ST_float, and BIAS::ImageBase::StorageType_.
| BIAS::Image< char >::Image | ( | ) | [inline] |
Definition at line 176 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_char, and BIAS::ImageBase::StorageType_.
| BIAS::Image< char >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 184 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_char, and BIAS::ImageBase::StorageType_.
| BIAS::Image< char >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 201 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_char, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned short int >::Image | ( | ) | [inline] |
Definition at line 211 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_unsignedshortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned short int >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 220 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_unsignedshortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned short int >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 236 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_unsignedshortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< short int >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 245 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_shortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< short int >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 262 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_shortint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned int >::Image | ( | ) | [inline] |
Definition at line 272 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_unsignedint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned int >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 280 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_unsignedint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< unsigned int >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 296 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_unsignedint, and BIAS::ImageBase::StorageType_.
| BIAS::Image< int >::Image | ( | ) | [inline] |
Definition at line 306 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_int, and BIAS::ImageBase::StorageType_.
| BIAS::Image< int >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 314 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_int, and BIAS::ImageBase::StorageType_.
| BIAS::Image< int >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 330 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_int, and BIAS::ImageBase::StorageType_.
| BIAS::Image< double >::Image | ( | ) | [inline] |
Definition at line 340 of file Image.cpp.
References BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::ST_double, and BIAS::ImageBase::StorageType_.
| BIAS::Image< double >::Image | ( | const ImageBase & | im | ) | [inline] |
Definition at line 348 of file Image.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::operator=(), BIAS::ImageBase::ST_double, and BIAS::ImageBase::StorageType_.
| BIAS::Image< double >::Image | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | Channels, | |||
| bool | interleaved | |||
| ) | [inline] |
Definition at line 364 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::ST_double, and BIAS::ImageBase::StorageType_.
| int BIAS::Image< StorageType >::AboveThresholdToValue | ( | StorageType | Threshold, | |
| StorageType | Value | |||
| ) | [inline] |
sets alls pixels with values above Threshold to Value
Definition at line 857 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), p, and StorageType.
Referenced by main(), and BIAS::FitCircleFrame::UpdateImage().
| void BIAS::Image< StorageType >::AbsDiff | ( | const Image< StorageType > & | im1, | |
| const Image< StorageType > & | im2 | |||
| ) | [inline] |
(*this) = | im1 - im2 | sets this as the absolute difference between two arg images
absolut difference
Definition at line 597 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), BIAS::HaveImagesMatchingROI(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::IsEmpty(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::SamePixelAndChannelCount(), and StorageType.
Referenced by main().
| void BIAS::Debug::AddDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::AddDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 356 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), main(), BIAS::RANSAC< SolutionType >::RANSAC(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
| int BIAS::Image< StorageType >::AppendChannel | ( | Image< StorageType > & | img | ) | [inline] |
Append an image with one channel of same StorageType.
Append means: RGB + A => RGBA
Definition at line 1226 of file Image.cpp.
References BIASERR, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::IsEmpty(), p, BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), StorageType, BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), and main().
| int BIAS::Image< StorageType >::BelowThresholdToValue | ( | StorageType | Threshold, | |
| StorageType | Value | |||
| ) | [inline] |
sets alls pixels with values below Threshold to Value
Definition at line 842 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), p, and StorageType.
Referenced by main().
| void BIAS::ImageBase::BIASToTextureCoordinates | ( | const double & | biasx, | |
| const double & | biasy, | |||
| double & | gl_x, | |||
| double & | gl_y | |||
| ) | const [inline, inherited] |
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 1220 of file ImageBase.hh.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap().
| double BIAS::Image< StorageType >::BicubicInterpolation | ( | const double & | x, | |
| const double & | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
Returns the bicubic interpolated pixel value (using channel offset) value of pixel defined by double coordinates, ignoring an existing ROI Does not work for planar multi-channel images !
The subpixel value is obtained by computing a weighted average of the surrounding 4x4 pixel block. The weights are computed by independent x and y-dir cubic polynomials which guarantee constant first order derivatives at the grid positions
Definition at line 1180 of file Image.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::Image< StorageType >::GetImageDataArray(), and StorageType.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), main(), and BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_().
| double BIAS::Image< StorageType >::BilinearInterpolation | ( | const double | x, | |
| const double | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
Returns the bilinear interpolated pixel value (using channel offset) value of pixel defined by double coordinates, ignoring an existingROI.
Definition at line 1120 of file Image.cpp.
References BIASASSERT, BIASERR, BIAS::Image< StorageType >::BilinearInterpolationGrey(), BIAS::Image< StorageType >::BilinearInterpolationRGBInterleaved(), BIAS::Image< StorageType >::BilinearInterpolationRGBPlanar(), BIAS::ImageBase::CM_BGR, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), BIAS::ImageBase::IsPlanar(), res, and StorageType.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), main(), BIAS::SphericalUndistortion::ProjectImageCylindric(), and BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample().
| double BIAS::Image< StorageType >::BilinearInterpolationGrey | ( | const double | x, | |
| const double | y | |||
| ) | const [inline] |
no boundary checking ! ignores ROI
Definition at line 1269 of file Image.hh.
Referenced by BIAS::Image< StorageType >::BilinearInterpolation(), and BIAS::EpipolarLine::ScanLine_().
| double BIAS::Image< StorageType >::BilinearInterpolationGreyMaxVal | ( | const double | x, | |
| const double | y, | |||
| const StorageType & | maxVal | |||
| ) | const [inline] |
| double BIAS::Image< StorageType >::BilinearInterpolationGreyMinVal | ( | const double | x, | |
| const double | y, | |||
| const StorageType & | minVal | |||
| ) | const [inline] |
| double BIAS::Image< StorageType >::BilinearInterpolationRGBInterleaved | ( | const double | x, | |
| const double | y, | |||
| unsigned int | channel | |||
| ) | const [inline] |
no boundary checking ! ignores ROI
Definition at line 1443 of file Image.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Image< StorageType >::BilinearInterpolation(), and BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_().
| double BIAS::Image< StorageType >::BilinearInterpolationRGBPlanar | ( | const double | x, | |
| const double | y, | |||
| unsigned int | channel | |||
| ) | const [inline] |
no boundary checking ! ignores ROI
Definition at line 1424 of file Image.hh.
Referenced by BIAS::Image< StorageType >::BilinearInterpolation().
| void BIAS::Image< unsigned char >::BilinearInterpolationShiftRegion | ( | const double & | x, | |
| const double & | y, | |||
| unsigned int | hws_x, | |||
| unsigned int | hws_y, | |||
| unsigned char * | Buffer | |||
| ) | [inline] |
| void BIAS::Image< StorageType >::BilinearInterpolationShiftRegion | ( | const double & | x, | |
| const double & | y, | |||
| unsigned int | hws_x, | |||
| unsigned int | hws_y, | |||
| unsigned char * | Buffer | |||
| ) | [inline] |
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
| Buffer | must have size (2*hws_x+1)*(2*hws_y+1) | |
| hws_x | half window size in x direction | |
| hws_y | half window size in y direction | |
| x | x-center of window | |
| y | y-center of window |
| void BIAS::Image< StorageType >::Binarise | ( | StorageType | Threshold | ) | [inline] |
Definition at line 886 of file Image.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::Image< StorageType >::MaxSTValue(), BIAS::Image< StorageType >::MinSTValue(), and StorageType.
| void BIAS::Image< StorageType >::Binarize | ( | StorageType | Threshold | ) | [inline] |
sets all pixels >= Threshold to MaxPixelValue and all others to MinPixelValue only for one channel / grey images
Definition at line 872 of file Image.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::Image< StorageType >::MaxSTValue(), BIAS::Image< StorageType >::MinSTValue(), and StorageType.
| int BIAS::Image< StorageType >::BinaryThreshold | ( | StorageType | Threshold, | |
| StorageType | MinValue, | |||
| StorageType | MaxValue | |||
| ) | [inline] |
Test for every pixel wether it is >= than the threshold.
If so set to a MaxValue, otherwise to an MinValue.
Definition at line 1033 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetROILowerRightX(), BIAS::ImageBase::GetROILowerRightY(), BIAS::ImageBase::GetROIUpperLeftX(), BIAS::ImageBase::GetROIUpperLeftY(), and StorageType.
| int BIAS::Image< StorageType >::CalcScaleShift | ( | double | Min, | |
| double | Max, | |||
| double & | Scale, | |||
| double & | Shift | |||
| ) | const [inline] |
calculate the values needed by ScaleShiftBetween
Definition at line 999 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), max, min, and StorageType.
Referenced by BIAS::ScaledImageCanvas::AutoScale_(), and BIAS::Image< StorageType >::ScaleShiftBetween().
| void BIAS::Image< StorageType >::Clear | ( | const StorageType | value = 0 |
) | [inline] |
sets all pixels to zero/value
clear all pixels elements and set them to a 'default' value JW 04/2003
Definition at line 273 of file Image.hh.
Referenced by BIAS::ImageBlender::BlendImages(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), main(), and BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage().
| void BIAS::ImageBase::ClearDataPointer | ( | ) | [inline, inherited] |
set data pointer to NULL, such that image IsEmpty _without_ deletion of data.
Definition at line 849 of file ImageBase.hh.
Referenced by main().
| virtual Image<StorageType>* BIAS::Image< StorageType >::Clone | ( | ) | const [inline, virtual] |
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.
Reimplemented from BIAS::ImageBase.
Reimplemented in BIAS::Camera< StorageType >, BIAS::CorrespondenceMap< StorageType >, BIAS::Camera< InputStorageType >, BIAS::Camera< float >, and BIAS::Camera< unsigned char >.
| long BIAS::Debug::ConsumeNextFreeDebuglevel_ | ( | ) | [inline, protected, inherited] |
Take some data and fill it into the Image.
Definition at line 717 of file ImageBase.cpp.
References BIASDOUT, D_COPYIN, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetImageData(), and BIAS::ImageBase::GetPixelCount().
Referenced by BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_uEye::GrabSingle(), BIAS::VideoSource_Net::GrabSingle(), BIAS::VideoSource_DSHOW::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), and BIAS::ImageIO::ImportRAWwithHeader().
| int ImageBase::Cut2ROI | ( | ) | [inherited] |
reduces image to current ROI, !!! image size changes !!!
Definition at line 546 of file ImageBase.cpp.
References BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Height_, BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), BIAS::ROI::Resize(), BIAS::ImageBase::UnsetROI(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), and main().
| bool BIAS::Debug::DebugLevelIsSet | ( | const std::string & | name | ) | const [inline, inherited] |
| bool BIAS::Debug::DebugLevelIsSet | ( | const long int | lv | ) | const [inline, inherited] |
Definition at line 342 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::Rescale< InputStorageType, OutputStorageType >::_ApplyMeanFilter(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::Gauss< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), BIAS::GenSynthMatches::GetGTNormalizedF(), main(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), and BIAS::MonteCarloTransform::Transform().
| bool ImageBase::DimensionMatch | ( | const BIAS::ImageBase & | other | ) | const [inherited] |
Definition at line 875 of file ImageBase.cpp.
References BIAS::ImageBase::GetHeight(), and BIAS::ImageBase::GetWidth().
Referenced by BIAS::ImageBase::FormatMatch().
| 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.
Definition at line 1353 of file ImageBase.cpp.
References DEFAULT_32to8_scale, and DEFAULT_Display_delay.
Referenced by BIAS::ImageBase::Display().
| int ImageBase::Display | ( | const bool & | waitForKey, | |
| const unsigned int & | delayMsec, | |||
| const float & | scale | |||
| ) | const [inherited] |
DEPRECATED to avoid interface conflict between char* and bool.
interface for the above
Definition at line 1342 of file ImageBase.cpp.
References DEFAULT_WrapBias2Ipl_WINNAME, and BIAS::ImageBase::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 1330 of file ImageBase.cpp.
References BIAS::ImageBase::Display().
| 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).
| waitForKey | if true delayMsec is waited for keypres. 0=forever. | |
| delayMsec | if waitForKey is true wait for key with 0=forever, see cvWaitkey. |
Definition at line 1304 of file ImageBase.cpp.
References BIAS::WrapBias2Ipl::Display().
Referenced by main().
| unsigned char BIAS::Image< unsigned char >::FastBilinearInterpolationGrey | ( | const double | x, | |
| const double | y | |||
| ) | const [inline] |
| StorageType BIAS::Image< StorageType >::FastBilinearInterpolationGrey | ( | const double | x, | |
| const double | y | |||
| ) | const [inline] |
fast bilinear interpolation specialisation for unsigned char exists, 20% faster than function below
Definition at line 1384 of file Image.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().
| void BIAS::Image< StorageType >::FillImageWithConstValue | ( | StorageType | Value[] | ) | [inline] |
fill color images
Definition at line 435 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), p, step(), and StorageType.
| void BIAS::Image< StorageType >::FillImageWithConstValue | ( | StorageType | Value | ) | [inline] |
fill grey images
Definition at line 406 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), p, step(), and StorageType.
Referenced by BIAS::GenSynthMatches::_Draw(), BIAS::BlobDetectorBFS< StorageType >::Detect(), Draw(), drawCubic(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), drawQuadratic(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MixtureOfGaussians< StorageType >::GetWeightImage(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::CylindricDepthPanorama::Init(), main(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::GraphPlotter::Prepare_(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), ShiftAndMark(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::SphericalDepthPanorama::SphericalDepthPanorama(), Test(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::TestBorderHandling_(), and BIAS::MixtureOfGaussians< StorageType >::Update_().
| void BIAS::Image< StorageType >::FillImageWithXValue | ( | ) | [inline] |
fills image with value depending on x coordinate
Definition at line 496 of file Image.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetWidth(), p, and StorageType.
Referenced by main(), MyApp::OnInit(), and TestInit().
| int ImageBase::Flip | ( | ) | [inherited] |
flips the image vertically (row order is inverted) In place function return 0 in case of success, -1 otherwise
Definition at line 724 of file ImageBase.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Height_, BIAS::ImageBase::ImageDataArray_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::RedirectImageDataPointer(), and BIAS::ImageBase::ReleaseImageDataPointer().
Referenced by BIAS::ImgObjGL::CreateGLTexture(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::VideoSource_DSHOW::GrabSingle(), main(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::OpenSceneGraphHelper::OSGimageToBIASimage(), BIAS::ImageBase::PadToPowerOfTwoAndFlip(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::GLProjectionParametersBase::TranslateDepthToZ(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), and BIAS::GLProjectionParametersBase::TranslateZToMetricZ().
| int ImageBase::FlipHorizontal | ( | ) | [inherited] |
flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise
Definition at line 768 of file ImageBase.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::Height_, BIAS::ImageBase::ImageDataArray_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::ImageConvert::BayerToRGB().
| bool ImageBase::FormatMatch | ( | const BIAS::ImageBase & | d | ) | const [inherited] |
Definition at line 882 of file ImageBase.cpp.
References BIAS::ImageBase::DimensionMatch(), BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetSizeByte(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::GetWidthStep().
| unsigned int BIAS::ImageBase::GetBitDepth | ( | ) | const [inline, inherited] |
returns the bits per channel Is not necessairily 8*sizeof(StorageType), could be fewer bits, eg.
12/16.
Definition at line 322 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::ImageConvert::BayerToRGB(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::ImageBase::FormatMatch(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ImageIO::ImportDevIL(), main(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Pad(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::TohsL(), and BIAS::ImageConvert::ToHSL().
| unsigned int BIAS::ImageBase::GetByteDepth | ( | ) | const [inline, inherited] |
Definition at line 312 of file ImageBase.hh.
| void BIAS::ImageBase::GetChannel | ( | const BIAS::ImageBase & | im, | |
| const unsigned int | channelId, | |||
| outputType * | channelOut | |||
| ) | [inline, inherited] |
Definition at line 448 of file ImageBaseInline.hh.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), p, 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.
| void BIAS::ImageBase::GetChannel | ( | const ImageBase & | im, | |
| const unsigned int | channelId, | |||
| half * | channelOut | |||
| ) | [static, inherited] |
Definition at line 1885 of file ImageBase.cpp.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), p, 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.
| void BIAS::ImageBase::GetChannel | ( | const ImageBase & | im, | |
| const unsigned int | channelId, | |||
| outputType * | channelOut | |||
| ) | [inline, static, inherited] |
Copy channel, determines the internal ImageBase type and casts it to the output type.
Definition at line 1528 of file ImageBase.hh.
| int ImageBase::GetChannel | ( | const ImageBase & | source, | |
| const unsigned int | channel | |||
| ) | [inherited] |
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
Definition at line 334 of file ImageBase.cpp.
References BIASBREAK, BIASERR, BIAS::ImageBase::CM_YUYV422, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), and BIAS::ImageBase::IsPlanar().
Referenced by BIAS::OpenEXRInterface::AddSlice_(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Color(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), main(), and BIAS::ImageConvert::RGBToXYZ().
| int ImageBase::GetChannelcount | ( | const enum BIAS::ImageBase::EColorModel & | colormodel | ) | [static, inherited] |
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
Definition at line 1256 of file ImageBase.cpp.
References BIASERR, BIASWARN, 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.
| unsigned int BIAS::ImageBase::GetChannelCount | ( | ) | const [inline, inherited] |
returns the number of Color channels, e.g.
RGB 3
the value returned is independent of the StorageType
Definition at line 360 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::Image< StorageType >::AboveThresholdToValue(), BIAS::Image< StorageType >::AbsDiff(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::Histogram::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::GuiGTK::AllocateBuffer_(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::Image< StorageType >::BelowThresholdToValue(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::Image< StorageType >::BinaryThreshold(), BIAS::ImageBlender::BlendImages(), BIAS::Image< StorageType >::CalcScaleShift(), castchar(), castfloat(), 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::UnVignette::Compute(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), ConicShadePixel(), 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::glfTexture2D::CopyToImage(), BIAS::SphericalUndistortion::CorrectVignette(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::ImageBase::Cut2ROI(), BIAS::DataPlot::DataPlot(), deflate_JPEG_file(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::Histogram::DeleteHist_(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::Histogram::Draw(), BIAS::SphericalUndistortion::DrawCircles(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::Histogram::DrawHist_(), BIAS::Histogram::DrawHistLog_(), BIAS::BlobDetectorBFS< StorageType >::DrawInImage(), BIAS::Histogram2D::DrawLog(), BIAS::Histogram::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::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Image< StorageType >::FillImageWithConstValue(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::Filter9x9Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), 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::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::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedCamera(), Get8bitsfrom16(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ROI::GetMaskImage(), BIAS::Image< StorageType >::GetMeanPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::ImageBase::GetValue(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::ImageIO::ImportDevIL(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageDraw< StorageType >::Line(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::Image< StorageType >::MaskValues(), BIAS::GuiGTK::MouseMotionCallback_(), mysobel(), mysobel2(), mytoplanar(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::VideoSource_Net::OpenDevice(), BIAS::Image< StorageType >::operator*(), 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::ImageBase::Pad(), BIAS::ImageBase::Paste2ROI(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::SphericalUndistortion::ProjectCutOut(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), BIAS::Image< StorageType >::Reciprocal(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), 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::Image< StorageType >::ScaleShift(), BIAS::Image< StorageType >::ScaleShiftChannel(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::ImageBase::SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::ImageBase::SetValue(), ShiftAndMark(), 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::GuiGTK::TestImage_(), 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::Image< StorageType >::Transpose(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::ImageCanvas::UpdateStatusBar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), WriteMatlab(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
| enum EColorModel BIAS::ImageBase::GetColorModel | ( | ) | const [inline, inherited] |
Definition at line 385 of file ImageBase.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), ApplyHalfingBayerConversion(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), ComputeCutoutImage(), BIAS::ImageConvert::Convert(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageConvert::ConvertST(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), Draw(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< 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::Image< StorageType >::GetMinMaxPixelValue(), BIAS::CheckerBoardExtractFrame::HandleImage(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageConvert::LUVToXYZ(), main(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), BIAS::CornerMatcher::NCCSearch(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Pad(), BIAS::ImageBase::Paste2ROI(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::VideoServer::ProcessOneImage(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), BIAS::ImageCanvasEnhanced::RefreshDrawIm_(), BIAS::ImageCanvasCheckerboardExtract::RefreshDrawIm_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::SceneBGImage::SetImage(), 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::MainFrame::UncompressImage(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::glfTexture2D::UploadImage(), BIAS::glfCubeMap::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] |
returns a copy of ROI (a new image) lower right point excluded, only interleaved images !
Definition at line 474 of file ImageBase.cpp.
References BIASABORT, BIASERR, 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().
Referenced by BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::Label::Label4Neighbour(), main(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::Label::Process(), and BIAS::ImageConvertThreaded::SplitImage_().
| int ImageBase::GetCopyOfROI2 | ( | ImageBase & | copy | ) | const [inherited] |
like GetCopyOfROI, but with lower right point included only interleaved images !
Definition at line 441 of file ImageBase.cpp.
References BIASABORT, BIASERR, 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().
| int BIAS::Debug::GetDebugLevel | ( | ) | const [inline, inherited] |
Definition at line 333 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::ImageAlignment::Align(), BIAS::ExampleDebug::func(), BIAS::FMatrix::GetEpipoles(), BIAS::listenthread(), main(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), and BIAS::TrackerBaseAffine< StorageType >::TrackAffine_().
| void BIAS::Debug::GetDebugStream | ( | std::ostream & | os | ) | const [inline, inherited] |
| std::ostream& BIAS::Debug::GetDebugStream | ( | ) | const [inline, inherited] |
Definition at line 406 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), and BIAS::GuiGTK::MouseMotionCallback_().
| unsigned int BIAS::ImageBase::GetDepth | ( | ) | const [inline, inherited] |
returns the bytes per channel, which is the sizeof(StorageType) Should match GetSizeDepth(GetStorageType()).
Definition at line 306 of file ImageBase.hh.
Referenced by BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::ImageBase::CopyIn_NoInit(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::ImageBase::Cut2ROI(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageBase::FormatMatch(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportMagickPP(), main(), BIAS::VideoSource_Net::OpenDevice(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Pad(), BIAS::ImageBase::Paste2ROI(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ImageBase::SetOutsideROIZero(), and BIAS::ImageBase::StealImage().
| static long int BIAS::Debug::GetGlobalDebugLevel | ( | ) | [inline, static, inherited] |
Definition at line 432 of file Debug.hh.
Referenced by BIAS::ExampleDebug::func(), and BIAS::ExampleDebug::ResetDebugLevelFromGlobal().
| unsigned int BIAS::ImageBase::GetHeight | ( | ) | const [inline, inherited] |
Definition at line 297 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AbsDiff(), BIAS::ImageBlender::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::Histogram::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::FilterDialogPreviewWindow< StorageType >::AdjustWindowDimension(), BIAS::GuiGTK::AllocateBuffer_(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), ApplyHalfingBayerConversion(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::JointHistogram< StorageType >::CalcRenyiEntropy(), BIAS::JointHistogram< StorageType >::CalcShannonEntropy(), 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(), castchar(), castfloat(), 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::UnVignette::Compute(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::WrapBias2Ipl::Consistent(), BIAS::VideoSource_usbPMD::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::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::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::SphericalUndistortion::CorrectVignette(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), createst(), createst2(), BIAS::ColorHarris::CreateSTColor(), cut(), BIAS::ImageBase::Cut2ROI(), BIAS::DataPlot::DataPlot(), deflate_JPEG_file(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), demo(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::VideoSource_usbPMD::DepthImageFloatFromDouble_(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::ImageBase::DimensionMatch(), BIAS::ProjectionParametersPerspectiveDepth::DistortIntensityDepthIP(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::Histogram2D::Draw(), BIAS::Histogram::Draw(), BIAS::Conic2D::Draw(), DrawConic(), BIAS::Histogram::DrawHist_(), BIAS::Histogram::DrawHistLog_(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::Histogram::DrawLog(), 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::CondensHisto::EvaluateFromIntegralHistoImage_(), BIAS::CondensImg::EvaluateObservationDensities(), BIAS::CondensHisto::EvaluateObservationDensities(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Image< StorageType >::FillImageWithXValue(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::Filter9x9Grey(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), 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 >::FilterRemoveSaltAndPepper(), BIAS::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::BVWXMainFrame::FitSizetIfTooSmall(), BIAS::MainFrame::FitSizetIfTooSmall(), BIAS::ImageBase::FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::ColorSegmentation::GetSatImage(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::GetSourceCoordinates_(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::VideoSource_usbPMD::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageBase::IsPowerOfTwoSize(), BIAS::Label::Label4Neighbour_(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), 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 >::MapDirectAgain(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::Image< StorageType >::MaskValues(), mirror(), mysobel(), mysobel2(), mytoplanar(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::JointHistogram< StorageType >::Normalize_(), BIAS::JointHistogram< StorageType >::NormalizeParzen_(), BIAS::MainFrame::OnMouseEnteringToolbar(), BIAS::MainFrame::OnMouseLeavingToolbar(), BIAS::ImageCanvas::OnMouseMove(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::VideoSource_Net::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::ImageBase::Pad(), BIAS::ImageCanvas::PaintRoiOnDc_(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::Camera< StorageType >::ParseMetaData(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::ImageBase::PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::UnVignette::PrepareLuImage_(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::Label::Process(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::Image< StorageType >::Reciprocal(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), 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::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::ImageBase::SetChannel(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), ShiftAndMark(), BIAS::ImageCanvas::Show(), BIAS::GuiCV::ShowConvertedImage_(), CutoutFrame::ShowImage(), BIAS::TriangleMesh::SimplyfyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), BIAS::ImageBase::StealImage(), BIAS::GuiGTK::TestImage_(), 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::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortIntensityDepthIP(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::UpdatePyramidSize(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture2D::UploadImage(), BIAS::glfCubeMap::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FFT2D_free< StorageType >::WorkArray1ToComplexColumn_(), WriteMatlab(), 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_().
| StorageType* BIAS::Image< StorageType >::GetImageData | ( | ) | [inline] |
| const StorageType* BIAS::Image< StorageType >::GetImageData | ( | ) | const [inline] |
overloaded GetImageData() from ImageBase
Reimplemented from BIAS::ImageBase.
Definition at line 136 of file Image.hh.
Referenced by BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AboveThresholdToValue(), BIAS::ImageAlignment::Align(), BIAS::Image< StorageType >::AppendChannel(), ApplyHalfingBayerConversion(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::Image< StorageType >::BelowThresholdToValue(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRAToRGB_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BGRToRGB_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::Image< StorageType >::Binarise(), BIAS::Image< StorageType >::Binarize(), BIAS::ImageBlender::BlendImages(), BIAS::MySampleGrabberCB::BufferCB(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), castchar(), castfloat(), BIAS::StereoRedGreen::Combine(), BIAS::JpegHandler::Compress(), BIAS::UnVignette::Compute(), ConicShadePixel(), createst2(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), cut(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::DetermineThresholds_(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), Draw(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::ImageConvert::DVToRGB_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Image< StorageType >::FillImageWithConstValue(), BIAS::Image< StorageType >::FillImageWithXValue(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< InputStorageType, OutputStorageType >::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 >::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 >::Filter9x9Grey(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), Get8bitsfrom16(), BIAS::ImageConvert::GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::Image< StorageType >::GetMeanPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::GetSourceCoordinates_(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::VideoSource_Net::GrabSingle(), BIAS::VideoSource_DV2::GrabSingle(), BIAS::VideoSource_DV::GrabSingle(), BIAS::VideoSource_DSHOW::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingleAsSmallRGB(), BIAS::ImageConvert::GreyToRGB_(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::DistortionRendering::Init(), BIAS::VideoSource_PMD::InitAllImages_(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::Label::Label4Neighbour_(), main(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), mirror(), BIAS::MySampleGrabberCB::MySampleGrabberCB(), mysobel2(), mytoplanar(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*=(), BIAS::Image< StorageType >::operator+=(), BIAS::Image< StorageType >::operator-=(), BIAS::Image< StorageType >::operator/=(), BIAS::OpenSceneGraphHelper::OSGimageToBIASimage(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::Image< StorageType >::PrintData(), BIAS::Image< StorageType >::PrintPointer(), BIAS::SphericalUndistortion::ProjectCutOut(), BIAS::SphericalUndistortion::ProjectCutOut1(), BIAS::SphericalUndistortion::ProjectCutOut2(), BIAS::Image< StorageType >::Reciprocal(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBAToRGB_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::MySampleGrabberCB::SampleCB(), BIAS::PMDImageIO::Save(), BIAS::Image< StorageType >::ScaleShift(), BIAS::Image< StorageType >::ScaleShiftChannel(), ShiftAndMark(), BIAS::ImageCanvas::Show(), BIAS::GuiGTK::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::VideoStream::SplitIntoFiles(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), BIAS::ImageConvert::YUV422ToRGB_(), BIAS::GLProjectionParametersBase::ZBufferToDepthMap_(), and BIAS::MySampleGrabberCB::~MySampleGrabberCB().
| StorageType** BIAS::Image< StorageType >::GetImageDataArray | ( | ) | [inline] |
| const StorageType** BIAS::Image< StorageType >::GetImageDataArray | ( | ) | const [inline] |
overloaded GetImageDataArray() from ImageBase
Reimplemented from BIAS::ImageBase.
Definition at line 152 of file Image.hh.
Referenced by BIAS::Bilateral< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_RefineCornerPosition(), BIAS::Image< StorageType >::AbsDiff(), BIAS::ImageBlender::AddCamera(), BIAS::Histogram::AddHist(), BIAS::ThreeDOut::AddImage(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::Image< StorageType >::BicubicInterpolation(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::TrackerBaseInterface< StorageType >::BilinearRegionFromImages_(), BIAS::Image< StorageType >::BinaryThreshold(), BIAS::ImageBlender::BlendImages(), BIAS::JointHistogram< StorageType >::CalcRenyiEntropy(), BIAS::JointHistogram< StorageType >::CalcShannonEntropy(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::CalculateGradients_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::FFT2D_free< StorageType >::ComplexColumnToWorkArray1_(), BIAS::FFT2D_free< StorageType >::ComplexRowToWorkArray0_(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), ConicGetNextPoint(), BIAS::VideoSource_usbPMD::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), 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::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::SphericalUndistortion::CorrectVignette(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), createst(), BIAS::DataPlot::DataPlot(), deflate_JPEG_file(), BIAS::PMDImageProc::DeleteHighVarianceValues(), demo(), BIAS::VideoSource_usbPMD::DepthImageFloatFromDouble_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::DetectFromCornerness(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::Disp2Depth(), BIAS::DistImgMatAcc< StorageType >::DistImgMatAcc(), BIAS::ProjectionParametersPerspectiveDepth::DistortIntensityDepthIP(), BIAS::CylindricDepthTrackingPanorama::doPanorama(), BIAS::CylindricDepthTrackingPanorama::doTrack(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Conic2D::Draw(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::CondensImg::EvaluateObservationDensities(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3SameGreyFloat(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Grey(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_Binomial3x3(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_ByMask(), BIAS::TrackerBaseInterface< StorageType >::FilterLowpass_BySeparableMask(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::MixtureOfGaussians< StorageType >::GetDifferenceImageWithVisuals(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::CylindricDepthTrackingPanorama::GetPanorama(), BIAS::CondensHisto::GetSamplePositions(), BIAS::ColorSegmentation::GetSatImage(), BIAS::BlobDetectorLevelSet< StorageType >::GetSegmentation(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::ProjectionMapping< InputStorageType, OutputStorageType >::GetSourceCoordinates_(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MixtureOfGaussians< StorageType >::GetWeightImage(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::VideoSource_usbPMD::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), BIAS::MixtureOfGaussians< StorageType >::Init_(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageDraw< StorageType >::InterpolatedLineGrey(), BIAS::ImageDraw< StorageType >::Line(), BIAS::ImageDraw< StorageType >::LineGrey(), main(), BIAS::DistTransform< InputStorageType, OutputStorageType >::MakeDistanceImage_(), BIAS::TriangleMesh::MakeTriangles_(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), mysobel(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::JointHistogram< StorageType >::Normalize_(), BIAS::JointHistogram< StorageType >::NormalizeParzen_(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::UnVignette::PrepareLuImage_(), BIAS::Image< StorageType >::PrintPointer(), BIAS::Label::Process(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::CorrespondenceMap< StorageType >::Read(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::ImageDraw< StorageType >::RectangleCornersGreyFill(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreySameFloat_(), BIAS::CornerMatcher::SSD(), TestInit(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), BIAS::TrackerBaseAffine< StorageType >::TrackAffine_(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::GLProjectionParametersBase::TranslateDepthToZ(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), BIAS::GLProjectionParametersBase::TranslateZToMetricZ(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortIntensityDepthIP(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL1(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL2(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenMax(), BIAS::FFT2D_free< StorageType >::WorkArray0ToComplexRow_(), and BIAS::FFT2D_free< StorageType >::WorkArray1ToComplexColumn_().
| StorageType BIAS::Image< StorageType >::GetMaxPixelValue | ( | unsigned short int | channel = 0, |
|
| unsigned int * | coo = NULL | |||
| ) | const [inline] |
Get the maximal pixel value if coo!=NULL the coo[0]=x of max and coo[1]=y of max.
Definition at line 824 of file Image.cpp.
References BIAS::Image< StorageType >::GetMinMaxPixelValue(), max, min, and StorageType.
Referenced by main().
| void BIAS::Image< StorageType >::GetMeanPixelValue | ( | StorageType | mean[] | ) | [inline] |
Definition at line 511 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), p, step(), and StorageType.
Referenced by BIAS::VideoSource::SoftwareWhiteBalance().
| const MetaData* BIAS::ImageBase::GetMetaData | ( | ) | const [inline, inherited] |
Definition at line 441 of file ImageBase.hh.
| MetaData* BIAS::ImageBase::GetMetaData | ( | ) | [inline, inherited] |
Definition at line 434 of file ImageBase.hh.
Referenced by BIAS::ImagePackage::AddImage(), BIAS::OpenEXRInterface::Export(), BIAS::IOUtils::GetProjection(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportMagickPP(), BIAS::IOUtils::LoadFloat(), LoadImage(), main(), BiasShowEpiApp::OnInit(), and BIAS::ImageIO::WriteUnbuffered().
| void BIAS::Image< StorageType >::GetMinMaxPixelValue | ( | StorageType & | min, | |
| StorageType & | max, | |||
| unsigned short int | channel = 0, |
|||
| unsigned int * | mincoo = NULL, |
|||
| unsigned int * | maxcoo = NULL | |||
| ) | const [inline] |
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.
| min | The variable where to store the minimun value | |
| max | The 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 ) |
Definition at line 632 of file Image.cpp.
References BIASASSERT, BIASCDOUT, BIASERR, 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_DepthAndVariance, BIAS::ImageBase::CM_Disparity, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, D_IMAGE_MINMAXCOO, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ROI::GetCorners(), BIAS::Image< StorageType >::GetImageData(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsInterleaved(), step(), and StorageType.
Referenced by BIAS::Histogram::AddHist(), BIAS::Image< StorageType >::CalcScaleShift(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::DetermineThresholds_(), BIAS::Image< StorageType >::GetMaxPixelValue(), BIAS::Image< StorageType >::GetMinPixelValue(), main(), mainloop(), BIAS::MainFrame::OnImageValues(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), Scale(), and BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma().
| bool BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange | ( | StorageType & | min, | |
| StorageType & | max, | |||
| const StorageType | ignoreStart = 0, |
|||
| const StorageType | ignoreEnd = 0, |
|||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
Get both, minimal and maximal pixel value --actual implementation only for planar images--.
| min | The variable where to store the minimun value | |
| min | The variable where to store the maximum value | |
| ignoreStart,ignoreEnd | define the range of values to be ignored | |
| channel | to be searched fro multi-channel images |
Definition at line 559 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), and StorageType.
| StorageType BIAS::Image< StorageType >::GetMinPixelValue | ( | unsigned short int | channel = 0, |
|
| unsigned int * | coo = NULL | |||
| ) | const [inline] |
Get the minimal pixel value if coo!=NULL the coo[0]=x of min and coo[1]=y of min.
Definition at line 806 of file Image.cpp.
References BIAS::Image< StorageType >::GetMinMaxPixelValue(), max, min, and StorageType.
| unsigned long int BIAS::ImageBase::GetPixelCount | ( | ) | const [inline, inherited] |
returns number of pixels in image
Definition at line 400 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AboveThresholdToValue(), BIAS::Histogram::AddHist(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::Image< StorageType >::AppendChannel(), BIAS::Image< StorageType >::BelowThresholdToValue(), BIAS::ImageConvert::BGRAToRGB_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BGRToRGB_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::Image< StorageType >::Binarise(), BIAS::Image< StorageType >::Binarize(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::ConvertST(), BIAS::ImageBase::CopyIn_NoInit(), BIAS::Histogram::DeleteHist_(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::DetermineThresholds_(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), Draw(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::ImageIO::ExportDevIL(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Image< StorageType >::FillImageWithConstValue(), 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_(), Get8bitsfrom16(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::VideoSource_PMD::GrabSingle(), BIAS::ImageConvert::GreyToRGB_(), BIAS::ImageIO::ImportDevIL(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_(), main(), mytoplanar(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Image< StorageType >::PrintData(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::SphericalUndistortion::ProjectCutOut(), BIAS::SphericalUndistortion::ProjectCutOut1(), BIAS::SphericalUndistortion::ProjectCutOut2(), BIAS::Image< StorageType >::Reciprocal(), BIAS::ImageConvert::RGBAToRGB_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::Image< StorageType >::ScaleShift(), BIAS::Image< StorageType >::ScaleShiftChannel(), ShiftAndMark(), 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 StorageType & BIAS::Image< StorageType >::GetPixelNearestNeighbor | ( | const float | x, | |
| const float | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
| const StorageType & BIAS::Image< StorageType >::GetPixelNearestNeighbor | ( | const double | x, | |
| const double | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
| unsigned int BIAS::ImageBase::GetPixelPosition | ( | unsigned int | x, | |
| unsigned int | y, | |||
| unsigned short int | channel = 0 | |||
| ) | const [inline, inherited] |
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 1178 of file ImageBase.hh.
| void ImageBase::GetROI | ( | int & | UpperLeftX, | |
| int & | UpperLeftY, | |||
| int & | LowerRightX, | |||
| int & | LowerRightY | |||
| ) | const [inherited] |
deprecated, use GetROICorners()
Definition at line 964 of file ImageBase.cpp.
References BIAS::ImageBase::GetROICorners().
| void ImageBase::GetROI | ( | unsigned int & | UpperLeftX, | |
| unsigned int & | UpperLeftY, | |||
| unsigned int & | LowerRightX, | |||
| unsigned int & | LowerRightY | |||
| ) | const [inherited] |
deprecated, use GetROICorners()
Definition at line 952 of file ImageBase.cpp.
References BIAS::ImageBase::GetROICorners().
| const ROI* BIAS::ImageBase::GetROI | ( | ) | const [inline, inherited] |
Definition at line 599 of file ImageBase.hh.
| ROI* BIAS::ImageBase::GetROI | ( | ) | [inline, inherited] |
Returns a pointer to the roi object.
Definition at line 593 of file ImageBase.hh.
Referenced by BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Histogram::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::CornerDetectorGradient< StorageType, CalculationType >::DetectFromCornerness(), 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::Image< StorageType >::FillImageWithConstValue(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::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 >::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::Image< StorageType >::GetMeanPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetROILowerRightX(), BIAS::ImageBase::GetROILowerRightY(), BIAS::ImageBase::GetROIUpperLeftX(), BIAS::ImageBase::GetROIUpperLeftY(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::Label::LabelInit_(), main(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::ImageConvertThreaded::MergeImage_(), mysobel(), mysobel2(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageCanvas::PaintRoiOnDc_(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::ImageBase::PrintROI(), BIAS::Label::Process(), BIAS::Image< StorageType >::Reciprocal(), BIAS::Image< StorageType >::Release(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::PyramidImage< StorageType >::SetROI(), BIAS::ImageBase::SetROI(), BIAS::ImageBase::SetROICorners(), BIAS::ImageCanvas::Show(), 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::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().
| void ImageBase::GetROICorners | ( | int & | UpperLeftX, | |
| int & | UpperLeftY, | |||
| int & | LowerRightX, | |||
| int & | LowerRightY | |||
| ) | const [inherited] |
access region of interest rectangle JW
Definition at line 969 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
| void ImageBase::GetROICorners | ( | unsigned int & | UpperLeftX, | |
| unsigned int & | UpperLeftY, | |||
| unsigned int & | LowerRightX, | |||
| unsigned int & | LowerRightY | |||
| ) | const [inherited] |
access region of interest rectangle JW
Definition at line 957 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
Referenced by BIAS::Image< StorageType >::AbsDiff(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ClipBoundingBoxToROICorners_(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::CylindricDepthTrackingPanorama::doPanorama(), BIAS::CylindricDepthTrackingPanorama::doTrack(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), BIAS::ImageBase::GetROI(), BIAS::Image< StorageType >::operator*=(), BIAS::Image< StorageType >::operator+=(), BIAS::Image< StorageType >::operator-=(), BIAS::Image< StorageType >::operator/=(), and BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::TestBorderHandling_().
| const unsigned int ImageBase::GetROILowerRightX | ( | ) | const [inherited] |
deprecated, use GetROI()->GetCorners()
Definition at line 996 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
Referenced by BIAS::Image< StorageType >::BinaryThreshold(), and BIAS::HaveImagesMatchingROI().
| const unsigned int ImageBase::GetROILowerRightY | ( | ) | const [inherited] |
deprecated, use GetROI()->GetCorners()
Definition at line 1003 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
Referenced by BIAS::Image< StorageType >::BinaryThreshold(), and BIAS::HaveImagesMatchingROI().
| const unsigned int ImageBase::GetROIUpperLeftX | ( | ) | const [inherited] |
deprecated, use GetROI()->GetCorners()
Definition at line 982 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
Referenced by BIAS::Image< StorageType >::BinaryThreshold(), and BIAS::HaveImagesMatchingROI().
| const unsigned int ImageBase::GetROIUpperLeftY | ( | ) | const [inherited] |
deprecated, use GetROI()->GetCorners()
Definition at line 989 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and BIAS::ImageBase::GetROI().
Referenced by BIAS::Image< StorageType >::BinaryThreshold(), and BIAS::HaveImagesMatchingROI().
| unsigned int BIAS::ImageBase::GetSize | ( | ) | const [inline, inherited] |
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 339 of file ImageBase.hh.
Referenced by BIAS::VideoSource_DCAM::GrabSingle().
| int ImageBase::GetSizeByte | ( | const enum BIAS::ImageBase::EStorageType & | storagetype | ) | [static, inherited] |
get the size in Byte of the type corresponding to a storagetype uses sizeof(type) internally.
Useful for allocation calculations.
Definition at line 1187 of file ImageBase.cpp.
References BIASBREAK, BIASERR, 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.
| unsigned int BIAS::ImageBase::GetSizeByte | ( | ) | const [inline, inherited] |
returns the nr.
of image data Bytes - NOT the dimension
Definition at line 330 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::MySampleGrabberCB::BufferCB(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageBase::FormatMatch(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ImageBase::GetStorageSizeByte(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageBase::Init(), BIAS::ImageConvert::Ipl2BIAS(), main(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::MySampleGrabberCB::SampleCB(), BIAS::GuiGTK::ShowConvertedImage_(), and BIAS::DrawTextWx< StorageType >::Text().
| int ImageBase::GetSizeUnits | ( | const enum BIAS::ImageBase::EColorModel & | colormodel | ) | [static, inherited] |
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!
Definition at line 1219 of file ImageBase.cpp.
References BIASERR, BIASWARN, 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.
| int ImageBase::GetStorageSizeByte | ( | const unsigned int & | width, | |
| const unsigned int & | height, | |||
| const unsigned int | nChannels, | |||
| const enum EStorageType | storageType | |||
| ) | [static, inherited] |
computes the storage data size in Byte required for a given video format.
Definition at line 114 of file ImageBase.cpp.
References BIAS::ImageBase::GetSizeByte().
Referenced by BIAS::ImageBase::ReInit().
| enum EStorageType BIAS::ImageBase::GetStorageType | ( | ) | const [inline, inherited] |
Definition at line 392 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::MainFrame::_GetMetaData(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::DeMosaicing< StorageType >::DeMosaic(), 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::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::DistTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< 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::GuiEnhanced::GetZoomImage(), BIAS::VideoSource_Net::GrabSingle(), BIAS::CheckerBoardExtractFrame::HandleImage(), BIAS::Image< StorageType >::Image(), BIAS::ImageIO::ImportMagickPP(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageBase::Init(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::VideoSource::InitImage(), BIAS::IOUtils::LoadFloat(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), main(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::ScaledImageCanvas::OnAutoScaleOffset(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::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(), Scale(), BIAS::ImageBase::SetChannel(), BIAS::ROI::SetMaskImage(), BIAS::ImageBase::SetValue(), ShiftAndMark(), BIAS::BVWXMainFrame::ShowHistogramm(), BIAS::MainFrame::ShowHistogramm(), BIAS::GuiBase::ShowImage(), 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::glfTexture2D::UploadImage(), BIAS::glfCubeMap::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), and WriteMatlab().
| const BIAS::UUID& BIAS::ImageBase::GetUID | ( | ) | const [inline, inherited] |
returns the UUID of the image
Definition at line 427 of file ImageBase.hh.
Referenced by BIAS::ImageBlender::AddCamera(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_DiskZessPMD::GrabSingle(), BIAS::VideoSource_DiskPMD::GrabSingle(), BIAS::VideoSource_DcamPMD::GrabSingle(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), main(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::VideoStream::SplitIntoFiles(), and BIAS::ImageIO::WriteUnbuffered().
| castType BIAS::ImageBase::GetValue | ( | const ImageBase & | im, | |
| const unsigned int | x, | |||
| const unsigned int | y, | |||
| const unsigned int | channel | |||
| ) | [inline, inherited] |
Definition at line 193 of file ImageBaseInline.hh.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::IsInterleaved(), p, 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.
| castType BIAS::ImageBase::GetValue | ( | const ImageBase & | im, | |
| const unsigned int | x, | |||
| const unsigned int | y, | |||
| const unsigned int | channel = 0 | |||
| ) | [inline, static, inherited] |
Determines the internale ImageBase type and casts it to the output type.
Definition at line 1273 of file ImageBase.hh.
| int BIAS::ImageBase::GetVersionNumber | ( | ) | const [inline, inherited] |
Definition at line 455 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), and BIAS::operator<<().
| unsigned int BIAS::ImageBase::GetWidth | ( | ) | const [inline, inherited] |
Definition at line 290 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AbsDiff(), BIAS::ImageBlender::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::Histogram::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::FilterDialogPreviewWindow< StorageType >::AdjustWindowDimension(), BIAS::GuiGTK::AllocateBuffer_(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), ApplyHalfingBayerConversion(), BIAS::ImageDraw< StorageType >::Arrow(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::JointHistogram< StorageType >::CalcRenyiEntropy(), BIAS::JointHistogram< StorageType >::CalcShannonEntropy(), 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(), castchar(), castfloat(), 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::UnVignette::Compute(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), ConicShadePixel(), BIAS::WrapBias2Ipl::Consistent(), BIAS::VideoSource_usbPMD::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::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::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::SphericalUndistortion::CorrectVignette(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), createst(), createst2(), BIAS::ColorHarris::CreateSTColor(), cut(), BIAS::ImageBase::Cut2ROI(), BIAS::DataPlot::DataPlot(), deflate_JPEG_file(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), demo(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::VideoSource_usbPMD::DepthImageFloatFromDouble_(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::BlobDetectorBFS< 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::DistortIntensityDepthIP(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::Histogram2D::Draw(), BIAS::Histogram::Draw(), BIAS::Conic2D::Draw(), BIAS::ImageCanvasCheckerboardExtract::DrawCheckerboardCorners_(), DrawConic(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::Histogram::DrawLog(), 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::CondensHisto::EvaluateFromIntegralHistoImage_(), BIAS::CondensImg::EvaluateObservationDensities(), BIAS::CondensHisto::EvaluateObservationDensities(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Image< StorageType >::FillImageWithConstValue(), BIAS::Image< StorageType >::FillImageWithXValue(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::Filter9x9Grey(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), 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::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::BVWXMainFrame::FitSizetIfTooSmall(), BIAS::MainFrame::FitSizetIfTooSmall(), 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::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::Image< StorageType >::GetMeanPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::ColorSegmentation::GetSatImage(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::GetSourceCoordinates_(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::VideoSource_usbPMD::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageBase::IsPowerOfTwoSize(), BIAS::Label::Label4Neighbour_(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), 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 >::MapDirectAgain(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::Image< StorageType >::MaskValues(), mirror(), BIAS::GuiGTK::MouseMotionCallback_(), mysobel(), mysobel2(), mytoplanar(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::JointHistogram< StorageType >::Normalize_(), BIAS::JointHistogram< StorageType >::NormalizeParzen_(), BIAS::FitCircleFrame::OnDump(), BIAS::MainFrame::OnMouseEnteringToolbar(), BIAS::MainFrame::OnMouseLeavingToolbar(), BIAS::ImageCanvas::OnMouseMove(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::VideoSource_Net::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator*=(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator+=(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator-=(), BIAS::Image< StorageType >::operator/(), BIAS::Image< StorageType >::operator/=(), BIAS::ImageBase::operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageBase::Pad(), BIAS::ImageCanvas::PaintRoiOnDc_(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), BIAS::Camera< StorageType >::ParseMetaData(), BIAS::ImageBase::Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::ImageBase::PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::UnVignette::PrepareLuImage_(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::Label::Process(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::Image< StorageType >::Reciprocal(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), 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::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::ImageBase::SetChannel(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), BIAS::ImageBase::SetOutsideROIZero(), ShiftAndMark(), BIAS::ImageCanvas::Show(), BIAS::GuiCV::ShowConvertedImage_(), CutoutFrame::ShowImage(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::TriangleMesh::SimplyfyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), BIAS::ImageBase::StealImage(), BIAS::GuiGTK::TestImage_(), 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::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortIntensityDepthIP(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::UpdatePyramidSize(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture2D::UploadImage(), BIAS::glfCubeMap::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_(), WriteMatlab(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
| unsigned int BIAS::ImageBase::GetWidthStep | ( | ) | const [inline, inherited] |
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 378 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::Histogram2D::Draw(), BIAS::Histogram::Draw(), BIAS::Histogram2D::DrawLog(), BIAS::Histogram::DrawLog(), BIAS::ImageBase::FormatMatch(), BIAS::ImageBase::SetOutsideROIZero(), BIAS::ImageBase::StealImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2().
| void BIAS::Image< StorageType >::Init | ( | unsigned int | Width, | |
| unsigned int | Height, | |||
| unsigned int | channels = 1, |
|||
| enum EStorageType | storageType = ST_unsignedchar, |
|||
| const bool | interleaved = true | |||
| ) | [inline] |
calls Init from ImageBase storageType is ignored, just dummy argument
Reimplemented from BIAS::ImageBase.
Definition at line 374 of file Image.cpp.
References BIAS::ImageBase::Init(), and BIAS::ImageBase::StorageType_.
Referenced by BIAS::StructureTensor< InputStorageType, OutputStorageType >::_AllocInternalMem(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_AllocInternalMem(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GenSynthMatches::_Draw(), BIAS::Image< StorageType >::AbsDiff(), BIAS::ImageBlender::AddCamera(), BIAS::ThreeDOut::AddImage(), ApplyHalfingBayerConversion(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Bilateral(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::CalculateGradients_(), castchar(), castfloat(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::StereoRedGreen::Combine(), BIAS::JointHistogram< StorageType >::Compute(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::VideoSource_usbPMD::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), createst(), createst2(), BIAS::ColorHarris::CreateSTColor(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), cut(), BIAS::CylindricDepthTrackingPanorama::CylindricDepthTrackingPanorama(), deflate_JPEG_file(), BIAS::VideoSource_usbPMD::DepthImageFloatFromDouble_(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::Disp2Depth(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::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::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::ImageConvert::GetChannel(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::ColorHarris::HarrisValue(), BIAS::VideoSource_usbPMD::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), BIAS::CylindricDepthPanorama::Init(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::Label::LabelInit_(), BIAS::IOUtils::LoadFloat(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), BIAS::Image< StorageType >::MaskValues(), mirror(), BIAS::MySampleGrabberCB::MySampleGrabberCB(), mytoplanar(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::VideoSource_usbPMD::OpenDevice(), BIAS::VideoSource_SwissRanger::OpenDevice(), BIAS::VideoSource_DcamPMD::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), BIAS::Image< StorageType >::operator|(), BIAS::OpenSceneGraphHelper::OSGimageToBIASimage(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::GraphPlotter::Prepare_(), BIAS::UnVignette::PrepareLuImage_(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), BIAS::CorrespondenceMap< StorageType >::Read(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::Bilateral< InputStorageType, OutputStorageType >::SetSize(), BIAS::ImageCanvas::Show(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::SphericalDepthPanorama::SphericalDepthPanorama(), BIAS::VideoStream::SplitIntoFiles(), 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::TrackerBaseAffine2< StorageType >::TrackAffine_(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::Image< StorageType >::Transpose(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
| int BIAS::Image< StorageType >::InitWithForeignData | ( | unsigned int | width, | |
| unsigned int | height, | |||
| unsigned int | channels, | |||
| void * | data, | |||
| const bool | interleaved = true | |||
| ) | [inline] |
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
Definition at line 1350 of file Image.cpp.
References BIAS::ImageBase::Init(), BIAS::ImageBase::RedirectImageDataPointer(), BIAS::ImageBase::ReleaseImageDataPointer(), and BIAS::ImageBase::StorageType_.
Referenced by main(), and BIAS::PMDImageIO::PostprocessData_().
| double BIAS::Image< StorageType >::InterpolationGrey | ( | const double | x, | |
| const double | y | |||
| ) | const [inline] |
| void BIAS::ImageBase::InvalidateUID | ( | ) | [inline, inherited] |
sets the image's uid to invalid
Definition at line 575 of file ImageBase.hh.
References BIAS::UUID::Invalidate().
Referenced by BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_Shm::GrabSingle(), BIAS::VideoSource_DV2::GrabSingle(), BIAS::VideoSource_DV::GrabSingle(), and BIAS::VideoSource_DCAM::GrabSingle().
| bool BIAS::ImageBase::IsEmpty | ( | ) | const [inline, inherited] |
check if ImageData_ points to allocated image buffer or not
Definition at line 226 of file ImageBase.hh.
Referenced by BIAS::StructureTensor< InputStorageType, OutputStorageType >::_AllocInternalMem(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_DeleteInternalMem(), BIAS::GenSynthMatches::_Draw(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::Image< StorageType >::AbsDiff(), BIAS::Histogram::AddHist(), BIAS::ThreeDOut::AddImage(), BIAS::Image< StorageType >::AppendChannel(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StereoRedGreen::Combine(), BIAS::JointHistogram< StorageType >::Compute(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::VideoSource_usbPMD::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), deflate_JPEG_file(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::VideoSource_usbPMD::DepthImageFloatFromDouble_(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::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::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::Image< StorageType >::GetMinMaxPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::ColorSegmentation::GetSatImage(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingleAsSmallRGB(), BIAS::ColorHarris::HarrisValue(), BIAS::VideoSource_usbPMD::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPP(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), BIAS::ImageBase::Init(), BIAS::VideoSource_usbPMD::Init2DImage(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_usbPMD::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ImageConvert::Ipl2BIAS(), main(), mainloop(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), mirror(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::PMDImageIO::PostprocessData_(), BIAS::GraphPlotter::Prepare_(), BIAS::SphericalUndistortion::ProjectCutOut(), BIAS::SphericalUndistortion::ProjectCutOut1(), BIAS::SphericalUndistortion::ProjectCutOut2(), BIAS::SphericalUndistortion::ProjectImageCylindric(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), BIAS::CorrespondenceMap< StorageType >::Read(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::Image< StorageType >::Reciprocal(), BIAS::ImageBase::ReInit(), BIAS::ImageBase::Release(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::ImageConvert::RGBToHSV_(), BIAS::PMDImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraA(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraB(), 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_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), and BIAS::GraphPlotter::~GraphPlotter().
| const bool BIAS::ImageBase::IsInROI | ( | const double & | x, | |
| const double & | y | |||
| ) | const [inline, inherited] |
Definition at line 679 of file ImageBase.hh.
| bool BIAS::ImageBase::IsInterleaved | ( | ) | const [inline, inherited] |
Definition at line 469 of file ImageBase.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::Image< StorageType >::BilinearInterpolation(), 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::GuiCV::CreateIplImageShared(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Image< StorageType >::FillImageWithConstValue(), 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 >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::ImageBase::GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::Image< StorageType >::GetMeanPixelValue(), BIAS::Image< StorageType >::GetMinMaxPixelValue(), BIAS::ImageBase::GetValue(), main(), mysobel(), mytoplanar(), 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(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().
| bool BIAS::ImageBase::IsPlanar | ( | ) | const [inline, inherited] |
Definition at line 462 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::MainFrame::AddInfo(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::Image< StorageType >::BilinearInterpolation(), BIAS::ImageConvert::Convert(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::FromInterleaved(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::Image< StorageType >::GetMinMaxPixelValueIgnoreRange(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), main(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), mysobel2(), BIAS::FilterDialogMedian< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogGradientSobel3x3< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogCannyEdge< InputST, OutputST >::OnFilterButton(), BIAS::ImageBase::operator=(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::Image< StorageType >::ScaleShiftChannel(), 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 BIAS::ImageBase::IsPositionInImage | ( | const int & | x, | |
| const int & | y | |||
| ) | const [inline, inherited] |
check if image contains that pixel position
Definition at line 1189 of file ImageBase.hh.
Referenced by BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::LocalAffineFrame::Draw(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::EpipolarLine::DrawWhole(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), and BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain().
| bool ImageBase::IsPowerOfTwoSize | ( | const unsigned int | w, | |
| const unsigned int | h | |||
| ) | [static, inherited] |
Definition at line 840 of file ImageBase.cpp.
| bool ImageBase::IsPowerOfTwoSize | ( | ) | const [inherited] |
Definition at line 830 of file ImageBase.cpp.
References BIAS::ImageBase::GetHeight(), and BIAS::ImageBase::GetWidth().
Referenced by BIAS::ImgObjGL::CreateGLCubemap(), BIAS::ImgObjGL::CreateGLCubemapEmpty(), BIAS::ImgObjGL::CreateGLTexture(), and BIAS::ImageCanvasGLBase::ValidTexobj().
| double BIAS::Image< StorageType >::LinearInterpolation | ( | const double | x, | |
| const unsigned int | y | |||
| ) | const [inline] |
| double BIAS::Image< StorageType >::LinearInterpolation | ( | const unsigned int | x, | |
| const double | y | |||
| ) | const [inline] |
| void BIAS::Image< StorageType >::MaskValues | ( | StorageType | Threshold, | |
| Image< unsigned char > & | binaryImage | |||
| ) | [inline] |
Definition at line 1081 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::SetPixel(), and StorageType.
| double BIAS::Image< double >::MaxSTValue | ( | ) | [inline] |
| unsigned int BIAS::Image< unsigned int >::MaxSTValue | ( | ) | [inline] |
| int BIAS::Image< int >::MaxSTValue | ( | ) | [inline] |
| unsigned short BIAS::Image< unsigned short >::MaxSTValue | ( | ) | [inline] |
| short BIAS::Image< short >::MaxSTValue | ( | ) | [inline] |
| char BIAS::Image< char >::MaxSTValue | ( | ) | [inline] |
| float BIAS::Image< float >::MaxSTValue | ( | ) | [inline] |
| unsigned char BIAS::Image< unsigned char >::MaxSTValue | ( | ) | [inline] |
| StorageType BIAS::Image< StorageType >::MaxSTValue | ( | ) | [inline] |
returns the maximal possible StorageType
This file defines programs for BIAS to disable some warning on WIN32 /W4 pedantic compilation mode.
Definition at line 1023 of file Image.hh.
Referenced by BIAS::Image< StorageType >::Binarise(), BIAS::Image< StorageType >::Binarize(), and Scale().
| float BIAS::Image< float >::MinSTValue | ( | ) | [inline] |
| unsigned char BIAS::Image< unsigned char >::MinSTValue | ( | ) | [inline] |
| double BIAS::Image< double >::MinSTValue | ( | ) | [inline] |
| unsigned int BIAS::Image< unsigned int >::MinSTValue | ( | ) | [inline] |
| int BIAS::Image< int >::MinSTValue | ( | ) | [inline] |
| unsigned short BIAS::Image< unsigned short >::MinSTValue | ( | ) | [inline] |
| short BIAS::Image< short >::MinSTValue | ( | ) | [inline] |
| char BIAS::Image< char >::MinSTValue | ( | ) | [inline] |
| StorageType BIAS::Image< StorageType >::MinSTValue | ( | ) | [inline] |
returns the minimal possible StorageType
Definition at line 1072 of file Image.hh.
Referenced by BIAS::Image< StorageType >::Binarise(), BIAS::Image< StorageType >::Binarize(), and Scale().
| int BIAS::ImageBase::Mirror | ( | ) | [inline, inherited] |
| int BIAS::ImageBase::MoveToClosestPositionInImage | ( | int & | x, | |
| int & | y | |||
| ) | const [inline, inherited] |
find closest valid pixel position to x,y
Definition at line 1193 of file ImageBase.hh.
| long int BIAS::Debug::Name2DebugLevel | ( | const std::string & | name | ) | const [inline, inherited] |
| long int BIAS::Debug::NewDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
creates a new debuglevel
Definition at line 475 of file Debug.hh.
References ABORT, it, and res.
Referenced by BIAS::Condensation::Condensation(), BIAS::Histogram::Histogram(), BIAS::MonteCarloTransform::MonteCarloTransform(), myclass::myclass(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSAC< SolutionType >::RANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
| bool BIAS::ImageBase::NotBiggerPixelAndSameChannelCount | ( | const ImageBase & | Image | ) | const [inline, inherited] |
checks if data area has bigger or the same "size" as Image of other type
Definition at line 1157 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), and BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts().
| Image< StorageType > BIAS::Image< StorageType >::operator* | ( | const Image< StorageType > & | argimage | ) | [inline] |
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.
Definition at line 484 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< StorageType > BIAS::Image< StorageType >::operator* | ( | const StorageType & | argimage | ) | [inline] |
Operator * for scalar value, returning a new image.
Binary operator * operating on pixel values with a scalar, returning a new image.
Definition at line 393 of file Operators.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), and GRAYTEST.
| Image< StorageType > & BIAS::Image< StorageType >::operator*= | ( | const Image< StorageType > & | argimage | ) | [inline] |
Operator *= for another image as argument.
Operator *= operating on pixel values with pixel values of another image.
Definition at line 291 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator*= | ( | const StorageType & | argimage | ) | [inline] |
Operator *= for scalar value.
Operator *= with scalar on pixel values of an image.
Definition at line 177 of file Operators.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > BIAS::Image< StorageType >::operator+ | ( | const Image< StorageType > & | argimage | ) | [inline] |
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.
Definition at line 437 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< StorageType > BIAS::Image< StorageType >::operator+ | ( | const StorageType & | argimage | ) | [inline] |
Operator + for scalar value, returning a new image.
Binary operator + operating on pixel values with a scalar, returning a new image.
Definition at line 351 of file Operators.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::Image< StorageType >::Init(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator+= | ( | const Image< StorageType > & | argimage | ) | [inline] |
Operator += for another image as argument.
Operator += operating on pixel values with pixel values of another image.
Definition at line 241 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator+= | ( | const StorageType & | argimage | ) | [inline] |
Operator += for scalar value.
Operator += with scalar on pixel values of an image.
Definition at line 124 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > BIAS::Image< StorageType >::operator- | ( | const Image< StorageType > & | argimage | ) | [inline] |
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.
Definition at line 461 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< StorageType > BIAS::Image< StorageType >::operator- | ( | const StorageType & | argimage | ) | [inline] |
Operator - for scalar value, returning a new image.
Binary operator - operating on pixel values with a scalar, returning a new image.
Definition at line 375 of file Operators.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), and GRAYTEST.
| Image< StorageType > & BIAS::Image< StorageType >::operator-= | ( | const Image< StorageType > & | argimage | ) | [inline] |
Operator -= for another image as argument.
Operator -= operating on pixel values with pixel values of another image.
Definition at line 266 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator-= | ( | const StorageType & | argimage | ) | [inline] |
Operator -= for scalar value.
Operator -= with scalar on pixel values of an image.
Definition at line 153 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > BIAS::Image< StorageType >::operator/ | ( | const Image< StorageType > & | argimage | ) | [inline] |
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.
Definition at line 508 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< StorageType > BIAS::Image< StorageType >::operator/ | ( | const StorageType & | argimage | ) | [inline] |
Operator / for scalar value, returning a new image.
Binary operator / operating on pixel values with a scalar, returning a new image.
Definition at line 411 of file Operators.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, and BIAS::Image< StorageType >::Init().
| Image< StorageType > & BIAS::Image< StorageType >::operator/= | ( | const Image< StorageType > & | argimage | ) | [inline] |
Operator /= for another image as argument.
Operator /= operating on pixel values with pixel values of another image.
Definition at line 315 of file Operators.cpp.
References BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), GRAYTEST, p, step(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator/= | ( | const StorageType & | argimage | ) | [inline] |
Operator /= for scalar value.
Operator /= with scalar on pixel values of an image.
Definition at line 203 of file Operators.cpp.
References BIASABORT, BIASERR, BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetROICorners(), BIAS::ImageBase::GetWidth(), p, step(), and StorageType.
| Image< StorageType > & BIAS::Image< StorageType >::operator= | ( | const ImageBase & | Source | ) | [inline] |
copies ImageBase to an desired Image<>, be careful with this, because u can do something like: Image<char> = Image<float>, what usualluy not makes sense
Reimplemented from BIAS::ImageBase.
Definition at line 41 of file Operators.cpp.
References BIAS::Debug::_liDebugLevel, BIASERR, BIASGDOUT, BIAS::ImageConvert::ConvertST(), D_IMAGE_TRACE, BIAS::Debug::GetDebugLevel(), BIAS::ImageBase::GetStorageType(), PRINTTYPE, and StorageType.
| bool BIAS::ImageBase::operator== | ( | const ImageBase & | img | ) | const [inline, inherited] |
comparison operator, based upon the adresses of the actual image data
Definition at line 716 of file ImageBase.hh.
References BIAS::ImageBase::GetImageData().
| Image< unsigned char > & BIAS::Image< unsigned char >::operator| | ( | const Image< unsigned char > & | argimage | ) | [inline] |
Definition at line 566 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< short int > & BIAS::Image< short int >::operator| | ( | const Image< short int > & | argimage | ) | [inline] |
Definition at line 539 of file Operators.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), GRAYTEST, BIAS::HaveImagesMatchingROI(), and BIAS::Image< StorageType >::Init().
| Image< StorageType > & BIAS::Image< StorageType >::operator| | ( | const Image< StorageType > & | argimage | ) | [inline] |
logical Operator || operating pixel values with pixel values of another image, returning a new image
Definition at line 532 of file Operators.cpp.
References BIASERR.
| int ImageBase::Pad | ( | const unsigned int & | newwidth, | |
| const unsigned int & | newheight, | |||
| const int & | padVal = 0 | |||
| ) | [inherited] |
Definition at line 1072 of file ImageBase.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), img, and BIAS::ImageBase::Pad().
| int ImageBase::Pad | ( | BIAS::ImageBase & | dest, | |
| const unsigned int & | newwidth, | |||
| const unsigned int & | newheight, | |||
| const int & | padVal = 0 | |||
| ) | const [inherited] |
Definition at line 1097 of file ImageBase.cpp.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetBitDepth(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::IsInterleaved(), BIAS::ImageBase::SetBitDepth(), and BIAS::ImageBase::SetColorModel().
Referenced by main(), BIAS::ImageBase::Pad(), BIAS::ImageBase::PadToPowerOfTwo(), BIAS::glfTexture2D::UploadImage(), BIAS::glfCubeMap::UploadImage(), and BIAS::ImageBase::ZeroPad().
| int ImageBase::PadToPowerOfTwo | ( | const int & | padVal = 0 |
) | [inherited] |
in place version of the above
Definition at line 1021 of file ImageBase.cpp.
References img, BIAS::ImageBase::PadToPowerOfTwo(), and BIAS::ImageBase::PowerOfTwoSize().
| 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
| padVal | used by memset to pad the right and lower added pixels No scale, just padding!
orig xx
xxxxxxx
|
Definition at line 1044 of file ImageBase.cpp.
References BIASASSERT, BIASERR, 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(), and BIAS::SceneBGImage::SetImage().
| 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
Definition at line 1172 of file ImageBase.cpp.
References BIASERR, BIAS::ImageBase::Flip(), and BIAS::ImageBase::PadToPowerOfTwo().
Referenced by BIAS::ImgObjGL::CreateGLTexture().
| int ImageBase::Paste2ROI | ( | const ImageBase & | Image | ) | [inherited] |
Definition at line 509 of file ImageBase.cpp.
References BIASABORT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetROI(), and BIAS::ImageBase::GetWidth().
Referenced by BIAS::Label::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::Label::Label4Neighbour(), main(), and BIAS::ImageConvertThreaded::MergeImage_().
| StorageType BIAS::Image< StorageType >::PixelValue | ( | const unsigned int | x, | |
| const unsigned int | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | const [inline] |
Returns value of pixel at specific position, using specific channel as offset.
Definition at line 1087 of file Image.hh.
Referenced by BIAS::RegionMatcher::AD(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::PMDImageProc::CalcSigmaDepth(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Color(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::ImageConvert::LUVToXYZ(), main(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageBase::PrintPixelValue(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::Image< StorageType >::Transpose(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
| void * ImageBase::PixelValueBase | ( | unsigned | x, | |
| unsigned | y, | |||
| unsigned | channel = 0 | |||
| ) | [inherited] |
Definition at line 909 of file ImageBase.cpp.
References BIASERR, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::Depth_, BIAS::ImageBase::Height_, BIAS::ImageBase::ImageData_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
| StorageType BIAS::Image< StorageType >::PixelValueInterleaved | ( | const int | x, | |
| const int | y, | |||
| const int | channel = 0 | |||
| ) | const [inline] |
| StorageType & BIAS::Image< StorageType >::PixelValueRefInterleaved | ( | const int | x, | |
| const int | y, | |||
| const int | channel = 0 | |||
| ) | [inline] |
return pixel value at specified position as reference for read+write access.
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. Intentionalyy NOT const and reference return instead of value. Assume interleaved (color) images of typically 3/4 channels (RGB/RGBA). No error checking!
| bool ImageBase::PowerOfTwoSize | ( | unsigned int & | width2, | |
| unsigned int & | height2 | |||
| ) | const [inherited] |
Definition at line 851 of file ImageBase.cpp.
References BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), and BIAS::ImageBase::PowerOfTwoSize().
| unsigned int ImageBase::PowerOfTwoSize | ( | const unsigned int & | val | ) | [static, inherited] |
Definition at line 861 of file ImageBase.cpp.
References res.
Referenced by BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GeometryGL::GetImgCorner2d(), BIAS::ImageBase::PadToPowerOfTwo(), and BIAS::ImageBase::PowerOfTwoSize().
| std::ostream & BIAS::Image< StorageType >::PrintData | ( | std::ostream & | os | ) | const [inline] |
writes data of IplImage_ to os (ascii)
Definition at line 393 of file Image.cpp.
References BIASASSERT, BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::ImageData_, and StorageType.
| void BIAS::Debug::PrintDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| void BIAS::ImageBase::PrintHeader | ( | std::ostream & | os = std::cout |
) | const [inherited] |
Referenced by BIAS::ImageIO::ImportMagickPP(), and main().
| void BIAS::ImageBase::PrintPixelValue | ( | const ImageBase & | im, | |
| const unsigned int | x, | |||
| const unsigned int | y, | |||
| const unsigned short | channel = 0, |
|||
| std::ostream & | os = std::cout | |||
| ) | [static, inherited] |
Definition at line 1797 of file ImageBase.cpp.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetStorageType(), p, 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< StorageType >::PrintPointer | ( | std::ostream & | os | ) | const [inline] |
writes pointer of IplImage_ to os (ascii)
Definition at line 383 of file Image.cpp.
References BIASASSERT, BIAS::Image< StorageType >::GetImageData(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::ImageData_, and BIAS::ImageBase::ImageDataArray_.
| void ImageBase::PrintROI | ( | std::ostream & | os = std::cout |
) | const [inherited] |
deprecated, use 'os << *GetROI()'
Definition at line 977 of file ImageBase.cpp.
References BIAS::ImageBase::GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
| Image< float > BIAS::Image< StorageType >::Reciprocal | ( | const float | factor = 1.0, |
|
| const unsigned short int | channel = 0 | |||
| ) | [inline] |
Jan Woetzel 01/2003.
Definition at line 1304 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsEmpty(), res, and StorageType.
This method takes data and set the internal image data pointer to this.
You should really know what you are doing using this method. Don't say you haven't been warned.
Definition at line 837 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Cut2ROI(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::Image< StorageType >::InitWithForeignData(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
| 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] |
(Re-)Initialize Image data if required.
Contains logic to re-allocate only if required. Keep existing data area if data layout fits. The idea is to reuse a previously initialized image with no need to check it has been initialized exactly once.
Definition at line 130 of file ImageBase.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageSizeByte(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::Init(), BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsInterleaved(), BIAS::ImageBase::Release(), BIAS::ImageBase::SetColorModel(), BIAS::ImageBase::SetInterleaved(), and BIAS::ImageBase::SetStorageType().
Referenced by BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::MixtureOfGaussians< StorageType >::GetWeightImage(), and BIAS::MixtureOfGaussians< StorageType >::Init_().
| void BIAS::Image< StorageType >::Release | ( | ) | [inline] |
reimplemented from ImageBase
Reimplemented from BIAS::ImageBase.
Definition at line 1284 of file Image.cpp.
References BIAS::ImageBase::_MetaData, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::ColorModel_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetROI(), BIAS::ImageBase::Height_, BIAS::ImageBase::ImageData_, BIAS::ImageBase::ImageDataArray_, BIAS::ROI::Release(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::StructureTensor< InputStorageType, OutputStorageType >::_AllocInternalMem(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_DeleteInternalMem(), BIAS::GenSynthMatches::_Draw(), BIAS::Image< StorageType >::AbsDiff(), BIAS::ThreeDOut::AddImage(), ApplyHalfingBayerConversion(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StereoRedGreen::Combine(), BIAS::JointHistogram< StorageType >::Compute(), ComputeCutoutImage(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), createst(), createst2(), BIAS::ColorHarris::CreateSTColor(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), deflate_JPEG_file(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), 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::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::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::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::GetChannel(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::GuiEnhanced::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_Shm::GrabSingle(), BIAS::ColorHarris::HarrisValue(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::Label::LabelRelease_(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), mirror(), BIAS::MySampleGrabberCB::MySampleGrabberCB(), mytoplanar(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::PMDImageIO::PostprocessData_(), BIAS::GraphPlotter::Prepare_(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), BIAS::CorrespondenceMap< StorageType >::Read(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::Segment(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::GraphPlotter::~GraphPlotter(), and BIAS::MySampleGrabberCB::~MySampleGrabberCB().
| void BIAS::ImageBase::ReleaseImageDataPointer | ( | ) | [inline, inherited] |
Releases ImageData_ (to be used together with RedirectImageDataPointer).
Definition at line 1169 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Cut2ROI(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::Image< StorageType >::InitWithForeignData(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
| void BIAS::Debug::RemoveDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::RemoveDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
| bool BIAS::ImageBase::SamePixelAndChannelCount | ( | const ImageBase & | Image | ) | const [inline, inherited] |
checks if data area has same "size" as Image of other type
Definition at line 1152 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AbsDiff(), 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(), createst(), createst2(), 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::Label::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< 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 >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), 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(), main(), mytoplanar(), BIAS::ImageBase::operator=(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::Label::Process(), 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< StorageType >::ScaleShift | ( | double | Scale, | |
| double | Shift | |||
| ) | [inline] |
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.
Definition at line 900 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), and StorageType.
Referenced by Draw(), main(), BIAS::Image< StorageType >::ScaleShiftBetween(), and BIAS::ScaledImageCanvas::UpdateScaleOffset().
| int BIAS::Image< StorageType >::ScaleShiftBetween | ( | double | Min, | |
| double | Max | |||
| ) | [inline] |
scales and shifts image so afterwards every pixel has a value between Min and Max
scales and shifts every channel with same factor
Definition at line 954 of file Image.cpp.
References BIASERR, BIAS::Image< StorageType >::CalcScaleShift(), res, Scale(), and BIAS::Image< StorageType >::ScaleShift().
Referenced by BIAS::GuiBase::ConvertToUC_(), BIAS::SphericalDepthPanorama::GetPanorama(), BIAS::CylindricDepthPanorama::GetPanorama(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::VideoSource_PMD::GrabSingle(), BIAS::ShowCamWxFrame::InitCameras(), main(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), Scale(), and BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma().
| int BIAS::Image< StorageType >::ScaleShiftChannel | ( | double | Scale, | |
| double | Shift, | |||
| unsigned int | channel | |||
| ) | [inline] |
similiar to ScaleShift, but only scales and shifts one image channel
Definition at line 915 of file Image.cpp.
References BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::Image< StorageType >::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::IsPlanar(), and StorageType.
| void BIAS::ImageBase::SetBitDepth | ( | unsigned | bitdepth | ) | [inline, inherited] |
needed by ImageIO
Definition at line 559 of file ImageBase.hh.
References BIASASSERT.
Referenced by BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::ImageIO::ImportMagickPP(), and BIAS::ImageBase::Pad().
| void BIAS::ImageBase::SetChannel | ( | const BIAS::ImageBase & | im, | |
| const unsigned int | channelId, | |||
| const inputType * | channelIn | |||
| ) | [inline, inherited] |
Definition at line 339 of file ImageBaseInline.hh.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::IsInterleaved(), p, 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.
| void BIAS::ImageBase::SetChannel | ( | const ImageBase & | im, | |
| const unsigned int | channelId, | |||
| const inputType * | channelIn | |||
| ) | [inline, static, inherited] |
Copy channel, determines the internal ImageBase type and casts the input type to the type foreseen in im.
Definition at line 1419 of file ImageBase.hh.
Referenced by BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), and BIAS::OpenEXRInterface::Import().
| void BIAS::ImageBase::SetColorModel | ( | EColorModel | Model | ) | [inline, inherited] |
Definition at line 539 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), createst(), createst2(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::DeMosaicing< StorageType >::DeMosaic(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::DistortPerspImage(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::GetCopyOfROI(), BIAS::ImageBase::GetCopyOfROI2(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ColorHarris::HarrisValue(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageBase::Init(), BIAS::VideoSource_usbPMD::Init2DImage(), BIAS::ShowCamWxFrame::InitCameras(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_usbPMD::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::LUVToXYZ(), main(), mainloop(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::MapPerspToSphere(), mytoplanar(), MyApp::OnInit(), BIAS::VideoSource_usbPMD::OpenDevice(), BIAS::VideoSource_SwissRanger::OpenDevice(), BIAS::VideoSource_DcamPMD::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::ImageBase::Pad(), BIAS::PMDImageIO::PostprocessData_(), BIAS::UndistortionMapping< InputStorageType, OutputStorageType >::ProjectSphereImage(), 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::UndistortionMapping< InputStorageType, OutputStorageType >::UndistortPerspImage(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
| void BIAS::Debug::SetDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::SetDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 319 of file Debug.hh.
Referenced by BIAS::Interpolator::Interpolator(), main(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::MDcam::SetDebugLevelDcam(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
| void BIAS::Debug::SetDebugStream | ( | const std::ostream & | os | ) | [inline, inherited] |
| static void BIAS::Debug::SetGlobalDebugLevel | ( | long int | lev | ) | [inline, static, inherited] |
| void BIAS::ImageBase::SetInterleaved | ( | bool | interleaved | ) | [inline, inherited] |
Definition at line 546 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::StereoRedGreen::Combine(), BIAS::ImageBase::ReInit(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToPlanarRGB_(), and BIAS::ImageConvert::ToPlanarYUYV422_().
Definition at line 448 of file ImageBase.hh.
Referenced by deflate_JPEG_file(), BIAS::IOUtils::LoadFloat(), LoadImage(), main(), and BiasShowEpiApp::OnInit().
| void ImageBase::SetOutsideROIZero | ( | ) | [inherited] |
sets all pixel not in ROI to zero
Definition at line 575 of file ImageBase.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ROI::GetCorners(), BIAS::ImageBase::GetDepth(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetROI(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::GetWidthStep(), BIAS::ROI::IsInROI(), and BIAS::ROI_Corners.
Referenced by main().
| void BIAS::Image< StorageType >::SetPixel | ( | const StorageType & | value0, | |
| const StorageType & | value1, | |||
| const StorageType & | value2, | |||
| const unsigned int & | x, | |||
| const unsigned int & | y | |||
| ) | [inline] |
| void BIAS::Image< StorageType >::SetPixel | ( | const StorageType & | value, | |
| const unsigned int & | x, | |||
| const unsigned int & | y, | |||
| const unsigned short int | channel = 0 | |||
| ) | [inline] |
set the value of a given pixel (x,y) in channel to value.
Definition at line 1165 of file Image.hh.
Referenced by BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::ImageBlender::BlendImages(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Color(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::ColorSegmentation::GetSatImage(), BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_(), BIAS::ImageConvert::LUVToXYZ(), main(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::Image< StorageType >::Transpose(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
| int ImageBase::SetROI | ( | const ROI | roi | ) | [inherited] |
| int ImageBase::SetROI | ( | unsigned int | UpperLeftX, | |
| unsigned int | UpperLeftY, | |||
| unsigned int | LowerRightX, | |||
| unsigned int | LowerRightY | |||
| ) | [inherited] |
deprecated, use SetROICorners()
JW: there's no reason to drop this interface - be API backward compatible!
Definition at line 923 of file ImageBase.cpp.
References BIAS::ImageBase::SetROICorners().
Referenced by BIAS::ThreeDOut::AddImage(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), main(), mysobel(), mysobel2(), BIAS::ExampleMixtureOfGaussiansFrame::OnTimer(), ShiftAndMark(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::ImageConvert::ToGrey(), and BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma().
| int ImageBase::SetROICorners | ( | unsigned int | UpperLeftX, | |
| unsigned int | UpperLeftY, | |||
| unsigned int | LowerRightX, | |||
| unsigned int | LowerRightY | |||
| ) | [inherited] |
Definition at line 938 of file ImageBase.cpp.
References BIAS::ImageBase::GetROI(), and BIAS::ROI::SetCorners().
Referenced by BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ShowCamWxFrame::InitCameras(), main(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::ImageBase::SetROI(), and BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::TestBorderHandling_().
| void BIAS::ImageBase::SetStorageType | ( | const EStorageType | st | ) | [inline, protected, inherited] |
changes StorageType data mmeber
Definition at line 1026 of file ImageBase.hh.
Referenced by BIAS::ImageBase::ReInit().
| void BIAS::ImageBase::SetUID | ( | const BIAS::UUID & | id | ) | [inline, inherited] |
Definition at line 567 of file ImageBase.hh.
Referenced by BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::VideoSource_uEye::GrabSingle(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_Shm::GrabSingle(), BIAS::VideoSource_DSHOW::GrabSingle(), BIAS::VideoSource_DiskZessPMD::GrabSingle(), BIAS::VideoSource_DiskPMD::GrabSingle(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_DcamPMD::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), main(), BIAS::VideoServer::ProcessOneImage(), BIAS::VideoStream::SplitIntoFiles(), and BIAS::ImageIO::WriteUnbuffered().
| void BIAS::ImageBase::SetValue | ( | const ImageBase & | im, | |
| const unsigned int | x, | |||
| const unsigned int | y, | |||
| const unsigned int | channel, | |||
| const inputType | val | |||
| ) | [inline, inherited] |
Definition at line 265 of file ImageBaseInline.hh.
References BIASASSERT, BIASERR, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetImageDataArray(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::IsInterleaved(), p, 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.
| void BIAS::ImageBase::SetValue | ( | const ImageBase & | im, | |
| const unsigned int | x, | |||
| const unsigned int | y, | |||
| const unsigned int | channel, | |||
| const inputType | val | |||
| ) | [inline, static, inherited] |
Determines the internal ImageBase type and casts the input type to the type foreseen in im.
Definition at line 1345 of file ImageBase.hh.
| void BIAS::ImageBase::SetZero | ( | ) | [inline, inherited] |
zeroes the image
Definition at line 1162 of file ImageBase.hh.
Referenced by BIAS::ImageAlignment::Align(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::Disp2Depth(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::VideoSource_usbPMD::ImageUcharFromDouble_(), BIAS::VideoSource_usbPMD::ImageUcharFromShort_(), main(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), and BIAS::TrackerBaseAffine< StorageType >::TrackAffine_().
| void BIAS::Debug::ShowDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| 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
Definition at line 301 of file ImageBase.cpp.
References BIAS::ImageBase::_MetaData, BIASERR, BIAS::ImageBase::BitDepth_, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::ColorModel_, copy, 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::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::MainFrame::LoadImageFromList(), main(), BIAS::ColorSegmentationThreaded::Segment(), ShiftAndMark(), BIAS::GuiBase::ShowImage(), and BIAS::ImageConvert::ToGrey().
| void BIAS::ImageBase::StringToColorModel | ( | const std::string & | str, | |
| ImageBase::EColorModel & | cm | |||
| ) | [static, inherited] |
Definition at line 1485 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_Depth, BIAS::ImageBase::CM_DepthAndVariance, BIAS::ImageBase::CM_Disparity, BIAS::ImageBase::CM_DV, BIAS::ImageBase::CM_Grey, BIAS::ImageBase::CM_GreyA, BIAS::ImageBase::CM_HSI_OBS, BIAS::ImageBase::CM_HSL, BIAS::ImageBase::CM_hsL, BIAS::ImageBase::CM_HSV, BIAS::ImageBase::CM_invalid, BIAS::ImageBase::CM_LAB, BIAS::ImageBase::CM_LUV, BIAS::ImageBase::CM_PGR_XB3_F7M3_GBRG, BIAS::ImageBase::CM_RGB, BIAS::ImageBase::CM_RGBA, BIAS::ImageBase::CM_RGBE, BIAS::ImageBase::CM_SymTensor2x2, BIAS::ImageBase::CM_UYVY422, BIAS::ImageBase::CM_XYZ, BIAS::ImageBase::CM_YUV411, BIAS::ImageBase::CM_YUV420P, BIAS::ImageBase::CM_YUV444, BIAS::ImageBase::CM_YUYV, and BIAS::ImageBase::CM_YUYV422.
Referenced by BIAS::OpenEXRInterface::Import().
| void BIAS::ImageBase::StringToStorageType | ( | const std::string & | str, | |
| ImageBase::EStorageType & | st | |||
| ) | [static, inherited] |
Definition at line 1522 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.
| void BIAS::ImageBase::TextureToBIASCoordinates | ( | const double & | gl_x, | |
| const double & | gl_y, | |||
| double & | biasx, | |||
| double & | biasy | |||
| ) | const [inline, inherited] |
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));
Definition at line 1247 of file ImageBase.hh.
Referenced by main().
| int BIAS::Image< StorageType >::Transpose | ( | BIAS::Image< StorageType > & | result | ) | [inline] |
Definition at line 969 of file Image.cpp.
References BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), BIAS::Image< StorageType >::PixelValue(), BIAS::Image< StorageType >::SetPixel(), and StorageType.
| void ImageBase::UnsetROI | ( | ) | [inherited] |
deprecated, use GetROI()->UnsetROI()
Definition at line 947 of file ImageBase.cpp.
References BIAS::ImageBase::GetROI(), and BIAS::ROI::UnsetROI().
Referenced by BIAS::ImageBase::Cut2ROI(), BIAS::Gauss< InputStorageType, OutputStorageType >::FilterGrey(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), and BIAS::ExampleMixtureOfGaussiansFrame::OnTimer().
| int ImageBase::UpdateImageDataArrayFromImageData_ | ( | ) | [protected, inherited] |
recomputes pointer array returned by GetImageDataArray
Definition at line 227 of file ImageBase.cpp.
References BIASABORT, BIASASSERT, BIASERR, BIAS::ImageBase::ChannelCount_, BIAS::ImageBase::Depth_, BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetImageData(), BIAS::ImageBase::GetPixelCount(), BIAS::ImageBase::GetWidth(), BIAS::ImageBase::ImageDataArray_, BIAS::ImageBase::InterleavedDataOrder_, BIAS::ImageBase::IsEmpty(), BIAS::ImageBase::IsPlanar(), BIAS::ImageBase::Width_, and BIAS::ImageBase::WidthStep_.
Referenced by BIAS::ImageConvert::GetChannel(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageBase::Init(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageBase::operator=(), BIAS::operator>>(), and BIAS::ImageConvert::ToGrey().
| int ImageBase::ZeroPad | ( | const unsigned int | newwidth, | |
| const unsigned int | newheight, | |||
| unsigned char | bgcolor = 0 | |||
| ) | [inherited] |
backward compatibility interface for Pad.
DEPRECATED
Definition at line 1012 of file ImageBase.cpp.
References BIAS::ImageBase::Pad().
Referenced by BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs().
| BIASImageBase_EXPORT std::ostream& operator<< | ( | std::ostream & | os, | |
| const ImageBase & | img | |||
| ) | [friend, inherited] |
Definition at line 1367 of file ImageBase.cpp.
| BIASImageBase_EXPORT std::istream& operator>> | ( | std::istream & | is, | |
| ImageBase & | img | |||
| ) | [friend, inherited] |
Definition at line 1537 of file ImageBase.cpp.
long int BIAS::Debug::_liDebugLevel [protected, inherited] |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), and BIAS::Debug::operator=().
long int BIAS::Debug::_liNextDebugLevel [protected, inherited] |
new concept, debuglevel are managed here in the debug class
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
MetaData BIAS::ImageBase::_MetaData [protected, inherited] |
additional data block, handled by derived classes
Definition at line 1064 of file ImageBase.hh.
Referenced by BIAS::ImageBase::ImageBase(), BIAS::ImageBase::operator=(), BIAS::Camera< StorageType >::ParseMetaData(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), BIAS::ImageBase::StealImage(), and BIAS::Camera< StorageType >::UpdateMetaData().
std::map<std::string, long int> BIAS::Debug::_String2Debuglevel [protected, inherited] |
BIAS::UUID BIAS::ImageBase::_UID [protected, inherited] |
unique id for every image
Definition at line 1062 of file ImageBase.hh.
Referenced by BIAS::ImageBase::ImageBase(), BIAS::operator<<(), BIAS::ImageBase::operator=(), and BIAS::operator>>().
std::ostream BIAS::Debug::_zDebugStream [static, protected, inherited] |
Definition at line 512 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), and BIAS::Debug::operator=().
unsigned int BIAS::ImageBase::BitDepth_ [protected, inherited] |
relevant bits per pixel per channel
Definition at line 1046 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::Image(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), and BIAS::ImageBase::StealImage().
unsigned int BIAS::ImageBase::ChannelCount_ [protected, inherited] |
number of channels per pixel
Definition at line 1042 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::Image< StorageType >::BicubicInterpolation(), BIAS::ImageBase::Cut2ROI(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::PixelValueBase(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
enum EColorModel BIAS::ImageBase::ColorModel_ [protected, inherited] |
the color model of the pixels
Definition at line 1038 of file ImageBase.hh.
Referenced by BIAS::Histogram::Histogram(), BIAS::ImageBase::ImageBase(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), BIAS::ImageBase::StealImage(), and BIAS::ImageConvert::YUV422ToRGB_().
unsigned int BIAS::ImageBase::Depth_ [protected, inherited] |
size of one channel of one pixel in bytes
Definition at line 1044 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Cut2ROI(), BIAS::ImageConvert::GetChannel(), BIAS::Image< StorageType >::Image(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::PixelValueBase(), BIAS::ImageBase::Release(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToGrey(), and BIAS::ImageBase::UpdateImageDataArrayFromImageData_().
long int BIAS::Debug::GlobalDebugLevel = 0 [static, protected, inherited] |
unsigned int BIAS::ImageBase::Height_ [protected, inherited] |
image height in pixels
Definition at line 1050 of file ImageBase.hh.
Referenced by BIAS::ImageBase::Cut2ROI(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::ImageBase::PixelValueBase(), BIAS::ImageBase::Release(), BIAS::Image< StorageType >::Release(), and BIAS::ImageBase::StealImage().
void* BIAS::ImageBase::ImageData_ [protected, inherited] |
a pointer to the image data
Definition at line 1060 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::operator>>(), BIAS::ImageBase::PixelValueBase(), BIAS::Image< StorageType >::PrintData(), BIAS::Image< StorageType >::PrintPointer(), BIAS::ImageBase::Release(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::StealImage(), and BIAS::ImageBase::~ImageBase().
void** BIAS::ImageBase::ImageDataArray_ [protected, inherited] |
array of pointers to the first byte in an image row
Definition at line 1058 of file ImageBase.hh.
Referenced by BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageBase::ImageBase(), BIAS::Image< StorageType >::PrintPointer(), BIAS::ImageBase::Release(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::StealImage(), BIAS::ImageBase::UpdateImageDataArrayFromImageData_(), and BIAS::ImageBase::~ImageBase().
bool BIAS::ImageBase::InterleavedDataOrder_ [protected, inherited] |
planar or interleaved: planar means we have several image planes, e.g.
for a 3x3 RGB image data is RRRRRRRRRGGGGGGGGGGBBBBBBBB while interleaved means RGBRGBRGBRGBRGBRGBRGBRGBRGB
Definition at line 1054 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Flip(), BIAS::ImageBase::FlipHorizontal(), BIAS::Histogram::Histogram(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::PixelValueBase(), BIAS::ImageBase::StealImage(), and BIAS::ImageBase::UpdateImageDataArrayFromImageData_().
ROI BIAS::ImageBase::Roi_ [protected, inherited] |
roi object
Definition at line 1066 of file ImageBase.hh.
Referenced by BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Release(), and BIAS::ImageBase::StealImage().
enum EStorageType BIAS::ImageBase::StorageType_ [protected, inherited] |
the storage type in a pixel channel
Definition at line 1040 of file ImageBase.hh.
Referenced by BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::Image< StorageType >::Image(), BIAS::ImageBase::ImageBase(), BIAS::Image< StorageType >::Init(), BIAS::ImageBase::Init(), BIAS::Image< StorageType >::InitWithForeignData(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::ImageBase::Release(), and BIAS::ImageBase::StealImage().
const int BIAS::ImageBase::Version_ = VERSION_NUMBER [static, protected, inherited] |
unsigned int BIAS::ImageBase::Width_ [protected, inherited] |
image width in pixels
Definition at line 1048 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Cut2ROI(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::ImageBase::PixelValueBase(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToGrey(), and BIAS::ImageBase::UpdateImageDataArrayFromImageData_().
unsigned int BIAS::ImageBase::WidthStep_ [protected, inherited] |
size of a line in bytes for interleaved, NOT nr . of pixels (but size a line in one plane for planar)
Definition at line 1056 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageBase::Cut2ROI(), BIAS::ImageBase::FlipHorizontal(), BIAS::ImageConvert::GetChannel(), BIAS::ImageBase::ImageBase(), BIAS::ImageBase::Init(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), BIAS::ImageBase::operator=(), BIAS::operator>>(), BIAS::ImageBase::PixelValueBase(), BIAS::Image< StorageType >::Release(), BIAS::ImageBase::Release(), BIAS::ImageBase::StealImage(), BIAS::ImageConvert::ToGrey(), and BIAS::ImageBase::UpdateImageDataArrayFromImageData_().
1.5.6