#include <cImageSearchData.h>
List of all members.
Detailed Description
Definition at line 67 of file cImageSearchData.h.
Constructor & Destructor Documentation
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::cImageSearchData |
( |
const unsigned long |
ulInWidth, |
|
|
const unsigned long |
ulInHeight |
|
) |
| |
parameter constructor
- Parameters:
-
ulInWidth | the width of the image to search |
- See also:
- ulWidth
- Parameters:
-
ulInHeight | the height of the image to search |
- See also:
- ulHeight
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::cImageSearchData |
( |
const iImageData * |
pInImageData | ) |
|
parameter constructor
- Parameters:
-
pInImageData | pointer to the image data, of the image to convert |
- See also:
- pImageData
fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::~cImageSearchData |
( |
| ) |
|
Member Function Documentation
void fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::foundToOverlapped |
( |
| ) |
|
Converts all found points to overlapped points. If you start a new layer, wich is below the layers of the found points, call this method.
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getFoundNeighbours |
( |
const cVectorPosition & |
position | ) |
const |
- See also:
- isFound()
-
registerFound()
- Parameters:
-
position | the position of the point, for which to return the found neighbour points |
- Returns:
- a set of the found neighbour points of the given point
- See also:
- pImageDataFound
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getFoundPoints |
( |
| ) |
const |
unsigned long fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getHeight |
( |
| ) |
const |
- Returns:
- the height of the image to search
- See also:
- ulHeight
const iImageData* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getImageData |
( |
| ) |
const |
- Returns:
- a pointer to the image data, of the image for the search
- See also:
- pImageData
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getNeighbours |
( |
const cVectorPosition & |
position | ) |
const |
- See also:
- registerFound()
-
getFoundNeighbours()
- Parameters:
-
position | the position of the point, for which to return the neighbour points |
- Returns:
- a set of the neighbour points of the given point
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getNotFoundNeighbours |
( |
const cVectorPosition & |
position | ) |
const |
- See also:
- isFound()
-
registerFound()
- Parameters:
-
position | the position of the point, for which to return the not found neighbour points |
- Returns:
- a set of the not found neighbour points of the given point
- See also:
- pImageDataFound
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getNotFoundPoints |
( |
| ) |
const |
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getNotOverlappedNeighbours |
( |
const cVectorPosition & |
position | ) |
const |
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getNotOverlappedPoints |
( |
| ) |
const |
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getOverlappedNeighbours |
( |
const cVectorPosition & |
position | ) |
const |
set<cVectorPosition> fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getOverlappedPoints |
( |
| ) |
const |
unsigned long fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::getWidth |
( |
| ) |
const |
- Returns:
- the width of the image to search
- See also:
- ulWidth
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::isFound |
( |
const cVectorPosition & |
position | ) |
const |
- See also:
- pImageDataFound
- Parameters:
-
position | the position of the point, for which to check, if it was found |
- Returns:
- true if the point on the position was found, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::isFound |
( |
const unsigned long |
lX, |
|
|
const unsigned long |
lY |
|
) |
| const |
- See also:
- pImageDataFound
- Parameters:
-
lX | the x / first dimension position of the point, for which to check, if it was found |
lY | the y / second dimension position of the point, for which to check, if it was found |
- Returns:
- true if the point on the position was found, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::isOverlapped |
( |
const cVectorPosition & |
position | ) |
const |
- See also:
- pImageDataOverlapped
- Parameters:
-
position | the position of the point, for which to check, if it is overlapped |
- Returns:
- true if the point on the position is overlapped, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::isOverlapped |
( |
const unsigned long |
lX, |
|
|
const unsigned long |
lY |
|
) |
| const |
- See also:
- pImageDataOverlapped
- Parameters:
-
lX | the x / first dimension position of the point, for which to check, if it is overlapped |
lY | the y / second dimension position of the point, for which to check, if it is overlapped |
- Returns:
- true if the point on the position is overlapped, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerFound |
( |
const cVectorPosition & |
foundPoint, |
|
|
const bool |
bFound = true |
|
) |
| |
This method registers the given point as found or not found point.
- See also:
- pImageDataFound
-
isFound()
-
getFoundNeighbours()
- Parameters:
-
foundPoint | the point to register (/set) as (/not) found point |
bFound | if true the point will be registered as found, else the point will be registered as not found |
- Returns:
- true if the point wher (/not) registered as found, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerFound |
( |
const set< cVectorPosition > & |
setFoundPoints, |
|
|
const bool |
bFound = true |
|
) |
| |
This method registers the given points as found or not found points.
- See also:
- pImageDataFound
-
isFound()
-
getFoundNeighbours()
- Parameters:
-
setFoundPoints | a set with the points to register (/set) as (/not) found points |
bFound | if true the points will be registered as found, else the points will be registered as not found |
- Returns:
- true if the points wher (/not) registered as found, else false and no data changed
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerFound |
( |
const cImageStructure * |
pImageStrFoundPoints, |
|
|
const bool |
bFound = true |
|
) |
| |
This method registers the points of the given image structure as found or not found points.
- See also:
- pImageDataFound
-
isFound()
-
getFoundNeighbours()
-
cImageStructure
- Parameters:
-
pImageStrFoundPoints | the cImageStructure with the points to register (/set) as (/not) found points |
bFound | if true the points will be registered as found, else the points will be registered as not found |
- Returns:
- true if the points wher (/not) registered as found, else false and no data changed
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerOverlapped |
( |
const cVectorPosition & |
overlappedPoint, |
|
|
const bool |
bOverlapped = true |
|
) |
| |
This method registers the given point as overlapped or not overlapped point.
- See also:
- pImageDataOverlapped
-
isOverlapped()
-
getOverlappedNeighbours()
- Parameters:
-
overlappedPoint | the point to register (/set) as (/not) overlapped point |
bOverlapped | if true the point will be registered as overlapped, else the point will be registered as not overlapped |
- Returns:
- true if the point wher (/not) registered as overlapped, else false
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerOverlapped |
( |
const set< cVectorPosition > & |
setOverlappedPoints, |
|
|
const bool |
bOverlapped = true |
|
) |
| |
This method registers the given points as overlapped or not overlapped points.
- See also:
- pImageDataOverlapped
-
isOverlapped()
-
getOverlappedNeighbours()
- Parameters:
-
setOverlappedPoints | a set with the points to register (/set) as (/not) overlapped points |
bOverlapped | if true the points will be registered as overlapped, else the points will be registered as not overlapped |
- Returns:
- true if the points wher (/not) registered as overlapped, else false and no data changed
bool fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::registerOverlapped |
( |
const cImageStructure * |
pImageStrOverlappedPoints, |
|
|
const bool |
bOverlapped = true |
|
) |
| |
This method registers the points of the given image structure as overlapped or not overlapped points.
- See also:
- pImageDataOverlapped
-
isOverlapped()
-
getOverlappedNeighbours()
-
cImageStructure
- Parameters:
-
pImageStrOverlappedPoints | the cImageStructure with the points to register (/set) as (/not) overlapped points |
bOverlapped | if true the points will be registered as overlapped, else the points will be registered as not overlapped |
- Returns:
- true if the points wher (/not) registered as overlapped, else false and no data changed
Member Data Documentation
const iImageData* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::pImageData |
|
protected |
A pointer to the image data, of the image for the search.
Definition at line 73 of file cImageSearchData.h.
unsigned char* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::pImageDataFound |
|
protected |
The matrix with the data, which points of the image wher found (converted). The values are 1 bit: 0 for not found and 1 for found
The pointer will point to an one dimensional array. You have to evalue the single entries by hand (with: *((pImageData + ((y * ulWidth + x) / 8)) ) & ( 0x01 << (y * ulWidth + x) % 8 ) ) ( x in dim 1 or ulWidth, y in dim 2 or ulHeight )
Definition at line 94 of file cImageSearchData.h.
unsigned char* fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::pImageDataOverlapped |
|
protected |
The matrix with the data, which points of the image wher overlapped by found structures. The values are 1 bit: 0 for not overlapped and 1 for overlapped
The pointer will point to an one dimensional array. You have to evalue the single entries by hand (with: *((pImageDataOverlapped + ((y * ulWidth + x) / 8)) ) & ( 0x01 << (y * ulWidth + x) % 8 ) ) ( x in dim 1 or ulWidth, y in dim 2 or ulHeight )
Definition at line 106 of file cImageSearchData.h.
unsigned long fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::ulHeight |
|
protected |
unsigned long fib::algorithms::nConvertToFib::nImage::nStructureData::cImageSearchData::ulWidth |
|
protected |
The documentation for this class was generated from the following file: