. . . , , , .
, . . , ; ( , ..). ( , ..). - .
, - . (, ..) ; (, , ). , , .. , . , .
, , . . , .
- .
- .
- .
- .
- () .
.
'snowflakes.png', .
I=imread('snowflakes.png');
figure, imshow(I)
.
, , . , , . Matlab ADAPTHISTEQ. - () . IMADJUST, .
claheI=adapthisteq(I, 'Divisions', [10 10]);
claheI=imadjust(claheI);
imshow(claheI);
|
|
.
. . , - . . , , () .
for counter=0:22
remain=imopen(claheI, strel('disk', counter));
intensity_area(counter+1)=sum(remain(:));
end
figure,plot(intensity_area, 'm - *'), grid on;
title(' ');
xlabel(' ( )');
ylabel(' ()');
.
, , . , DIFF.
intensity_area_prime=diff(intensity_area);
plot(intensity_area_prime, 'm-*'), grid on;
title('Granulometry (Size Distribution) of Snowflakes');
set(gca, 'xtick', [0 2 4 6 8 10 12 14 16 18 20 22]);
xlabel(' ( )');
ylabel(' ');