Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
<== Date ==> <== Thread ==>

Subject: Bayer to RGB areaDetector
From: "arvinder.palaha@diamond.ac.uk" <arvinder.palaha@diamond.ac.uk>
To: tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 3 May 2018 15:37:08 +0000
Dear tech-talk,

Using areaDetector, I have been trying to use the Bayer color mode with a Mako G507C camera at DLS, but to no avail.

When using either the Mono or RGB mode, I see an updated image on the ffmpegViewer screen, but not with Bayer mode.

I tried using the NDPluginColorConvert plugin; converting Bayer color mode to RGB1 (or even Mono) but this also causes the ffmpegViewer stream to stop.

Looking in the NDPluginColorConvert.cpp in ADCore/ADApp/pluginSrc, it depends on PVAPI to deal with debayering, and this was a library from Prosilica, which is a proprietary library, but not in ADCore anymore.

There is demosaicing function in OpenCV that can convert a bayer format to RGB.

My question is: could ADCore depend on OpenCV in order for the color convert plugin bayer feature to work?

If not, could we use the OpenCV method in a separate support module (we have one at DLS called adOpenCV)?



For info; I am using ADCore 2-6 and ffmpegServer 3-1


Cheers,


Arvinder Palaha
Beamline Control Systems
DH G.63
T: +44-(0)1235-77-8137
E: arvinder.palaha@diamond.ac.uk


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


Replies:
Re: Bayer to RGB areaDetector Mark Rivers

Navigate by Date:
Prev: EPICS Support for RedPitaya Release v2.0 Andraz Pozar
Next: Re: Bayer to RGB areaDetector Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
Navigate by Thread:
Prev: RE: EPICS Support for RedPitaya Release v2.0 Andraz Pozar
Next: Re: Bayer to RGB areaDetector Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019 
ANJ, 03 May 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·