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 Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by