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: "Smith, William via Tech-talk" <tech-talk at aps.anl.gov>
To: Mark L Rivers <rivers at cars.uchicago.edu>, "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 22 Nov 2021 18:58:20 +0000
Cool, if I find time I will give this a go and raise a pull request. Thanks Mark and Kay for the help (again!!)

Will

-----Original Message-----
From: Mark L Rivers <rivers at cars.uchicago.edu>
Sent: Monday, November 22, 2021 7:12 PM
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>
Subject: RE: Phoebus Image Decompression

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



________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Jan Lüning (Sprecher), Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

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

Navigate by Date:
Prev: RE: Phoebus Image Decompression Mark L Rivers via Tech-talk
Next: Alternative to EPICS Gateway Wilkins, Stuart 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 Mark L Rivers via Tech-talk
Next: Control Systems Developer + DevOps Role at Fusion Startup Josh Fiddler 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 ·