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

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 10 Gen 2023
  19 Commenti
Neo
Neo il 13 Gen 2023
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 il 13 Gen 2023
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.

Accedi per commentare.

Più risposte (1)

Matt J
Matt J il 9 Gen 2023
Modificato: Matt J il 9 Gen 2023
I was wondering how do i draw circular lines
You can use drawcircle.
More generally, you can segment interactively with the Segmenter App
  21 Commenti
Neo
Neo il 15 Gen 2023
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 il 15 Gen 2023
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).

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by