Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgar::GeodesicRecBinaryImage Class Reference
[Mathematical Morphology]

#include <qgarlib/GeodesicRecBinaryImage.H>

Inheritance diagram for qgar::GeodesicRecBinaryImage:

qgar::GenImage< T, CheckPolicy > List of all members.

Detailed Description

Complete geodesic reconstruction of a binary image by dilation.

Implementation based on a queue-based algorithm by L. Vincent [Vincent, 1993].

Author:
Mathieu Baeumler
Date:
August 6, 2002 17:20
Since:
Qgar 2.0

Definition at line 74 of file GeodesicRecBinaryImage.H.

Public Types

Types
typedef BinaryImage::value_type value_type
 Type of the elements stored in the pixel map.
typedef value_typereference
 Reference to qgar::GeodesicRecBinaryImage::value_type.
typedef const value_typeconst_reference
 Constant reference to qgar::GeodesicRecBinaryImage::value_type.
typedef value_typepointer
 Pointer to qgar::GeodesicRecBinaryImage::value_type.
typedef const value_typeconst_pointer
 Constant pointer to qgar::GeodesicRecBinaryImage::value_type.

Public Member Functions

Constructors
 GeodesicRecBinaryImage (BinaryImage &aMarkImg, BinaryImage &aResImg) throw (QgarErrorDomain)
 Construct in given result image from given marker image.

Static Public Member Functions

Geodesic reconstruction
static void perform (BinaryImage *aMarkImg, BinaryImage *aResImg)
 Perform a geodesic reconstruction in given result image from given marker image.


Member Typedef Documentation

typedef const value_type* qgar::GeodesicRecBinaryImage::const_pointer
 

Constant pointer to qgar::GeodesicRecBinaryImage::value_type.

Reimplemented from qgar::GenImage< T, CheckPolicy >.

Definition at line 111 of file GeodesicRecBinaryImage.H.

typedef const value_type& qgar::GeodesicRecBinaryImage::const_reference
 

Constant reference to qgar::GeodesicRecBinaryImage::value_type.

Reimplemented from qgar::GenImage< T, CheckPolicy >.

Definition at line 101 of file GeodesicRecBinaryImage.H.

typedef value_type* qgar::GeodesicRecBinaryImage::pointer
 

Pointer to qgar::GeodesicRecBinaryImage::value_type.

Reimplemented from qgar::GenImage< T, CheckPolicy >.

Definition at line 106 of file GeodesicRecBinaryImage.H.

typedef value_type& qgar::GeodesicRecBinaryImage::reference
 

Reference to qgar::GeodesicRecBinaryImage::value_type.

Reimplemented from qgar::GenImage< T, CheckPolicy >.

Definition at line 96 of file GeodesicRecBinaryImage.H.

typedef BinaryImage::value_type qgar::GeodesicRecBinaryImage::value_type
 

Type of the elements stored in the pixel map.

Reimplemented from qgar::GenImage< T, CheckPolicy >.

Definition at line 91 of file GeodesicRecBinaryImage.H.


Constructor & Destructor Documentation

qgar::GeodesicRecBinaryImage::GeodesicRecBinaryImage BinaryImage aMarkImg,
BinaryImage aResImg
throw (QgarErrorDomain)
 

Construct in given result image from given marker image.

The geodesic reconstruction first collects the boundaries of the marker image, then propagates them in the relevant connected components of the resulting image.

Parameters:
aMarkImg image to be reconstructed
aResImg result image
Exceptions:
qgar::QgarErrorDomain (marker image size does not match result image size)

Definition at line 61 of file GeodesicRecBinaryImage.C.

References qgar::GenImage< T, CheckPolicy >::width().


Member Function Documentation

template<class T, template< class > class CheckPolicy>
int qgar::GenImage< T, CheckPolicy >::borderCols int  aColIdx  )  const [inherited]
 

Mirror border columns for convolutions.

Parameters:
aColIdx index of the column

Definition at line 1052 of file GenImage.TCC.

template<class T, template< class > class CheckPolicy>
int qgar::GenImage< T, CheckPolicy >::borderRows int  aRowIdx  )  const [inherited]
 

Mirror border rows for convolutions.

Parameters:
aRowIdx index of the row

Definition at line 1036 of file GenImage.TCC.

template<class T, template< class > class CheckPolicy>
int qgar::GenImage< T, CheckPolicy >::bytesPerPixel  )  const [inline, inherited]
 

Get the number of bytes per pixel.

Definition at line 369 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_bytesPerPixel.

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
void qgar::GenImage< T, CheckPolicy >::column unsigned int  aColIdx,
pointer  aCol
const [inherited]
 

Get a column of pixels.

Parameters:
aColIdx column index in image
aCol buffer to store the column of pixels
Warning:
The behavior of the function is undefined if the buffer size is smaller than the column size.

template<class T, template< class > class CheckPolicy>
void qgar::GenImage< T, CheckPolicy >::copyBox const GenImage< value_type, CheckPolicy > &  anImg,
unsigned int  aXTopLeft,
unsigned int  aYTopLeft,
unsigned int  aXBottomRight,
unsigned int  aYBottomRight,
value_type  aPixVal = static_cast< value_type >(0)
[protected, inherited]
 

Copy a rectangular area of the given image into the current image.

The sides of the rectangle are parallel to the coordinate axis.

Parameters:
anImg initial image
aXTopLeft X coordinate of the area top left corner
aYTopLeft Y coordinate of the area left corner
aXBottomRight X coordinate of the area bottom right corner
aYBottomRight Y coordinate of the area bottom right corner
aPixVal pixel value to fill non-overlaping zones (default (T)0)
Warning:
The intersection between the rectangle and the given image must be non-empty. If the overlaping zone is only partial, the non-overlaping zone(s) are filled with pixels having value aPixVal.
Todo:
To be reimplemented.

Definition at line 1074 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap, qgar::GenImage< T, CheckPolicy >::height(), qgar::GenImage< T, CheckPolicy >::pPixMap(), qgar::qgFill(), and qgar::GenImage< T, CheckPolicy >::width().

Referenced by qgar::GenImage< T, CheckPolicy >::GenImage().

template<class T, template< class > class CheckPolicy>
void qgar::GenImage< T, CheckPolicy >::draw const Segment aSeg,
value_type  aPixVal = (value_type) 1
[inherited]
 

Draw a segment in the pixel map.

The segment pixels are set using Bresenham's algorithm. See W.M. Newman and R.F. Sproull, Principles of Interactive Computer Graphics, pp. 25-26.

Parameters:
aSeg segment to be drawn
aPixVal value to set pixels with (default (T)1)

Definition at line 535 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::setPixel(), qgar::AbstractGenPrimitive< T >::source(), qgar::AbstractGenPrimitive< T >::target(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y().

template<class T, template< class > class CheckPolicy>
int qgar::GenImage< T, CheckPolicy >::height  )  const [inline, inherited]
 

Get the image height.

Definition at line 359 of file GenImage.TCC.

Referenced by qgar::GenImage< T, CheckPolicy >::copyBox(), qgar::PruneSmallCCBinaryImage::isNeighbor(), qgar::LabeledSkeletonImage::LabeledSkeletonImage(), qgar::LinkedChainList::LinkedChainList(), qgar::MapleFile::MapleFile(), qgar::GenImage< T, CheckPolicy >::minusEqual(), qgar::GenImage< T, CheckPolicy >::operator=(), qgar::UltimateErodedBinaryImage::perform(), qgar::GeodesicRecImage::perform(), qgar::GeodesicRecEroImage::perform(), qgar::GeodesicRecEroBinaryImage::perform(), perform(), qgar::GenImage< T, CheckPolicy >::plusEqual(), qgar::PruneSmallCCBinaryImage::PruneSmallCCBinaryImage(), qgar::GenImage< T, CheckPolicy >::timesEqual(), and qgar::TTBinaryImage::TTBinaryImage().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::minus const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Subtract each pixel of the given image to the corresponding pixel of the current image and store each result in a new pixel map.

Returns:
A new image constructed from this new pixel map
Parameters:
anImg image to be subtracted to the current image
Warning:
Given and current images must have the same width and height. The subtraction is not normalized: Each result is stored in the new pixel map without any checking.

Definition at line 867 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::GenImage().

Referenced by qgar::GenImage< T, CheckPolicy >::operator-().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::minusEqual const GenImage< value_type, OtherCheckPolicy > &  anImg  )  throw (QgarErrorDomain) [inherited]
 

Subtract a given image to the current image.

Parameters:
anImg image to be subtracted to the current image
Subtract each pixel of the given image to the corresponding pixel of the current image and store each result in the pixel map of the current image.

Warning:
Given and current images must have the same width and height. The subtraction is not normalized: Each result is stored in the pixel map of the current image without any checking.
Exceptions:
qgar::QgarErrorDomain (image sizes do not match)

Definition at line 877 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::height(), qgar::GenImage< T, CheckPolicy >::pPixMap(), and qgar::GenImage< T, CheckPolicy >::width().

Referenced by qgar::GenImage< T, CheckPolicy >::operator-=().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::operator * const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Same as function qgar::GenImage::times.

Definition at line 926 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::times().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::operator *= const GenImage< value_type, OtherCheckPolicy > &  anImg  )  [inherited]
 

Same as function qgar::GenImage::timesEqual.

Definition at line 937 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::timesEqual().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::operator+ const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Same as function qgar::GenImage::plus.

Definition at line 767 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::plus().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::operator+= const GenImage< value_type, OtherCheckPolicy > &  anImg  )  [inherited]
 

Same as function qgar::GenImage::plusEqual.

Definition at line 778 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::plusEqual().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::operator- const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Same as function qgar::GenImage::minus.

Definition at line 846 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::minus().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::operator-= const GenImage< value_type, OtherCheckPolicy > &  anImg  )  [inherited]
 

Same as function qgar::GenImage::minusEqual.

Definition at line 857 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::minusEqual().

template<class T, template< class > class CheckPolicy>
T * qgar::GenImage< T, CheckPolicy >::pColumn unsigned int  aColIdx  )  const [inline, inherited]
 

Get a pointer on a column of pixels.

Parameters:
aColIdx column index in image

Definition at line 453 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap.

void qgar::GeodesicRecBinaryImage::perform BinaryImage aMarkImg,
BinaryImage aResImg
[static]
 

Perform a geodesic reconstruction in given result image from given marker image.

To be used to perform a geodesic reconstruction without creating any image.

Parameters:
aMarkImg pointer to image to be reconstructed
aResImg pointer to result image

Definition at line 92 of file GeodesicRecBinaryImage.C.

References qgar::GenImage< T, CheckPolicy >::height(), qgar::GenImage< T, CheckPolicy >::pPixMap(), and qgar::GenImage< T, CheckPolicy >::width().

Referenced by qgar::RegionalMaxBinaryImage::perform().

template<class T, template< class > class CheckPolicy>
T qgar::GenImage< T, CheckPolicy >::pixel unsigned int  aX,
unsigned int  aY
const [inherited]
 

Get a pixel value.

Parameters:
aX X coordinate (column index) of the pixel
aY Y coordinate (row index) of the pixel

Definition at line 384 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap, and qgar::GenImage< T, CheckPolicy >::_width.

Referenced by qgar::AbstractGradientImage::dxPixel(), qgar::AbstractGradientImage::dyPixel(), qgar::PruneSmallCCBinaryImage::isNeighbor(), qgar::MapleFile::MapleFile(), and qgar::PruneSmallCCBinaryImage::PruneSmallCCBinaryImage().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::plus const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Add each pixel of the given image to the corresponding pixel of the current image and store each result in a new pixel map.

Parameters:
anImg image to be added to the current image
Returns:
A new image constructed from this new pixel map
Warning:
Given and current images must have the same width and height. The addition is not normalized: Each result is stored in the new pixel map without any checking.

Definition at line 788 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::GenImage().

Referenced by qgar::GenImage< T, CheckPolicy >::operator+().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::plusEqual const GenImage< value_type, OtherCheckPolicy > &  anImg  )  throw (QgarErrorDomain) [inherited]
 

Add a given image to the current image.

Add each pixel of the given image to the corresponding pixel of the current image and store each result in the pixel map of the current image.

Parameters:
anImg image to be added to the current image
Warning:
Given and current images must have the same width and height. The addition is not normalized: Each result is stored in the pixel map of the current image without any checking.
Exceptions:
qgar::QgarErrorDomain (image sizes do not match)

Definition at line 797 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::height(), qgar::GenImage< T, CheckPolicy >::pPixMap(), and qgar::GenImage< T, CheckPolicy >::width().

Referenced by qgar::GenImage< T, CheckPolicy >::operator+=().

template<class T, template< class > class CheckPolicy>
T * qgar::GenImage< T, CheckPolicy >::pPixel unsigned int  aRowIdx,
unsigned int  aColIdx
const [inline, inherited]
 

Get a pointer on a given pixel of the image.

Parameters:
aRowIdx row index of the pixel
aColIdx column index of the pixel

Definition at line 432 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap, and qgar::GenImage< T, CheckPolicy >::_width.

template<class T, template< class > class CheckPolicy>
T * qgar::GenImage< T, CheckPolicy >::pPixMap  )  const [inline, inherited]
 

Get the pointer to the pixel map.

Definition at line 463 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap.

Referenced by qgar::AbstractGradientImage::AbstractGradientImage(), qgar::LinkedChainList::aChain(), qgar::GenImage< T, CheckPolicy >::copyBox(), qgar::DericheGradientImage::dfilterX(), qgar::DericheGradientImage::dfilterY(), qgar::Dist34BlackCCImage::Dist34BlackCCImage(), qgar::Dist34Image::Dist34Image(), qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::GradientLocalMaxImage::GradientLocalMaxImage(), qgar::LinkedChainList::LinkedChainList(), qgar::ConnectedComponents::makeBinaryImg(), qgar::GenImage< T, CheckPolicy >::minusEqual(), qgar::NiblackBinaryImage::NiblackBinaryImage(), qgar::GenImage< T, CheckPolicy >::operator=(), qgar::UltimateErodedBinaryImage::perform(), qgar::GeodesicRecImage::perform(), qgar::GeodesicRecEroImage::perform(), qgar::GeodesicRecEroBinaryImage::perform(), perform(), qgar::GenImage< T, CheckPolicy >::plusEqual(), qgar::Component::PRIVATEcomputeContour(), qgar::ThresBinaryImage::ThresBinaryImage(), qgar::GenImage< T, CheckPolicy >::timesEqual(), qgar::TTBinaryImage::TTBinaryImage(), qgar::GenConvolImage< T, CheckingPolicy >::xconvol(), and qgar::GenConvolImage< T, CheckingPolicy >::yconvol().

template<class T, template< class > class CheckPolicy>
T * qgar::GenImage< T, CheckPolicy >::pRow unsigned int  aRowIdx  )  const [inline, inherited]
 

Get a pointer on a row of pixels.

Parameters:
aRowIdx row index in image

Definition at line 443 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap, and qgar::GenImage< T, CheckPolicy >::_width.

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
void qgar::GenImage< T, CheckPolicy >::row unsigned int  aRowIdx,
pointer  aRow
const [inherited]
 

Get a row of pixels.

Parameters:
aRowIdx row index in image
aRow buffer to store the row of pixels
Warning:
The behavior of the function is undefined if the buffer size is smaller than the row size.

Referenced by qgar::CleanedBinaryImage::CleanedBinaryImage(), qgar::LinDilatedImage::dilateAll(), qgar::LinDilatedBinaryImage::dilateAll(), qgar::LinErodedImage::erodeAll(), qgar::LinErodedBinaryImage::erodeAll(), qgar::IsotropicDilatedBinaryImage::IsotropicDilatedBinaryImage(), qgar::NiblackBinaryImage::NiblackBinaryImage(), and qgar::GenImage< T, CheckPolicy >::save().

template<class T, template< class > class CheckPolicy>
void qgar::GenImage< T, CheckPolicy >::save AbstractPbmPlusFile aPbmPlusFile  )  const [inherited]
 

Store current image into a PBM+ file.

The given PBM+ file is opened (in WRITE ONLY mode) at the call, and closed before returning.

Parameters:
aPbmPlusFile a PBM+ file

Definition at line 1005 of file GenImage.TCC.

References qgar::AbstractFile::close(), qgar::AbstractFile::openWONLY(), qgar::AbstractPbmPlusFile::pRow(), qgar::GenImage< T, CheckPolicy >::row(), qgar::AbstractPbmPlusFile::setColCnt(), qgar::AbstractPbmPlusFile::setRowCnt(), and qgar::AbstractPbmPlusFile::writeRow().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
void qgar::GenImage< T, CheckPolicy >::setColumn unsigned int  aColIdx,
const_pointer const   aCol
[inherited]
 

Set a given column of pixels.

Parameters:
aColIdx column index in image
aCol column of pixels to store into the pixel map

template<class T, template< class > class CheckPolicy>
void qgar::GenImage< T, CheckPolicy >::setPixel unsigned int  aX,
unsigned int  aY,
value_type  aPixVal
[inherited]
 

Set a pixel value.

Parameters:
aX X coordinate (column index) of the pixel
aY Y coordinate (row index) of the pixel
aPixVal value of the pixel

Definition at line 478 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_pPixMap, and qgar::GenImage< T, CheckPolicy >::_width.

Referenced by qgar::GenImage< T, CheckPolicy >::draw(), and qgar::PruneSmallCCBinaryImage::removeComponent().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
void qgar::GenImage< T, CheckPolicy >::setRow unsigned int  aRowIdx,
const_pointer const   aRow
[inherited]
 

Set a given row of pixels.

Parameters:
aRowIdx row index in image
aRow row of pixels to store into the pixel map

Referenced by qgar::CleanedBinaryImage::CleanedBinaryImage(), qgar::LinDilatedImage::dilateAll(), qgar::LinDilatedBinaryImage::dilateAll(), qgar::LinErodedImage::erodeAll(), qgar::LinErodedBinaryImage::erodeAll(), qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::IsotropicDilatedBinaryImage::IsotropicDilatedBinaryImage(), and qgar::NiblackBinaryImage::NiblackBinaryImage().

template<class T, template< class > class CheckPolicy>
GenImage< T, CheckPolicy > qgar::GenImage< T, CheckPolicy >::shallowCopy  )  [inherited]
 

Shallow copy: The pixel map of the current image is not duplicated.

See also:
qgar::GenImage::operator= and copy constructor.
Warning:
When the copy is completed, the pixel map of the new image is the same memory space as the pixel map of the current image.

Definition at line 691 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_bytesPerPixel, qgar::GenImage< T, CheckPolicy >::_pPixMap, and qgar::GenImage< T, CheckPolicy >::_pRefCnt.

Referenced by qgar::AbstractGradientImage::shallowCopy().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, GenImage_NoCheck > qgar::GenImage< T, CheckPolicy >::times const GenImage< value_type, OtherCheckPolicy > &  anImg  )  const [inherited]
 

Multiply each pixel of the given image to the corresponding pixel of the current image and store each result in a new pixel map.

Parameters:
anImg image to be multiplied by the current image
Returns:
A new image constructed from this new pixel map
Warning:
Given and current images must have the same width and height. The multiplication is not normalized: Each result is stored in the new pixel map without any checking.

Definition at line 947 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::GenImage().

Referenced by qgar::GenImage< T, CheckPolicy >::operator *().

template<class T, template< class > class CheckPolicy>
template<template< class > class OtherCheckPolicy>
GenImage< T, CheckPolicy > & qgar::GenImage< T, CheckPolicy >::timesEqual const GenImage< value_type, OtherCheckPolicy > &  anImg  )  throw (QgarErrorDomain) [inherited]
 

Multiply a given image by the current image.

Multiply each pixel of the given image by the corresponding pixel of the current image and store each result in the pixel map of the current image.

Parameters:
anImg image to be multiplied by the current image
Warning:
Given and current images must have the same width and height. The multiplication is not normalized: Each result is stored in the pixel map of the current image without any checking.
Exceptions:
qgar::QgarErrorDomain (image sizes do not match)

Definition at line 958 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::height(), qgar::GenImage< T, CheckPolicy >::pPixMap(), and qgar::GenImage< T, CheckPolicy >::width().

Referenced by qgar::GenImage< T, CheckPolicy >::operator *=().

template<class T, template< class > class CheckPolicy>
int qgar::GenImage< T, CheckPolicy >::width  )  const [inline, inherited]
 

Get the image width.

Definition at line 349 of file GenImage.TCC.

References qgar::GenImage< T, CheckPolicy >::_width.

Referenced by qgar::LinkedChainList::aChain(), qgar::CloseBinaryImage::CloseBinaryImage(), qgar::CloseImage::CloseImage(), qgar::GenImage< T, CheckPolicy >::copyBox(), qgar::DilatedBinaryImage::DilatedBinaryImage(), qgar::DilatedImage::DilatedImage(), qgar::Dist34Image::Dist34Image(), qgar::ErodedBinaryImage::ErodedBinaryImage(), qgar::ErodedImage::ErodedImage(), GeodesicRecBinaryImage(), qgar::GeodesicRecEroBinaryImage::GeodesicRecEroBinaryImage(), qgar::GeodesicRecEroImage::GeodesicRecEroImage(), qgar::GeodesicRecImage::GeodesicRecImage(), qgar::PruneSmallCCBinaryImage::isNeighbor(), qgar::LabeledSkeletonImage::LabeledSkeletonImage(), qgar::LinkedChainList::LinkedChainList(), qgar::MapleFile::MapleFile(), qgar::GenImage< T, CheckPolicy >::minusEqual(), qgar::OpenBinaryImage::OpenBinaryImage(), qgar::OpenImage::OpenImage(), qgar::GenImage< T, CheckPolicy >::operator=(), qgar::UltimateErodedBinaryImage::perform(), qgar::GeodesicRecImage::perform(), qgar::GeodesicRecEroImage::perform(), qgar::GeodesicRecEroBinaryImage::perform(), perform(), qgar::GenImage< T, CheckPolicy >::plusEqual(), qgar::Component::PRIVATEcomputeContour(), qgar::PruneSmallCCBinaryImage::processPixel(), qgar::PruneSmallCCBinaryImage::PruneSmallCCBinaryImage(), qgar::GenImage< T, CheckPolicy >::timesEqual(), qgar::TTBinaryImage::TTBinaryImage(), and qgar::PruneSmallCCBinaryImage::unification().


Member Data Documentation

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
unsigned int qgar::GenImage< T, CheckPolicy >::_bytesPerPixel [protected, inherited]
 

Number of bytes per pixel.

Definition at line 1096 of file GenImage.H.

Referenced by qgar::GenImage< T, CheckPolicy >::bytesPerPixel(), and qgar::GenImage< T, CheckPolicy >::shallowCopy().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
int qgar::GenImage< T, CheckPolicy >::_height [protected, inherited]
 

Image height.

Definition at line 1114 of file GenImage.H.

Referenced by qgar::CleanedBinaryImage::CleanedBinaryImage(), qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::GradientLocalMaxImage::GradientLocalMaxImage(), qgar::GradientModuleImage::GradientModuleImage(), qgar::IsotropicDilatedBinaryImage::IsotropicDilatedBinaryImage(), and qgar::NiblackBinaryImage::NiblackBinaryImage().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
pointer qgar::GenImage< T, CheckPolicy >::_pPixMap [protected, inherited]
 

Pointer to the pixel map, organized as consecutive rows.

Definition at line 1120 of file GenImage.H.

Referenced by qgar::GenImage< T, CheckPolicy >::copyBox(), qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::GradientLocalMaxImage::GradientLocalMaxImage(), qgar::GradientModuleImage::GradientModuleImage(), qgar::GenImage< T, CheckPolicy >::operator=(), qgar::GenImage< T, CheckPolicy >::pColumn(), qgar::GenImage< T, CheckPolicy >::pixel(), qgar::GenImage< T, CheckPolicy >::pPixel(), qgar::GenImage< T, CheckPolicy >::pPixMap(), qgar::GenImage< T, CheckPolicy >::pRow(), qgar::GenImage< T, CheckPolicy >::setPixel(), qgar::GenImage< T, CheckPolicy >::shallowCopy(), and qgar::GenImage< T, CheckPolicy >::~GenImage().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
int* qgar::GenImage< T, CheckPolicy >::_pRefCnt [protected, inherited]
 

Reference counter.

Its value represent the number of other images with which the current image shares its pixel map.

Definition at line 1104 of file GenImage.H.

Referenced by qgar::GenImage< T, CheckPolicy >::shallowCopy(), and qgar::GenImage< T, CheckPolicy >::~GenImage().

template<class T, template< class > class CheckPolicy = GenImage_NoCheck>
int qgar::GenImage< T, CheckPolicy >::_width [protected, inherited]
 

Image width.

Definition at line 1109 of file GenImage.H.

Referenced by qgar::CleanedBinaryImage::CleanedBinaryImage(), qgar::GenImage< T, CheckPolicy >::GenImage(), qgar::GradientLocalMaxImage::GradientLocalMaxImage(), qgar::GradientModuleImage::GradientModuleImage(), qgar::IsotropicDilatedBinaryImage::IsotropicDilatedBinaryImage(), qgar::NiblackBinaryImage::NiblackBinaryImage(), qgar::GenImage< T, CheckPolicy >::pixel(), qgar::GenImage< T, CheckPolicy >::pPixel(), qgar::NiblackBinaryImage::PRIVATEgetBlackLabels(), qgar::GenImage< T, CheckPolicy >::pRow(), qgar::GenImage< T, CheckPolicy >::setPixel(), and qgar::GenImage< T, CheckPolicy >::width().


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