IPB

Welcome Guest ( Log In | Register )

Thoughts on how to enhance an image
PFK
post Jun 10 2009, 10:18 PM
Post #1


Junior Member
**

Group: Members
Posts: 94
Joined: 22-May 08
From: Loughborough
Member No.: 4121



Folks
This is certainly unrelated to UMSF (and I assume therefore not best placed in the image processing sub forum) but on the other hand is something that the massive collective experience and prowess of this place should be able to provide pertinent thoughts on (indeed I'm kicking myself for not thinking of asking earlier, having spent so long marvelling at the images generated here).
Take the following image:

Attached Image


It's actually faint text, and in fact should read the football results thus:
Arsenal 0 Sunderland 0
Aston Villa 0 Chelsea 1
So my question would be what techniques might best be used to manipulate such an image to make it as legible as possible?
The limit of my Photoshop ability is a simple contrast enhancement, but presumably we could be much smarter than that?
Why? I hear you ask....well it harks back to work we published in Chemical Communications last December where we showed that polymerisation of disulfur dinitride is stimulated by inkjet traces. Thus minute amounts of the latter prompt the formation of the dark polymer (SN)x; minute amounts such as the residue on the inside of an envelope which has contained an inkjet printed page. Thus in the above case the results from one saturday were printed out, placed in an envelope and then sent to ourselves. Upon opening the envelope and discarding the printed page, the inside of the envelope was exposed, part of which gave the image shown (which I have reversed from the actual mirror image generated).
This is one of the poorer examples, but I guess that makes it even more useful to work on.
Any thoughts welcome!
Thanks
PFK
PS What's even spookier is when you can image the contents of the envelope without opening it thanks to the even more minute amounts of inkjet diffusing right through - but that's another story smile.gif
Go to the top of the page
 
+Quote Post
2 Pages V  < 1 2  
Start new topic
Replies (15 - 23)
Juramike
post Jun 20 2009, 12:35 AM
Post #16


Senior Member
****

Group: Moderator
Posts: 2785
Joined: 10-November 06
From: Pasadena, CA
Member No.: 1345



Here is a difference image between Mark8c and Marck9. (Looks like a chunk shifted down and to the right between 8c and 9)
Attached Image




--------------------
Some higher resolution images available at my photostream: http://www.flickr.com/photos/31678681@N07/
Go to the top of the page
 
+Quote Post
Juramike
post Jun 20 2009, 12:39 AM
Post #17


Senior Member
****

Group: Moderator
Posts: 2785
Joined: 10-November 06
From: Pasadena, CA
Member No.: 1345



Animated GIF cycling through original (darker)-->Mark8c-->Mark9:
Attached Image

(click to animate)

-Mike


--------------------
Some higher resolution images available at my photostream: http://www.flickr.com/photos/31678681@N07/
Go to the top of the page
 
+Quote Post
Juramike
post Jun 20 2009, 01:01 AM
Post #18


Senior Member
****

Group: Moderator
Posts: 2785
Joined: 10-November 06
From: Pasadena, CA
Member No.: 1345



And now, one last blink comparing the (B&W converted and contrast stretched) original lettering, with my processing from mark9 hi-res:
Attached Image

(click to animate)

The "V" is definitely visible, the "illa" and "0" can be seen with some imagination, and the "d" in Sunderland is also evident.

Spooky. ph34r.gif


--------------------
Some higher resolution images available at my photostream: http://www.flickr.com/photos/31678681@N07/
Go to the top of the page
 
+Quote Post
PFK
post Jun 20 2009, 06:59 PM
Post #19


Junior Member
**

Group: Members
Posts: 94
Joined: 22-May 08
From: Loughborough
Member No.: 4121



Excellent stuff Mike, thank you !
Go to the top of the page
 
+Quote Post
PDP8E
post Jun 21 2009, 12:49 AM
Post #20


Member
***

Group: Members
Posts: 808
Joined: 10-October 06
From: Maynard Mass USA
Member No.: 1241



Here is the second high res image (converted to grayscale)

Same technique - all images done the same way:
* adaptive rank order filter to median-out serious outlier pixels in a kernel
* then a few different sizes of a histo-equal filters run over the image to do smart contrast
* summed in the output image and finally averaged by pixel -
* run time is 2 secs per big image on an old laptop,
* using just a home brew c++ program to do the processing
* the 'gray edges' are the original image at the bottom of the average stack.

Attached Image



Mike: awesome blinks !
Jekbradbury: nice color work - I like the de-correlation stretch maneuver - I am looking into that....!
I invite anyone to further process my images in this thread if they want to - hopefully some one can pull something more out of them

PFK: thanks for the interesting background story and challenge.

Cheers


--------------------
CLA CLL
Go to the top of the page
 
+Quote Post
jekbradbury
post Jun 21 2009, 01:40 AM
Post #21


Member
***

Group: Members
Posts: 104
Joined: 1-June 08
Member No.: 4172



I wonder how useful it would be to apply one of these greyscale techniques in conjunction with a decorrelation stretch; there is definitely a significant amount of information hidden in the differences between the color bands, but noise-removal techniques would help bring this out. PDP8E, could you try applying your technique to all three bands of the input image separately and see what happens, either in RGB or YCbCr space?
Go to the top of the page
 
+Quote Post
PDP8E
post Jun 21 2009, 01:52 AM
Post #22


Member
***

Group: Members
Posts: 808
Joined: 10-October 06
From: Maynard Mass USA
Member No.: 1241



jekbradbury,

I am on it!
back in a day or two....


--------------------
CLA CLL
Go to the top of the page
 
+Quote Post
PDP8E
post Jun 23 2009, 02:52 AM
Post #23


Member
***

Group: Members
Posts: 808
Joined: 10-October 06
From: Maynard Mass USA
Member No.: 1241



OK...I took the last big color image and took it apart into color bands (RGB)
* I applied the same technique above (noise reduction, and then histo-equal via stochastic stamping) to each band independently
* then put the RGBs back together in one image

Attached Image


and then I did the same without the noise reduction

Attached Image


cheers


--------------------
CLA CLL
Go to the top of the page
 
+Quote Post
PFK
post Jun 25 2009, 10:45 AM
Post #24


Junior Member
**

Group: Members
Posts: 94
Joined: 22-May 08
From: Loughborough
Member No.: 4121



again, fascinating stuff - thank you!
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: 12th June 2024 - 06:05 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.