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: Arbitrary rotation angle with areaDetector Plugin
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Smith, William" <william.smith at helmholtz-berlin.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Kazarski, Sebastian" <sebastian.kazarski at helmholtz-berlin.de>
Date: Thu, 29 Jul 2021 09:09:26 -0700
On 7/29/21 9:00 AM, Smith, William wrote:
> Hi Michael,
> 
> This looks perfect. How do I include a new ND plugin in an existing area Detector installation?

See testApp/src/Makefile for an minimal example of an IOC executable
which may include simDetector and/or aravisGigE modules as well as
the common plugins.

https://github.com/mdavidsaver/ndwarp/blob/2eb73105dd886c9dc89e96b3d77661b9bf770a02/testApp/src/Makefile#L27-L28


> Will
> -----Original Message-----
> From: Michael Davidsaver <mdavidsaver at gmail.com>
> Sent: Thursday, July 29, 2021 5:10 PM
> To: Smith, William <william.smith at helmholtz-berlin.de>
> Cc: Kazarski, Sebastian <sebastian.kazarski at helmholtz-berlin.de>; tech-talk at aps.anl.gov
> Subject: Re: Arbitrary rotation angle with areaDetector Plugin
> 
> On 7/29/21 7:22 AM, Smith, William via Tech-talk wrote:
>> Hi,
>>
>>
>>
>> We would like to rotate an image using area detector by an arbitrary angle, much like the python function imutils.rotate_bound which rotates an image and doesn’t cut off the corners. Ultimately we are trying to get statistics of an ellipse which is not aligned on x and y.
>>
>>
>>
>> Has anybody extended the AreaDetector NDTransform plugin, or written another one to do anything like this? What are other people’s approaches?
> 
> It may well be stale at this point, but my NDWarp plugin can do this.
> 
> https://github.com/mdavidsaver/ndwarp/blob/2eb73105dd886c9dc89e96b3d77661b9bf770a02/warpApp/Db/NDWarp.template#L40
> 
> Rotation being one case of the possible coordinate transformations.
> The name "warp" coming from skimage, which I used for prototyping.
> 
> https://scikit-image.org/docs/dev/api/skimage.transform.html#skimage.transform.warp
> 
> ________________________________
> 
> 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:
Arbitrary rotation angle with areaDetector Plugin Smith, William via Tech-talk
Re: Arbitrary rotation angle with areaDetector Plugin Michael Davidsaver via Tech-talk
RE: Arbitrary rotation angle with areaDetector Plugin Smith, William via Tech-talk

Navigate by Date:
Prev: RE: Arbitrary rotation angle with areaDetector Plugin Smith, William via Tech-talk
Next: RE: Arbitrary rotation angle with areaDetector Plugin Mark Rivers 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: Arbitrary rotation angle with areaDetector Plugin Smith, William via Tech-talk
Next: RE: Arbitrary rotation angle with areaDetector Plugin Mark Rivers 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, 29 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·