IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Using GIMP for processing planetary images
elakdawalla
post May 6 2008, 04:40 PM
Post #1


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



I am embarking on teaching myself to use GIMP in the hopes that I can use it to develop tutorials for space image processing for the Society's website, but of course I have questions. Does anybody here use GIMP on a regular basis and have any useful tips? I was happy to see how much of Photoshop's functionality it appears to mimic, but I'm a bit nonplussed to discover that it can't deal with 16-bit images, only 8-bit.

I did find a plugin for opening PDS images (http://registry.gimp.org/node/1627), but it seems to choke on Cassini images (perhaps because of the 8-bit problem, I'm not sure).

I have figured out how to take three grayscale image files and make them into a single RGB image (through Colors > Components > Compose...)

Does anyone know of a good plugin for automatic alignment of images?

Any other tips?

--Emily


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
2 Pages V   1 2 >  
Start new topic
Replies (1 - 26)
ectoterrestrial
post May 6 2008, 11:10 PM
Post #2


Junior Member
**

Group: Members
Posts: 20
Joined: 22-February 06
Member No.: 688



I use GIMP fairly frequently but I'm not doing any sophisticated image processing.

As a suggestion, I'll just point out that functionality can be appended to GIMP distribution using the Python scripting language. If you're looking to make an open-source and multi-platform tool, this is a nice situation. Python with it's SciPy/NumPy modules would be very powerful and concise for image processing.

http://www.gimp.org/docs/python/index.html


--------------------
UMSF Newbie since 2006.
Go to the top of the page
 
+Quote Post
imipak
post May 7 2008, 06:38 PM
Post #3


Member
***

Group: Members
Posts: 646
Joined: 23-December 05
From: Forest of Dean
Member No.: 617



QUOTE (ectoterrestrial @ May 7 2008, 12:10 AM) *
As a suggestion, I'll just point out that functionality can be appended to GIMP distribution using the Python scripting language. If you're looking to make an open-source and multi-platform tool, this is a nice situation. Python with it's SciPy/NumPy modules would be very powerful and concise for image processing.


Without wanting to start an off-topic religious war smile.gif I will only point out that there are tons of GIMP-related stuff for Perl, as well; basic Perl with GIMP tutorial here, GIMP-related Perl modules, generic graphics modules and a selection of mathematical stuff.

When I dig my way out from under few dozen MSLs[1] of pre-audit ISO hell (don't ask) I'll be writing some trivial Perl / GIMP code for visualising network maps, -- very trivial in comparison with processing astronomical images, of course :/

As a card-carrying swivel-eyed Free software zealot, I'm sorry to say GIMP has a pretty poor reputation. I'm sorry we don't seem to have anything much more powerful; traditionally GIMP's been all there is. Thankfully there's now Inkscape, an alternative for vector-related image work (think Illustrator to the GIMP's Photoshop) - much better for diagrams and the like; and FWIW, I googled up these related Free software projects:

Pixia, another bitmap processor - this is an internationalised Japanese app;
PlanetGenesis - like Terragen;
Hugin - like AutoStitch;
...and Wikipedia has a list of various graphics apps, including other Free ones I've not mentioned (or indeed heard of smile.gif )

[1] Alternative volumetric unit to VW Beetles


--------------------
--
Viva software libre!
Go to the top of the page
 
+Quote Post
elakdawalla
post May 7 2008, 08:22 PM
Post #4


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



Yeah, it's not looking particularly promising. I'm not finding GIMP very intuitive, but that may just be because I'm so used to Photoshop that anywhere that GIMP doesn't work precisely the same, I'm at a loss. Still, I'd like to be able to write tutorials that people who can't afford Photoshop can use. Maybe I should write tutorials first in general terms (but terms specific enough to allow readers to Google for how to do the described operations in their image processing software of choice), and then provide specific versions for more than one piece of image processing software. That sounds like a lot of work though. I'm beginning to think that what I need to do is build a wiki and try to cajole expert users of one piece of software or another to contribute content.

--Emily


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
slinted
post May 7 2008, 10:18 PM
Post #5


Member
***

Group: Admin
Posts: 468
Joined: 11-February 04
From: USA
Member No.: 21



Having never spent much time in Photoshop, Gimp has been a faithful albeit frustrating companion to my exploration of the rover images. I haven't spent much time working with plugins or scripting within gimp, although I do use Python/PIL/Numpy on its own for all my image processing scripts. But, at the end of the day, gimp easily handles the 'finishing touches' on images before posting them online. For simple things like cropping, resizing, GIF animations/compression, etc. I've found gimp to be easy to use.

Emily, I'd be a willing cajolee if you were interested in doing a wiki-style guide. You could list out the tasks you were interested in including on the page, and I'd be happy to writeup the ones with which I'm familiar.
Go to the top of the page
 
+Quote Post
djellison
post May 8 2008, 07:09 AM
Post #6


Founder
****

Group: Chairman
Posts: 14457
Joined: 8-February 04
Member No.: 1



How about Photoshop Elements. It's V cheap ( <10% of Photoshop ) and is essentially, Photoshop with the pro stuff taken out. It might do the job.

Doug
Go to the top of the page
 
+Quote Post
edstrick
post May 8 2008, 08:36 AM
Post #7


Senior Member
****

Group: Members
Posts: 1870
Joined: 20-February 05
Member No.: 174



"...How about Photoshop Elements. It's V cheap ( <10% of Photoshop ) and is essentially, Photoshop with the pro stuff taken out..."

Elements is the kiddie-school dumbed-down and stripped version of Photo"slop". It's got some nifty consumer stuff, but it lacks stuff Photoshop 2.5 had under Windoze 3.1. Most catastrophically, from my viewpoint, it has no ability to separate and / or merge color channels.
Go to the top of the page
 
+Quote Post
jamescanvin
post May 8 2008, 09:22 AM
Post #8


Senior Member
****

Group: Moderator
Posts: 2262
Joined: 9-February 04
From: Melbourne - Oz
Member No.: 16



QUOTE (elakdawalla @ May 7 2008, 09:22 PM) *
I'm not finding GIMP very intuitive, but that may just be because I'm so used to Photoshop that anywhere that GIMP doesn't work precisely the same, I'm at a loss.


That sounds about right, I conversely, I often get frustrated with not being able to work out how to do something in Photoshop and end up firing up GIMP instead.



--------------------
Twitter
Please support unmannedspaceflight.com by donating here
Go to the top of the page
 
+Quote Post
djellison
post May 8 2008, 09:52 AM
Post #9


Founder
****

Group: Chairman
Posts: 14457
Joined: 8-February 04
Member No.: 1



QUOTE (edstrick @ May 8 2008, 09:36 AM) *
it has no ability to separate and / or merge color channels.


Ahh - that's a no then. I've used Premiere Elements - and it was very good compared to Premiere. Pity.

Doug
Go to the top of the page
 
+Quote Post
Stu
post May 8 2008, 11:38 AM
Post #10


The Poet Dude
****

Group: Moderator
Posts: 5551
Joined: 15-March 04
From: Kendal, Cumbria, UK
Member No.: 60



I use Elements and love it, but t'is true, it can't separate / combine colour files... that's why I do my RGB work in Paintshop and then "tweak" - sorry, carefully change - the images in Elements afterwards...


--------------------
Go to the top of the page
 
+Quote Post
elakdawalla
post May 8 2008, 02:49 PM
Post #11


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



QUOTE (jamescanvin @ May 8 2008, 01:22 AM) *
That sounds about right, I conversely, I often get frustrated with not being able to work out how to do something in Photoshop and end up firing up GIMP instead.

Do you find the lack of support for 16-bit images a limitation?


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
jamescanvin
post May 8 2008, 03:08 PM
Post #12


Senior Member
****

Group: Moderator
Posts: 2262
Joined: 9-February 04
From: Melbourne - Oz
Member No.: 16



No, not really, but to be honest I only really do finishing touches in GIMP/Photoshop.

Nearly all my MER image processing is done using home grown routines, within those I'm storing data at 32-bit depth. tongue.gif I wouldn't want to do any serious processing of images at 8-bit.

James


--------------------
Twitter
Please support unmannedspaceflight.com by donating here
Go to the top of the page
 
+Quote Post
tedstryk
post May 8 2008, 03:49 PM
Post #13


Interplanetary Dumpster Diver
****

Group: Admin
Posts: 4407
Joined: 17-February 04
From: Powell, TN
Member No.: 33



I tried GIMP, but I quickly returned to Photoshop. Due to the nature of how it was/is made, GIMP is extremely inconsistent. BTW James, I know what you mean about bit depth. I usually work in 16 bit grayscale and color, and have occasionally done a whole lot of work, only to find that I had done it in 8-bit mode. The amount of loss is crippling.


--------------------
Go to the top of the page
 
+Quote Post
elakdawalla
post May 8 2008, 03:54 PM
Post #14


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



That's what I figured; I couldn't imagine you were doing much real work with images stored at 8-bit depth. But there's no harm in showing newbies how to do it, letting them catch the image processing bug, and then telling them they need to pay for some better software, or write their own. tongue.gif

Anyway, here are the most basic image processing tasks that I'd like to cover:

- Making RGB images from three single-filter images
- Making red-blue anaglyphs from right- and left-eye images
- Aligning three Voyager or Cassini images so that they may be combined into an RGB combo
- Making simple animations (e.g. Hazcam movies, Voyager flybys, Cassini mutual event observations)
- Making a simple two- or three-image mosaic (focusing mostly on the basic tasks of enlarging the canvas, aligning images, and adjusting levels, not considering more complex stuff like warping images to account for changing perspective)

I have a single tutorial written, for aligning images and making an RGB combo, using Photoshop and Elements:
http://www.planetary.org/explore/topics/im.../tutorials.html It'd be easy to modify that one for other software, if I am sent appropriate screen caps and a description of how the workflow diverges. I think I may separate the alignment and make-RGB parts of this tutorial.

There are a lot of other related topics I'd like to cover, such as: where to get data from each mission; how each mission's instrument functions; software for auto-stitching and auto-aligning; etc. But these tutorials would be a good place to start.

--Emily


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
algorimancer
post May 8 2008, 04:53 PM
Post #15


Member
***

Group: Members
Posts: 656
Joined: 20-April 05
From: League City, Texas
Member No.: 285



ImageJ is a free NIH application which will allow you to split and combine color channels, even using arithmetic combinations. Also lots of free plugins for specialized image processing.
http://rsb.info.nih.gov/ij/index.html


Stereo Photo Maker (also free) is very good for creating stereo images (whatever the format), and also allows you to align (rotate/translate/scale) the images with respect to one another.
http://stereo.jpn.org/eng/stphmkr/
Go to the top of the page
 
+Quote Post
Paolo Amoroso
post May 30 2008, 09:31 PM
Post #16


Member
***

Group: Members
Posts: 109
Joined: 20-January 07
From: Milano, ITALY
Member No.: 1633



This book is a bit old, but provides a lot of useful information on basic and advanced features. Grokking the GIMP.


Paolo Amoroso


--------------------
Avventure Planetarie - Blog sulla comunicazione e divulgazione scientifica
Go to the top of the page
 
+Quote Post
Paolo Amoroso
post Oct 2 2008, 07:55 PM
Post #17


Member
***

Group: Members
Posts: 109
Joined: 20-January 07
From: Milano, ITALY
Member No.: 1633



QUOTE (elakdawalla @ May 6 2008, 06:40 PM) *
Does anybody here use GIMP on a regular basis and have any useful tips? I was happy to see how much of Photoshop's functionality it appears to mimic, but I'm a bit nonplussed to discover that it can't deal with 16-bit images, only 8-bit.

GIMP 2.6 adds support for 32 bits per color channel.


Paolo Amoroso


--------------------
Avventure Planetarie - Blog sulla comunicazione e divulgazione scientifica
Go to the top of the page
 
+Quote Post
elakdawalla
post Oct 2 2008, 08:01 PM
Post #18


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



That's great news, thanks for the heads up. I'll have to take a look at using it again.

--Emily


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
imipak
post Oct 2 2008, 08:03 PM
Post #19


Member
***

Group: Members
Posts: 646
Joined: 23-December 05
From: Forest of Dean
Member No.: 617



w00t!!! imipak: does a little jig of delight, before pausing to genuflect towards the bust of RMS biggrin.gif


--------------------
--
Viva software libre!
Go to the top of the page
 
+Quote Post
Ant103
post Oct 24 2008, 06:34 PM
Post #20


Senior Member
****

Group: Members
Posts: 1621
Joined: 12-February 06
From: Bergerac - FR
Member No.: 678



For Macintosh users, there is a .dmg compiled here : http://gimp.lisanet.de/Website/Download.html
The integration to the UI (leopard for me) is pretty good smile.gif


--------------------
Go to the top of the page
 
+Quote Post
Ryan Balfanz
post Jun 17 2009, 09:07 PM
Post #21


Newbie
*

Group: Members
Posts: 5
Joined: 1-June 09
From: Greater St. Louis Area
Member No.: 4807



QUOTE (ectoterrestrial @ May 6 2008, 06:10 PM) *
...As a suggestion, I'll just point out that functionality can be appended to GIMP distribution using the Python scripting language. If you're looking to make an open-source and multi-platform tool, this is a nice situation. Python with it's SciPy/NumPy modules would be very powerful and concise for image processing...


I am doing that right now. If there is enough interest I will be releasing my code to the public domain in the coming months. To not hijack this thread please send any inquires to me via a PM. Eventually I will probably announce the project here, in it's own thread, of course.


--------------------
Go to the top of the page
 
+Quote Post
Randall SHelaga
post Aug 28 2012, 07:42 PM
Post #22


Newbie
*

Group: Members
Posts: 5
Joined: 19-January 09
From: Urbania, Nova Scotia, Canada
Member No.: 4556



I am late in the game, but have read the posts with interest.... With GIMP now flaunting its 16 bit capability and promising 32 bit in the future, I think the Wiki or some other similar venue is worthy of revisiting... GIMP in Space.... Seriously, I think if we just tap some of the resources available, there would be an excellent document that results.

Thoughts, opinions and electronic rotten fruit are solicited.

Randy

(In a log cabin in the woods with waaaaayyy tooo much time on his hands)


--------------------
Randy Shelaga
Project GIMP in Space
NexStar 8SE, NexImage Planetary Imager, Cartes de Ciel, Virtual Moon Atlas, NexRemote, SharpCap, AviStack, Stellar Magic, GIMP
Go to the top of the page
 
+Quote Post
elakdawalla
post Aug 28 2012, 08:30 PM
Post #23


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



I didn't know that GIMP had finally implemented 16 bit capability. I would applaud and support a "GIMP in space" wiki, if enough people piped up here expressing an interest in contributing to it. Not *learning from it*, but *contributing to it.* This is one thing I can't write!


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
JohnVV
post Aug 29 2012, 06:54 PM
Post #24


Member
***

Group: Members
Posts: 890
Joined: 18-November 08
Member No.: 4489



gimp2.6,2.8 DOSE NOT YET have 16 bit support
however the upcoming 2.10 should

i use the OLD Cinepaint
Nip2/Vips
G'mic
for 16 bit short / ushort and 32 bit float
Go to the top of the page
 
+Quote Post
Randall SHelaga
post Aug 31 2012, 02:39 AM
Post #25


Newbie
*

Group: Members
Posts: 5
Joined: 19-January 09
From: Urbania, Nova Scotia, Canada
Member No.: 4556



Apologies, I misread the article, they do have 16 bit, but in a development version of the software.

Emily has made great strides in popularizing spacecraft imaging, and has shown the basics of using GIMP, however, this should be the starting point. By the way, thank you Emily.

Regardless of my misinterpretation, I would like to throw the gauntlet down to this forum...it is way too long that there is no body of knowledge about using GIMP for the processing of space and astronomical images. I propose "Project GIMP in Space", which would be the basis for a centralized collection of basic information, theory, tools, tutorials, whatever is needed, using something like a WikiBook, Wiki or even a basic webpage with PDF modules. After all this would be in keeping with the principal of things like GIMP, Wiki and Office Libre to name a few...the sharing of tools and information.

But GIMP isn't 16 bit, however, now is the time to start documenting the processes and the tools, and when 16 and/or 32 bit is available, it would be a matter of just revisiting and updating the existing documents. There are numerous other forums that have snippets of information about using GIMP for astro-image processing, and I see numerous finished images, which claim they were processed using GIMP, so what is the magic?

Little known tidbits about GIMP:
- there is a plug in to allow it to download IMG and IMQ type documents from PDS
- there is an astronomy plug-in that assists with gradients, dark frame, flat frames, alignment, normalizing layers and star rounding
- there are also references to plug-ins for anaglyphs and gores to prepare globes
- a quarterly online GIMP magazine is being launched early September, and could offer a forum for some form of article related to processing

I look forward to hearing feedback from this group, and I am contemplating putting the challenge to other groups and forums in an attempt to bring this information together.


--------------------
Randy Shelaga
Project GIMP in Space
NexStar 8SE, NexImage Planetary Imager, Cartes de Ciel, Virtual Moon Atlas, NexRemote, SharpCap, AviStack, Stellar Magic, GIMP
Go to the top of the page
 
+Quote Post
elakdawalla
post Aug 31 2012, 03:55 AM
Post #26


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



While I support the idea, I'm afraid you won't get very far here throwing down challenges. If you are driven to see this done, you need to start it yourself -- and then people may come along to help.


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
galileo
post Sep 3 2012, 01:15 PM
Post #27


Newbie
*

Group: Members
Posts: 11
Joined: 31-May 09
From: Iowa
Member No.: 4806



For those that might be having a problem installing G'MIC plug-in in GIMP, I hope that this might help.
After hours of trying to install G'MIC in GIMP I found out the problem that I was having was using the wrong path.
My operating systemt : O/S Win 7 64-bit
Download G'MIC Win 7 64-bit (zip file).....I downloaded to desktop
Unzip file
Copy all files and folders and place in C:Users\yourname\.gimp-2.8\plug-ins
Open GIMP and under filters and at the bottom should be G'MIC
Hope this helps smile.gif
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 13th December 2024 - 08:45 PM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.