Demosaicing imaging processing help
Ältere Kommentare anzeigen
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?
Antworten (1)
Image Analyst
am 7 Jan. 2016
0 Stimmen
I just tried it and I get the same images they get. Attach your mandi.tif and screenshots of what you get.
4 Kommentare
XIN HE
am 7 Jan. 2016
Image Analyst
am 7 Jan. 2016
Then put it inside a zip file.
XIN HE
am 7 Jan. 2016
Image Analyst
am 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.
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!