You need to set the $(XSIZE) and $(YSIZE) macro variables in your st.cmd file to the maximum X andY size of your image. This is documented in EXAMPLE_commonPlugins.cmd.
Mark
Sent from my iPhone
On Aug 23, 2021, at 2:02 PM, Smith, William via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi,
I am using AD Stats plugin to determine the profile of a spot in an image. If I try and use a URL camera (Specifically an AXIS M114 camera) Then the profile is at most length 640 in the x dimension and 480 in the y, even if the image dimensions are greater than that. If I reduce the image size in the camera settings (not in area detector, but the camera itself) to an image size at or below 640x480, then the profile in x or y is that length.
I am able to plot the image from the StdArray plugin and I can see that it is the correct size. The image size is also reported correctly by $(P)cam1:ArraySizeX_RBV and $(P)cam1:ArraySizeY_RBV
Has anybody seen anything like this before? If I use this with the simDetector I have no problems, the profile length in each axis scales with the image size as expected.
Many thanks,
Will
________________________________
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:
- AD Stats with URL camera Profile problem Smith, William via Tech-talk
- Navigate by Date:
- Prev:
AD Stats with URL camera Profile problem Smith, William via Tech-talk
- Next:
LIB_LIBS getting ignored Jones, Edward (CODAS&IT) 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
- Navigate by Thread:
- Prev:
AD Stats with URL camera Profile problem Smith, William via Tech-talk
- Next:
LIB_LIBS getting ignored Jones, Edward (CODAS&IT) 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
|