extract intensity pixels
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Walter Roberson
am 28 Mai 2012
extracted_pixels = YourArray( sub2ind( size(YourArray), RowList, ColumnList ) );
3 Kommentare
Walter Roberson
am 28 Mai 2012
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)
Weitere Antworten (1)
Mythili Sukumaran
am 17 Okt. 2012
Can anyone help me form a feature vector for every pixel,based on the intensity,color,orientation and scale??
1 Kommentar
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!