[Tutor] Image MAnipulation Help

2015-12-08 Thread Ilesha Wise
Hello, I wasnt sure if this is the email address I should be sending this
to.

I really need help creating codes that will do the following:

 Scanned photos and slides often have dust specs, water marks, scratches
etc. Automate their removal as much as possible and/or provide a simple way
for the viewer to direct the program as to where to make corrections.
  Images often have a high contrast (bright sky, dark horizon). Help the
image by making the sky more blue (with any detectable clouds, birds, etc.
remaining) and improve the contrast of the other portion of the image.

Additional grading basis:

 The user interface for solving these issues.
  A decent (note, not perfect) improvement in the images.
 Your management of color, averaging, etc.


Thank you.
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Alan Gauld
On 08/12/15 07:39, Ilesha Wise wrote:
> Hello, I wasnt sure if this is the email address I should be sending this
> to.

Its a fair starting point but you will probably get more detailed
answers on the PIL/PILLOW forums since those are the packages
you will likely be using for this kind of work. (Pillow is
for v2/v3, The original PIL for v2 only.)

There are some image manipulation packages in the SciPy/Kit bundles too.

And of course the venerable ImageMagick modules may help too.

Finally the psd-tools package will be useful if you are using
Photoshop files.

>  Scanned photos and slides often have dust specs, water marks, scratches
> etc. Automate their removal as much as possible and/or provide a simple way
> for the viewer to direct the program as to where to make corrections.
>   Images often have a high contrast (bright sky, dark horizon). Help the
> image by making the sky more blue (with any detectable clouds, birds, etc.
> remaining) and improve the contrast of the other portion of the image.

I assume you already have a graphics background and know the theory
behind doing all this? ie You are not just a raw beginner?
If so then the libraries mentioned above should get you started.

> Additional grading basis:
> 
>  The user interface for solving these issues.

Pick a UI framework (there are many) and build it.

>   A decent (note, not perfect) improvement in the images.
>  Your management of color, averaging, etc.

You are pretty much on your own for these I suspect
("decent improvement" is of course entirely subjective)

HTH

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Alan Gauld
On 08/12/15 11:24, Laura Creighton wrote:

> You can do this with the GIMP.
> http://howto.nicubunu.ro/gimp-remove-watermark/
> (actually searching for "GIMP remove watermark" gets you lots of
> hits.)  

But removing watermarks could get you in lots of legal trouble.
The whole point of watermarks is normally to stop you using
a commercial image that you should be paying for. Make sure
you are not breaking copyright before you start.

However, you do say 'water marks' (with a space), which is a
different thing entirely and the GIMP could be used for that.

> It is possible to script the GIMP using python, so you could
> automate some of this.  Warning, scripting the GIMP is not a pleasant

An understatement IMHO!
But that's more to do with scripting GIMP in general than
with the Python scripting implementation.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Laura Creighton
In a message of Tue, 08 Dec 2015 02:39:41 -0500, Ilesha Wise writes:
>Hello, I wasnt sure if this is the email address I should be sending this
>to.
>
>I really need help creating codes that will do the following:
>
> Scanned photos and slides often have dust specs, water marks, scratches
>etc. Automate their removal as much as possible and/or provide a simple way
>for the viewer to direct the program as to where to make corrections.
>  Images often have a high contrast (bright sky, dark horizon). Help the
>image by making the sky more blue (with any detectable clouds, birds, etc.
>remaining) and improve the contrast of the other portion of the image.
>
>Additional grading basis:
>
> The user interface for solving these issues.
>  A decent (note, not perfect) improvement in the images.
> Your management of color, averaging, etc.
>
>
>Thank you.
>___
>Tutor maillist  -  Tutor@python.org
>To unsubscribe or change subscription options:
>https://mail.python.org/mailman/listinfo/tutor

You can do this with the GIMP.
http://howto.nicubunu.ro/gimp-remove-watermark/
(actually searching for "GIMP remove watermark" gets you lots of
hits.)  It is possible to script the GIMP using python, so you could
automate some of this.  Warning, scripting the GIMP is not a pleasant
task, and the python code they use is decidedly weird in places.
But it can be done.

Laura
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Image manipulation

2005-03-16 Thread Ertl, John

All,

I have an image with a bunch of white space that I need to crop.  I would
like to automate the process using python and I was wondering what is the
best module for image manipulation?  I have seen PIL and Python magic what
is recommended?

John Ertl 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor