Image windowing for doing emgm
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Image Analyst
le 24 Juil 2012
I recommend you give enough information for us to be able to solve your problem.
2 commentaires
Image Analyst
le 25 Juil 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.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!