MATLAB: Image resolution

image processing

Which function could be used to filter out some of the indices a image. I am not sure what would be most effective function I could use?

Best Answer

newx = cast(x > 148, class(x));