Box counting method in a tif image
3 views (last 30 days)
Show older comments
Arlete Conde on 21 Jul 2022
Commented: Arlete Conde on 22 Jul 2022
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 on 21 Jul 2022
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,
More Answers (0)
Find more on Fractals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!