フィルターのクリア

Edge Detection - Automatic/Adaptive Thresholding by scanning of image

1 回表示 (過去 30 日間)
Akhilesh Singh
Akhilesh Singh 2014 年 2 月 7 日
コメント済み: Rena Berman 2017 年 1 月 24 日

*Sir, i want to find out following points in my images:

1. convert the jpg to black/white or grayscale.

2. Make the size of all the figs. equal.

3. Take left hand bottom corner as origin.

4. scan left to right and bottom to top.

5. scan for intensities > threshold values [Note their position(coordinates) in an array]

6. After the entire fig is scanned, find the area with help of the(which i find the coordinates)coordinates.*

採用された回答

Image Analyst
Image Analyst 2014 年 2 月 7 日
Your post keeps getting smaller and smaller. If I wait long enough it may disappear entirely, which would be okay since it is (or was) essentially the same as your other question. But to answer this one
  1. grayImage = rgb2gray(jpgImage);
  2. Use imresize()
  3. Unneeded
  4. Unneeded
  5. binaryImage = grayImage > thresholdValue. This does the whole image in one shot - no need to do any scanning, starting from the corner or anywhere else. "Positions" are encoded into binaryImage.
  6. area = sum(binaryImage(:))
  1 件のコメント
Image Analyst
Image Analyst 2014 年 2 月 8 日
You're welcome. But I don't understand the grammar of what you say after the comma.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by