Demosaicing imaging processing help
Afficher commentaires plus anciens
I download the image from http://au.mathworks.com/help/images/ref/demosaic.html , and use the same program to run, why I can not get the same result as the second image shows? Does any one have tried to do the same thing?
Réponses (1)
Image Analyst
le 7 Jan 2016
0 votes
I just tried it and I get the same images they get. Attach your mandi.tif and screenshots of what you get.
4 commentaires
XIN HE
le 7 Jan 2016
Image Analyst
le 7 Jan 2016
Then put it inside a zip file.
XIN HE
le 7 Jan 2016
Image Analyst
le 7 Jan 2016
You didn't attach any zip file.
You'd have to know how your image was made. It's not as simple as just demosaicing according to some book formula. If you have a raw image, the pixels may be written out in different ways, for example BGRBGR OR BGRG. You may not even have an image in RGB space. And that's just the pixel storage order. Different demosaicing algorithms have a different window sizes - the size and shape of neighboring pixels that they take into account when estimating the value of a missing color pixel.
I don't deal much in raw images - it's not worth my time. You might try Photoshop or DCRaw to demosaic your image to a standard format and then just start from there with the rest of your algorithm.
Catégories
En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!