Binary Image Pixel Connectivity Analysis

4 ビュー (過去 30 日間)
Bahaa Soliman
Bahaa Soliman 2021 年 3 月 20 日
編集済み: Alamanda Ponappa Poovaya 2021 年 3 月 23 日
My university assignment includes Image Processing. Mainly taking an image as an input, converting it to gray, giving it a binary threshold, using the sequential algorithm for pixel connectivity analysis and further tasks.
I managed to get as far as completing the Binary Threshold, however I have no idea how to program a sequential algorithm to check for pixel connectivity. Suggestions? (We are NOT allowed to use any MATLAB Functions that might help out the project (E.g: Image Processing Toolbox!)).

回答 (1 件)

Alamanda Ponappa Poovaya
Alamanda Ponappa Poovaya 2021 年 3 月 23 日
編集済み: Alamanda Ponappa Poovaya 2021 年 3 月 23 日
I understand that you want to find all connected components in a binary image.
I suggest you use a sequential 2 pass algorithm to find the connected components. This algorithm is in the link posted below. If you have issues with your code, please post it

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by