Search found 6 matches

by Dannick
2014-12-17T16:20:43-07:00
Forum: Users
Topic: convert from random input file to 1 bit bitmap
Replies: 7
Views: 14515

Re: convert from random input file to 1 bit bitmap

Yes, the IM noise generator I discovered earlier but for this operation I need a file containing the output from a known random source.

Thanks for the tip though, and very much thanks again for the GRAY tip which I've managed to miss during my IM knowledge hunt.
by Dannick
2014-12-17T15:40:47-07:00
Forum: Users
Topic: convert from random input file to 1 bit bitmap
Replies: 7
Views: 14515

Re: convert from random input file to 1 bit bitmap

I just confirmed that the reference bmp and the convert:ed bmp are identical:

Code: Select all

$ convert out1.bmp out1.ppm ; convert out2.bmp out2.ppm ; md5sum out?.ppm
58a516ebdaf526423137a2b2a636ff7b  out1.ppm
58a516ebdaf526423137a2b2a636ff7b  out2.ppm
Hence, perfect conversion accomplished!
by Dannick
2014-12-17T15:20:25-07:00
Forum: Users
Topic: convert from random input file to 1 bit bitmap
Replies: 7
Views: 14515

Re: convert from random input file to 1 bit bitmap

And experimenting I did! Thanks for the GRAY tip. This is how I got it perfected. Trial & error ftw... Reference bmp (converted from pbm) : out1.bmp BMP 1920x1080 1920x1080+0+0 1-bit PseudoClass 2c 259KB 0.000u 0:00.009 Attempt 1: $ convert -size 1920x1080 -depth 1 GRAY:random.dat out2.bmp ...
by Dannick
2014-12-16T17:31:10-07:00
Forum: Users
Topic: convert from random input file to 1 bit bitmap
Replies: 7
Views: 14515

Re: convert from random input file to 1 bit bitmap

Thanks, but how do I do this without having to go via the pbm format?
I would like to do: convert [arguments] random.dat output.bmp
by Dannick
2014-12-16T17:05:52-07:00
Forum: Users
Topic: convert from random input file to 1 bit bitmap
Replies: 7
Views: 14515

convert from random input file to 1 bit bitmap

I want to be able to visualize the bit distribution in a file containing random bytes, like this http://www.random.org/bitmaps/?format=png&width=64&height=64&zoom=1 . At the moment, I do it by converting the data file to ascii, and then to PBM (P1), and then convert it to a bitmap using ppmtobmp ...
by Dannick
2014-08-07T15:05:10-07:00
Forum: Users
Topic: Post-processing video for roadsign and car plate recognition
Replies: 0
Views: 3334

Post-processing video for roadsign and car plate recognition

Hello all! I wonder if this is the right approach: I want to do OCR of my dashboard cam videos, to extract sign and car plates in text form. So, using avconv to convert mkv to png or any other preferred format works fine, but then my imagination runs dry. Since the signs can be distorted in many ...