how can i use the function blockproc to move the sliding window in smaller jumps (one pixel) than the window size by using the BorderSize parameter?
2 次查看(过去 30 天)
显示 更早的评论
This link describe what i must do: http://www.fp.ucalgary.ca/mhallbey/texture_calculations.htm (it's a texture calculation). For each sliding window (sub image), i make its cooccurrence matrix and i calculate its texture measure (exemple: contrast)and this value is affected to the central pixel of this current window. i know that blockproc() moves in "jumps" of the window size. so how can i do to make blockproc() to move in smaller jumps (one pixel).
0 个评论
回答(1 个)
Image Analyst
2012-12-1
编辑:Image Analyst
2012-12-1
Use nlfilter instead.
By the way, there is a function that computes the gray level co-occurrence matrix you know. It's called graycomatrix().
5 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!