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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: edm : TwoDProfileMonitorClass : cropping/resizing image |
From: | Kate Feng <[email protected]> |
To: | Mark Rivers <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 28 Jan 2010 23:09:55 -0500 |
Sorry for having this message to appear the 2nd time. Somehow the clock on my laptop was slewed over time that the 1st message was logged ahead of your original message. Same message below just in case.....
Here are a couple of ideas:Do you use ImageJ for real-time image display instead of edm : TwoDProfileMonitorClass ?
- I've got an ImageJ plugin that displays EPICS waveform images from the areaDetector module. It is quite flexible for zooming, line profiles, etc. It uses the native Java implementation of CA.
- If your cameras are supported by areaDetector, then it comes with a very flexible region-of-interest plugin that lets you select regions of the image, reverse axes, bin, etc. The ImageJ viewer responds immediately to such changes in the selected area of the image.
Regards, Kate
Mark
________________________________
From: [email protected] on behalf of Bruce Hill Sent: Thu 1/28/2010 7:36 PM To: Kate Feng Cc: [email protected] Subject: Re: edm : TwoDProfileMonitorClass : cropping/resizing image
We've had similar requests here at SLAC. We use TwoDProfileMonitorClass with EDM for our cameras, and are looking for an easier way to select the region of interest. We looked briefly into doing a Python/QT camera viewer with this feature, but haven't had time to get serious about it.
If anyone has a solution for this, we'd be interested in hearing about it. - Bruce
Kate Feng wrote:
I am using the edm/TwoDProfileMonitorClass for a real-time image display. Has anyone implemented a point-and-click resizing tool via the mouse for that class so that one can interactively crop out a section of the real-time image ?
A simpler implementation would be to have an active cursor being moved around the real-time image and have a text message to display the current (x,y) pixel location of the cursor for users to use it as a reference or an activation point to define the location of the cropping. Is this already implemented in the edm video widget ? Please advise.
Regards, Kate
-- Bruce Hill Member Technical Staff SLAC National Accelerator Lab 2575 Sand Hill Road M/S 94 Menlo Park, CA 94025