clear all; close all;
I=imread('peppers.png');
J=rgb2gray(I);
figure;
subplot(121);
imshow(J);
colormap parula
subplot(122);
imcontour(J,3);
colormap turbo
colormap jet
colormap hsv
colormap hot
colormap cool
colormap spring
colormap summer
colormap autumn
colormap winter
colormap gray
colormap bone
colormap copper
colormap pink
colormap default
開発ツール: MATLAB 2022b
WeChat Alt+A スクリーンショット ツール