I have raw pixel data from a camera sensor and need to convert it into a raw image. With Core Image Filter I like to process the raw image data.
I have trouble getting the raw data into a CIImage.
Also CGContext only gave me gray scale or even black & white image views.
The raw data are the actual pixel values of the CFA (color filter array) with an RGGB pixel arrangement. iOS/SWIFT should be able to do all the demosaicing and apply a whole bunch of great filters specially developed for raw images.
But I simple cannot get the data into a core image.
Any help is highly appreciated.
I have trouble getting the raw data into a CIImage.
Also CGContext only gave me gray scale or even black & white image views.
The raw data are the actual pixel values of the CFA (color filter array) with an RGGB pixel arrangement. iOS/SWIFT should be able to do all the demosaicing and apply a whole bunch of great filters specially developed for raw images.
But I simple cannot get the data into a core image.
Any help is highly appreciated.