Sliding Window and Histogram
4 次查看(过去 30 天)
显示 更早的评论
Please help me on how to Compute Height of the each Gradient text block.. Consider width,W to be the same as the height,H. With these H and W, how to get one square block? and how to Move this square as a sliding window? after this for each sliding window, how to plot a histogram to choose highest peak. lastly Display all pixel in the highest peak as white pixels in the separate image. I need to implement it using MATLAB. Any help is greatly appreciated! Thamk you!
0 个评论
采纳的回答
Image Analyst
2012-9-27
You could use blockproc() if you want it to move along in "jumps" (non-overlapping blocks), or you could use nlfilter(). But if your image is, say, a million pixels, do you really want to compute and display a million histograms?
0 个评论
更多回答(1 个)
Kapil Nagwanshi
2012-9-27
Actually without the variable i wont able to comment or solve for the problem or send the sample data in form of table.
3 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!