horizontal white black transitions of original image TC

1 回表示 (過去 30 日間)
priya
priya 2012 年 5 月 2 日
i ve applied rlsa algorithm and labelled blocks in image, now i want to find features for block,one feature is given below:
horizontal white-black transitions of original data (TC)
pls anyone help me to find this i wan to find using matlab any idea anyone ?pls?
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 5 月 2 日
Not enough information. The end of a labelled area does not necessarily represent a white to black transition: it could represent a transition from any non-black color to black.

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

回答 (2 件)

Image Analyst
Image Analyst 2012 年 5 月 2 日
What is the rlsa algorithm? For black-white transitions, have you considered the gray level cooccurrence matrix, done by graycomatrix() in the Image Processing Toolbox. What is a transition. If you have
0 0 0
0 1 0
0 0 0
how many transitions is that? One? Eight? Two? Four?
  2 件のコメント
priya
priya 2012 年 5 月 4 日
rlsa means run length smoothing algorithm no i haven't use glcm transition means change from 0 to 1, 1 to 0
Image Analyst
Image Analyst 2012 年 5 月 4 日
Try bwhitmiss() in the Image Processing Toolbox.

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


Walter Roberson
Walter Roberson 2012 年 5 月 4 日
Transitions are indicated by
IM(:,1:end-1) ~= IM(:,2:end)
But how do you want this expressed as a "feature" ? If you want the index of them then the number could be different for each row.

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by