|
"madhuri madhuri" <madhurimahadeshwar@yahoo.com> wrote in message <iac8al$2q4$1@fred.mathworks.com>...
> i need help regarding segmenting an image
>
>
> im=imread('C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\sunset.jpg');
> imshow(im)
> imresizd=imresize(im, [256 256], 'bilinear')
>
> now i need to segment this image to 16*16 blocks
> using blkproc or for loop
> plz help me
>
>
What are you having an issue with?
I = imread('cameraman.tif');
imshow(blkproc(I,[16 16],@(x)median(x(:))*ones(size(x),class(x))))
|