Search found 8 matches

by rleir
2015-07-09T10:43:13-07:00
Forum: MagickStudio
Topic: capture sequence
Replies: 1
Views: 53728

capture sequence

Hi Gents,
Is there any way to capture a sequence of Studio transforms, so they can be replayed as a macro?
Thanks
Rick
by rleir
2014-09-04T12:18:10-07:00
Forum: PerlMagick
Topic: help with coding Mogrify
Replies: 5
Views: 16383

Re: help with coding Mogrify

Aha. The Blur parameters. In the command line, the blur radius of 0x20 is not hexadecimal 20. What it really means is radius=0, sigma=20. For the same effect, does the perlmagick need to do this? $q->Blur( radius=>0.0, sigma=>20.0); Now the results of the Perlmagick are the same as for the command l...
by rleir
2014-09-04T06:02:35-07:00
Forum: PerlMagick
Topic: help with coding Mogrify
Replies: 5
Views: 16383

Re: help with coding Mogrify

In the original post (above) you will see a convert command line, which works well for me. I would like to translate that to PerlMagick, but no luck yet!

Another post discusses my goals: viewtopic.php?f=22&t=26190
Thanks
Rick
by rleir
2014-09-03T11:48:47-07:00
Forum: PerlMagick
Topic: help with coding Mogrify
Replies: 5
Views: 16383

Re: help with coding Mogrify

Thanks for helping. Now we have this: $image->Quantize(colorspace=>'gray'); my $q = $image->Clone(); $q->Blur( radius=>16); $x = $image->Composite ( compose=>'Divide_Src', image=>$q ); if ("$x") { print LOGFILE "image modu = $x \n"; } The resulting image is all white. There is no...
by rleir
2014-09-03T09:00:03-07:00
Forum: Digital Image Processing
Topic: OCR of typewriter copy
Replies: 3
Views: 14538

Re: OCR of typewriter copy

Oops, sorry, hold that last post. The -lat method gives more words in the OCR output, but there are incorrect and broken up words. The -divide method gives almost correct text. I should try other values for 15x15.
by rleir
2014-09-03T08:26:34-07:00
Forum: Digital Image Processing
Topic: OCR of typewriter copy
Replies: 3
Views: 14538

Re: OCR of typewriter copy

Thanks, the -lat command line gives better results than the -divide line. Both work better than the old way, where I just brightened the input by 50%. I have not tried the textcleanup line yet but would like to.

But now I am using more CPU time for 'convert' than for 'tesseract. Yikes!
by rleir
2014-09-02T10:30:41-07:00
Forum: PerlMagick
Topic: help with coding Mogrify
Replies: 5
Views: 16383

help with coding Mogrify

Here is the command line, which works fine: $ convert 1345.jpg -colorspace gray \( +clone -blur 0x20 \) -compose Divide_Src -composite 1345photocopy1.jpg # ref http://www.imagemagick.org/Usage/compose/#divide I am having trouble coding some PerlMagick to do the same. What I have so far is shakey: my...
by rleir
2014-09-02T08:51:29-07:00
Forum: Digital Image Processing
Topic: OCR of typewriter copy
Replies: 3
Views: 14538

OCR of typewriter copy

This is my first post here, so hi everyone. I have been using Imagemagick to pre-process images in preparation for OCR. But the input is typewriter copy which is a problem because some characters are typed with less force and so are considerably lighter than others. The other problem is that the whi...