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