When I run the matlab code with my .jpg image nothing happens. I tried "imshow(mask)" but I only get a white image. What am I doing wrong ? Is there something to add to the code to get an image output with the result of the segmentation on my image ?
it works for gray level images.
here is an example:
I_f = Kuwahara(im2double(rgb2gray(I)),5);