Name
entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage — Calculate the entropy of gray values within a rectangular window.
entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage calculates the entropy of gray values in the
image ImageImageImageImageImageimage within a rectangular mask of size
(HeightHeightHeightHeightHeightheight, WidthWidthWidthWidthWidthwidth). The resulting image is
returned in ImageEntropyImageEntropyImageEntropyImageEntropyImageEntropyimageEntropy, in which the entropy is
multiplied by 32. 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.
- 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 entropy is to be calculated.
Width of the mask in which the entropy is calculated.
Default value: 9
List of values: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
Suggested values: 3, 5, 7, 9, 11, 13, 15
Restriction: 3 <= Width && odd(Width)
Height of the mask in which the entropy is calculated.
Default value: 9
List of values: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
Suggested values: 3, 5, 7, 9, 11, 13, 15
Restriction: 3 <= Height && odd(Height)
read_image(Image,'fabrik')
disp_image(Image,WindowHandle)
entropy_image(Image,Entropy1,9,9)
disp_image(Entropy1,WindowHandle)
read_image(&Image,"fabrik");
disp_image(Image,WindowHandle);
entropy_image(Image,&Entropy1,9,9);
disp_image(Entropy1,WindowHandle);
read_image(Image,'fabrik')
disp_image(Image,WindowHandle)
entropy_image(Image,Entropy1,9,9)
disp_image(Entropy1,WindowHandle)
read_image(Image,'fabrik')
disp_image(Image,WindowHandle)
entropy_image(Image,Entropy1,9,9)
disp_image(Entropy1,WindowHandle)
read_image(Image,'fabrik')
disp_image(Image,WindowHandle)
entropy_image(Image,Entropy1,9,9)
disp_image(Entropy1,WindowHandle)
read_image(Image,'fabrik')
disp_image(Image,WindowHandle)
entropy_image(Image,Entropy1,9,9)
disp_image(Entropy1,WindowHandle)
entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage 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_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray
energy_gaborenergy_gaborEnergyGaborenergy_gaborEnergyGaborEnergyGabor,
entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray
Foundation