Image Magick
Image Magick
As I had to convert some photos and didn't find a pet package for ImageMagick I compiled it from source, first got an error about fontconfig not found, so I compiled this first, afterwards no problem compilng ImageMagick
Made a pet package of both programs if someone is interested:
http://users.telenet.be/mylinux/fontcon ... 0-i486.pet
http://users.telenet.be/mylinux/ImageMa ... 0-i486.pet
Made a pet package of both programs if someone is interested:
http://users.telenet.be/mylinux/fontcon ... 0-i486.pet
http://users.telenet.be/mylinux/ImageMa ... 0-i486.pet
Very useful, thanks. This version has got image statistics included, so it should be relatively easy to compare a sequence of photos to detect significant changes for an intruder detection system. For example,
will show differences between image1 and image2 on the colour channels. Try comparing two identical photos, two with minor differences, two with slight lighting changes, and two where one has an intruder and the other does not. Then find suitable thresholds for an intruder.
Doubtless this is off-topic, but it may help some poor soul. There are countless other (more common) uses for Image Magick, of course.
Code: Select all
convert image1.gif image2.gif -compose difference -composite miff:- | identify -verbose - | awk '$1=="Channel"&&$2=="statistics:"{p++; next} $1=="Alpha:"{exit} p{print}'
Doubtless this is off-topic, but it may help some poor soul. There are countless other (more common) uses for Image Magick, of course.
Doesn't seem off topic to me. Rather it looks like you are consider a new way to make use of Image Magick. Nothing wrong with that. In fact, it could also be useful for detecting a difference between a genuine artwork and cheap forgeries. I would like to hear a little more about that idea.
The only windows I have are those on my home.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: Image Magick
I was missing fontconfig the other day when I was compiling gimp or could of been transmission, it might be useful to include it in future devx's.polle wrote:As I had to convert some photos and didn't find a pet package for ImageMagick I compiled it from source, first got an error about fontconfig not found, so I compiled this first, afterwards no problem compilng ImageMagick
Made a pet package of both programs if someone is interested:
http://users.telenet.be/mylinux/fontcon ... 0-i486.pet
http://users.telenet.be/mylinux/ImageMa ... 0-i486.pet
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Detecting a significant difference between two photos
KF6SNJ, I really don't know much more than I said yesterday. But last night I threw together a script to start testing for significant differences in photos. I'd like it to give a positive result if someone walks onto my property, but not if it's only a cat, or the sun going behind a cloud. I'll have to test that and it may take me a week or two to get around to it. In the meantime, here's my initial script. It uses Image Magick to compare two images for differences, returning an exit code of 0 if they match (or are reasonably similar), an error code of 2 if the user didn't supply two filenames, or an error code from 5 upwards depending on how different the photographs are. (I used a logarithmic scale to reduce a wide range of numbers down to something more sedate.) The log result is derived from the product of the mean of the alpha and colour channel values (which seemed to give a big number on different photos and a small number on similar ones), and values of 0 (identical photos) to 4 (roughly the same) are treated as having only minor differences, so the script returns 0 in for that range, or 5+ if the photos have more significant differences. I'm sure that this will need tuning, but it's a start. Now I need to get a Web camera and work out how long a USB connection I can run...
- Attachments
-
- pixcompare.zip
- (772 Bytes) Downloaded 1098 times
libbz2 missing dependency in 4.1.2
Hi all,
When I installed IM on 4.1.2 I received a whole shitload of messages regarding a missing dependency: libbz2.so.1.0.
Turns out that I had a broken symlink with that name in /usr/lib.
<... SNIPPED a whole list of found libbz2's ...>
<... Got the message about the broken symlink to libbz2.so.1.0.0 >
I fixed it:
I really don't know if this was only my specific installation or a general problem with 4.1.2 - one of the Ueberusers can go and verify maybe, please.
Best of Luck,
cklammer
When I installed IM on 4.1.2 I received a whole shitload of messages regarding a missing dependency: libbz2.so.1.0.
Turns out that I had a broken symlink with that name in /usr/lib.
Code: Select all
find / -name 'libbz2*' -print | more 2>/dev/null
Code: Select all
file /usr/lib/libbz2.so.1.0
I fixed it:
Code: Select all
cd /usr/lib
rm libbz2.so.1.0
ln -s libbz2.so.1.0.4 libbz2.so.1.0
Best of Luck,
cklammer
imagemagick-6.4.3.10 I compiled it from source as a *.tgz
http://puppy2.org/slaxer/imagemagick-6. ... 2-slxr.tgz
havent had a need for pets in a long time
easy to convert it
Joe
http://puppy2.org/slaxer/imagemagick-6. ... 2-slxr.tgz
havent had a need for pets in a long time
easy to convert it
Joe
although not the latest, you could find a pet for imagemagick here:
http://www.murga-linux.com/puppy/viewtopic.php?t=45981
aragon
http://www.murga-linux.com/puppy/viewtopic.php?t=45981
aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
- Dingo
- Posts: 1437
- Joined: Tue 11 Dec 2007, 17:48
- Location: somewhere at the end of rainbow...
- Contact:
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
dropbox 2GB free
OpenOffice for Puppy Linux
Imagemagick & Xaralx sfs
Hi all,
For those who prefer an sfs, Mu --I believe-- created a combined Imagemagic + Xaralx sfs. It is available here:
http://puppyisos.org/isos/2008-07-to-12 ... ons-by-MU/
Although it was written for the early 4 series Puppies, it can be easily converted for use with the later 4 and 5 series.
Don't panic when after loading it doesn't show up in your menu, nor can be located by pfind. Its actually a suite of applications you run from the console. If you're interested, you'll find the link to one of them, "convert" --probably all of them, but convert is the only one I've used-- in /usr/bin.
Imagemagick is an essential tool for creating a boot splash. Instructions are given here:
http://diddy.boot-land.net/grub4dos/files/splash.htm
For complete details regarding all the applications provided by Imagemagick, and how to use them, see:
http://www.imagemagick.org/script/index.php
mikesLr
For those who prefer an sfs, Mu --I believe-- created a combined Imagemagic + Xaralx sfs. It is available here:
http://puppyisos.org/isos/2008-07-to-12 ... ons-by-MU/
Although it was written for the early 4 series Puppies, it can be easily converted for use with the later 4 and 5 series.
Don't panic when after loading it doesn't show up in your menu, nor can be located by pfind. Its actually a suite of applications you run from the console. If you're interested, you'll find the link to one of them, "convert" --probably all of them, but convert is the only one I've used-- in /usr/bin.
Imagemagick is an essential tool for creating a boot splash. Instructions are given here:
http://diddy.boot-land.net/grub4dos/files/splash.htm
For complete details regarding all the applications provided by Imagemagick, and how to use them, see:
http://www.imagemagick.org/script/index.php
mikesLr