EPICS Controls 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  2018  2019  2020  <20212022  2023  2024  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  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Phoebus Image Decompression
From: Mark L Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>, "Smith, William" <william.smith at helmholtz-berlin.de>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 22 Nov 2021 18:12:24 +0000
There is Java code to decompress all of the supported areaDetector codecs in NDPluginCodec in ADViewers.
https://github.com/areaDetector/ADViewers/tree/master/ImageJ/EPICS_areaDetector

These are just wrappers around the C/C++ codecs in ADSupport which are built as shareable libraries.

Mark

-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Kasemir, Kay via Tech-talk
Sent: Monday, November 22, 2021 11:33 AM
To: tech-talk at aps.anl.gov; Smith, William <william.smith at helmholtz-berlin.de>
Subject: Re: Phoebus Image Decompression

Hi Will,

> Does Phoebus image viewer work with area detector compressed images sent over PV access? I.E can it read the compression type from the PV access protocol and perform the decompression?
 
At this time, regrettably, no. The relevant code is in https://github.com/ControlSystemStudio/phoebus/blob/master/core/pv/src/main/java/org/phoebus/pv/pva/ImageDecoder.java

In principle, it's straight forward to add something like `struct.get("compression")` to determine how the data is compressed, and to then un-compress the `value`.
If you have some actual test data and information on how to decode the compressed image, please go ahead and implement it.

Thanks,
Kay



Replies:
RE: Phoebus Image Decompression Smith, William via Tech-talk
References:
Phoebus Image Decompression Smith, William via Tech-talk
Re: Phoebus Image Decompression Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Control Systems Developer + DevOps Role at Fusion Startup Josh Fiddler via Tech-talk
Next: RE: Phoebus Image Decompression Smith, William via Tech-talk
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  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Phoebus Image Decompression Kasemir, Kay via Tech-talk
Next: RE: Phoebus Image Decompression Smith, William via Tech-talk
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  2018  2019  2020  <20212022  2023  2024 
ANJ, 22 Nov 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·