extract intensity pixels
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
채택된 답변
Walter Roberson
2012년 5월 28일
extracted_pixels = YourArray( sub2ind( size(YourArray), RowList, ColumnList ) );
댓글 수: 3
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)
추가 답변 (1개)
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!