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  2021  2022  2023  2024  <20252026  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  2021  2022  2023  2024  <20252026 
<== Date ==> <== Thread ==>

Subject: Re: areaDetector fft of subsection of image
From: Mark Rivers via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>, Jörn Dreyer <[email protected]>
Date: Mon, 10 Nov 2025 13:26:35 +0000
Hi Jörn,


That is exactly what NDPluginROI is designed to do.

 You create a plugin chain like this:

Camera -> NDPluginROI -> NDPluginFFT

You tell NDPluginROI the region of the camera you want to select.  The FFT also behaves best if N is a power of 2, so 128x128 is better than 100x100.

Note that you can also use NDPluginOverlay to show the location of the ROI in the GUI that is displaying your camera image.  That is demonstrated here:


Mark




From: Tech-talk <[email protected]> on behalf of Jörn Dreyer via Tech-talk <[email protected]>
Sent: Monday, November 10, 2025 2:26 AM
To: [email protected] <[email protected]>
Subject: areaDetector fft of subsection of image
 
Hello,

I have an areaDetector image which contains its relevant information in the center section of the image.
So to improve performance I would like to calculate the FFT of the image only for a subsection (configurable) of the NDArray.
Has anybody done something like that before?

I know, that FFT performs best if you have an array of size N * N, while most images are N * M with N != M.
So the best would be to create a sub array of lets say 100 * 100 pixels from the center of the image before doing the FFT.

Regards

Jörn



References:
areaDetector fft of subsection of image Jörn Dreyer via Tech-talk

Navigate by Date:
Prev: pvxs Access/list problem Heinz Junkes (FHI) via Tech-talk
Next: Re: pvxs Access/list problem Michael Davidsaver 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  2021  2022  2023  2024  <20252026 
Navigate by Thread:
Prev: areaDetector fft of subsection of image Jörn Dreyer via Tech-talk
Next: pvxs Access/list problem Heinz Junkes (FHI) 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  2021  2022  2023  2024  <20252026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·