Info

This question is closed. Reopen it to edit or answer.

여러 크기의 원 모양 그림에서 각 원의 크기와 전체 원의 갯수 나타내기

1 view (last 30 days)
JUYOUNG KANG
JUYOUNG KANG on 8 Jul 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
안녕하세요, 실험 데이터를 분석해야하는데 어떤 방식으로 해나가야할 지 생각이 잘 되지 않아 질문 올립니다.
제목 그대로 한 그림에 여러 크기의 원 모양이 있으면, 각 원의 크기가 어떻게 되는지, 전체 원의 갯수는 어떻게 되는지 알려주는 코드를 짜고 싶은데요,
이미지를 흑백으로 변환하고, 배경을 깨끗하게 만드는 과정까지하고서 이후에 원의 갯수와 크기를 각자 나타내는 과정을 어떻게 해야할지 모르겠습니다.
생각에 도움이 될만한 아이디어가 있다면 알려주세요, 감사합니다.

Answers (1)

Prabhan Purwar
Prabhan Purwar on 14 Jul 2020
Hi,
In order to convert RGB image to gray make use of rgb2gray (https://www.mathworks.com/help/matlab/ref/rgb2gray.html) and to detect circles make use of imfindcircles (https://www.mathworks.com/help/images/ref/imfindcircles.html).
Hope it helps.

Community Treasure Hunt

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

Start Hunting!