extract intensity pixels

1 回表示 (過去 30 日間)
Tulips
Tulips 2012 年 5 月 28 日
hi sir, can I know how to make/feed the input of extracted intensity pixels in neural network.as far as I am concerned, the extracted pixels are in row,column.then how to make it as input if I have more 6 patterns. pls explain the techniques.thanks for ur help!
  1 件のコメント
Tulips
Tulips 2012 年 5 月 28 日
also how to make it as a feature vector so that I can used it in nn script

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

採用された回答

Walter Roberson
Walter Roberson 2012 年 5 月 28 日
extracted_pixels = YourArray( sub2ind( size(YourArray), RowList, ColumnList ) );
  3 件のコメント
Walter Roberson
Walter Roberson 2012 年 5 月 28 日
It does not have to be in matrix form, but you did say the pixels were in row, column form which does tend to imply matrix form, as otherwise you would only have one index.
The above code works for multiple indices. Example,
extracted_pixels = YourArray( sub2ind( size(YourArray), [2 7 8], [1 1 4] ) )
would extract (2,1) and (7,1) and (8,4)
Tulips
Tulips 2012 年 5 月 30 日
sir,I get u have said.However, i m not looking for the extracted pixel.i just want to know how to make the 20x20 pixels as a input of a vector so that this input can be used to be trained in neural network.thanks

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

その他の回答 (1 件)

Mythili Sukumaran
Mythili Sukumaran 2012 年 10 月 17 日
Can anyone help me form a feature vector for every pixel,based on the intensity,color,orientation and scale??
  1 件のコメント
Image Analyst
Image Analyst 2012 年 10 月 17 日
How does a pixel have an orientation and scale?

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

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by