Fine index matrix of an image
조회 수: 1 (최근 30일)
이전 댓글 표시
Let I be an image of m×n pixels, and M be the number of distinct colors. I can be
represented as I(x, y) = P(I'(x, y)), where P = {S1, S2, . . . , SM} is the set of all the
colors in I, and I' is a m×n matrix of indexes in {1, 2, . . . ,M} with M typically equal
to 256 or 512.
How to find the I' in an image
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 10월 19일
rgb2ind()
댓글 수: 2
Walter Roberson
2013년 10월 19일
I didn't say to call it with only one argument.
I quote you,
and M be the number of distinct colors.
if you know the number of distinct colors, then re-read the rgb2ind() documentation.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!