Re: [Gimp-developer] viewing Dectris X-ray detector data
- From: gg catking net
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] viewing Dectris X-ray detector data
- Date: Wed, 21 Dec 2011 16:48:34 +0100
On 12/21/11 16:40, Mukund Sivaraman wrote:
Hi Stanley
On Wed, Dec 21, 2011 at 04:14:46PM +0100, stanley esrf fr wrote:
Hi there
I was wondering how easy (?!) it might be to change the GIMP data
input/output routines so that instead of reading/writing jpg images
"GIMPX" could read/write Dectris X-ray detector format data...
Don't fork off a new GIMPX project.
GIMP uses a plug-in system to read/write files. You can easily write
support for a new file format by creating a plug-in for it.
Use any existing plug-in's source code as an example:
http://git.gnome.org/browse/gimp/tree/plug-ins/common/
Plug-ins for PPM, TGA, RAW (raw data, not camera RAW photos), XPM, etc.
are rather simple and can be a good foundation to start a new plug-in.
http://developer.gimp.org/plug-ins.html
In fact, we would really only be interested in a very small subset
of all the image processing that GIMP can do. For example, certain
zones of the 2d detector need to be masked before further data
analysis can proceed. The ability to select contiguous regions
based on count-rate would be very helpful.
If you don't need a GUI, you could also try using GEGL for image
processing which will give you more precision. GEGL also supports
plug-ins, which are called operations in its nomenclature.
http://git.gnome.org/browse/gegl/tree/operations/external/
http://gegl.org/
Kind regards,
Mukund
for repetitive batch processing you could also look at imagemagick which
operates from text commands.
If your processing is repetitive this would be a lot more efficient than
an interactive interface like gimp.
/gg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]