Basic Image AlgorithmS Library
2.8.0
|
This is the base class for images in BIAS. More...
#include <Base/Image/ImageBase.hh>
Public Types | |
enum | EColorModel { CM_invalid = -1, CM_Grey, CM_RGB, CM_BGR, CM_YUYV422, CM_UYVY422, CM_YUV420P, CM_YUV444, CM_YUV411, CM_HSV, CM_HSI_OBS, CM_DV, CM_RGBA, CM_GreyA, CM_Bayer_RGGB, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_BGGR, CM_HSL, CM_hsL, CM_SymTensor2x2, CM_BGRA, CM_RGBE, CM_PGR_XB3_F7M3_GBRG, CM_DepthAndVariance, CM_YUYV, CM_LUV, CM_XYZ, CM_LAB, CM_Disparity, CM_Depth, CM_I1I2I3, CM_DOES_NOT_EXIST } |
These are the most often used color models. More... | |
enum | EStorageType { ST_invalid = -1, ST_unsignedchar, ST_char, ST_unsignedshortint, ST_shortint, ST_unsignedint, ST_int, ST_float, ST_double } |
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
virtual ImageBase * | Clone () const |
virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, ...). More... | |
void | CopyIn_NoInit (void *data) |
Take some data and fill it into the Image. More... | |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
template<class outputType > | |
void | GetChannel (const BIAS::ImageBase &im, const unsigned int channelId, outputType *channelOut) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
template<class castType > | |
castType | GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel) |
ImageBase () | |
ImageBase (const ImageBase &im) | |
ImageBase (unsigned int width, unsigned int height, unsigned int channels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true) | |
Constructor, initializing image size and channels. More... | |
void | Init (unsigned int width, unsigned int height, unsigned int nChannels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true) |
Initialize image size and channels. More... | |
void | InitWithForeignData (unsigned int width, unsigned int height, unsigned int nChannels, void *data, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true, const bool shouldRelease=true) |
Initialize image size and channels using a foreign data pointer. More... | |
bool | IsEmpty () const |
check if ImageData_ points to allocated image buffer or not More... | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | ReInit (const unsigned int &width, const unsigned int &height, const unsigned int nChannels=1, const enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true, const EColorModel colormodel=CM_Grey) |
(Re-)Initialize Image data if required. More... | |
void | Release (const bool reset_storage_type=false) |
Free the allocated data structures Hands off: Do !!NOT!! change the default of reset_storage_type: ImageBase::Release() is also implicitly called for templated images when releasing the storage type here, it becomes possible to assign a float image to an unsigned char image via ImageBase: Image<float> f; Image<unsigned char> uc; ImageBase *ibf = dynamic_cast<ImageBase *>(f); ImageBase *ibuc = dynamic_cast<ImageBase *>(uc); (*ibf) = (*ibuc);. More... | |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
template<class inputType > | |
void | SetChannel (const BIAS::ImageBase &im, const unsigned int channelId, const inputType *channelIn) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
template<class inputType > | |
void | SetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel, const inputType val) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
int | StealImage (ImageBase &source) |
steals the image data array from source, after releasing the actual image data and sets source image data to NULL More... | |
virtual | ~ImageBase () |
Set functions | |
void | SetColorModel (EColorModel Model) |
void | SetInterleaved (bool interleaved) |
void | SetBitDepth (unsigned bitdepth) |
needed by ImageIO More... | |
void | SetUID (const BIAS::UUID &id) |
void | InvalidateUID () |
sets the image's uid to invalid More... | |
Region of Interest Functions | |
Important: the ROI has a size of (lrx-ulx)*(lry-uly) that means the lower right point is not part of the ROI! | |
ROI * | GetROI () |
Returns a pointer to the roi object. More... | |
const ROI * | GetROI () const |
int | SetROI (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY) |
deprecated, use SetROICorners() More... | |
int | SetROI (const ROI &roi) |
int | SetROICorners (unsigned int UpperLeftX, unsigned int UpperLeftY, unsigned int LowerRightX, unsigned int LowerRightY) |
void | UnsetROI () |
deprecated, use GetROI()->UnsetROI() More... | |
void | GetROI (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const |
deprecated, use GetROICorners() More... | |
void | GetROI (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const |
deprecated, use GetROICorners() More... | |
void | GetROICorners (unsigned int &UpperLeftX, unsigned int &UpperLeftY, unsigned int &LowerRightX, unsigned int &LowerRightY) const |
access region of interest rectangle JW More... | |
void | GetROICorners (int &UpperLeftX, int &UpperLeftY, int &LowerRightX, int &LowerRightY) const |
access region of interest rectangle JW More... | |
void | PrintROI (std::ostream &os=std::cout) const |
deprecated, use 'os << *GetROI()' More... | |
int | GetCopyOfROI (ImageBase ©) const |
returns a copy of ROI (a new image) lower right point excluded, only interleaved images ! More... | |
int | GetCopyOfROI2 (ImageBase ©) const |
like GetCopyOfROI, but with lower right point included only interleaved images ! More... | |
int | Paste2ROI (const ImageBase &Image) |
paste Image to current ROI More... | |
int | Cut2ROI () |
reduces image to current ROI, !!! image size changes !!! More... | |
void | SetOutsideROIZero () |
sets all pixel not in ROI to zero More... | |
const bool | IsInROI (const double &x, const double &y) const |
const unsigned int | GetROIUpperLeftX () const |
deprecated, use GetROI()->GetCorners() More... | |
const unsigned int | GetROIUpperLeftY () const |
deprecated, use GetROI()->GetCorners() More... | |
const unsigned int | GetROILowerRightX () const |
deprecated, use GetROI()->GetCorners() More... | |
const unsigned int | GetROILowerRightY () const |
deprecated, use GetROI()->GetCorners() More... | |
Operators | |
ImageBase & | operator= (const ImageBase &Source) |
assignment operator, allocates memory structure via Init only if necessary More... | |
bool | operator== (const ImageBase &img) const |
comparison operator, based upon the adresses of the actual image data More... | |
Padding and Appending | |
int | Flip () |
flips the image vertically (row order is inverted) In place function return 0 in case of success, -1 otherwise More... | |
int | FlipHorizontal () |
flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise More... | |
int | Mirror () |
interface for the above JW More... | |
int | Pad (BIAS::ImageBase &dest, const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0) const |
int | Pad (const unsigned int &newwidth, const unsigned int &newheight, const int &padVal=0) |
int | ZeroPad (const unsigned int newwidth, const unsigned int newheight, unsigned char bgcolor=0) |
backward compatibility interface for Pad. More... | |
int | PadToPowerOfTwo (BIAS::ImageBase &dest, const int &padVal=0) const |
increase the size of this image to next power of two (e.g. More... | |
int | PadToPowerOfTwo (const int &padVal=0) |
in place version of the above More... | |
int | PadToPowerOfTwoAndFlip (const int &padVal=0) |
first pad, then flip. More... | |
Static Public Member Functions | |
template<class outputType > | |
static void | GetChannel (const ImageBase &im, const unsigned int channelId, outputType *channelOut) |
Copy channel, determines the internal ImageBase type and casts it to the output type. More... | |
static void | GetChannel (const ImageBase &im, const unsigned int channelId, half *channelOut) |
static long int | GetGlobalDebugLevel () |
template<class castType > | |
static castType | GetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel=0) |
Determines the internale ImageBase type and casts it to the output type. More... | |
template<class inputType > | |
static void | SetChannel (const ImageBase &im, const unsigned int channelId, const inputType *channelIn) |
Copy channel, determines the internal ImageBase type and casts the input type to the type foreseen in im. More... | |
static void | SetGlobalDebugLevel (long int lev) |
template<class inputType > | |
static void | SetValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned int channel, const inputType val) |
Determines the internal ImageBase type and casts the input type to the type foreseen in im. More... | |
Protected Member Functions | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
void | SetStorageType (const EStorageType st) |
changes StorageType data mmeber More... | |
int | UpdateImageDataArrayFromImageData_ () |
recomputes pointer array returned by GetImageDataArray More... | |
Protected Attributes | |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
MetaData | _MetaData |
additional data block, handled by derived classes More... | |
std::map< std::string, long int > | _String2Debuglevel |
BIAS::UUID | _UID |
unique id for every image More... | |
unsigned int | BitDepth_ |
relevant bits per pixel per channel More... | |
unsigned int | ChannelCount_ |
number of channels per pixel More... | |
enum EColorModel | ColorModel_ |
the color model of the pixels More... | |
unsigned int | Depth_ |
size of one channel of one pixel in bytes More... | |
unsigned int | Height_ |
image height in pixels More... | |
void * | ImageData_ |
a pointer to the image data More... | |
void ** | ImageDataArray_ |
array of pointers to the first byte in an image row More... | |
bool | InterleavedDataOrder_ |
planar or interleaved: planar means we have several image planes, e.g. More... | |
ROI | Roi_ |
roi object More... | |
bool | shouldReleaseData_ |
shoud ImageBase release the data pointer? More... | |
enum EStorageType | StorageType_ |
the storage type in a pixel channel More... | |
unsigned int | Width_ |
image width in pixels More... | |
unsigned int | WidthStep_ |
size of a line in bytes for interleaved, NOT nr . of pixels (but size a line in one plane for planar) More... | |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
static const int | Version_ = VERSION_NUMBER |
version number of imagebase class More... | |
Friends | |
class | ImageConvert |
class | ImageIO |
class | WrapBias2Ipl |
Get functions | |
BIASImageBase_EXPORT std::ostream & | operator<< (std::ostream &os, const ImageBase &img) |
BIASImageBase_EXPORT std::istream & | operator>> (std::istream &is, ImageBase &img) |
const void * | GetImageData () const |
void * | GetImageData () |
void ** | GetImageDataArray () const |
Get an array of pointers to image data. More... | |
unsigned int | GetWidth () const |
unsigned int | GetHeight () const |
unsigned int | GetDepth () const |
returns the bytes per channel, which is the sizeof(StorageType) Should match GetSizeDepth(GetStorageType()). More... | |
unsigned int | GetByteDepth () const |
unsigned int | GetBitDepth () const |
returns the bits per channel Is not necessairily 8*sizeof(StorageType), could be fewer bits, eg. More... | |
unsigned int | GetSizeByte () const |
returns the nr. More... | |
unsigned int | GetSize () const |
returns the image size in bytes = count - NOT the dimension DEPRECATED Please use GetSizeByte instead to avoid storage type confusion on pointers and char/wideChar unicode More... | |
bool | DimensionMatch (const BIAS::ImageBase &other) const |
bool | FormatMatch (const BIAS::ImageBase &d) const |
unsigned int | GetChannelCount () const |
returns the number of Color channels, e.g. More... | |
unsigned int | GetWidthStep () const |
returns the number of bytes per line More... | |
enum EColorModel | GetColorModel () const |
enum EStorageType | GetStorageType () const |
unsigned long int | GetPixelCount () const |
returns number of pixels in image More... | |
unsigned int | GetPixelPosition (unsigned int x, unsigned int y, unsigned short int channel=0) const |
returns the Position (index from array start) in ImageData Warning: until 2005-01-04 the position inbyte was returned but used as position in <StorageType> (ImageDraw). More... | |
int | GetChannel (const ImageBase &source, const unsigned int channel) |
copies one specific channel from source to Image can only be called from an planar image, so call ToPlanar() before so far only implemented for CM_YUYV422, BGR and RGB More... | |
const BIAS::UUID & | GetUID () const |
returns the UUID of the image More... | |
MetaData * | GetMetaData () |
const MetaData * | GetMetaData () const |
void | SetMetaData (const MetaData &m) |
int | GetVersionNumber () const |
bool | IsPlanar () const |
bool | IsInterleaved () const |
static void | PrintPixelValue (const ImageBase &im, const unsigned int x, const unsigned int y, const unsigned short channel=0, std::ostream &os=std::cout) |
print the (typed) pixel value to stream. More... | |
Misc functions | |
bool | SamePixelAndChannelCount (const ImageBase &Image) const |
checks if data area has same "size" as Image of other type More... | |
bool | NotBiggerPixelAndSameChannelCount (const ImageBase &Image) const |
checks if data area has bigger or the same "size" as Image of other type More... | |
void | ReleaseImageDataPointer () |
Releases ImageData_ (to be used together with RedirectImageDataPointer) More... | |
void | RedirectImageDataPointer (void *data) |
This method takes data and set the internal image data pointer to this. More... | |
void | ClearDataPointer () |
set data pointer to NULL, such that image IsEmpty without deletion of data. More... | |
bool | IsPowerOfTwoSize () const |
bool | PowerOfTwoSize (unsigned int &width2, unsigned int &height2) const |
void * | PixelValueBase (unsigned x, unsigned y, unsigned channel=0) |
void | PrintHeader (std::ostream &os=std::cout) const |
void | SetZero () |
zeroes the image More... | |
bool | IsPositionInImage (const int &x, const int &y) const |
check if image contains that pixel position More... | |
int | MoveToClosestPositionInImage (int &x, int &y) const |
find closest valid pixel position to x,y More... | |
void | BIASToTextureCoordinates (const double &biasx, const double &biasy, double &gl_x, double &gl_y) const |
transfer BIAS image coordinates [0..w-1] x [0..h-1] to GL texture coordinates [0..1[ x [0..1[ More... | |
void | TextureToBIASCoordinates (const double &gl_x, const double &gl_y, double &biasx, double &biasy) const |
transfer GL texture coordinates [0..1[ x [0..1[ to BIAS image coordinates [0..w-1] x [0..h-1] More... | |
int | Display (const std::string &DestWin, const bool &autoresize, const bool &moveToTopLeft, const bool &waitForKey, const unsigned int &delayMsec=DEFAULT_Display_delay, const float &scale=DEFAULT_32to8_scale, const bool &allowAlphaWindow=false) const |
OpenCV onscreen popup display, very useful for fast debugging. (JW) More... | |
int | Display (const std::string &DestWin) const |
simpler interface for the above. More... | |
int | Display (const bool &waitForKey, const unsigned int &delayMsec, const float &scale) const |
interface for the above More... | |
int | Display () const |
display image simple signature interface for Debugger usage This function can be used to display an (intermediate) image "interactively" with the MS Visual Studio Debugger in "Watch+Debug" expert mode. More... | |
static bool | IsPowerOfTwoSize (const unsigned int w, const unsigned int h) |
static unsigned int | PowerOfTwoSize (const unsigned int &val) |
static int | GetSizeByte (const enum BIAS::ImageBase::EStorageType &storagetype) |
get the size in Byte of the type corresponding to a storagetype uses sizeof(type) internally. More... | |
static int | GetSizeUnits (const enum BIAS::ImageBase::EColorModel &colormodel) |
get the number of (packed) data values of color model E.g: CM_Grey : 1 CM_YUYV422 : 2 packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packed Bayer pattern CM_PGR_XB3_F7M3_GBRG : 3 packed three Bayer patterns w. More... | |
static int | GetChannelcount (const enum BIAS::ImageBase::EColorModel &colormodel) |
get the number of channels corresponding to the enum ColorModel Determines the number of (packed) data values. More... | |
static int | GetStorageSizeByte (const unsigned int &width, const unsigned int &height, const unsigned int nChannels, const enum EStorageType storageType) |
computes the storage data size in Byte required for a given video format. More... | |
static void | StringToColorModel (const std::string &str, ImageBase::EColorModel &cm) |
static void | StringToStorageType (const std::string &str, ImageBase::EStorageType &st) |
This is the base class for images in BIAS.
It is a non template class, so you can write image type independet functions. Use this class if you deal with different storage types or you don't know the storage type, eg. when loading an image from disk.
Definition at line 102 of file ImageBase.hh.
These are the most often used color models.
Determines the data storage size per channel per pixel.
Enumerator | |
---|---|
CM_invalid |
invalid (not set) image format |
CM_Grey |
gray values, 1 channel |
CM_RGB |
color values, 3 channels, order: red,green,blue |
CM_BGR |
color values, 3 channels, order: blue,green,red |
CM_YUYV422 |
YUYV422, 2 channels, full luminance Y, subsampled half U,V. |
CM_UYVY422 |
UYVY422, 2 channels, full luminance Y, subsampled half U,V inverse order. |
CM_YUV420P |
YUV420P, 2 channels, full luminance Y, 1 U, 1 V. Y, U and V are grouped together for better compression. |
CM_YUV444 |
CM_YUV444, 3 channels, all channels have full data. |
CM_YUV411 |
YUV411, 2 channles, full luminance, 1 U, 1 V. |
CM_HSV |
HSV, 3 channels, order: hue, sat , value. |
CM_HSI_OBS |
obsolete, HSI is unused and identical to HSL |
CM_DV |
DV, color model used for digital video cameras such as Mini-DV. |
CM_RGBA |
RGBA, 4 channels, order: red,green,blue,alpha. |
CM_GreyA |
GreyA, 2 channels, grey plus Alpha. |
CM_Bayer_RGGB |
Bayer_RGGB, 1 channel RGB image Bayer tile. |
CM_Bayer_GBRG |
Bayer_GBRG, 1 channel RGB image Bayer tile. |
CM_Bayer_GRBG |
Bayer_GRBG, 1 channel RGB image Bayer tile. |
CM_Bayer_BGGR |
Bayer_BGGR, 1 channel RGB image Bayer tile. |
CM_HSL |
HSL, similar to HSV but space is a double tipped cone. |
CM_hsL |
hsl, similar to HSL but euclidean (h,s) for CNCC |
CM_SymTensor2x2 |
SymTensor2x2 The image contains a 2x2 symmetric tensor. |
CM_BGRA |
BGRA color values, 4 channels, order: blue,green,red,alpha. |
CM_RGBE |
RGBE color values, 4 channels, RADIANCE hdr format, four low dynamic channels meaning: 3x mantissa (red,green,blue) +1x (exponent) |
CM_PGR_XB3_F7M3_GBRG |
PGR XB3 in format 7 mode 3 delivers an image that consists of 3 channels with 8bbp (overal 24bpp), each channel codes an whole color image in GBRG bayer pattern, ch0 = left image, ch1 = right image, ch3 = center image. |
CM_DepthAndVariance |
Todo: Unclear, I think one channel float, why isn't grey used for that? |
CM_YUYV |
Todo: Conflict with YUVU model, what does it do? |
CM_LUV |
CIELUV color space, 3 channels, http://en.wikipedia.org/wiki/CIELUV_color_space. |
CM_XYZ |
XYZ, 3 channels, http://en.wikipedia.org/wiki/Xyz_color_space. |
CM_LAB |
LAB, 3 channels, http://en.wikipedia.org/wiki/Lab_color_space. |
CM_Disparity |
Disparity images Q: should disp and depth be treated separately, if not what would be a good name to cover both? |
CM_Depth |
Depth images A: separated for now. |
CM_I1I2I3 |
Othe's principle component generalization for RGB based segmentation. |
CM_DOES_NOT_EXIST |
Definition at line 127 of file ImageBase.hh.
Definition at line 109 of file ImageBase.hh.
ImageBase::ImageBase | ( | ) |
Definition at line 56 of file ImageBase.cpp.
References _MetaData, _UID, BitDepth_, ChannelCount_, CM_invalid, ColorModel_, Depth_, Height_, ImageData_, ImageDataArray_, InterleavedDataOrder_, ST_invalid, StorageType_, BIAS::UUID, Width_, and WidthStep_.
Referenced by Pad(), and PadToPowerOfTwo().
|
virtual |
Definition at line 42 of file ImageBase.cpp.
ImageBase::ImageBase | ( | const ImageBase & | im | ) |
Definition at line 77 of file ImageBase.cpp.
References ChannelCount_, Height_, ImageData_, ImageDataArray_, ST_invalid, StorageType_, and Width_.
ImageBase::ImageBase | ( | unsigned int | width, |
unsigned int | height, | ||
unsigned int | channels = 1 , |
||
enum EStorageType | storageType = ST_unsignedchar , |
||
const bool | interleaved = true |
||
) |
Constructor, initializing image size and channels.
width | image width of the new image |
height | image height of the new image |
channels | number of color planes |
ImageBase im; im.init(width, height, 3);
Definition at line 93 of file ImageBase.cpp.
References CM_invalid, ColorModel_, ImageData_, ImageDataArray_, Init(), InterleavedDataOrder_, BIAS::ROI::Resize(), Roi_, and BIAS::ROI::UnsetROI().
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
inline |
transfer BIAS image coordinates [0..w-1] x [0..h-1] to GL texture coordinates [0..1[ x [0..1[
GL coordinates are relative to image size of *this (must be valid) !
Please note that this is only one of many possible bias to gl coord transformations which may be particularly different for pow2, non-pow2, rectangle, padded, scaled, bordered, offset etc. OpenGL textures.
BIASASSERT(Equal(biasx, biasx2)); BIASASSERT(Equal(biasy, biasy2));
Definition at line 141 of file ImageBase.hh.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap().
|
inline |
set data pointer to NULL, such that image IsEmpty without deletion of data.
Definition at line 871 of file ImageBase.hh.
|
inlinevirtual |
virtual covariant copy constructor which produces the same type of object as the template object (Image, Camera, ...).
Must be implemented in all derived classes and since some people do work with ImageBase objects, it is also implemented there. The caller is responsible to delete the clone.
Reimplemented in BIAS::Image< StorageType >, BIAS::Image< InputST >, BIAS::Image< InputStorageType >, BIAS::Image< LABEL_CALC_TYPE >, BIAS::Image< float >, BIAS::Image< CONV_FLOAT >, BIAS::Image< unsigned char >, BIAS::Image< OutputStorageType >, BIAS::Image< CONV_INT >, BIAS::Image< CalculationType >, BIAS::Image< OutputST >, BIAS::Camera< StorageType >, BIAS::Camera< InputStorageType >, BIAS::Camera< float >, BIAS::Camera< unsigned char >, and BIAS::CorrespondenceMap< StorageType >.
Definition at line 193 of file ImageBase.hh.
|
inlineprotectedinherited |
void ImageBase::CopyIn_NoInit | ( | void * | data | ) |
Take some data and fill it into the Image.
Definition at line 827 of file ImageBase.cpp.
References GetChannelCount(), GetDepth(), GetImageData(), and GetPixelCount().
Referenced by BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::VideoSource_Kinect_Callback::GetLatestColor(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Net::GrabSingle(), BIAS::VideoSource_uEye::GrabSingle(), BIAS::VideoSource_Kinect2::GrabSingle(), BIAS::VideoSource_OpenNI::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_DSHOW::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_Kinect2Net::GrabSingleDepth(), BIAS::VideoSource_Kinect2::GrabSingleDepth(), BIAS::VideoSource_Kinect2Net::GrabSingleIR(), BIAS::VideoSource_Kinect2::GrabSingleIR(), BIAS::ImageIO::ImportRAWwithHeader(), and BIAS::ExampleMixtureOfGaussiansFrame::processImages_().
int ImageBase::Cut2ROI | ( | ) |
reduces image to current ROI, !!! image size changes !!!
Definition at line 646 of file ImageBase.cpp.
References ChannelCount_, Depth_, GetChannelCount(), BIAS::ROI::GetCorners(), GetDepth(), GetHeight(), GetImageDataArray(), GetROI(), GetWidth(), Height_, RedirectImageDataPointer(), ReleaseImageDataPointer(), BIAS::ROI::Resize(), UnsetROI(), Width_, and WidthStep_.
Referenced by BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), and BIAS::Dilation< InputStorageType, OutputStorageType >::Filter().
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
bool ImageBase::DimensionMatch | ( | const BIAS::ImageBase & | other | ) | const |
Definition at line 985 of file ImageBase.cpp.
References GetHeight(), and GetWidth().
Referenced by FormatMatch().
int ImageBase::Display | ( | const std::string & | DestWin, |
const bool & | autoresize, | ||
const bool & | moveToTopLeft, | ||
const bool & | waitForKey, | ||
const unsigned int & | delayMsec = DEFAULT_Display_delay , |
||
const float & | scale = DEFAULT_32to8_scale , |
||
const bool & | allowAlphaWindow = false |
||
) | const |
OpenCV onscreen popup display, very useful for fast debugging. (JW)
display image as popup to screnn sing OpenCv IplImage using Highgui functions. Very useful to easily display an image, e.g. for debugging. Can be used inside MSVS debugger watch to inspect intermediate Images wit a popup. Can be used with waiting for user interaction (for delayMsec).
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 1414 of file ImageBase.cpp.
References BIAS::WrapBias2Ipl::Display().
int ImageBase::Display | ( | const std::string & | DestWin | ) | const |
simpler interface for the above.
shows image in window named "DestWin" without. Does not wait for key, you may want to use WrapBias2Ipl::WaitKey after calling this.
Definition at line 1440 of file ImageBase.cpp.
References Display().
int ImageBase::Display | ( | const bool & | waitForKey, |
const unsigned int & | delayMsec, | ||
const float & | scale | ||
) | const |
int ImageBase::Display | ( | ) | const |
display image simple signature interface for Debugger usage This function can be used to display an (intermediate) image "interactively" with the MS Visual Studio Debugger in "Watch+Debug" expert mode.
This signature is required because MSVS debugger does not support default params.
Definition at line 1463 of file ImageBase.cpp.
Referenced by Display().
int ImageBase::Flip | ( | ) |
flips the image vertically (row order is inverted) In place function return 0 in case of success, -1 otherwise
Definition at line 834 of file ImageBase.cpp.
References GetChannelCount(), GetDepth(), GetPixelCount(), GetWidth(), Height_, ImageDataArray_, InterleavedDataOrder_, RedirectImageDataPointer(), and ReleaseImageDataPointer().
Referenced by BIAS::MySampleGrabberCB::BufferCB(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::OpenEXRInterface::Import(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::OpenSceneGraphHelper::OSGimageToBIASimage(), PadToPowerOfTwoAndFlip(), BIAS::MySampleGrabberCB::SampleCB(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::GLProjectionParametersBase::TranslateDepthToZ(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), and BIAS::GLProjectionParametersBase::TranslateZToMetricZ().
int ImageBase::FlipHorizontal | ( | ) |
flips the image horizontal (column order is inverted) In place function return 0 in case of success, -1 otherwise
Definition at line 878 of file ImageBase.cpp.
References GetChannelCount(), GetDepth(), GetPixelCount(), Height_, ImageDataArray_, InterleavedDataOrder_, RedirectImageDataPointer(), ReleaseImageDataPointer(), Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::BayerToRGB().
bool ImageBase::FormatMatch | ( | const BIAS::ImageBase & | d | ) | const |
Definition at line 992 of file ImageBase.cpp.
References DimensionMatch(), GetBitDepth(), GetChannelCount(), GetColorModel(), GetDepth(), GetHeight(), GetSizeByte(), GetWidth(), and GetWidthStep().
|
inline |
returns the bits per channel Is not necessairily 8*sizeof(StorageType), could be fewer bits, eg.
12/16.
Definition at line 344 of file ImageBase.hh.
Referenced by BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::BVWXMainFrame::AddInfo(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageConvert::BayerToRGB(), BIAS::ConvertBayerPattern< StorageType >::Convert(), FormatMatch(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ImageIO::ImportDevIL(), operator=(), Pad(), StealImage(), and BIAS::ImageConvert::TohsL().
|
inline |
Definition at line 334 of file ImageBase.hh.
Referenced by BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB().
int ImageBase::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
Definition at line 428 of file ImageBase.cpp.
References CM_YUYV422, GetChannelCount(), GetColorModel(), GetDepth(), GetHeight(), GetImageData(), GetPixelCount(), GetStorageType(), GetWidth(), Init(), IsEmpty(), and IsPlanar().
Referenced by BIAS::OpenEXRInterface::AddSlice_(), BIAS::Median< InputStorageType, OutputStorageType >::Filter3x3x3Color(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), and BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg().
void BIAS::ImageBase::GetChannel | ( | const BIAS::ImageBase & | im, |
const unsigned int | channelId, | ||
outputType * | channelOut | ||
) |
Definition at line 448 of file ImageBaseInline.hh.
References GetChannelCount(), GetHeight(), GetImageData(), GetImageDataArray(), GetStorageType(), GetWidth(), IsInterleaved(), ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
|
static |
Copy channel, determines the internal ImageBase type and casts it to the output type.
Definition at line 449 of file ImageBase.hh.
|
static |
Definition at line 2007 of file ImageBase.cpp.
References GetChannelCount(), GetHeight(), GetImageData(), GetImageDataArray(), GetStorageType(), GetWidth(), IsInterleaved(), ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
|
inline |
returns the number of Color channels, e.g.
RGB 3
the value returned is independent of the StorageType
Definition at line 382 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::ColourMap::Apply(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), CopyIn_NoInit(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), Cut2ROI(), BIAS::DataPlot::DataPlot(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Histogram2D::Draw(), BIAS::EpipolarLine::DrawDistortedLine(), BIAS::BlobDetectorBFS< StorageType >::DrawInImage(), BIAS::Histogram2D::DrawLog(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), Flip(), FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleaved(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::CheckerboardDetectorCrossFilter::GetAvgBlackWhiteValue(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::CheckerboardDetectorCrossFilter::GetFinalCheckerboard(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), GetValue(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::ImageDraw< StorageType >::InterpolatedLineGrey(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageDraw< StorageType >::Line(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::ImageDistribution::MapImagesToSquare(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), BIAS::operator<<(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), Paste2ROI(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::BlobDetectorDOM< StorageType >::refineBlobPosAndSize(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::ImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), BIAS::ImageLegendFrame::SetImage(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), SetValue(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), StealImage(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::Image< StorageType >::Transpose(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
|
static |
get the number of channels corresponding to the enum ColorModel Determines the number of (packed) data values.
Is typically consistent with GetSizeByte. E.g. CM_Grey : 1 CM_YUYV422 : packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packs 3 channel RGB into 1 Byte Bayer pattern
Definition at line 1366 of file ImageBase.cpp.
References CM_Bayer_BGGR, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_RGGB, CM_BGR, CM_BGRA, CM_Grey, CM_GreyA, CM_HSL, CM_hsL, CM_HSV, CM_PGR_XB3_F7M3_GBRG, CM_RGB, and CM_RGBA.
Referenced by BIAS::clfImage3D::Allocate(), BIAS::clfImage2D::Allocate(), BIAS::clfImage2D::AllocateFromTexture2D(), BIAS::clfImage3D::CopyToBiasImage(), and BIAS::clfImage2D::CopyToBiasImage().
|
inline |
Definition at line 407 of file ImageBase.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::Convert(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::ImageConvert::ConvertST(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), FormatMatch(), BIAS::ImageConvert::FromInterleaved(), BIAS::ColorHistogram< StorageType >::GenerateCircleHist(), BIAS::ColorHistogram< StorageType >::GenerateHist(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::CornerMatcher::NCCSearch(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_DiskPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), operator=(), Pad(), Paste2ROI(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::VideoTransmitter::Process(), BIAS::ImageCanvasCheckerboardExtract::RefreshDrawIm_(), BIAS::ImageCanvasRectangularSelection::RefreshDrawImage_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::SceneBGImage::SetImage(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ImageCanvas::Show(), StealImage(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleaved(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::BVWXMainFrame::UncompressImage(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
int ImageBase::GetCopyOfROI | ( | ImageBase & | copy | ) | const |
returns a copy of ROI (a new image) lower right point excluded, only interleaved images !
Definition at line 568 of file ImageBase.cpp.
References GetChannelCount(), GetColorModel(), BIAS::ROI::GetCorners(), GetDepth(), GetImageDataArray(), GetROI(), GetStorageType(), Init(), IsEmpty(), IsPlanar(), Release(), and SetColorModel().
Referenced by BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::Label::Label4Neighbour(), BIAS::Label::Process(), and BIAS::ImageConvertThreaded::SplitImage_().
int ImageBase::GetCopyOfROI2 | ( | ImageBase & | copy | ) | const |
like GetCopyOfROI, but with lower right point included only interleaved images !
Definition at line 535 of file ImageBase.cpp.
References GetChannelCount(), GetColorModel(), BIAS::ROI::GetCorners(), GetDepth(), GetImageDataArray(), GetROI(), GetStorageType(), Init(), IsEmpty(), IsPlanar(), Release(), and SetColorModel().
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and operator=().
|
inlineinherited |
|
inlineinherited |
|
inline |
returns the bytes per channel, which is the sizeof(StorageType) Should match GetSizeDepth(GetStorageType()).
Definition at line 328 of file ImageBase.hh.
Referenced by BIAS::ImagePackage::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BIAS2ImageMagick(), CopyIn_NoInit(), BIAS::ImgObjGL::CreateGLTexture(), Cut2ROI(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportTIFFLIB(), Flip(), FlipHorizontal(), FormatMatch(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportDevIL(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_DiskPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), operator=(), Pad(), Paste2ROI(), BIAS::ImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), SetOutsideROIZero(), and StealImage().
|
inlinestaticinherited |
|
inline |
Definition at line 319 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::ImageBlender::AddCamera(), BIAS::ImageBlenderIncremental::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::PMDImageProc::CalcSigmaDepth(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::ImageDraw< StorageType >::CircleCenterFilled(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::FFT2D_free< StorageType >::ComplexColumnToWorkArray1_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), BIAS::ImageBlenderIncremental::ComputeAlphaChannelWeight_(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::ImageBlenderIncremental::CopyAlphaChannel_(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ColorHarris::CreateSTColor(), BIAS::PMDImageProc::CrossCheck(), Cut2ROI(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::ConstantRegionDetector< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), DimensionMatch(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::DistortReflectivityDepthIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Conic2D::Draw(), BIAS::Histogram2D::Draw(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::GenGroundTruth::DrawMatches(), BIAS::CondensHisto::DrawMean(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::ImageBlenderIncremental::FillBGImage_(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::TriangleMesh::GenerateTexturedQuadStrip(), BIAS::CheckerboardDetectorCrossFilter::getAverage(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerLineFactor(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ImageBlenderIncremental::GetLowPassAndHighPassImage_(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), IsPowerOfTwoSize(), BIAS::PMDImageProc::LimitDepthSpread(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::DistTransform< InputStorageType, OutputStorageType >::MakeDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::MakeDistanceImage_(), BIAS::TriangleMesh::MakeTriangles_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::PMDImageProc::MarkHighVarianceValues(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::FitCircleFrame::OnRescaleImage(), BIAS::BVWXMainFrame::OnSaveAsMovie(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::ImageWarper< StorageType >::Process(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::ExampleMixtureOfGaussiansFrame::processImages_(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::ImageDraw< StorageType >::RectangleCornersGreyFill(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::EpipolarLine::ScanLine(), BIAS::EpipolarLine::ScanLine_(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::TriangleMesh::SimplifyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), StealImage(), BIAS::CheckerboardDetectorCrossFilter::StretchImageValues(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), BIAS::GLProjectionParametersBase::TranslateZToMetricZ(), BIAS::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortReflectivityDepthIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FFT2D_free< StorageType >::WorkArray1ToComplexColumn_(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
|
inline |
Definition at line 280 of file ImageBase.hh.
Referenced by BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ImageConvert::ConvertST(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), CopyIn_NoInit(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::VideoSource_FFMPEGVideo::GetFrame(), BIAS::ROI::GetMaskImage(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportReal32(), BIAS::operator<<(), operator=(), operator==(), BIAS::glfRenderTarget::ReadBuffer(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::clfUnifiedMultilateralFilter::SetImage(), BIAS::ROI::SetMaskImage(), SetOutsideROIZero(), StealImage(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), and BIAS::ImageIO::WriteRAW_IMA().
|
inline |
Definition at line 287 of file ImageBase.hh.
|
inline |
Get an array of pointers to image data.
A pixel can be accessed by GetImageDataArray()[row][col] or GetImageDataArray()[y][x]
For multi channel images with interleaved data order, access with GetImageDataArray()[row][col * GetChannelCount() + Channel]
For multi channel images with planar data order, access with GetImageDataArray()[row + GetHeight * Channel][col]
Definition at line 305 of file ImageBase.hh.
Referenced by Cut2ROI(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::IntegralImage< StorageType >::GenerateFrom(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), GetValue(), BIAS::ImageIO::ImportMatrix(), BIAS::ImageIO::ImportRADIANCE(), Pad(), Paste2ROI(), SetChannel(), SetValue(), and StealImage().
|
inline |
Definition at line 456 of file ImageBase.hh.
Referenced by BIAS::ImagePackage::AddImage(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::IOUtils::GetProjection(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportImage(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportMagickPP(), BIAS::IOUtils::LoadFloat(), BIAS::ImageIO::Read_(), BIAS::ImageIO::Save(), BIAS::ImageIO::Write_(), and BIAS::ImageIO::WriteUnbuffered().
|
inline |
Definition at line 463 of file ImageBase.hh.
|
inline |
returns number of pixels in image
Definition at line 422 of file ImageBase.hh.
Referenced by BIAS::HistogramImage::AddHist(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BGRAToRGB_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BGRToRGB_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::ConvertST(), CopyIn_NoInit(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::DetermineThresholds_(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::ImageIO::ExportDevIL(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), Flip(), FlipHorizontal(), BIAS::ImageConvert::FloatToUC_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), BIAS::ImageConvert::GreyToRGB_(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::InitDistanceImage_(), BIAS::operator<<(), operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), PrintHeader(), BIAS::BlobDetectorCCA< StorageType >::Process_(), BIAS::ImageConvert::RGBAToRGB_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().
|
inline |
returns the Position (index from array start) in ImageData Warning: until 2005-01-04 the position inbyte was returned but used as position in <StorageType> (ImageDraw).
Changed this method to return position in StorageType Jan-Friso Evers
Definition at line 99 of file ImageBase.hh.
|
inline |
Returns a pointer to the roi object.
Definition at line 615 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_ExtractLocalMaxima(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::HistogramImage::AddHist(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), Cut2ROI(), BIAS::BlobDetectorLevelSet< StorageType >::Detect(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3SameGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::TriangleMesh::GenerateDenseMesh(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetImageValue_(), GetROICorners(), GetROILowerRightX(), GetROILowerRightY(), GetROIUpperLeftX(), GetROIUpperLeftY(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::Label::LabelInit_(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::ImageConvertThreaded::MergeImage_(), BIAS::operator<<(), operator=(), BIAS::operator>>(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), PrintROI(), BIAS::Label::Process(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), SetROI(), SetROICorners(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreySameFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::ImageConvertThreaded::SplitImage_(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), UnsetROI(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL1(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenL2(), and BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::VecLenMax().
|
inline |
Definition at line 621 of file ImageBase.hh.
void ImageBase::GetROI | ( | unsigned int & | UpperLeftX, |
unsigned int & | UpperLeftY, | ||
unsigned int & | LowerRightX, | ||
unsigned int & | LowerRightY | ||
) | const |
deprecated, use GetROICorners()
Definition at line 1062 of file ImageBase.cpp.
References GetROICorners().
void ImageBase::GetROI | ( | int & | UpperLeftX, |
int & | UpperLeftY, | ||
int & | LowerRightX, | ||
int & | LowerRightY | ||
) | const |
deprecated, use GetROICorners()
Definition at line 1074 of file ImageBase.cpp.
References GetROICorners().
void ImageBase::GetROICorners | ( | unsigned int & | UpperLeftX, |
unsigned int & | UpperLeftY, | ||
unsigned int & | LowerRightX, | ||
unsigned int & | LowerRightY | ||
) | const |
access region of interest rectangle JW
Definition at line 1067 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
Referenced by BIAS::Image< StorageType >::AbsDiff(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ClipBoundingBoxToROICorners_(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), GetROI(), and BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::TestBorderHandling_().
void ImageBase::GetROICorners | ( | int & | UpperLeftX, |
int & | UpperLeftY, | ||
int & | LowerRightX, | ||
int & | LowerRightY | ||
) | const |
access region of interest rectangle JW
Definition at line 1079 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
const unsigned int ImageBase::GetROILowerRightX | ( | ) | const |
deprecated, use GetROI()->GetCorners()
Definition at line 1106 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
const unsigned int ImageBase::GetROILowerRightY | ( | ) | const |
deprecated, use GetROI()->GetCorners()
Definition at line 1113 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
const unsigned int ImageBase::GetROIUpperLeftX | ( | ) | const |
deprecated, use GetROI()->GetCorners()
Definition at line 1092 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
const unsigned int ImageBase::GetROIUpperLeftY | ( | ) | const |
deprecated, use GetROI()->GetCorners()
Definition at line 1099 of file ImageBase.cpp.
References BIAS::ROI::GetCorners(), and GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
|
inline |
returns the image size in bytes = count - NOT the dimension DEPRECATED Please use GetSizeByte instead to avoid storage type confusion on pointers and char/wideChar unicode
Definition at line 361 of file ImageBase.hh.
Referenced by BIAS::VideoSink_FFmpeg::AddFrame(), and BIAS::VideoSource_DCAM::GrabSingle().
|
inline |
returns the nr.
of image data Bytes - NOT the dimension
Definition at line 352 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::Image< StorageType >::AppendChannel(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::MySampleGrabberCB::BufferCB(), BIAS::ImageIO::ExportImagePnm_(), FormatMatch(), BIAS::ImgObjGL::GetGLInternalFormat(), GetStorageSizeByte(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::ImageIO::ImportImageViff_(), Init(), InitWithForeignData(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::MySampleGrabberCB::SampleCB(), and BIAS::DrawTextWx< StorageType >::Text().
|
static |
get the size in Byte of the type corresponding to a storagetype uses sizeof(type) internally.
Useful for allocation calculations.
Definition at line 1297 of file ImageBase.cpp.
References ST_char, ST_double, ST_float, ST_int, ST_invalid, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
|
static |
get the number of (packed) data values of color model E.g: CM_Grey : 1 CM_YUYV422 : 2 packs 3 channel YUV into 2 Bytes CM_RGB : 3 CM_BGRA : 4 CM_Bayer_GBRG : 1 packed Bayer pattern CM_PGR_XB3_F7M3_GBRG : 3 packed three Bayer patterns w.
9 values in tri-image Useful for allocation calculations. Returns the number of data units, not Bytes!
Definition at line 1329 of file ImageBase.cpp.
References CM_Bayer_BGGR, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_RGGB, CM_BGR, CM_BGRA, CM_Grey, CM_GreyA, CM_HSL, CM_hsL, CM_HSV, CM_PGR_XB3_F7M3_GBRG, CM_RGB, and CM_RGBA.
Referenced by BIAS::VideoSource_Disk::OpenDevice().
|
static |
computes the storage data size in Byte required for a given video format.
Definition at line 115 of file ImageBase.cpp.
References GetSizeByte().
Referenced by BIAS::clfImage2D::AllocateFromTexture2D(), and ReInit().
|
inline |
Definition at line 414 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::ImageCalc< StorageType >::Add(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::BVWXMainFrame::AddInfo(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::DistTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ImgObjGL::GetGLInternalFormat(), BIAS::ROI::GetMaskImage(), GetValue(), BIAS::VideoSource_Net::GrabSingle(), BIAS::VideoSource_PMD::GrabSingleIntensity(), BIAS::ImageConvert::HSLToRGB_(), BIAS::Image< StorageType >::Image(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::VideoSource::InitImage(), InitWithForeignData(), BIAS::IOUtils::LoadFloat(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ScaledImageCanvas::OnAutoScaleOffset(), BIAS::BVWXMainFrame::OnSaveCurrent(), BIAS::Image< StorageType >::operator=(), operator=(), BIAS::operator>>(), Pad(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), PrintPixelValue(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::PMDImageIO::Save(), BIAS::ImageIO::Save(), SetChannel(), BIAS::ImageLegendFrame::SetImage(), BIAS::ROI::SetMaskImage(), SetValue(), BIAS::ScaledImageCanvas::Show(), BIAS::BVWXMainFrame::ShowHistogramm(), BIAS::GuiBase::ShowImage(), BIAS::BVWXMainFrame::ShowImageValueBar(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample().
|
inline |
returns the UUID of the image
Definition at line 449 of file ImageBase.hh.
Referenced by BIAS::ImageBlender::AddCamera(), BIAS::ImageBlenderIncremental::AddCamera(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_DiskZessPMD::GrabSingle(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_DiskPMD::GrabSingle(), BIAS::VideoSource_DcamPMD::GrabSingle(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::operator<<(), operator=(), PrintHeader(), BIAS::ImageIO::Save(), BIAS::VideoStream::SplitIntoFiles(), BIAS::ImageIO::Write_(), and BIAS::ImageIO::WriteUnbuffered().
castType BIAS::ImageBase::GetValue | ( | const ImageBase & | im, |
const unsigned int | x, | ||
const unsigned int | y, | ||
const unsigned int | channel | ||
) |
Definition at line 193 of file ImageBaseInline.hh.
References GetChannelCount(), GetImageDataArray(), GetStorageType(), and IsInterleaved().
|
static |
Determines the internale ImageBase type and casts it to the output type.
Definition at line 194 of file ImageBase.hh.
|
inline |
Definition at line 477 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), and BIAS::operator<<().
|
inline |
Definition at line 312 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::CornerDetectorFoerstner< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorHarris< StorageType, CalculationType >::_ComputeCornerness(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::ImageCalc< StorageType >::Abs(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::ImageCalc< StorageType >::Add(), BIAS::ImageBlender::AddCamera(), BIAS::ImageBlenderIncremental::AddCamera(), BIAS::OpenEXRInterface::AddChannels_(), BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::HistogramImage::AddHist(), BIAS::ImagePackage::AddImage(), BIAS::clfTVL1Flow::AddImage(), BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageBlenderIncremental::AddLowPassAndHighPassImage_(), BIAS::PMDImageProc::AddNoiseToDepthImage(), BIAS::ImageCalc< StorageType >::AddScalar(), BIAS::BlobDetectorLevelSet< StorageType >::AddSquare(), BIAS::ThreeDOut::AddTriangleMesh(), BIAS::OpenSceneGraphHelper::AdjustImageSizeToGPULimit(), BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage3D::AllocateFromBiasTemplate(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageCalc< StorageType >::And(), BIAS::Image< StorageType >::AppendChannel(), BIAS::MixtureOfGaussians< StorageType >::Apply(), BIAS::ImageDraw< StorageType >::Arrow(), BIAS::ImageConvert::BayerToGrey_(), BIAS::ImageConvert::BayerToRGB(), BIAS::ImageConvert::BayerToRGB_(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BIAS2ImageMagick(), BIAS::ImageConvert::BIAS2ipl(), BIAS::OpenSceneGraphHelper::BIASimageToOSGimage(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::BilinearGrey(), BIAS::RegionMatcher::BilinearRegion(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::ImageBlender::BlendImages(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::VideoSource_PMD::CalcAmplitudesFromSourceData(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::CalcCoordOffset_(), BIAS::VideoSource_PMD::CalcDistancesFromSourceData(), BIAS::VideoSource_PMD::CalcIntensitiesFromSourceData(), BIAS::PMDImageProc::CalcSigmaDepth(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::ImageDraw< StorageType >::CircleCenter(), BIAS::ImageDraw< StorageType >::CircleCenterFilled(), BIAS::StereoRedGreen::Combine(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::FFT2D_free< StorageType >::ComplexRowToWorkArray0_(), BIAS::JpegHandler::Compress(), BIAS::JointHistogram< StorageType >::Compute(), BIAS::UnVignette::Compute(), BIAS::ImageBlender::ComputeAlphaChannelWeight(), BIAS::ImageBlenderIncremental::ComputeAlphaChannelWeight_(), BIAS::JointHistogram< StorageType >::ComputeParzenWindow(), BIAS::WrapBias2Ipl::Consistent(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::ImageBlenderIncremental::CopyAlphaChannel_(), BIAS::FilterBase< InputStorageType, OutputStorageType >::CopyNonROIFromSource(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::BlobDetectorDOM< StorageType >::CreateIntegralImage(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::MixtureOfGaussians< StorageType >::CreateNormalizedImage_(), BIAS::ColorHarris::CreateSTColor(), BIAS::PMDImageProc::CrossCheck(), Cut2ROI(), BIAS::DataPlot::DataPlot(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::PMDImageProc::DeleteHighVarianceValues(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::BlobDetectorBFS< StorageType >::Detect(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::ConstantRegionDetector< StorageType, CalculationType >::Detect(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate3Fast(), DimensionMatch(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::ProjectionParametersPerspectiveDepth::DistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::DistortReflectivityDepthIP(), BIAS::ImageCalc< StorageType >::Divide(), BIAS::ImageCalc< StorageType >::DivideScalar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::CalibratedPyramid< StorageType >::Downsample_(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4Grey(), BIAS::Conic2D::Draw(), BIAS::Histogram2D::Draw(), BIAS::ImageCanvasCheckerboardExtract::DrawCheckerboardCorners_(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::Histogram2D::DrawLog(), BIAS::GenGroundTruth::DrawMatches(), BIAS::CondensHisto::DrawMean(), BIAS::CondensImg::DrawPosteriorDistribution(), BIAS::CondensHisto::DrawPosteriorDistribution(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesExt(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::ImageDraw< StorageType >::Ellipse(), BIAS::VideoSink::Encode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode3Fast(), BIAS::OpenEXRInterface::Export(), BIAS::ImageIO::ExportDevIL(), BIAS::ImageIO::ExportImagePnm_(), BIAS::ImageIO::ExportMagickPP(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::ImageBlenderIncremental::FillBGImage_(), BIAS::Morphology< InputStorageType, OutputStorageType >::FillBorderConst(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::CensusTransform< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Thinning< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImgVec(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterParallel(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::FitCircleFrame::FitCircleFrame(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), Flip(), FormatMatch(), BIAS::FFT2D_free< StorageType >::Forward(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Forward_(), BIAS::ImageConvert::FromInterleavedRGB_(), BIAS::ImageConvert::FromInterleavedYUYV422_(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::IntegralImage< StorageType >::GenerateFrom(), BIAS::TriangleMesh::GenerateImagePlane(), BIAS::IntegralHistogram::GenerateIntegralHist(), BIAS::IntegralHistogram::GenerateIntegralHistDiffBin(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::TriangleMesh::GenerateTexturedQuad(), BIAS::TriangleMesh::GenerateTexturedQuadStrip(), BIAS::CheckerboardDetectorCrossFilter::getAverage(), BIAS::ImageConvert::GetChannel(), GetChannel(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerboard(), BIAS::CheckerboardDetectorCrossFilter::GetCheckerLineFactor(), BIAS::ContourDetectorSimple< StorageType >::GetContourImage(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ContourDetectorBSpline< StorageType >::GetFeature(), BIAS::CheckerboardDetectorCrossFilter::GetFilterResponseSum(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::GLProjectionParametersBase::GetImage(), BIAS::ImageBlenderIncremental::GetLowPassAndHighPassImage_(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::MultipleDepthWarp::GetProjectedTexture(), BIAS::PyramidImage< StorageType >::GetSingleImage(), BIAS::CylindricDepthTrackingPanorama::GetTriangleMesh(), BIAS::SphericalDepthPanorama::GetTriangleMesh(), BIAS::CylindricDepthPanorama::GetTriangleMesh(), BIAS::MultipleDepthWarp::GetWarpedDisparity(), BIAS::MultipleDepthWarp::GetWarpedZBuffer(), BIAS::GLProjectionParametersBase::GetZBuffer(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::ExampleMixtureOfGaussiansFrame::grabImages_(), BIAS::VideoSource_Centaurus::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleLRGrey(), BIAS::VideoSource_PMD::GrabSourceData(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::BlobDetectorLevelSet< StorageType >::Init(), BIAS::PyramidImage< StorageType >::Init(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::ContourDetectorSimple< StorageType >::Init_(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::DistTransform< InputStorageType, OutputStorageType >::InitDistanceImage_(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::SceneTexturedPlane::InitializeTexture_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::ImageDraw< StorageType >::InterpolatedCircleCenter(), BIAS::ImageDraw< StorageType >::InterpolatedLine(), BIAS::Image< StorageType >::InvertValues(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), IsPowerOfTwoSize(), BIAS::PMDImageProc::LimitDepthSpread(), BIAS::ImageDraw< StorageType >::Line(), BIAS::RegionMatcher::LinearRegionX(), BIAS::ImageDraw< StorageType >::LineGrey(), BIAS::IOUtils::LoadCamera(), BIAS::IOUtils::LoadFloat(), BIAS::IOUtils::LoadImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageCalc< StorageType >::Log(), BIAS::ImageCalc< StorageType >::Log10(), BIAS::ImageBlenderIncremental::LowPassFusiondAndHighPassMax_(), BIAS::ImageConvert::LUVToXYZ(), BIAS::DistTransform< InputStorageType, OutputStorageType >::MakeDistanceImage_(), BIAS::ContourDetectorSimple< StorageType >::MakeDistanceImage_(), BIAS::TriangleMesh::MakeTriangles_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapBi_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirect(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::ImageDistribution::MapImagesToSquare(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::PMDImageProc::MarkHighVarianceValues(), BIAS::Image< StorageType >::MaskValues(), BIAS::ImageCalc< StorageType >::Multiply(), BIAS::ImageCalc< StorageType >::MultiplyScalar(), BIAS::ImageCalc< StorageType >::Nand(), BIAS::CornerMatcher::NCC(), BIAS::CornerMatcher::NCCSearch(), BIAS::ImageCalc< StorageType >::Nor(), BIAS::FFT2D_free< StorageType >::Normalize(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Normalize(), BIAS::FitCircleFrame::OnDump(), BIAS::FitCircleFrame::OnRescaleImage(), BIAS::BVWXMainFrame::OnSaveAsMovie(), BIAS::VideoSource_Disk_Bayer::OpenDevice(), BIAS::VideoSource_Net::OpenDevice(), BIAS::VideoSource_DiskZessPMD::OpenDevice(), BIAS::VideoSource_Disk::OpenDevice(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), BIAS::Image< StorageType >::operator*(), BIAS::Image< StorageType >::operator+(), BIAS::Image< StorageType >::operator-(), BIAS::Image< StorageType >::operator/(), operator=(), BIAS::Image< StorageType >::operator|(), BIAS::ImageCalc< StorageType >::Or(), Pad(), BIAS::CornerMatcher::ParabolaNCC(), BIAS::CornerMatcher::ParabolaNCC5(), Paste2ROI(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), PowerOfTwoSize(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::ImageWarper< StorageType >::Process(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), BIAS::CylindricDepthPanorama::ProcessCylindricProjection(), BIAS::ExampleMixtureOfGaussiansFrame::processImages_(), BIAS::SphericalDepthPanorama::ProcessSphericalProjection(), BIAS::ImageDraw< StorageType >::RectangleCenter(), BIAS::ImageDraw< StorageType >::RectangleCenterGrey(), BIAS::ImageDraw< StorageType >::RectangleCenterGreyFill(), BIAS::ImageDraw< StorageType >::RectangleCorners(), BIAS::ImageDraw< StorageType >::RectangleCornersFill(), BIAS::ImageDraw< StorageType >::RectangleCornersGrey(), BIAS::ImageDraw< StorageType >::RectangleCornersGreyFill(), ReInit(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::FFT2D_free< StorageType >::Reverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Reverse_(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToI1I2I3(), BIAS::ImageConvert::RGBToXYZ(), BIAS::PMDImageIO::Save(), BIAS::PMDImageProc::ScaleDepthImage(), BIAS::EpipolarLine::ScanLine(), BIAS::EpipolarLine::ScanLine_(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::ShowCamWxFrame::SelectAndShowCameraImage_(), BIAS::BlobDetectorLevelSet< StorageType >::Set(), SetChannel(), BIAS::SceneTexturedPlane::SetImage(), BIAS::ROI::SetMaskImage(), BIAS::FilterBase< InputStorageType, OutputStorageType >::SetNonROIToValue(), SetOutsideROIZero(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::SetRectificationSetup(), BIAS::GuiCV::ShowConvertedImage_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::TriangleMesh::SimplifyMeshSurface_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::CornerMatcher::SSD(), StealImage(), BIAS::CheckerboardDetectorCrossFilter::StretchImageValues(), BIAS::ImageCalc< StorageType >::Subtract(), BIAS::ImageCalc< StorageType >::SubtractScalar(), BIAS::GuiBase::TestImage_(), BIAS::DrawTextWx< StorageType >::Text(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::GLProjectionParametersBase::TranslateZToDepth(), BIAS::GLProjectionParametersBase::TranslateZToMetricZ(), BIAS::Image< StorageType >::Transpose(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGrey(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortDepthMapIP(), BIAS::ProjectionParametersPerspectiveDepth::UnDistortReflectivityDepthIP(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::ZoomImageCanvas::UpdateStatusBar(), BIAS::glfTexture3D::Upload2DImage(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2Grey(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::FFT2D_free< StorageType >::WorkArray0ToComplexRow_(), BIAS::ImageIO::WriteRAW_IMA(), BIAS::ImageCalc< StorageType >::Xor(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), BIAS::ImageConvert::XYZToRGB(), BIAS::ImageConvert::YUV411ToGrey_(), BIAS::ImageConvert::YUV420PToGrey_(), BIAS::ImageConvert::YUV420PToRGB_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
|
inline |
returns the number of bytes per line
returns the number of bytes per line, not the number of StorageTypes
interleaved data order: = Width * Depth * ChannelCount planar data order: = Width * Depth
Useful for memory aligned images (e.g. 4/8 Byte) and packing of textures. JW
Definition at line 400 of file ImageBase.hh.
Referenced by BIAS::clfImage2D::AllocateFromBiasImage(), BIAS::clfImage2D::AllocateFromBiasTemplate(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::Histogram2D::Draw(), BIAS::Histogram2D::DrawLog(), FormatMatch(), SetOutsideROIZero(), StealImage(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2().
void ImageBase::Init | ( | unsigned int | width, |
unsigned int | height, | ||
unsigned int | nChannels = 1 , |
||
enum EStorageType | storageType = ST_unsignedchar , |
||
const bool | interleaved = true |
||
) |
Initialize image size and channels.
width | image width of the new image |
height | image height of the new image |
channels | number of color planes |
Definition at line 229 of file ImageBase.cpp.
References BitDepth_, ChannelCount_, CM_Grey, CM_invalid, CM_RGB, CM_RGBA, CM_YUYV422, Depth_, GetSizeByte(), GetStorageType(), Height_, ImageData_, InterleavedDataOrder_, IsEmpty(), Release(), BIAS::ROI::Resize(), Roi_, SetColorModel(), shouldReleaseData_, StorageType_, BIAS::ROI::UnsetROI(), UpdateImageDataArrayFromImageData_(), Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfRenderbuffer::CopyToImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::glfTexture2D::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMagickPP(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ROI::GetMaskImage(), BIAS::Image< StorageType >::Image(), ImageBase(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportMatrix(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), BIAS::Image< StorageType >::Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::VideoSource_Kinect2Net::InitDepthImage(), BIAS::VideoSource_Kinect2::InitDepthImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_Centaurus::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_Kinect2::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_Kinect2::InitIrFullImage(), BIAS::VideoSource_Kinect2Net::InitIrImage(), BIAS::VideoSource_Kinect2::InitIrImage(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), operator=(), BIAS::operator>>(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), and BIAS::OpenGLCanvasBase::ScreenShot().
void ImageBase::InitWithForeignData | ( | unsigned int | width, |
unsigned int | height, | ||
unsigned int | nChannels, | ||
void * | data, | ||
enum EStorageType | storageType = ST_unsignedchar , |
||
const bool | interleaved = true , |
||
const bool | shouldRelease = true |
||
) |
Initialize image size and channels using a foreign data pointer.
width | image width of the new image |
height | image height of the new image |
channels | number of color planes |
data | pointer to image data |
shoudRelease | if true the ownership of data is transfered to ImageBase, i.e. ImageBase will release data, otherwise not |
Definition at line 155 of file ImageBase.cpp.
References BitDepth_, ChannelCount_, CM_Grey, CM_invalid, CM_RGB, CM_RGBA, CM_YUYV422, Depth_, GetSizeByte(), GetStorageType(), Height_, ImageData_, InterleavedDataOrder_, IsEmpty(), Release(), BIAS::ROI::Resize(), Roi_, SetColorModel(), shouldReleaseData_, StorageType_, BIAS::ROI::UnsetROI(), UpdateImageDataArrayFromImageData_(), Width_, and WidthStep_.
Referenced by BIAS::Image< StorageType >::InitWithForeignData().
|
inline |
sets the image's uid to invalid
Definition at line 597 of file ImageBase.hh.
Referenced by BIAS::VideoSource_DV2::GrabSingle(), BIAS::VideoSource_DV::GrabSingle(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_Shm::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), and BIAS::ImageIO::ImportImage().
|
inline |
check if ImageData_ points to allocated image buffer or not
Definition at line 245 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GenSynthMatches::_Draw(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::HistogramImage::AddHist(), BIAS::ThreeDOut::AddImage(), BIAS::Image< StorageType >::AppendChannel(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StereoRedGreen::Combine(), BIAS::VideoSource_PMDZess::Convert2DImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImage_(), BIAS::VideoSource_SwissRanger::ConvertRawImageToFloat_(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::VideoSource_Kinect_Callback::CreateLookupTable(), BIAS::FFT2D< InputStorageType, OutputStorageType >::CrossPowerSpectrum(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::VideoSource_PMDZess::DepthImageFloatFromDouble_(), BIAS::CornerDetectorSusan< StorageType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::CondensHisto::DrawHistoSizes(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::ImageConvert::DVToRGB_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::CannyEdge< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::ImageConvert::FromInterleaved(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::TriangleMesh::GenerateSimplifiedMesh(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GenerateTestImage(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ColorSegmentation::GetGreyImage(), BIAS::GLProjectionParametersBase::GetGreyImage(), BIAS::ColorSegmentation::GetHueImage(), BIAS::FFT2D_free< StorageType >::GetMagnitude(), BIAS::ROI::GetMaskImage(), BIAS::MixtureOfGaussians< StorageType >::GetMaxWeightImage(), BIAS::ImageBlenderIncremental::GetMosaicRGB(), BIAS::ImageBlenderIncremental::GetMosaicRGBA(), BIAS::ImagePackage::GetNextImage(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::GetRectifyingDisplacementMaps(), BIAS::ColorSegmentation::GetSatImage(), BIAS::ZoomImageCanvas::GetZoomImage(), BIAS::glfRenderingContext::Grab(), BIAS::VideoSource_DCAM_XB3::GrabSingle(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::VideoSource_DCAM_XB3::GrabSingleAsSmallRGB(), BIAS::VideoSource_DCAM_BumbleBee::GrabSingleAsSmallRGB(), BIAS::VideoSource_PMD::GrabSingleDepth(), BIAS::VideoSource_PMD::GrabSingleIntensity(), BIAS::VideoSource_PMD::GrabSingleModCoeff(), BIAS::ColorHarris::HarrisValue(), BIAS::VideoSource_DcamPMD::ImageFloatFromDouble_(), BIAS::VideoSource_PMDZess::ImageFloatFromDouble_(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::VideoSource_DcamPMD::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportLibJPEG(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), BIAS::ImageConvert::Ipl2BIAS(), BIAS::ForwardMappingNearestNeighbour< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), operator=(), BIAS::operator>>(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::PMDImageIO::PostprocessData_(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), Release(), BIAS::BlobDetectorLevelSet< StorageType >::Resize(), BIAS::ImageConvert::RGBToHSV_(), BIAS::PMDImageIO::Save(), BIAS::OpenGLCanvasBase::ScreenShot(), BIAS::ColorSegmentation::Segment(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::ColorSegmentation::SegmentTreshold(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraA(), BIAS::RectificationBase< InputStorageType, OutputStorageType >::SetCameraB(), BIAS::ImageLegendFrame::SetImage(), BIAS::ImageCanvas::ShowHistogramm(), StealImage(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformLogAbs(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformPhase(), BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates(), BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformReverse(), BIAS::FFT2D< InputStorageType, OutputStorageType >::TransformReverse(), UpdateImageDataArrayFromImageData_(), BIAS::ScaledImageCanvas::UpdateScaleOffset(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().
|
inline |
Definition at line 701 of file ImageBase.hh.
|
inline |
Definition at line 491 of file ImageBase.hh.
Referenced by BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::BVWXMainFrame::AddInfo(), BIAS::RegionMatcher::BilinearRegionColor3(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareHeader_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvFloatVert_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntHori_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntMat_(), BIAS::Convolution< InputStorageType, OutputStorageType >::ConvIntVert_(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::WrapBias2Ipl::CreateIplImageShared(), BIAS::GuiCV::CreateIplImageShared(), BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy4(), BIAS::ImageIO::ExportMatrix(), BIAS::ImageIO::ExportTIFFLIB(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), GetChannel(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetDisplacementMap(), GetValue(), Pad(), PadToPowerOfTwo(), ReInit(), SetChannel(), BIAS::DisplacementMapping< InputStorageType, OutputStorageType >::SetDisplacementMap(), SetValue(), BIAS::ImageConvert::ToRGBA(), BIAS::HistoImageCanvas::UpdateHistogramm(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), and BIAS::ImageIO::WriteRAW_IMA().
|
inline |
Definition at line 484 of file ImageBase.hh.
Referenced by BIAS::BVWXMainFrame::AddInfo(), BIAS::ImageConvert::BGRAToGrey_(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::ImageConvert::BIAS2ipl(), BIAS::ImageConvert::Convert(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterColorImg(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::ImageConvert::FromInterleaved(), BIAS::ImageConvert::GetChannel(), GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ImageConvert::HSLToGrey_(), BIAS::ImageConvert::HSLToRGB_(), BIAS::ImageConvert::HSVToRGB_(), BIAS::ImageConvert::IP_RGBToGrey_(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapWithLookupTable(), BIAS::FilterDialogGradientSobel3x3< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogMedian< InputST, OutputST >::OnFilterButton(), BIAS::FilterDialogCannyEdge< InputST, OutputST >::OnFilterButton(), operator=(), Paste2ROI(), BIAS::ImageConvert::RGBToGrey_(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageCanvas::Show(), StealImage(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToPlanar(), BIAS::HistoImageCanvas::UpdateHistogramm(), UpdateImageDataArrayFromImageData_(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleBy2RGBInterleaved(), and BIAS::ImageConvert::YUV422ToGrey_().
|
inline |
check if image contains that pixel position
Definition at line 110 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 |
Definition at line 940 of file ImageBase.cpp.
References GetHeight(), and GetWidth().
Referenced by BIAS::ImgObjGL::CreateGLCubemap(), BIAS::ImgObjGL::CreateGLCubemapEmpty(), BIAS::ImgObjGL::CreateGLTexture(), and BIAS::ImageCanvasGLBase::ValidTexobj().
|
static |
Definition at line 950 of file ImageBase.cpp.
|
inline |
interface for the above JW
Definition at line 769 of file ImageBase.hh.
|
inline |
find closest valid pixel position to x,y
Definition at line 114 of file ImageBase.hh.
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inline |
checks if data area has bigger or the same "size" as Image of other type
Definition at line 78 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), and BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts().
assignment operator, allocates memory structure via Init only if necessary
always copy the members that do not depend on image data to allow feeding Image* into ImageBase*. JW 01/2005
Definition at line 745 of file ImageBase.cpp.
References BIAS::Debug::_liDebugLevel, _MetaData, _UID, BitDepth_, ChannelCount_, ColorModel_, Depth_, GetBitDepth(), GetChannelCount(), GetColorModel(), BIAS::Debug::GetDebugLevel(), GetDepth(), GetHeight(), GetImageData(), GetPixelCount(), GetROI(), GetStorageType(), GetUID(), GetWidth(), Height_, Init(), InterleavedDataOrder_, IsEmpty(), IsPlanar(), Release(), Roi_, SamePixelAndChannelCount(), shouldReleaseData_, ST_invalid, StorageType_, UpdateImageDataArrayFromImageData_(), Width_, and WidthStep_.
Referenced by BIAS::Image< StorageType >::Image(), and BIAS::Image< StorageType >::operator=().
|
inline |
comparison operator, based upon the adresses of the actual image data
Definition at line 738 of file ImageBase.hh.
References GetImageData().
int ImageBase::Pad | ( | BIAS::ImageBase & | dest, |
const unsigned int & | newwidth, | ||
const unsigned int & | newheight, | ||
const int & | padVal = 0 |
||
) | const |
Definition at line 1207 of file ImageBase.cpp.
References GetBitDepth(), GetChannelCount(), GetColorModel(), GetDepth(), GetHeight(), GetImageDataArray(), GetStorageType(), GetWidth(), ImageBase(), IsInterleaved(), SetBitDepth(), and SetColorModel().
Referenced by Pad(), PadToPowerOfTwo(), BIAS::glfCubeMap::UploadImage(), BIAS::glfTexture2D::UploadImage(), and ZeroPad().
int ImageBase::Pad | ( | const unsigned int & | newwidth, |
const unsigned int & | newheight, | ||
const int & | padVal = 0 |
||
) |
Definition at line 1182 of file ImageBase.cpp.
References GetHeight(), GetWidth(), and Pad().
int ImageBase::PadToPowerOfTwo | ( | BIAS::ImageBase & | dest, |
const int & | padVal = 0 |
||
) | const |
increase the size of this image to next power of two (e.g.
384x100>512x128) the original image S is set to upper left rectangle
padVal | used by memset to pad the right and lower added pixels No scale, just padding! orig xx xxxxxxx |
Definition at line 1154 of file ImageBase.cpp.
References ImageBase(), IsInterleaved(), Pad(), and PowerOfTwoSize().
Referenced by BIAS::ImgObjGL::CreateGLTexture(), BIAS::ImageIO::ExportDevIL(), BIAS::SceneBGImage::InitializeTexture_(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), PadToPowerOfTwo(), PadToPowerOfTwoAndFlip(), BIAS::SceneBGImage::SetImage(), and BIAS::SceneTexturedPlane::SetImage().
int ImageBase::PadToPowerOfTwo | ( | const int & | padVal = 0 | ) |
in place version of the above
Definition at line 1131 of file ImageBase.cpp.
References PadToPowerOfTwo(), and PowerOfTwoSize().
int ImageBase::PadToPowerOfTwoAndFlip | ( | const int & | padVal = 0 | ) |
first pad, then flip.
useful for OpenGL texture image which must be pow2 size and Y-flipped ics. example:
0 1 2 3 4 5 --> x x x x x x x x 3 4 5 x 0 1 2 x
Definition at line 1282 of file ImageBase.cpp.
References Flip(), and PadToPowerOfTwo().
Referenced by BIAS::ImgObjGL::CreateGLTexture().
int ImageBase::Paste2ROI | ( | const ImageBase & | Image | ) |
Definition at line 603 of file ImageBase.cpp.
References GetChannelCount(), GetColorModel(), BIAS::ROI::GetCorners(), GetDepth(), GetHeight(), GetImageDataArray(), GetROI(), GetWidth(), and IsPlanar().
Referenced by BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Label::Label4Neighbour(), and BIAS::ImageConvertThreaded::MergeImage_().
void * ImageBase::PixelValueBase | ( | unsigned | x, |
unsigned | y, | ||
unsigned | channel = 0 |
||
) |
Definition at line 1019 of file ImageBase.cpp.
References ChannelCount_, Depth_, Height_, ImageData_, InterleavedDataOrder_, Width_, and WidthStep_.
|
static |
Definition at line 971 of file ImageBase.cpp.
Referenced by BIAS::ThreeDOut::AddTriangleMesh(), BIAS::ImgObjGL::CreateGLTexture(), BIAS::GeometryGL::GetImgCorner2d(), PadToPowerOfTwo(), and PowerOfTwoSize().
bool ImageBase::PowerOfTwoSize | ( | unsigned int & | width2, |
unsigned int & | height2 | ||
) | const |
Definition at line 961 of file ImageBase.cpp.
References GetHeight(), GetWidth(), and PowerOfTwoSize().
|
inlineinherited |
void ImageBase::PrintHeader | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 905 of file ImageBase.cpp.
References BitDepth_, ChannelCount_, ColorModel_, Depth_, GetPixelCount(), GetUID(), Height_, ImageData_, ImageDataArray_, InterleavedDataOrder_, BIAS::UUID::IsValid(), Roi_, StorageType_, Version_, Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::ImageMagick2BIAS().
|
static |
print the (typed) pixel value to stream.
Implemented using a big switch with casting to BIAS::Image internally to work with all image formats w.r.t StorageTypes, planar, interleaved etc. Jan Woetzel
Definition at line 1919 of file ImageBase.cpp.
References GetStorageType(), BIAS::Image< StorageType >::PixelValue(), ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
Referenced by BIAS::ZoomImageCanvas::UpdateStatusBar(), and BIAS::ImageCanvas::UpdateStatusBar().
void ImageBase::PrintROI | ( | std::ostream & | os = std::cout | ) | const |
deprecated, use 'os << *GetROI()'
Definition at line 1087 of file ImageBase.cpp.
References GetROI().
Referenced by BIAS::HaveImagesMatchingROI().
|
inline |
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 859 of file ImageBase.hh.
Referenced by Cut2ROI(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), Flip(), FlipHorizontal(), 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 |
||
) |
(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 131 of file ImageBase.cpp.
References GetChannelCount(), GetHeight(), GetStorageSizeByte(), GetStorageType(), GetWidth(), Init(), IsEmpty(), IsInterleaved(), Release(), SetColorModel(), SetInterleaved(), and SetStorageType().
Referenced by BIAS::VideoSource_SwissRanger::ConvertImageFloatToCharNormalized_(), BIAS::TukeyWindow< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::PMDImageProc::Fit2DToDepthImage(), BIAS::PMDImageProc::MarkHighVarianceValues(), BIAS::Image< StorageType >::MaskValues(), BIAS::ProjectionParametersPerspective::TransformCartesianToPolarCoordinates(), and BIAS::ProjectionParametersPerspective::TransformPolarToCartesianCoordinates().
void ImageBase::Release | ( | const bool | reset_storage_type = false | ) |
Free the allocated data structures Hands off: Do !!NOT!! change the default of reset_storage_type: ImageBase::Release() is also implicitly called for templated images when releasing the storage type here, it becomes possible to assign a float image to an unsigned char image via ImageBase: Image<float> f; Image<unsigned char> uc; ImageBase *ibf = dynamic_cast<ImageBase *>(f); ImageBase *ibuc = dynamic_cast<ImageBase *>(uc); (*ibf) = (*ibuc);.
Definition at line 350 of file ImageBase.cpp.
References _MetaData, BitDepth_, ChannelCount_, CM_invalid, ColorModel_, Depth_, Height_, ImageData_, ImageDataArray_, IsEmpty(), BIAS::ROI::Release(), Roi_, shouldReleaseData_, ST_invalid, StorageType_, Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::glfCubeMap::CopyChannelsToImage(), BIAS::glfTexture2D::CopyChannelsToImage(), BIAS::clfImage3D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::glfCubeMap::CopyToImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::ImageIO::ExportMagickPP(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::ROI::GetMaskImage(), BIAS::ImagePackage::GetNextImage(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImagePnm_(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportLibJPEG(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRADIANCE(), BIAS::ImageIO::ImportRAWwithHeader(), BIAS::ImageIO::ImportReal32(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), operator=(), BIAS::operator>>(), BIAS::glfRenderTarget::ReadBuffer(), ReInit(), BIAS::OpenGLCanvasBase::ScreenShot(), and StealImage().
|
inline |
Releases ImageData_ (to be used together with RedirectImageDataPointer)
Definition at line 90 of file ImageBase.hh.
Referenced by Cut2ROI(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBPoT(), Flip(), FlipHorizontal(), BIAS::ImageConvert::ToPlanarRGB_(), BIAS::ImageConvert::ToPlanarYUYV422_(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
|
inlineinherited |
|
inlineinherited |
|
inline |
checks if data area has same "size" as Image of other type
Definition at line 73 of file ImageBase.hh.
Referenced by BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::_GradientProducts(), BIAS::Image< StorageType >::AbsDiff(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::AdaptiveHistogramEqualization(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::TriangleMesh::ChangeTexture(), BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::CompareImageData_(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Cornerness(), BIAS::ColorHarris::CreateSTColor(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Dilation< InputStorageType, OutputStorageType >::Dilate(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::DirectNeighborsGreyValidInt_(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Erosion< InputStorageType, OutputStorageType >::Filter(), BIAS::Dilation< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGauss< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientGaussAsymmetric< InputStorageType, OutputStorageType >::Filter(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::HistogramEqualization< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::Filter(), BIAS::DeInterlace< InputStorageType, OutputStorageType >::Filter(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::Label::Filter(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter11x11Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter13x13Grey(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter3x3GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5Grey(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter5x5GreyThreshold(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7Grey(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7GreyIgnoreBelowThreshold(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::Filter7x7GreyOnlyBelowThreshold(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGB(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter7x7RGBA(), BIAS::Gauss< InputStorageType, OutputStorageType >::Filter9x9Grey(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnore3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterIgnoreZero5x5(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2(), BIAS::Mean< InputStorageType, OutputStorageType >::FilterMean2x2Grey(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyBelowIgnoreBelow3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero3x3(), BIAS::Median< InputStorageType, OutputStorageType >::FilterOnlyZeroIgnoreZero5x5(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::VideoSource_Net::GrabSingle(), BIAS::TrackerBaseInterface< StorageType >::Init(), BIAS::Label::Label4Neighbour(), operator=(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::PolarTransform(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidFloat_(), BIAS::HessianSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSimple< InputStorageType, OutputStorageType >::SimpleGreyValidInt_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidFloat_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Sobel3x3GreyValidInt_(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToPlanar(), BIAS::Rescale< InputStorageType, OutputStorageType >::Upsample(), and BIAS::Rescale< InputStorageType, OutputStorageType >::UpsampleGrey().
|
inline |
needed by ImageIO
Definition at line 581 of file ImageBase.hh.
Referenced by BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::ImageMagick2BIAS(), BIAS::ImageIO::ImportImagePnm_(), and Pad().
void BIAS::ImageBase::SetChannel | ( | const BIAS::ImageBase & | im, |
const unsigned int | channelId, | ||
const inputType * | channelIn | ||
) |
Definition at line 339 of file ImageBaseInline.hh.
References GetChannelCount(), GetHeight(), GetImageDataArray(), GetStorageType(), GetWidth(), IsInterleaved(), ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
|
static |
Copy channel, determines the internal ImageBase type and casts the input type to the type foreseen in im.
Definition at line 340 of file ImageBase.hh.
Referenced by BIAS::Bilateral< InputStorageType, OutputStorageType >::FilterColorImg(), and BIAS::OpenEXRInterface::Import().
|
inline |
Definition at line 561 of file ImageBase.hh.
Referenced by BIAS::VideoSink_FFmpeg::AddFrame(), BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::StereoRedGreen::Combine(), BIAS::ConvertBayerPattern< StorageType >::Convert(), BIAS::ImageConvert::ConvertST(), BIAS::ImageConvertThreaded::ConvertThreaded(), BIAS::clfImage2D::CopyToBiasImage(), BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::ColorHarris::CreateSTColor(), BIAS::ImageConvert::DeinterleaveHorizontal(), BIAS::CondensImg::DrawSamples(), BIAS::CondensHisto::DrawSamples(), BIAS::CondensHisto::DrawSamplesWhite(), BIAS::CondensHisto::DrawWeightedSamples(), BIAS::Erosion< InputStorageType, OutputStorageType >::Erode(), BIAS::ImageIO::ExportMagickPP(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::ImageConvert::GetChannel(), GetCopyOfROI(), GetCopyOfROI2(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::ColorHarris::HarrisValue(), BIAS::ImageConvert::HSLToRGB_(), BIAS::OpenEXRInterface::Import(), BIAS::ImageIO::ImportDevIL(), BIAS::ImageIO::ImportImage(), BIAS::ImageIO::ImportImageViff_(), BIAS::ImageIO::ImportMagickPPAutoconvert(), BIAS::ImageIO::ImportRAWwithHeader(), Init(), BIAS::VideoSource_PMDZess::Init2DImage(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::VideoSource_OpenNI::InitDepthImage(), BIAS::VideoSource_SwissRanger::InitDepthImage(), BIAS::VideoSource_Kinect::InitDepthImage(), BIAS::VideoSource_Centaurus::InitImage(), BIAS::VideoSource_DCAM_BumbleBee::InitImage(), BIAS::VideoSource_uEye::InitImage(), BIAS::VideoSource_DcamPMD::InitImage(), BIAS::VideoSource_OpenNI::InitImage(), BIAS::VideoSource_SwissRanger::InitImage(), BIAS::VideoSource_Kinect::InitImage(), BIAS::VideoSource_PMDZess::InitImage(), BIAS::VideoSource_DSHOW::InitImage(), BIAS::VideoSource::InitImage(), BIAS::VideoSource_PMD::InitImage_(), BIAS::ShowCamWxVideoSourceFactory::InitImages(), BIAS::VideoSource_DCAM_BumbleBee::InitSingleImage(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageConvert::LUVToXYZ(), BIAS::ThreeDOut::OpenGLOutIndexedFaceSets(), Pad(), BIAS::PMDImageIO::PostprocessData_(), ReInit(), BIAS::ImageConvert::RGBToHSL_(), BIAS::ImageConvert::RGBTohsL_(), BIAS::ImageConvert::RGBToHSV_(), BIAS::ImageConvert::RGBToXYZ(), BIAS::ImageConvert::ToGrey(), BIAS::ImageConvert::ToHSL(), BIAS::ImageConvert::TohsL(), BIAS::ImageConvert::ToHSV(), BIAS::ImageConvert::ToInterleavedRGB(), BIAS::ImageConvert::ToInterleavedRGB_(), BIAS::ImageConvert::ToRGB(), BIAS::ImageConvert::ToRGBA(), BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma(), BIAS::ImageConvert::XYZToLAB(), BIAS::ImageConvert::XYZToLUV(), and BIAS::ImageConvert::XYZToRGB().
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inline |
Definition at line 568 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::BGRAToHSL_(), BIAS::ImageConvert::BGRToHSL_(), BIAS::StereoRedGreen::Combine(), BIAS::ImageConvert::HSLToRGB_(), 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_().
|
inline |
Definition at line 470 of file ImageBase.hh.
Referenced by BIAS::clfImage2D::CopyToBiasImage(), BIAS::clfImage2D::CopyToBiasImageUncheckedRGBAToRGB(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_PMD::GrabSourceData(), and BIAS::IOUtils::LoadFloat().
void ImageBase::SetOutsideROIZero | ( | ) |
sets all pixel not in ROI to zero
Definition at line 675 of file ImageBase.cpp.
References GetChannelCount(), BIAS::ROI::GetCorners(), GetDepth(), GetHeight(), GetImageData(), GetROI(), GetWidth(), GetWidthStep(), BIAS::ROI::IsInROI(), and BIAS::ROI_Corners.
int ImageBase::SetROI | ( | unsigned int | UpperLeftX, |
unsigned int | UpperLeftY, | ||
unsigned int | LowerRightX, | ||
unsigned int | LowerRightY | ||
) |
deprecated, use SetROICorners()
JW: there's no reason to drop this interface - be API backward compatible!
Definition at line 1033 of file ImageBase.cpp.
References SetROICorners().
Referenced by BIAS::ThreeDOut::AddImage(), BIAS::ImageConvert::BayerToRGBSlow_(), BIAS::GradientSobel3x3< InputStorageType, OutputStorageType >::Filter(), BIAS::ExampleMixtureOfGaussiansFrame::processImages_(), BIAS::VideoSource::SoftwareWhiteBalance(), BIAS::ImageConvert::ToGrey(), and BIAS::ConvertHDR< StorageType >::ToUnsignedCharGamma().
int ImageBase::SetROI | ( | const ROI & | roi | ) |
Definition at line 1042 of file ImageBase.cpp.
References GetROI().
int ImageBase::SetROICorners | ( | unsigned int | UpperLeftX, |
unsigned int | UpperLeftY, | ||
unsigned int | LowerRightX, | ||
unsigned int | LowerRightY | ||
) |
Definition at line 1048 of file ImageBase.cpp.
References GetROI(), and BIAS::ROI::SetCorners().
Referenced by BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::TriangleMesh::GenerateDenseMesh(), BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_(), BIAS::ShowCamWxFrame::InitCombinedImage(), BIAS::CylindricDepthTrackingPanorama::ProcessCylindricProjection(), SetROI(), and BIAS::TestFilterBase< FILTER, InputStorageType, OutputStorageType >::TestBorderHandling_().
|
inlineprotected |
changes StorageType data mmeber
Definition at line 1042 of file ImageBase.hh.
Referenced by ReInit().
|
inline |
Definition at line 589 of file ImageBase.hh.
Referenced by BIAS::ImageBlender::ConvertImageToRGBA(), BIAS::ImageBlenderIncremental::ConvertImageToRGBA_(), BIAS::VideoSource_Disk_Bayer::GrabSingle(), BIAS::VideoSource_DiskZessPMD::GrabSingle(), BIAS::VideoSource_ShmPMD::GrabSingle(), BIAS::VideoSource_DiskPMD::GrabSingle(), BIAS::VideoSource_Shm::GrabSingle(), BIAS::VideoSource_Disk::GrabSingle(), BIAS::VideoSource_V4L::GrabSingle(), BIAS::VideoSource_FFmpeg::GrabSingle(), BIAS::VideoSource_DSHOW::GrabSingle(), BIAS::VideoSource_DCAM::GrabSingle(), BIAS::ImageIO::ImportImage(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ImageIO::Save(), BIAS::VideoStream::SplitIntoFiles(), BIAS::ImageIO::Write_(), 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 | ||
) |
Definition at line 265 of file ImageBaseInline.hh.
References GetChannelCount(), GetImageDataArray(), GetStorageType(), and IsInterleaved().
|
static |
Determines the internal ImageBase type and casts the input type to the type foreseen in im.
Definition at line 266 of file ImageBase.hh.
|
inline |
zeroes the image
Definition at line 83 of file ImageBase.hh.
Referenced by BIAS::ImageAlignment::Align(), BIAS::ImageBlenderIncremental::BlendImages(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::ChangeImgSize_(), BIAS::RectificationViaProjectionMappingBase< InputStorageType, OutputStorageType >::Disp2Depth(), BIAS::DensityFilter< InputStorageType, OutputStorageType >::Filter(), BIAS::PMDImageProc::FitDepthTo2DImage(), BIAS::PMDImageProc::FitDepthTo2DImageFree_(), BIAS::TriangleMesh::GenerateTexturedCamera(), BIAS::CheckerboardDetectorCrossFilter::GetCCACenter(), BIAS::VideoSource_PMDZess::ImageUcharFromDouble_(), BIAS::VideoSource_PMDZess::ImageUcharFromShort_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::Map(), BIAS::ImageDistribution::MapImagesToFixedSize(), BIAS::ImageDistribution::MapImagesToSquare(), BIAS::ImageBlenderIncremental::SetDepthMap(), BIAS::TrackerBaseAffine< StorageType >::TrackAffine_(), and BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_().
|
inlineinherited |
int ImageBase::StealImage | ( | ImageBase & | source | ) |
steals the image data array from source, after releasing the actual image data and sets source image data to NULL
Definition at line 395 of file ImageBase.cpp.
References _MetaData, BitDepth_, ChannelCount_, ColorModel_, Depth_, GetBitDepth(), GetChannelCount(), GetColorModel(), GetDepth(), GetHeight(), GetImageData(), GetImageDataArray(), GetROI(), GetStorageType(), GetWidth(), GetWidthStep(), Height_, ImageData_, ImageDataArray_, InterleavedDataOrder_, IsEmpty(), IsPlanar(), Release(), Roi_, StorageType_, Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::Convert(), BIAS::Bilateral< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::Filter(), BIAS::Median< InputStorageType, OutputStorageType >::FilterRemoveSaltAndPepper(), BIAS::BVWXMainFrame::LoadImageFromList(), BIAS::ColorSegmentationThreaded::Segment(), BIAS::GuiBase::ShowImage(), and BIAS::ImageConvert::ToGrey().
|
static |
Definition at line 1595 of file ImageBase.cpp.
References CM_Bayer_BGGR, CM_Bayer_GBRG, CM_Bayer_GRBG, CM_Bayer_RGGB, CM_BGR, CM_BGRA, CM_Depth, CM_DepthAndVariance, CM_Disparity, CM_DV, CM_Grey, CM_GreyA, CM_HSI_OBS, CM_HSL, CM_hsL, CM_HSV, CM_invalid, CM_LAB, CM_LUV, CM_PGR_XB3_F7M3_GBRG, CM_RGB, CM_RGBA, CM_RGBE, CM_SymTensor2x2, CM_UYVY422, CM_XYZ, CM_YUV411, CM_YUV420P, CM_YUV444, CM_YUYV, and CM_YUYV422.
Referenced by BIAS::OpenEXRInterface::Import().
|
static |
Definition at line 1632 of file ImageBase.cpp.
References ST_char, ST_double, ST_float, ST_int, ST_shortint, ST_unsignedchar, ST_unsignedint, and ST_unsignedshortint.
Referenced by BIAS::OpenEXRInterface::MapPixelType_().
|
inline |
transfer GL texture coordinates [0..1[ x [0..1[ to BIAS image coordinates [0..w-1] x [0..h-1]
GL coordinates are relative to image size of *this (must be valid) !
Please note that this is only one of many possible bias to gl coord transformations which may be particularly different for pow2, non-pow2, rectangle, padded, scaled, bordered, offset etc. OpenGL textures.
BIASASSERT(Equal(gl_x2, gl_x)); BIASASSERT(Equal(gl_y2, gl_y));
Definition at line 168 of file ImageBase.hh.
void ImageBase::UnsetROI | ( | ) |
deprecated, use GetROI()->UnsetROI()
Definition at line 1057 of file ImageBase.cpp.
References GetROI(), and BIAS::ROI::UnsetROI().
Referenced by Cut2ROI(), BIAS::Gauss< InputStorageType, OutputStorageType >::FilterGrey(), and BIAS::ContourDetectorBSpline< StorageType >::GetFeatImage_().
|
protected |
recomputes pointer array returned by GetImageDataArray
Definition at line 302 of file ImageBase.cpp.
References ChannelCount_, Depth_, GetChannelCount(), GetHeight(), GetImageData(), GetPixelCount(), GetWidth(), ImageDataArray_, InterleavedDataOrder_, IsEmpty(), IsPlanar(), Width_, and WidthStep_.
Referenced by BIAS::ImageConvert::GetChannel(), BIAS::ImageIO::ImportDevIL(), Init(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), operator=(), BIAS::operator>>(), and BIAS::ImageConvert::ToGrey().
int ImageBase::ZeroPad | ( | const unsigned int | newwidth, |
const unsigned int | newheight, | ||
unsigned char | bgcolor = 0 |
||
) |
backward compatibility interface for Pad.
DEPRECATED
Definition at line 1122 of file ImageBase.cpp.
References Pad().
Referenced by BIAS::FFT2D_Tiles< InputStorageType, OutputStorageType >::TransformAbs().
|
friend |
Definition at line 104 of file ImageBase.hh.
|
friend |
Definition at line 105 of file ImageBase.hh.
|
friend |
Definition at line 1477 of file ImageBase.cpp.
|
friend |
Definition at line 1647 of file ImageBase.cpp.
|
friend |
Definition at line 106 of file ImageBase.hh.
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
additional data block, handled by derived classes
Definition at line 1080 of file ImageBase.hh.
Referenced by ImageBase(), operator=(), Release(), and StealImage().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
unique id for every image
Definition at line 1078 of file ImageBase.hh.
Referenced by ImageBase(), BIAS::operator<<(), operator=(), and BIAS::operator>>().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
relevant bits per pixel per channel
Definition at line 1062 of file ImageBase.hh.
Referenced by BIAS::Image< StorageType >::Image(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PrintHeader(), Release(), and StealImage().
|
protected |
number of channels per pixel
Definition at line 1058 of file ImageBase.hh.
Referenced by Cut2ROI(), BIAS::ImageConvert::GetChannel(), ImageBase(), Init(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::ImageConvert::IP_YUV422ToGrey_(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), Release(), StealImage(), BIAS::ImageConvert::ToGrey(), UpdateImageDataArrayFromImageData_(), BIAS::ImageConvert::YUV422ToGrey_(), and BIAS::ImageConvert::YUV422ToRGB_().
|
protected |
the color model of the pixels
Definition at line 1054 of file ImageBase.hh.
Referenced by BIAS::Histogram2D::Histogram2D(), ImageBase(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PrintHeader(), Release(), StealImage(), and BIAS::ImageConvert::YUV422ToRGB_().
|
protected |
size of one channel of one pixel in bytes
Definition at line 1060 of file ImageBase.hh.
Referenced by Cut2ROI(), BIAS::ImageConvert::GetChannel(), BIAS::Image< StorageType >::Image(), ImageBase(), Init(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), Release(), StealImage(), BIAS::ImageConvert::ToGrey(), and UpdateImageDataArrayFromImageData_().
|
staticprotectedinherited |
|
protected |
image height in pixels
Definition at line 1066 of file ImageBase.hh.
Referenced by Cut2ROI(), Flip(), FlipHorizontal(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator<<(), operator=(), PixelValueBase(), PrintHeader(), Release(), and StealImage().
|
protected |
a pointer to the image data
Definition at line 1076 of file ImageBase.hh.
Referenced by BIAS::ImageConvert::GetChannel(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), Release(), and StealImage().
|
protected |
array of pointers to the first byte in an image row
Definition at line 1074 of file ImageBase.hh.
Referenced by Flip(), FlipHorizontal(), ImageBase(), PrintHeader(), Release(), StealImage(), and UpdateImageDataArrayFromImageData_().
|
protected |
planar or interleaved: planar means we have several image planes, e.g.
for a 3x3 RGB image data is RRRRRRRRRGGGGGGGGGGBBBBBBBB while interleaved means RGBRGBRGBRGBRGBRGBRGBRGBRGB
Definition at line 1070 of file ImageBase.hh.
Referenced by Flip(), FlipHorizontal(), BIAS::Histogram2D::Histogram2D(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), StealImage(), and UpdateImageDataArrayFromImageData_().
|
protected |
roi object
Definition at line 1082 of file ImageBase.hh.
Referenced by ImageBase(), Init(), InitWithForeignData(), operator=(), PrintHeader(), Release(), and StealImage().
|
protected |
shoud ImageBase release the data pointer?
Definition at line 1084 of file ImageBase.hh.
Referenced by Init(), InitWithForeignData(), operator=(), and Release().
|
protected |
the storage type in a pixel channel
Definition at line 1056 of file ImageBase.hh.
Referenced by BIAS::WrapBias2Ipl::CreateBiasImageCopy(), BIAS::Image< StorageType >::Image(), ImageBase(), Init(), InitWithForeignData(), BIAS::operator<<(), operator=(), PrintHeader(), Release(), and StealImage().
|
staticprotected |
version number of imagebase class
Definition at line 1052 of file ImageBase.hh.
Referenced by PrintHeader().
|
protected |
image width in pixels
Definition at line 1064 of file ImageBase.hh.
Referenced by Cut2ROI(), FlipHorizontal(), BIAS::ImageConvert::GetChannel(), ImageBase(), Init(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), operator=(), PixelValueBase(), PrintHeader(), Release(), StealImage(), BIAS::ImageConvert::ToGrey(), and UpdateImageDataArrayFromImageData_().
|
protected |
size of a line in bytes for interleaved, NOT nr . of pixels (but size a line in one plane for planar)
Definition at line 1072 of file ImageBase.hh.
Referenced by Cut2ROI(), FlipHorizontal(), BIAS::ImageConvert::GetChannel(), ImageBase(), Init(), InitWithForeignData(), BIAS::ImageConvert::IP_ToGrey(), BIAS::operator<<(), operator=(), BIAS::operator>>(), PixelValueBase(), PrintHeader(), Release(), StealImage(), BIAS::ImageConvert::ToGrey(), and UpdateImageDataArrayFromImageData_().