Skip to main content

Fix a Scan

Fixing a Scan in PaintShop Pro

See the youtube video on this topic:  Make Shop Pro - Fix a Scan

Take a very poor scan, and be able to pullout a clean black and white image of the stick figure shape.  The goal was to not do any hand drawn fixes or editing, but to use menu adjustments for the whole process.  In this way, this process can be used for similar fixes of much more complex images.

Creating Luminance Separation

The goal of the first set of steps is to create separation between the stick figure and its background so that we can later make a clean selection of the stick figure using the Magic Wand.

1)  First, enhance the white region using the Adjust > Brightness Contrast > Highlights Midtone Shadow


2)  Image > Negative Image


3)  Next, use the Adjust >Brightness Contrast > Levels to create an initial level of separation between the stick man and the background.
4)  Adjust > Add/Remove Noise > Edge Preserving Smooth to nullify the luminance noise within the stick figure lines.
5)  After using Edge Preserving Smooth, we can see a distinct set of luminance regions (black lines is the left hump, and red background is the right hump).  By using levels to enhance that separation even more, we'll have the isolation we need to do the selection.


Now we have a nice bright image where the separation between the pure black ink and the bright red background is much more distinct.


Cutout of Selection

This next section covers the process of using a selection to cut out the stick figure shape out of a pure black raster layer.

1)  Create a New Raster Layer filled fully with black, then hide that layer


2)  Use the Magic Wand Selection to select the stick figure on the Background layer.  You may need to Shift+Click to add the mouth and eyes.


4)  Selection > Modify > Remove Specs and Holes   (if necessary)
5)  Selection > Invert
3)  Select the all-black Raster 1 layer and unhide it


6)  Press the Delete key to remove all regions in the selection

At this stage whats remains is the outline of the stick figure in the Raster 1 layer.  Delete the background layer and Merge Flatten the remaining layer.  In the end you'll have a nice clean image of a stick figure.

Comments

Popular posts from this blog

Pic2Painting in v2021 and Later

To find the Pic2Painting capability, it has moved to the Adjust workspace, and can be accessed under the Instant Effects palette. See image below. This information applies for versions of PaintPhop Pro 2021 or later. For earlier versions, Pic2Painting is treated as a plugin.

Get a Python Script from Github

How to Pull Down a Python Script from Github This entry will cover how to pull down a script generated by MakeShopPro from github.  See the youtube channel for specific scripts and what they do:  MakeShopPro Youtube Channel You'll need to Install Python , before doing the following steps. Github Click on the link provided by the youtube video  (for this example you can use this script ) From the github page, find the *.py file and click on it.  In the example below, click on the PhotoMosaic.py To download the script right-click on the [Raw] button and select Save Link As... Choose a location to save the script. Install Libraries Sometimes scripts require extra libraries/modules to be installed for them to run.  Most of the libraries (but not all) come with the Python install.  If the video calls out an extra script to be added the following procedure is how to install them. Open a command prompt (doesn't matter the location) Enter the command: pi

Youtube Subtitles for Other Languages

The following is an instruction on how to view Make Shop Pro videos but with subtitles in a different languages.   First click the settings icon (gear) Click on the Subtitles/CC option Click on English (auto-generated) Click on this modified button Subtitles/CC English(auto-generated) Click Auto-translate Select your language You should now see subtitles (that may or may not be that accurate) that are a translation of the auto-subtitles generated in english.