Search found 27 matches

by ozbigben
2019-02-12T18:32:09-07:00
Forum: Users
Topic: Colour profiles & converting to JP2
Replies: 5
Views: 4927

Re: Colour profiles & converting to JP2

Sounds like a good plan. I suspect it does but I will verify that. I wouldn't expect the addition to be quick but it'll be worth waiting for.
by ozbigben
2019-02-11T14:24:28-07:00
Forum: Users
Topic: Colour profiles & converting to JP2
Replies: 5
Views: 4927

Re: Colour profiles & converting to JP2

If it does, it would be a huge benefit to add it to IM. At present, the only option I've found that does it nicely is the J2K Photoshop plugin which is not a practical option for larger scale processing. The lack of metadata transferred is easily fixed with EXIFTool.
by ozbigben
2019-02-10T23:59:07-07:00
Forum: Users
Topic: Colour profiles & converting to JP2
Replies: 5
Views: 4927

Colour profiles & converting to JP2

Hi All I found an old post related to this( https://www.imagemagick.org/discourse-server/viewtopic.php?t=26210 ) but thought it might be better to start a new one. I'm looking for a method to save a JP2 with lossless compression and the AdobeRGB colour profile. A command line of: convert in.tif -qua...
by ozbigben
2017-09-21T22:48:29-07:00
Forum: Users
Topic: Unable to process a poor quality image
Replies: 6
Views: 7100

Re: Unable to process a poor quality image

You would need to scan it at twice the resolution (at least). Other OCR programs will recognise text in the images but the low resolution will reduce accuracy. Most recordkeeping standards require at least 200dpi as a minimum (~2400px for an A4 page) with most OCR engines operating best with 400dpi ...
by ozbigben
2017-09-14T14:38:26-07:00
Forum: Users
Topic: Gps Degrees to Decimal Help
Replies: 11
Views: 18000

Re: Gps Degrees to Decimal Help

Are you doing anything with the images in IM or just reading the metadata? If the latter, then you might be better off with Exiftool. You'll still get DMS but the format will be consistent regardless of device and you can customise list format easily. https://sno.phy.queensu.ca/~phil/exiftool/geotag...
by ozbigben
2017-09-14T01:18:31-07:00
Forum: Users
Topic: Remove difficult noise from scan
Replies: 5
Views: 6411

Re: Remove difficult noise from scan

convert 4dl23SS.jpg -negate -lat 25x25+10% -negate 4dl23SS_lat25x10.jpg you can shorten this to convert 4dl23SS.jpg -lat 25x25-10% 4dl23SS_lat25x10.jpg Did you try to put a black background behind your notepad page (during scanning)? Depending on the paper, that might help a lot. Black paper reduce...
by ozbigben
2017-09-14T00:19:57-07:00
Forum: Users
Topic: Trimming scanned images with random borders?
Replies: 5
Views: 6372

Re: Trimming scanned images with random borders?

Hmm, soft shadow... flatbed scanner/copier, white pages with white background and auto page detection? Is this a real image? Are the 3 faint "rectangles" content or just processing artefacts? Final output is to be colour/greyscale/bitonal? Retaining the true page background? Page size is f...
by ozbigben
2017-09-12T23:11:02-07:00
Forum: Users
Topic: Removing noise from scanned text document
Replies: 9
Views: 38805

Re: Removing noise from scanned text document

... Surprisingly, the first image I posted gives the best results though they are far from perfect... Actually it's not that surprising. The OCR process uses the shape of the characters so the noise is mostly irrelevant unless it connects to the characters or is sufficiently large to be mistaken fo...
by ozbigben
2017-09-12T20:45:52-07:00
Forum: Users
Topic: Removing noise from scanned text document
Replies: 9
Views: 38805

Re: Removing noise from scanned text document

Reviving this old one only because it was the basis for my solution. In my case I'm starting with a colour scan so the bitonal dithering is not an issue. My test images are an old manuscript ( http://cat.lib.unimelb.edu.au/record=b2651611 ) chosen only to test out the image cleanup. The items to be ...
by ozbigben
2017-08-06T03:19:03-07:00
Forum: Users
Topic: Convert list.txt to Individual image!!
Replies: 6
Views: 8544

Re: Convert list.txt to Individual image!!

You could also create a spreadsheet to generate the batch file for you. Put your filenames in one column and IM options in another and the use a concatenate calculation to create the full command. If you wanted to cycle through a number of styles for example you could auto-fill a column with alterna...
by ozbigben
2017-08-05T19:37:38-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11022

Re: Processing indexed colour (grey)

Thanks for the suggestions. I've done a test run on all of the images and it's worked pretty well. There are still a few other exceptions with low contrast images. I have to figure out a way to classify these first but it's looking like a combination of median, mean and stdev. I've got an Ubuntu mac...
by ozbigben
2017-08-04T02:04:24-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11022

Re: Processing indexed colour (grey)

try this using -contrast-stretch and -level. IM needs values in quantum range or percent. So I always convert to percent, since I do not know what your quantum range is for your compile of IM. PS always provides value in the range 0 to 255. As I recall PS levels uses default clip values of 0.01%, b...
by ozbigben
2017-08-04T00:19:10-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11022

Re: Processing indexed colour (grey)

The second tweak worked nicely and I'm curious if it's possible to do it all in ImageMagick. http://files.digitisation.unimelb.edu.au/demo/microfilm/microfilm-QA.jpg magick in.file -auto-level -auto-gamma -set colorspace Gray -separate -evaluate-sequence Mean -gamma NNN out.file The value for the la...
by ozbigben
2017-08-03T19:00:00-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11022

Re: Processing indexed colour (grey)

The TIFFs are indexed colour (correction: oddly a mix of indexed and greyscale)... visually the same but I'd prefer greyscale. I hadn't tried the auto options as it wasn't that successful in Photoshop but the one image I tested looked promising with IM. I'll do some further testing across the range ...
by ozbigben
2017-08-03T17:38:29-07:00
Forum: Users
Topic: Processing indexed colour (grey)
Replies: 10
Views: 11022

Re: Processing indexed colour (grey)

Locked myself out by changing my email.... back now :) Yes, I should have been brief. Original image http://files.digitisation.unimelb.edu.au/demo/microfilm/007106_REEL_01.tif http://files.digitisation.unimelb.edu.au/demo/microfilm/007106_REEL_01.jpg Photoshop, Convert to greyscale, Levels: black 20...