Image windowing for doing emgm
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 24 de Jul. de 2012
I recommend you give enough information for us to be able to solve your problem.
2 comentarios
Image Analyst
el 25 de Jul. de 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.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!