gertrade.blogg.se

Scanned image red lines linux imagemagick
Scanned image red lines linux imagemagick







scanned image red lines linux imagemagick

figure out a method for detecting the gray sections read the bitmap pixel values from the hex in the.

scanned image red lines linux imagemagick

My question is, do I need to figure out how to. I now have a line of pixels through which I can look for segments that are the value of our scanning background (roughly IM's gray(56)).Īfter becoming thoroughly fed up with working with batch files, I'm going to tackle this in PowerShell scripts.

scanned image red lines linux imagemagick

Then I cropped a 1x280 line right down the center of the image. Resizing them to about 200x280 seems like it should have enough information to find the gaps between cards. The first step was to create smaller working copies of the roughly 5000x7000, raw, color bitmaps. I've been considering creating a chop-line finder script. Sometimes, though, the cards are larger and only two, or even one can be scanned at a time. In this case, it's simple to use IM to chop the scans into the top, middle, and bottom cards along predefined chop lines between the cards. Typically, the three cards will be roughly the same size and each takes roughly the same portion of the scanning bed surface. Waiting for the scanner to scan is a significant portion of the workflow so we currently scan three cards at a time. We're involved in a large historical postcard digitization project. I'm not sure if IM can do this, but it can do a lot, so I'd thought I'd ask.









Scanned image red lines linux imagemagick