Box counting method in a tif image

조회 수: 4 (최근 30일)
Arlete Conde
Arlete Conde . 2022년 7월 21일
댓글: Arlete Conde . 2022년 7월 22일
Hi. I have a satellite image band 2 in tiff format, I want to use this image to make the box counting method. I used this code, but my image is black. How I can resolve this?
c = imread('B2.tif'); imagesc(~c) colormap gray axis square

채택된 답변

Christopher McCausland
Christopher McCausland 2022년 7월 21일
Hi Arlete,
If you could share the image that would be great.
Having a look at your code the ~ will turn 'c' into a logical array. Try this instead;
c = imread('B2.tif');
imagesc(c) % note the removed ~
Let me know if that helps,
  댓글 수: 3
Arlete Conde
Arlete Conde 2022년 7월 22일
I tried to send the image but because the tiff format, this not support. I compressed the image and tried to send, said that the file exceeds 5MB, that's why I asked for your email.
I asked a new question about the code boxcount. Can will you see the question?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)


Help CenterFile Exchange에서 Fractals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by