Name
median_weightedmedian_weightedMedianWeightedMedianWeighted — Weighted median filtering with different rank masks.
The operator median_weightedmedian_weightedMedianWeightedMedianWeightedMedianWeighted calculates the median of
the gray values within a local environment. In contrast to
median_imagemedian_imageMedianImageMedianImageMedianImage, which uses all gray values within the
environment exactly once, the operator median_weightedmedian_weightedMedianWeightedMedianWeightedMedianWeighted
weights all gray values several times depending on their position.
A gray value is received into the field to be sorted several times
according to its weighting. The following masks are available:
- 'gauss'
(MaskSizeMaskSizeMaskSizeMaskSizemaskSize = 3)
1 2 1
2 4 2
1 2 1
- 'inner'
(MaskSizeMaskSizeMaskSizeMaskSizemaskSize = 3)
1 1 1
1 3 1
1 1 1
The operator median_weightedmedian_weightedMedianWeightedMedianWeightedMedianWeighted means that, contrary to
median_imagemedian_imageMedianImageMedianImageMedianImage, gray value corners remain.
For an explanation of the concept of smoothing filters see the introduction
of chapter Filters / Smoothing.
Note that filter operators may return unexpected results if
an image with a reduced domain is used as input. Please refer to the
chapter Filters.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on tuple level.
- Automatically parallelized on channel level.
- Automatically parallelized on domain level.
Type of median mask.
Default value:
'inner'
"inner"
"inner"
"inner"
"inner"
List of values: 'gauss'"gauss""gauss""gauss""gauss", 'inner'"inner""inner""inner""inner"
mask size.
Default value: 3
List of values: 3
read_image(Image,'fabrik')
median_weighted(Image,MedianWeighted,'gauss',3)
dev_display(MedianWeighted)
read_image(&Image,"fabrik");
median_weighted(Image,&MedianWeighted,"gauss",3);
disp_image(MedianWeighted,WindowHandle);
read_image(Image,'fabrik')
median_weighted(Image,MedianWeighted,'gauss',3)
dev_display(MedianWeighted)
read_image(Image,'fabrik')
median_weighted(Image,MedianWeighted,'gauss',3)
dev_display(MedianWeighted)
read_image(Image,'fabrik')
median_weighted(Image,MedianWeighted,'gauss',3)
dev_display(MedianWeighted)
For each pixel: O(F * log(F)) with F = area of MaskTypeMaskTypeMaskTypeMaskTypemaskType.
read_imageread_imageReadImageReadImageReadImage
thresholdthresholdThresholdThresholdThreshold,
dyn_thresholddyn_thresholdDynThresholdDynThresholdDynThreshold,
regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowing
median_imagemedian_imageMedianImageMedianImageMedianImage,
trimmed_meantrimmed_meanTrimmedMeanTrimmedMeanTrimmedMean,
sigma_imagesigma_imageSigmaImageSigmaImageSigmaImage
R. Haralick, L. Shapiro; “Computer and Robot Vision”;
Addison-Wesley, 1992, Seite 319
Foundation