ML-Purdue / Document-Reconstruction

Purdue University SIGART document reconstruction project.
1 stars 0 forks source link

Clean up the result of background subtraction #7

Closed chrismwendt closed 10 years ago

chrismwendt commented 10 years ago

Unless the user is extremely meticulous in the selection of all background colors, the image produced by background subtraction will still have pixels in the background with non-zero alpha.

This will cause blob detection to pick up blobs in the background, but can be mitigated by the addition of a step between background subtraction and blob detection which cleans up the image by increasing the contrast of the alpha channel.

Increasing the contrast of the alpha layer by 5% will probably be sufficient.

chrismwendt commented 10 years ago

Completed in commit 599288b7528cc2dab654cb334815ecddf44a4a57.