Indexed movie data values must be legal colormap indices:
Show older comments
hi,
I have a problem while using movie, in matlab. i am getting this error......
Indexed movie data values must be legal colormap indices:
1.0 <= value <= length(colormap) for double-precision movie data, and
0 <= value <= length(colormap)-1 for uint8 movie data
- I am reading video file.
- converting to rgb i am thresholding it.
- while assigning the thresholded frame to mov(k).cdata=I; ( I is thresholded image)
I am getting abov error plz help me
Thanks in advance.
Answers (0)
Categories
Find more on Modify Image Colors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!