grayscale image into matrix
이전 댓글 표시
hello sir,
am on a project, for which i need to convert a image into gray scale and access the matrix of each block , how will i get those matrix
댓글 수: 7
Rik
2019년 8월 26일
Images in Matlab are already matrices. What do you mean with block? Does that definition match the one in the blockproc function?
Rik
2019년 8월 26일
It is not clear what you mean. Can you provide an example input and output?
Swathi D
2019년 8월 26일
Rik
2019년 8월 26일
Does the rectangle with rounded count as a block? Can you count on sharp corners? Does the outer rectangle count as a separate object?
You can probably use bwlabel and loop through the objects to determine if they fit your requirements.
Swathi D
2019년 8월 26일
KALYAN ACHARJYA
2019년 8월 26일
편집: KALYAN ACHARJYA
2019년 8월 26일
Can you share the real image, with mentioning the target regions?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Neighborhood and Block Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
