how do I draw discriminatory lines in an image to calculate the area in each of those regions?

조회 수: 1 (최근 30일)
Hello, I am exploring matlab and I was wondering how do i draw circular lines that classify particular regions of that image? So that later on I can calculate the area of that region seperatley than the other regions?
I have several images and I am wondering which methods I can use to segment regions within that image from other regions in that same image.
Thank you

채택된 답변

Image Analyst
Image Analyst 2023년 1월 10일
  댓글 수: 19
Neo
Neo 2023년 1월 13일
If you just want the mean gray level in 12 strips going across the image:
What does it mean to have the measure the gray level? Also how to read the output ?
startingColumns =
1 44 86 129 172 214 257 300 342 385 428 470 513
endingColumns =
43 85 128 171 213 256 299 341 384 427 469 512
Image Analyst
Image Analyst 2023년 1월 13일
The gray level is the brightness of the image pixels.
Those values are the starting and stopping columns of the vertical strip where we are going to get the mean intensity in.

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

추가 답변 (1개)

Matt J
Matt J 2023년 1월 9일
편집: Matt J 2023년 1월 9일
I was wondering how do i draw circular lines
You can use drawcircle.
More generally, you can segment interactively with the Segmenter App
  댓글 수: 21
Neo
Neo 2023년 1월 15일
I have asked it in another question but I cant tell that it has been performed background substraction, gaussian and contrast correction before mean grey level analysis. How can you?
Image Analyst
Image Analyst 2023년 1월 15일
I don't see anything being subtracted from the gray scale image in the code above. You need to read in a background image and then subtract it. Decide where you want to discuss this. I suggest your new thread just about background subtraction. (Note spelling of subtraction -- there are not two s's).

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by