RetouchPRO

Go Back   RetouchPRO > Technique > Image Help

Notices

Image Help Got a problem image? Don't know where to begin? Upload images and ask our users what they think or if they can help

Reply
 
LinkBack Thread Tools
  #1  
Old 01-24-2008, 06:14 PM
Junior Member
 
Join Date: Mar 2003
Posts: 4
Fixing scanned line drawings

Hello. I have to clean up a bunch (>100) of line drawings that were scanned from old books at 300dpi grayscale and saved as PNGs. Here are two samples. These are quite large (1 and 2MB respectively) so you might want to right-click and save-as.

Freehand drawing

Engineering drawing

In cleaning them I need to do 2 things especially: getting rid of the oatmeally page texture, and in most cases reduce from 8bit (256 level) to 4-bit (16 level) grayscale. Hopefully this all becomes a photoshop Action but I need to work out what steps to use in what order.

I'm concerned especially with the engineering drawing, because when I use Levels to turn the light-gray bg to white, the diagonal lines thin down and get jaggy. I've fiddled with different kinds of blur first, but without much success.

I'd love to hear any ideas you experts have...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 01-24-2008, 06:58 PM
Senior Member
Patron
 
Join Date: Dec 2005
Posts: 1,046
Re: Fixing scanned line drawings

Ferdly, duplicate the background layer and change the blend mode to Overlay. The images were large so I just attached a small section of each.
Not sure what you mean by 4 bit. If you mean that you do not want more than 16 shades of grayscale, well you will get that. If you mean that you want to output your file with 4 bit words, that is not possible since the min word length of any file type is 8 bits.
Regards, Murray
Attached Images
File Type: jpg Ferdly linedraw1 MM.jpg (178.9 KB, 19 views)
File Type: jpg Ferdly linedraw2 MM.jpg (184.9 KB, 16 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 01-25-2008, 03:03 AM
philbach's Avatar
Senior Member
Patron
 
Join Date: Mar 2003
Location: Seabrook Island, SC
Posts: 871
Re: Fixing scanned line drawings

Perhaps what you mean would go like this:
Like Murray above said was:
Copy the background layer and change the blending mode of the copied layer to overlay
Then use Image/Adjustments/Threshold
Change Image Mode to Bitmap.
That would get you down to 1 bit depth.

To go to 4 bit you would use Image/Adjustments/Posterize and select levels 16 (I think).

Last edited by philbach; 01-25-2008 at 03:16 AM. Reason: Improvement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 01-25-2008, 07:19 AM
chillin's Avatar
Senior Member
Patron
 
Join Date: Sep 2006
Location: The Golden State
Posts: 609
Blog Entries: 1
Re: Fixing scanned line drawings

I have converted the scan in the Illustrator to B/W 128
Saved it as a PSD
Changed it to a grayscale
Reduced it's palette to indexed 16 colors (gray tones)
Saved as a palette-based png
I used PSP because of it's nice file saving options.
Attached Images
File Type: png linedraw_chill1.png (128.7 KB, 13 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 01-25-2008, 07:49 AM
Junior Member
 
Join Date: Mar 2003
Posts: 4
Re: Fixing scanned line drawings

Duplicate bg layer, blend mode to overlay -- that is brilliant! I'd'a never thought of that in a zillion years. Thank you so much!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #6  
Old 01-25-2008, 07:55 AM
Junior Member
 
Join Date: Mar 2003
Posts: 4
Re: Fixing scanned line drawings

Playing around with this, I think actually blend of Linear Light is even more effective than Overlay.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #7  
Old 01-25-2008, 08:40 AM
Junior Member
 
Join Date: Mar 2003
Posts: 4
Re: Fixing scanned line drawings

Quote:
Not sure what you mean by 4 bit. If you mean that you do not want more than 16 shades of grayscale, well you will get that.
Yes, the drawings need at most 16 shades of gray. Turns out, you get that with Image> Adjustments> Posterize and set 16.
Quote:
If you mean that you want to output your file with 4 bit words, that is not possible since the min word length of any file type is 8 bits.
Au contraire; in .png you have the option of representing each pixel of a grayscale file as 8 bits (256 shades), 4 bits (16 shades), 2 bits or 1 bit (monochrome). After posterizing, File > Save For Web does PNG-4 automatically.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #8  
Old 01-30-2008, 04:04 PM
Dave.Cox's Avatar
Senior Member
Patron
 
Join Date: Feb 2007
Location: GrandPrairie.TX
Posts: 437
Re: Fixing scanned line drawings

The best option, would be to use live trace in Illustrator. If you don't have Illustrator, then try this method, that I did very quickly in Photoshop. The contrast is very good in both drawings. The mechanical drawing the lines are bold enough to color select the dark color of the line and copy the selection to a new layer. Add a white layer for the back ground you you have it. The hand drawing has some fine lines, so requires a bit more care. In this case I sampled the back ground, for the various gray levels. Select the first one, and then shift select and drag across the area for the rest. Invert to select the dark areas, copy to a new layer and add a background layer. Very quick, but works with something with good contrast like these.
Attached Images
File Type: png linedraw1-R.png (95.2 KB, 17 views)
File Type: png linedraw2-R.png (132.7 KB, 12 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixing perspective in panoramas lajones3 Photo Compositing 1 11-27-2007 09:27 PM
Loosing patience fixing myself k4tj3 Image Help 5 11-23-2007 04:37 AM
Merge scanned photo pls help sergio2263 Photo Restoration 2 11-23-2007 01:20 AM
How to clean scanned photo showing lines miles74 Photo Restoration 14 11-14-2007 08:02 AM
Tutorial 01: Line Drawings using Smart Blur / Find Edges DannyRaphael Photo-Art 101 27 05-08-2005 09:57 PM


All times are GMT -6. The time now is 05:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 Doug Nelson. All Rights Reserved




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51