Generating random image
Posted: 2009-10-15T14:12:49-07:00
Hello,
I wanna make some experiment. I want generate all possible variations of black/white (2 "colors) 100x100 image and compare generated images to some pattern (or OCR). I know this a lot of combinations but i'm just curious
Is it possible to pass to some of IM programs "map" (i don't know) of pixels arrangement? Or is there some other scripts (not exactly from IM dist.) that can do this stuff?
I know very well perl but i don't know how to handle this, maybe some clues?
Thanks for help and sorry for my English.
P.s. i made some math, and for 1600x1600 24bit images (one pixel=3 colors - RGB, each pixel can take 0-255) there will be...
2 ^ 46 080 000 combinations. But on such a images will be everything, you making sex with yourself with three heads, you killing Hitler using a rubber chicken in pink pants or pictures of distant planets, you in every single moment of your life from any angle or with every ISO...
Greets.
I wanna make some experiment. I want generate all possible variations of black/white (2 "colors) 100x100 image and compare generated images to some pattern (or OCR). I know this a lot of combinations but i'm just curious
Is it possible to pass to some of IM programs "map" (i don't know) of pixels arrangement? Or is there some other scripts (not exactly from IM dist.) that can do this stuff?
I know very well perl but i don't know how to handle this, maybe some clues?
Thanks for help and sorry for my English.
P.s. i made some math, and for 1600x1600 24bit images (one pixel=3 colors - RGB, each pixel can take 0-255) there will be...
2 ^ 46 080 000 combinations. But on such a images will be everything, you making sex with yourself with three heads, you killing Hitler using a rubber chicken in pink pants or pictures of distant planets, you in every single moment of your life from any angle or with every ISO...
Greets.