Why is "ImageType" shown as "grayscale" when using "aviinfo"?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When I use the 'aviinfo' function to show information about a given .avi file, the image type is always shown as "grayscale". If I play the avi file in any player, it certainly isn't monochrome. So why does Matlab see it as such? I want to use 'aviread' to capture frames from my avi file. However, the captured frames have no colormaps and are 2-dimensional matricies. I have even tried recording an avi file on a computer that has the 24-bit colorscheme, which is what 'aviread' claims to support. However, the frames still show as grayscale. What am I doing wrong? Thanks for your time.
0 Commenti
Risposte (1)
Image Analyst
il 6 Giu 2011
My avi file (the rhinos.avi movie that ships with MATLAB) shows ImageType: 'truecolor' so I guess yours must be some kind of pseudocolored (indexed) movie - a grayscale movie that has an associated colormap. You can post your movie to your favorite sharing web site if you want people to take a look at it.
Vedere anche
Categorie
Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!