median_image=medfilt2(im_n) axes(handles.axes3); imshow(median_image);

%variance% IM= im2double(median_image); V_image = var(IM(:));

Skip to content# MATLAB: How to display variance of an image in command box

display varianceImage Processing Toolbox

median_image=medfilt2(im_n) axes(handles.axes3); imshow(median_image);

%variance% IM= im2double(median_image); V_image = var(IM(:));

## Best Answer