It is currently Thu Jun 04, 2026 7:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 2:31 am  (#1) 
Offline
New Member

Joined: Jun 03, 2014
Posts: 3
Greetings all,
I wonder does somebody have a technique for correcting/minimising the effect of mirroring in old photos.
This shows up in one photo in particular similar to water staining when it is scanned. If you look at the photo and tilt it to change the viewing angle the effect becomes a lot less noticeable.
Any thoughts?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 3:27 am  (#2) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I didn't know what "mirroring" was, so I Googled "mirroring in old photos" and got this result: http://www.retouchpro.com/forums/photo- ... -help.html which has a few methods, including isolating out the mirrored areas and processing them separately, leaving the rest of the image untouched.

Also there's a suggestion that fits with what you say about changing the viewing angle to minimise the effect - photograph the photo from that angle, then correct the perspective distortion in GIMP.

Kevin


Top
 Post subject: Re: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 4:12 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
where is the photo, HarryB?
just to understand the problem

_________________
"Where am I ?"


Top
 Post subject: Re: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 11:40 am  (#4) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
I was toying with this a little, using one of the images from Kevin's link, and wrote the following script:

http://chiselapp.com/user/saulgoode/rep ... d17d85a073

The script generates six layers each to remove a particular hue (red, blue, green, cyan, magenta, yellow) from the image. These layers are all initially hidden, and can be made visible one-at-a-time to see if the result is an improvement. If one of the hue layers improves the image, its opacity can be adjusted to tweak the result.

The following image shows a before and after

Image

The full XCF is available from http://barn.kerosenecow.net/u/saul/m/de-mirroring-xcf/

I actually processed the image twice. I first removed a lot of the BLUE-HUES from the image; and then created a new layer from the result ("Layer->New From Visible"), ran the script again, and removed some of the GREEN-HUES.

Though the result in this case was noticeably improved, I am not especially happy with the technique -- it seems rather crude. Nonetheless, there might be some hope to fine tune the hue removal by decomposing the image to produce a more customized "mask".

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Last edited by saulgoode on Thu Jun 05, 2014 8:38 am, edited 1 time in total.

Top
 Post subject: Re: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 1:38 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Thank you, Saulgoode.
Just made a trial, with appropriate selection I get really an improvement.
I have to play more, for better tuning.
Let us (gimp-chatters) know whether you will enrich the script in the future, I'm interested

_________________
"Where am I ?"


Top
 Post subject: Re: Correcting old photo mirroring
PostPosted: Wed Jun 04, 2014 3:58 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
dinasset wrote:
Let us (gimp-chatters) know whether you will enrich the script in the future, I'm interested

Very interesting technique, I looked at the .xcf and played around with the settings. The result brought an improvement no doubt.
Thx Saulgoode

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group