Now I have the blockproc approach thanks to everyones kind help, I can see by comparison to the subdivision using looping (as initially suggested by IA) is almost the same , but not quite!
Comparing the two binary images obtaine dby these two approachs with the raw image in the highlighted boxes I can see that consideration of the additional row/column via blocproc seems to be falsely picking out objects.
I also notice using the blockproc approach (my raw image is 101x101, and Im using 25x25 in blockproc), that the very last pixel is the actual grayscale and not binarised?
If you have blocks of 25 pixels by 25 pixels, and you move in "jumps" of 25 pixels, then I believe your last block will have only 1 row or column. Thus it may not have a value like the others that had a full block in them.
Is it possible to return also the mean intensity of each sub image using blockproc, I thought I could just add an extra output variable from my function such as:
function [BI, mn] = myOperation(hObject, eventdata, handles,tile)
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.