フィルターのクリア

how its working bwlabel matlab function? how its giving a numbers as priority ?

3 ビュー (過去 30 日間)
voxey
voxey 2019 年 1 月 24 日
編集済み: voxey 2019 年 2 月 7 日
how its working bwlabel matlab function? how its giving a numbers as priority ?

採用された回答

Image Analyst
Image Analyst 2019 年 1 月 24 日
It scans down the image -- down rows in column 1, then move over to column 2 and go down the rows in column 2, then move over to column 3 and go down the rows in column 3, etc. Whenever it hits a "true" pixel, it does a region growing process to give all the pixels that same ID number (label), regardless of how far over to the right it goes.
So basically go over column by column seeing where the left edge of the blob is. If the blob touches that column, make the whole blob have 1 number. Then start scanning again and when you hit the next blob, assign that whole blob the next number (one more than the previous number).
  3 件のコメント
Image Analyst
Image Analyst 2019 年 2 月 5 日
I don't know what that means.
If you're asking if the whole image is true,will it assign the same label number, then yes, it will assign the label 1 to the entire blob that takes up the entire image.
voxey
voxey 2019 年 2 月 7 日
編集済み: voxey 2019 年 2 月 7 日
please check this bellow image? my question how to asign a same number on image using bwlabel, if first image 6 label 3rd image 5 label , first and second image labeling order was changed , it is not same upto n images? pleae check this bellow images?

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

その他の回答 (0 件)

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by