熵风格
Local entropy of grayscale image
Description
returns the arrayJ
=熵filt(I
)J
, where each output pixel contains the entropy value of the 9-by-9 neighborhood around the corresponding pixel in the input imageI
。
For pixels on the borders ofI
,熵风格
uses symmetric padding. In symmetric padding, the values of padding pixels are a mirror reflection of the border pixels inI
。
Examples
Input Arguments
Output Arguments
More About
Tips
By default,
熵风格
uses two bins for logical arrays.熵风格
converts any other class touint8
for the histogram count calculation and uses 256 bins so that the pixel values are discrete and directly correspond to a bin value.如果输入图像
I
是灰度图像,然后是J
can exceed the range [0, 1] that some Image Processing Toolbox™ functions expect for images of typedouble
。通过J
作为这些功能的输入参数,请使用恢复
function to rescale the values ofJ
to the range [0, 1].
参考
[1]Gonzalez, R. C., R. E. Woods, and S. L. Eddins.Digital Image Processing Using MATLAB。新泽西,Prentice Hall,2003年,第11章。