[magick-developers] debayer implementation.

Alexandre Poltorak alexandre.poltorak at gmail.com
Wed May 7 17:16:59 PDT 2008


We would like to contribute it to ImageMagick if it may be useful for
others.

Our goal is to make it as flexible as possible.

The original debayers we took are from
http://libdc1394.svn.sourceforge.net/viewvc/libdc1394/trunk/libdc1394/dc1394/bayer.c?revision=535&view=markup

We modified it slightly to match our images format and we are working now on
a in-debayer HDR based on the 2 Green channels we have from the sensor. This
method gives limited improvement (I believe 3-5 times) and is specific to
the CMOS sensors with on-chip ADC as with CCD it is just possible to use
higher dynamic range ADC and don't use variable "analog gains" at all.

Best regards,
Alexandre Poltorak

2008/5/7 <duc.sequere.aut.de.via.decede at imagemagick.org>:

> > we would like to implement several debayer algorithms in ImageMagick.
>
> There are three primary ways to extend ImageMagick: 1) write your program
> in your favorite language and use an ImageMagick wrapper to get and set
> image pixels; 2) implement a custom image filter (see
> http://www.imagemagick.org/script/architecture.php#filters); or 3)
> integrate
> it into the ImageMagick command line.  Choose one of these methods and
> let us know if you intend to contribute your code to the ImageMagick
> distribution or use it yourself or for your company.  Depending on your
> answers
> we can provide additional help.  If you choose 3), we will need a summary
> of your algorithm parameters to determine how best to parse them from the
> command line.
>


More information about the Magick-developers mailing list