Image windowing for doing emgm
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi I want to do windowing on an image then run EM algorithm on it.I used both blockproc and colfilt but both of them cause error. I face many error for using blockproc but one error:
Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> colfilt at 183
b(i*mb+brows,j*nb+bcols) = ..
for using colfilt. what do you recommend me to do?
Thank you
0 Kommentare
Antworten (1)
Image Analyst
am 24 Jul. 2012
I recommend you give enough information for us to be able to solve your problem.
2 Kommentare
Image Analyst
am 25 Jul. 2012
I'm not sure what the question is, but when you scan an image with a window, yes, you are going to have to know how to handle the edge conditions where the window is "off" the edge of the image. This is a common situation in image processing and there are a variety of ways to handle partial windows, such as assuming image is zero for window pixels not over an image, or just ignoring those pixels, or renormalizing, etc.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!