regiongrowing_nregiongrowing_nRegiongrowingNRegiongrowingNregiongrowing_n (Operator)
Name
regiongrowing_nregiongrowing_nRegiongrowingNRegiongrowingNregiongrowing_n
— Segment an image using regiongrowing for multi-channel images.
Signature
Herror regiongrowing_n(const Hobject MultiChannelImage, Hobject* Regions, const char* Metric, double MinTolerance, double MaxTolerance, const Hlong MinSize)
Herror T_regiongrowing_n(const Hobject MultiChannelImage, Hobject* Regions, const Htuple Metric, const Htuple MinTolerance, const Htuple MaxTolerance, const Htuple MinSize)
void RegiongrowingN(const HObject& MultiChannelImage, HObject* Regions, const HTuple& Metric, const HTuple& MinTolerance, const HTuple& MaxTolerance, const HTuple& MinSize)
HRegion HImage::RegiongrowingN(const HString& Metric, const HTuple& MinTolerance, const HTuple& MaxTolerance, Hlong MinSize) const
HRegion HImage::RegiongrowingN(const HString& Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const
HRegion HImage::RegiongrowingN(const char* Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const
HRegion HImage::RegiongrowingN(const wchar_t* Metric, double MinTolerance, double MaxTolerance, Hlong MinSize) const
(Windows only)
static void HOperatorSet.RegiongrowingN(HObject multiChannelImage, out HObject regions, HTuple metric, HTuple minTolerance, HTuple maxTolerance, HTuple minSize)
HRegion HImage.RegiongrowingN(string metric, HTuple minTolerance, HTuple maxTolerance, int minSize)
HRegion HImage.RegiongrowingN(string metric, double minTolerance, double maxTolerance, int minSize)
Description
regiongrowing_nregiongrowing_nRegiongrowingNRegiongrowingNRegiongrowingNregiongrowing_n
performs a multi-channel
regiongrowing. The channels give
rise to an n-dimensional feature vector. Neighboring points are
aggregated into the same region if the difference of their feature
vectors with respect to the given metric lies in the interval
[MinToleranceMinToleranceMinToleranceMinToleranceminTolerancemin_tolerance
, MaxToleranceMaxToleranceMaxToleranceMaxTolerancemaxTolerancemax_tolerance
]. Only
neighbors of the 4-neighborhood are examined. The following metrics can be
used:
Let denote the gray value in the feature vector
at point of the image, and likewise be the gray
value in the feature vector at point a neighboring point
. Let be the gray value with index .
Furthermore, let denote
MinToleranceMinToleranceMinToleranceMinToleranceminTolerancemin_tolerance
and denote MaxToleranceMaxToleranceMaxToleranceMaxTolerancemaxTolerancemax_tolerance
.
- '1-norm':
-
Sum of absolute values
- '2-norm':
-
Euclidian distance
- '3-norm':
-
p - Norm with p = 3
- '4-norm':
-
p - Norm with p = 4
- 'n-norm':
-
Minkowski distance
- 'max-diff':
-
Supremum distance
- 'min-diff':
-
Infimum distance
- 'variance':
-
Variance of gray value differences
- 'dot-product':
-
Dot product
- 'correlation':
-
Correlation
- 'mean-diff':
-
Difference of arithmetic means
- 'mean-ratio':
-
Ratio of arithmetic means
- 'length-diff':
-
Difference of the vector lengths
- 'length-ratio':
-
Ratio of the vector lengths
- 'n-norm-ratio':
-
Ratio of the vector lengths w.r.t the p-norm with
p = n
- 'gray-max-diff':
-
Difference of the maximum gray values
- 'gray-max-ratio':
-
Ratio of the maximum gray values
- 'gray-min-diff':
-
Difference of the minimum gray values
- 'gray-min-ratio':
-
Ratio of the minimum gray values
- 'variance-diff':
-
Difference of the variances over all gray values (channels)
- 'variance-ratio':
-
Ratio of the variances over all gray values (channels)
- 'mean-abs-diff':
-
Difference of the sum of absolute values over all gray values (channels)
- 'mean-abs-ratio':
-
Ratio of the sum of absolute values over all gray values (channels)
- 'max-abs-diff':
-
Difference of the maximum distance of the components
- 'max-abs-ratio':
-
Ratio of the maximum distance of the components
- 'min-abs-diff':
-
Difference of the minimum distance of the components
- 'min-abs-ratio':
-
Ratio of the minimum distance of the components