how to apply confilt
Mostrar comentarios más antiguos
I have image of 768 by 1024 pixels, I want to perform an order statistical filter (min and max) on it by employing confilt order with a 5 by 5 window OP = colfilt(IP, [5 5], 'sliding', @min); but I got this error message "??? Error using ==> reshape To RESHAPE the number of elements must not change.
Error in ==> colfilt at 183 b(i*mb+brows,j*nb+bcols) = ..."
Respuesta aceptada
Más respuestas (1)
Star Strider
el 18 de Mayo de 2014
1 voto
The function to perform Order Statistical Filtering in the Image Processing Toolbox is ordfilt2 (R2014a). Would that be what you want?
If you already tried ordfilt2 and it didn’t do what you wanted, what was the problem?
Categorías
Más información sobre Image Filtering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!