Questions tagged [demosaicing]

A demosaicing (also de-mosaicing, demosaicking or debayering) algorithm is a digital image process used to reconstruct a full color image from the incomplete color samples output from an image sensor overlaid with a color filter array (CFA). It is also known as CFA interpolation or color reconstruction.

24 questions
1
vote
1 answer

Demosaicing algorithm for constructing an image (received from a Bayer Filter Sensor) in Java from binary file

I am supposed to construct an image in Java from a binary file that the Java Program reads. The file comes from a Bayer Filter sensor. The file consists of the binary values of each pixel .Every pixel is represented by 10 bits. A demosaicing…
sto_user
  • 31
  • 1
  • 8
1
vote
0 answers

OpenGL texture pixel mapping stripe glitches (not border)

I'm working on OpenGL Bayer demosaicing algorithms and although I've managed to make the techniques seemingly work, I'm getting occasional glitches in the output and I can't seem to figure out why. See images here:…
vekkuli
  • 9
  • 2
0
votes
0 answers

How can I make a bayer image and become a debayer again? (demosaicing)

My goal is to blur the picture a bit using a bilinear debayer. This is to embody the dirty image of the VHS days. As a graphic major, I tried to reproduce it with various graphic tools, but did not get the desired quality result. I want that subtle…
moaiman
  • 1
  • 1
0
votes
0 answers

Is there a way to pass 24bit Bayer tiles to the GPU using OpenGL?

I'm developing a camera interface in C#. I have an HDR camera that generates 24-bit HDR raw images. The raw image buffer is a byte array, byte[], with 3 bytes per each Bayer tile. I'm looking for a way to pass this array buffer to the GPU as a…
0
votes
1 answer

crypt algorithm by a vectored key and the error is Proportional to the difference between input key and real key

I want to find an crypt algorithm which provides the functionality described below. Given a key (a vector Vkey) and a data (an image), use this key to encry the image; the encrypted image can not be identified afetr encrypt. When decrypt, if: use a…
0
votes
0 answers

cvPixelBuffer to CGImage Conversion only Gives Black-White Image

I am trying to convert raw camera sensor data to a color image. The data are firstly provided in a [UInt16] array and subsequently converted to a cvPixelBuffer. The following Swift 5 code "only" creates a black-and-white image and disregards the…
0
votes
1 answer

Demosaicing with opencv

I am stuck trying to figure out how to use the opencv demosaicing function. I have OpenCV 4.4.0 installed with CUDA support compiled in, and so far what I think I need to do is: Read in the raw image data Load in raw image data to a Mat…
0
votes
1 answer

Halide: Demosaic algorithm bug for larger images. Seems to work for 16x16 images.

I'm trying to implement demosaic algorithm for Bayer filter as shown in section 2.8 (page 8) of this pdf: http://www.arl.army.mil/arlreports/2010/ARL-TR-5061.pdf. I'm stuck on trying to realize a function over an RDom. When I use a 16x16 image, the…
zengod
  • 1,114
  • 13
  • 26
0
votes
0 answers

Image regression (demosaicing) with Keras

I am doing color demosaicing using Keras. I have tried convolutional neural networks but it is not working properly. My code is-: from __future__ import print_function from keras.datasets import cifar10 from keras.preprocessing.image…
pranav shukla
  • 353
  • 4
  • 15
1
2