There is no filled version of imcontour , because theoretically the image itself is a filled version.
data = load('clown'); img = ind2rgb(data.X, data.map); imshow(img); hold on imcontour(img(:,:,1), 3);

You can use contourf , but specify the color of the line . By specifying a value of 'none' , rows will not be displayed.
c = contourf(data, 2, 'LineColor', 'none')

Suver source share