Image magick (or other) program - grey bgnd to white ?

General discussion about software packages and releases, new software you've found, and threads by programmers and script writers.

Moderator: peterZ

Post Reply
tkr
Posts: 35
Joined: 29 Jan 2012, 21:53
Number of books owned: 0

Image magick (or other) program - grey bgnd to white ?

Post by tkr »

Hello Everyone,

I use the custom white balance setting on my camera (A480) with a white sheet of paper to set the white balance before I start shooting pics.
However when I view the images later on, the white background of the pages appears to be greyish. Actually now that I look at it, the un-cropped image seems to have a whiter background than the cropped image.

a) Is my lighting not good enough ? (as you can see I'm using only one bulb)
b) Can I use image magick, Gimp or some other program to convert the grey background into white ?


Thanks
TKR
Attachments
This is after (lossless) cropping
This is after (lossless) cropping
This is the uncropped version
This is the uncropped version
User avatar
Heelgrasper
Posts: 70
Joined: 19 Feb 2012, 21:04
E-book readers owned: None
Number of books owned: 500
Location: Randers, Denmark

Re: Image magick (or other) program - grey bgnd to white ?

Post by Heelgrasper »

Have you tried setting the EV at +1 or +2?
---
Jakob Øhlenschlæger
Randers, Denmark

The past is a foreign country: they do things differently there
L. P. Hartley
tkr
Posts: 35
Joined: 29 Jan 2012, 21:53
Number of books owned: 0

Re: Image magick (or other) program - grey bgnd to white ?

Post by tkr »

Tks for the response Heelgrasper - I'll give that a try.

TKR
xorpt
Posts: 42
Joined: 24 Feb 2012, 01:37
E-book readers owned: Sony PRS-T1
Number of books owned: 2000

Re: Image magick (or other) program - grey bgnd to white ?

Post by xorpt »

You should try to improve your lighting first. It is not equal on all parts of your document, so the upper left corner is much darker than the lower right corner. It means you will have to use gradients when post-processing. You can do that, using PS, Gimp or IM, but if your input is better, the better your output. Also, your pictures have lots of noise, probably because you are using a high ISO level on your camera, usually very bad on compact cameras. If you improve the lighting you will be able to use a lower ISO level, like 100 or 200, giving you more details and less noise

To remove the background, you usually play with the levels, setting the white and black points to reinforce the blacks and change the greys to white.

There are tons of methods to do this, using level adjustment (http://nyfalls.com/article-photoshop-levels.html), contrast-stretch, layering (see for example http://www.imagemagick.org/Usage/compose/#divide), etc.
tkr
Posts: 35
Joined: 29 Jan 2012, 21:53
Number of books owned: 0

Re: Image magick (or other) program - grey bgnd to white ?

Post by tkr »

xorpt
Thank you for the suggestions. I'll try them out.
Not being very experienced in photography - how does one identify areas of high noise in a pic ?
User avatar
Heelgrasper
Posts: 70
Joined: 19 Feb 2012, 21:04
E-book readers owned: None
Number of books owned: 500
Location: Randers, Denmark

Re: Image magick (or other) program - grey bgnd to white ?

Post by Heelgrasper »

tkr wrote: Not being very experienced in photography - how does one identify areas of high noise in a pic ?
By looking at it. Really, it's not more complicated than that.

For example, here's a bit of one of the images you posted cropped so you'll see at 100% (one pixel of the photo = one pixel on the screen):
IMG_0305-part.jpg
IMG_0305-part.jpg (27.45 KiB) Viewed 8817 times
All you should see should be on a the black-white scale but here there are some yellow pixels etc. I other words noise. Your settings where f/3, 1/100 s and ISO 400 so it's not that surprising that the photo show some noise. The settings would also suggest that you indeed have to little light.

You might find it interesting to make a small test yourself by taking photos with the exactly same setup but changing the ISO (like 100, 200, 400 and 800) and then look at the same area of the photos. The higher the ISO the more noise you should see but there might not be much differense on 100 and 200 ISO.
---
Jakob Øhlenschlæger
Randers, Denmark

The past is a foreign country: they do things differently there
L. P. Hartley
User avatar
dingodog
Posts: 110
Joined: 22 Jul 2010, 18:19
Number of books owned: 1000
Country: on the net
Location: on the net
Contact:

Re: Image magick (or other) program - grey bgnd to white ?

Post by dingodog »

you should not save in jpg format if you want edit or post-process photos

I used jbig2enc

Code: Select all

jbig2 -s -p -v -T 115 *.jpg && pdf.py output>out.pdf
and this is the result (not optimal due to poor light and lossy format of jpg image)

http://ge.tt/8GKR39H
Post Reply