Name
deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage — Calculate the standard deviation of gray values within rectangular windows.
deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage calculates the standard deviation of gray
values in the image ImageImageImageImageImageimage within a rectangular mask of size
(HeightHeightHeightHeightHeightheight, WidthWidthWidthWidthWidthwidth). The resulting image is returned
in ImageDeviationImageDeviationImageDeviationImageDeviationImageDeviationimageDeviation. To better use the range of gray values
available in the output image, the result is multiplied by 2. If
the parameters HeightHeightHeightHeightHeightheight and WidthWidthWidthWidthWidthwidth are even, they are
changed to the next larger odd value. At the image borders the gray
values are mirrored.
deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage can be executed on OpenCL devices. As the same OpenCL
code is used, the same limitations as for mean_imagemean_imageMeanImagemean_imageMeanImageMeanImage apply. Since
deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage uses single precision floating point arithmetic
internally, the results may differ slightly from the CPU version.
- Supports OpenCL compute devices.
- 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.
Image for which the standard deviation is to be
calculated.
Image containing the standard deviation.
Width of the mask in which the standard deviation
is calculated.
Default value: 11
List of values: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
Restriction: 3 <= Width && odd(Width)
Height of the mask in which the standard deviation
is calculated.
Default value: 11
List of values: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
Restriction: 3 <= Height && odd(Height)
read_image(Image,'fabrik')
dev_display(Image)
deviation_image(Image,Deviation,9,9)
dev_display(Image)
read_image(&Image,"fabrik");
disp_image(Image,WindowHandle);
deviation_image(Image,&Deviation,9,9);
disp_image(Deviation,WindowHandle);
read_image(Image,'fabrik')
dev_display(Image)
deviation_image(Image,Deviation,9,9)
dev_display(Image)
read_image(Image,'fabrik')
dev_display(Image)
deviation_image(Image,Deviation,9,9)
dev_display(Image)
read_image(Image,'fabrik')
dev_display(Image)
deviation_image(Image,Deviation,9,9)
dev_display(Image)
read_image(Image,'fabrik')
dev_display(Image)
deviation_image(Image,Deviation,9,9)
dev_display(Image)
deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage returns 2 (H_MSG_TRUE) if all parameters are correct.
If the input is empty the behaviour can be set via
set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>). If
necessary, an exception is raised.
disp_imagedisp_imageDispImagedisp_imageDispImageDispImage
entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage,
entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray
convol_imageconvol_imageConvolImageconvol_imageConvolImageConvolImage,
texture_lawstexture_lawsTextureLawstexture_lawsTextureLawsTextureLaws,
intensityintensityIntensityintensityIntensityIntensity
Foundation