![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Class providing watershed transform. More...
#include <mdsRegionMerging.h>

Public Types | |
| enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
| Check that I is an image. More... | |
| typedef CPixelStatsExtractor < tPixel > | tFeatureExtractor |
| Used feature extractor. | |
| typedef CPixelStats | tFeatureVector |
| Used feature vector. | |
| typedef I::tImage | tImage |
| Input image type. | |
| typedef I::tPixel | tPixel |
| Input image pixel type. | |
| typedef CImage32 | tRegionImage |
| Output image containing labels of found image regions. | |
| typedef CImage32::tPixel | tRegionNumber |
| Output image pixel type. | |
Public Member Functions | |
| CHasOptions & | addOption (int Flag) |
| Adds a given flag using bitwise OR operation. | |
| bool | checkAllOptions (int Flags) const |
| Checks if all specified flags are set. | |
| bool | checkAnyOption (int Flags) const |
| Checks if any of specified flags is set. | |
| int | checkOption (int Flag) const |
| Checks if a single flag is set. | |
| CHasOptions & | clearOption (int Flag) |
| Removes a given flag. | |
| CRegionMerging (int Flags=0) | |
| Constructor. | |
| int | getOptions () const |
| Returns all flags. | |
| bool | operator() (const tImage &SrcImage, tRegionImage &RegionImage) |
| Provides region merging algorithm using the region adjacency graph. | |
| CHasOptions & | setOption (int Flag) |
| Adds a given flag using bitwise OR operation. | |
| CHasOptions & | setOptions (int Flags) |
| Sets complete flags. | |
| CRegionMerging & | setSimilarityRatio (double dValue) |
| Sets the stopping criterion. | |
| CRegionMerging & | setSimilarityThreshold (double dValue) |
| Sets the similarity threshold. | |
| ~CRegionMerging () | |
| Destructor. | |
Protected Types | |
| typedef CAdjacencyGraph< double > | tRAG |
| Region adjacency graph. | |
Protected Member Functions | |
| tRegionNumber | reassignRegions (tRegionImage &RegionImage) |
| Re-assignes labels to image regions so that there will be no skipped values. | |
Protected Attributes | |
| double | m_dSimRatio |
| Stopping criterion (= maximal allowed ratio of the current similarity and the minimum similarity that has been observed in previous merging steps). | |
| double | m_dSimThreshold |
| Similarity threshold (= minimal value of the similarity measure that results in region merging). | |
| int | m_Options |
| Optional flags. | |
Class providing watershed transform.
| typedef CPixelStatsExtractor<tPixel> mds::img::CRegionMerging< I, Measure >::tFeatureExtractor |
Used feature extractor.
| typedef CPixelStats mds::img::CRegionMerging< I, Measure >::tFeatureVector |
Used feature vector.
| typedef I::tImage mds::img::CRegionMerging< I, Measure >::tImage |
Input image type.
| typedef I::tPixel mds::img::CRegionMerging< I, Measure >::tPixel |
Input image pixel type.
typedef CAdjacencyGraph<double> mds::img::CRegionMerging< I, Measure >::tRAG [protected] |
Region adjacency graph.
| typedef CImage32 mds::img::CRegionMerging< I, Measure >::tRegionImage |
Output image containing labels of found image regions.
| typedef CImage32::tPixel mds::img::CRegionMerging< I, Measure >::tRegionNumber |
Output image pixel type.
| anonymous enum |
| mds::img::CRegionMerging< I, Measure >::CRegionMerging | ( | int | Flags = 0 | ) |
Constructor.
| mds::img::CRegionMerging< I, Measure >::~CRegionMerging | ( | ) |
Destructor.
| CHasOptions& mds::base::CHasOptions::addOption | ( | int | Flag | ) | [inherited] |
Adds a given flag using bitwise OR operation.
| bool mds::base::CHasOptions::checkAllOptions | ( | int | Flags | ) | const [inherited] |
Checks if all specified flags are set.
| bool mds::base::CHasOptions::checkAnyOption | ( | int | Flags | ) | const [inherited] |
Checks if any of specified flags is set.
| int mds::base::CHasOptions::checkOption | ( | int | Flag | ) | const [inherited] |
Checks if a single flag is set.
| CHasOptions& mds::base::CHasOptions::clearOption | ( | int | Flag | ) | [inherited] |
Removes a given flag.
| int mds::base::CHasOptions::getOptions | ( | ) | const [inherited] |
Returns all flags.
| bool CRegionMerging::operator() | ( | const tImage & | SrcImage, |
| tRegionImage & | RegionImage | ||
| ) |
Provides region merging algorithm using the region adjacency graph.
| CRegionMerging< I, M >::tRegionNumber CRegionMerging::reassignRegions | ( | tRegionImage & | RegionImage | ) | [protected] |
Re-assignes labels to image regions so that there will be no skipped values.
| CHasOptions& mds::base::CHasOptions::setOption | ( | int | Flag | ) | [inherited] |
Adds a given flag using bitwise OR operation.
| CHasOptions& mds::base::CHasOptions::setOptions | ( | int | Flags | ) | [inherited] |
Sets complete flags.
| CRegionMerging& mds::img::CRegionMerging< I, Measure >::setSimilarityRatio | ( | double | dValue | ) |
Sets the stopping criterion.
| CRegionMerging& mds::img::CRegionMerging< I, Measure >::setSimilarityThreshold | ( | double | dValue | ) |
Sets the similarity threshold.
double mds::img::CRegionMerging< I, Measure >::m_dSimRatio [protected] |
Stopping criterion (= maximal allowed ratio of the current similarity and the minimum similarity that has been observed in previous merging steps).
double mds::img::CRegionMerging< I, Measure >::m_dSimThreshold [protected] |
Similarity threshold (= minimal value of the similarity measure that results in region merging).
int mds::base::CHasOptions::m_Options [protected, inherited] |
Optional flags.
1.7.6.1