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  2025  2026  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  2025  2026 
<== Date ==> <== Thread ==>

Subject: RE: Phoebus Image Decompression
From: Mark L Rivers via Tech-talk <[email protected]>
To: "Kasemir, Kay" <[email protected]>, "Smith, William" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
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 <[email protected]> On Behalf Of Kasemir, Kay via Tech-talk
Sent: Monday, November 22, 2021 11:33 AM
To: [email protected]; Smith, William <[email protected]>
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  2025  2026 
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  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·