필터 지우기
필터 지우기

How to convert image to one pixel?

조회 수: 3 (최근 30일)
jenifer Ask
jenifer Ask 2019년 12월 30일
How can I get from picture (main) to picture(convert) ?
I tried the following code but not the correct output.
originalImage=imread('main.png'); %
figure; imshow(originalImage)
binaryImage=im2bw(originalImage);
figure; imshow(binaryImage)
binaryImage_p = bwareaopen(binaryImage, 500);
figure; imshow(binaryImage_p)
skeletonImage = bwmorph(binaryImage, 'skel', inf);
figure; imshow(skeletonImage)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by