Quantcast How to remove paper colour from a scan? - theory - digitalFAQ Forum
  #1  
03-10-2013, 11:29 AM
xarx xarx is offline
Free Member
 
Join Date: Mar 2013
Posts: 2
Thanked 0 Times in 0 Posts
I'm trying to reconstruct the original image from a scan of an image printed on a coloured paper.

Originally I thought that I simply remove the background paper colour by "dividing" by it - I assumed the CMYK subtractive colour model. However my experiments contradict to this model and show strange results. I'd be glad if someone could explain the results to me, or could show me the correct model that I could use for my purposes.

I printed a sample RGB image with an inkjet printer on papers of various colour (white,green,blue,orange,...), and then I scanned them back. I expected (in accordance with the subtractive colour model) that any printed colour can make the paper only darker:

Code:
if R,G,B are colour components of the paper colour and r,g,b are colour components of any scanned pixel, then all r/R, g/G, b/B have to be at most 1.0 (<= 1.0).
But in fact, when printing e.g. purple on green paper I got r/R = ~1.1, and for purple on blue paper there was even r/R =~2.2. The other colour components ratios (g/G and b/B) were < 1.0 as expected. The same happened also for some other colour combinations, and I noticed also some other strange observations.

Can you explain these results to me?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-12-2013, 01:02 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,291
Thanked 356 Times in 332 Posts
Some of this depends on the image itself.
Can we see a preview of it? Attach it to a reply post and I'll take a look.

I've had mixed results with this over the past 20 years. Some work, some are a lost cause.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #3  
03-12-2013, 04:06 PM
xarx xarx is offline
Free Member
 
Join Date: Mar 2013
Posts: 2
Thanked 0 Times in 0 Posts
My primary aim is to scan old offset printed magazines, not inkjet printed images. But as I've had unsatisfying results with that, I began to experiment to see how exactly the printed colours change when printed on papers of various colour. As I have no access to an offset device, I performed my experiments with an inkjet printer. And I was surprised that my experimental results contradict to my expectations.

I started with the assumption that the used CMYK colors are pure inks (that is transparent colour filters), and even verified this assumption to an extent with a microscope :-). But my experiments suggest that the printing colours contain inegligible pigmental (that is nontransparent, reflective) part. Especially the red (magenta?) colour.
Since my previous post I've learned that there exists a bunch of colour models that describe CMYK printings - the precise modelling is much more complicated than I expected. The model I was using is probably called the Neugebauer model, but currently I know very little about these topics. But in fact, I don't need these models in their completeness, as currently I would be satisfied with removing the paper colour only. Though sometime I may need to make the complete decomposition of the image into CMYK colours.

Here is the sample image I used for my experiments; it has lots of facets of almost the same colour. I printed it on several (ordinary, coloured) papers and scanned back, but the result is a .png of size ~5MB, so not suitable for publishing here.
Then I measured the average colour of areas of size ~150px at identical places on all the printed copies. Here are some of the results (in RGB):
  • original:
    * violet: 151,40,111
    * yellow: 235,240,96
    * blue: 23,102,213
    * green: 31,132,53
    * magenta: 210,79,171
    * orange: 215,66,34
  • white paper: 236,227,233; 223,212,220
    * violet: 186,109,143
    * yellow: 224,214,120
    * blue: 91,135,93
    * green: 108,165,118
    * magenta: 217,121,165
    * orange: 221,127,116
  • blue paper: 56,184,212; 70,183,209
    * violet: 103,96,137
    * yellow: 82,176,127
    * blue: 50,123,180
    * green: 53,146,116
    * magenta: 104,107,154
    * orange: 107,116,112
  • green paper: 121,191,104; 123,189,104
    * violet: 129,104,84
    * yellow: 127,183,78
    * blue: 79,129,100
    * green: 85,148,77
    * magenta: 136,117,88
    * orange: 138,117,75
  • orange paper: 233,144,92; 222,138,87
    * violet: 187,96,78
    * yellow: 222,140,73
    * blue: 114,108,74
    * green: 123,118,62
    * magenta: 214,99,78
    * orange: 216,106,72
In bold are the values that I don't understand.
Note: The original image is in RGB (but this is not important; actually it's YCbCr, but printed from an RGB editor), it is printed on a CMYK printer, and scanned back on an RGB scanner.
Reply With Quote
Reply




Tags
color_model, image_reconstruction, printing, scanning

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner calibration for colour managed workflow grandsire02 Photo Processing, Scanning & Printing 5 08-06-2012 09:13 PM
What settings to scan old photos in black & white ? Sossity Photo Processing, Scanning & Printing 7 02-20-2012 02:34 PM
Archiving slides to digital: Blu-ray DVDs for storage? Scan quality? kpmedia Photo Processing, Scanning & Printing 0 10-17-2010 05:56 AM
Verify after burning with ImgBurn? What's a TRT scan? PIE/PIF? via Email or PM Blank Media 4 06-27-2010 09:50 PM
Video edit theory Hampton80 Edit Video, Audio 1 01-24-2008 07:09 PM

Thread Tools



 
All times are GMT -5. The time now is 11:24 AM