Folks,
Uwe Flechig from PSI recently introduced me to the ImageMagick software suite.
http://www.imagemagick.org/
One of the things it provides is a C++ library that is very simple and powerful. For example, the following 3 lines of code will read any URL containing an image in any of dozens of formats, rotate it 90 degrees and save it as a TIFF file:
Image image("http://www.solarstrahlung-dietzenbach.de/images/sonne.jpg");
image.rotate(90.);
image.write("test.tiff");
This is so much simpler and more powerful than using the libtiff and libjpeg libraries directly that I am very interesting in switching to it for areaDetector. One of the next detector drivers I am thinking of writing, partly at Uwe's suggestion, is a driver for Web cameras and Axis video Web servers. This would allow areaDetector to get images from existing analog cameras via MJPEG, decompress them, and the use the statistics and processing plugins, for example. This would be trivial with ImageMagick using the URL in a constructor as shown above (or in the Image.read method).
My question is whether anyone in this group has experience with it, and knows of any potential problems. It runs on Linux, Windows and Mac. I got it running quickly on Linux, but on Windows I seem to have problems reading disk files my own software, though their command line utilities work.
Thanks,
Mark
- Replies:
- RE: ImageMagick tom.cobb
- Navigate by Date:
- Prev:
Re: vlinac and point release Akridge, Charles S. (MSFC-ES52)
- Next:
Long string ... emmanuel_mayssat
- 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:
Re: procServ, not CA Re: [Fwd: RE: Soft IOCs and Port Numbers] Steven M. Hartman
- Next:
RE: ImageMagick tom.cobb
- 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
|