about the inbuild image in matlab

조회 수: 3 (최근 30일)
KISHORE KUMAR M
KISHORE KUMAR M 2020년 6월 16일
답변: Rik 2020년 6월 16일
1) can you say any inbuild 256*256 image in matlab?
2) how can i check whether that image is 256*256 via matlab code ?

채택된 답변

Rik
Rik 2020년 6월 16일
The default image that is built in to the image function is 64*64. Other example images (like cameraman.tif) are 256*256.
You can check the image size just like every other array:
if size(IM,1)==256 && size(IM,2)==256
disp('256*256 image')
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by