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

Subject: RE: NTNDArrays, Java
From: "Madden, Timothy J." <tmadden@aps.anl.gov>
To: "Kasemir, Kay" <kasemirk@ornl.gov>, Marty Kraimer <mrkraimer@comcast.net>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Tue, 14 Mar 2017 20:35:23 +0000

Thanks to all you folks, I think I have the thing working, as far as getting the image, dims , and data out of ntndarray.
I am now starting to write the Image J plugin, which is the easy part. I should have something in a few days, and will post.


T



From: Kasemir, Kay [kasemirk@ornl.gov]
Sent: Tuesday, March 14, 2017 3:00 PM
To: Marty Kraimer
Cc: Madden, Timothy J.
Subject: Re: NTNDArrays, Java


On Mar 14, 2017, at 3:47 PM, Marty Kraimer <mrkraimer@comcast.net> wrote:
At the epics meeting at SNS, You gave a talk where You had a slide that displayed areaDetector images.
Can You show us the code that gets the NTNDArray data via pvAccess.

Thus may be a good place for Timothy to start for a plugin for ImageJ.

Let me also ask if the css code supports everything that ImageJ provides.
For example does it support color mode?


Hi!

CS-Studio includes a PVAccess client that decodes epics:nt/NTNDArray:1.0.
It’s used by the display builder, i.e. the BOY update, as presented at the last EPICS meeting.
It has been tested with the rotating ‘E’ image from David Hickin’s https://github.com/dhickin/epicsv4Training .
It is specific to CS-Studio in the sense that it wraps the image data as a “VImage” type, i.e. as one of the value V* types that we used inside CS-Studio.

PVA_PV connects & subscribes to a channel,
PVStructureHelper handles the received monitors,
VImageForNTNDArray handles the specifics of getting the dimension and the waveform of pixels out of an epics:nt/NTNDArray:1.0.

The VImage is a relic of that otherwise somewhat unfortunate PVManager / diirt development:
It was only recently extended to support more than just a byte[] array for the waveform, and at that time Kunal started to add image types (MONO, ..):

All I’ve ever seen and tested is MONO as presented by the rotating ‘E’ example image, and the display builder widget then shows that in various color maps.

The idea is that Matt Pearson who’s working on the area detector here at SNS would eventually add the PVA server plugin for the area detector to our setups, and then I’d update the CS-Studio code as required to show those images, for example color images served by area detector when connected to a camera.

-Kay


References:
NTNDArrays, Java Madden, Timothy J.
Re: NTNDArrays, Java bob dalesio
RE: NTNDArrays, Java Mark Rivers
RE: NTNDArrays, Java Madden, Timothy J.
RE: NTNDArrays, Java Mark Rivers
RE: NTNDArrays, Java Madden, Timothy J.
Re: NTNDArrays, Java Kasemir, Kay
RE: NTNDArrays, Java Madden, Timothy J.
Re: NTNDArrays, Java Marty Kraimer
RE: NTNDArrays, Java Madden, Timothy J.

Navigate by Date:
Prev: RE: NTNDArrays, Java Madden, Timothy J.
Next: Re: StreamDevice Checksum Pseudo-Converter Florian Feldbauer
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
Navigate by Thread:
Prev: RE: NTNDArrays, Java Madden, Timothy J.
Next: RE: NTNDArrays, Java 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
ANJ, 15 Mar 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·