Search found 25563 matches

by fmw42
2008-03-26T18:18:54-07:00
Forum: Developers
Topic: Problem With Make Uninstall Not Deleting Everything
Replies: 7
Views: 18417

Problem With Make Uninstall Not Deleting Everything

I have had installed IM 6.3.8-11. Now I wanted to uninstall that and install IM 6.4.0-0. I did not use MacPorts or Fink to install IM previously so all the 6.3.8 files are sitting in various directories. I did a sudo make uninstall and then did a find /usr | grep ImageMagick-6.3.8 and this is what i...
by fmw42
2008-03-26T13:21:05-07:00
Forum: Users
Topic: Strange compose behaviour
Replies: 1
Views: 4850

Re: Strange compose behaviour

I suspect the issue is that you are rotating the images as their widths are less than their heights. This means that the size specification in your -geometry has the rotated widths and heights backwards. You need to switch them. Of course this causes a problem when your images are not rotated. So yo...
by fmw42
2008-03-26T13:06:45-07:00
Forum: Users
Topic: Creating Text WordArt Effects
Replies: 32
Views: 64304

Re: Creating Text WordArt Effects

see my script pinbarrel for pincushion and barrel distortions

http://www.fmwconcepts.com/imagemagick/index.html

unfortunately they are rather slow due to the use of -fx.
by fmw42
2008-03-22T20:43:57-07:00
Forum: Users
Topic: Counting blobs
Replies: 9
Views: 27561

Re: Counting blobs

Any chance that your solution could be submitted to IM for general use with binary images. You might consider enhancing it with not only the count of blobs, but also a readout of the area (number) of pixels for each blob and perhaps shape analysis, such as a best fit to an ellipse with the major and...
by fmw42
2008-03-22T18:51:08-07:00
Forum: Users
Topic: Counting blobs
Replies: 9
Views: 27561

Re: Counting blobs

I don't know of any easy method. Your approach of scanning and finding connected areas and putting them in a list is pretty standard for this kind of thing if you want to program something. I thought you wanted something that could be done by IM already and there is nothing that I know about apart f...
by fmw42
2008-03-22T18:38:17-07:00
Forum: Users
Topic: cropping and leaving the background transparent
Replies: 0
Views: 3254

Re: cropping and leaving the background transparent

You can save them as gif or png and get transparency. You will need to make a circle mask image and use that with -compose ... -composite. Circles can be made with the draw command. see http://www.imagemagick.org/Usage/channels/ http://www.imagemagick.org/Usage/compose/ http://www.imagemagick.org/Us...
by fmw42
2008-03-21T22:45:10-07:00
Forum: Users
Topic: Calculate brightness? What about shape?
Replies: 3
Views: 9998

Re: Calculate brightness? What about shape?

I will try to look at this more over the weekend. But my first thought is to do a fairly large median filter (or a number of iterations of a binary morphologic filter) to remove small specks and fill in holes. What is left are the blobs. How do you define a patch size? How big is it? What is the min...
by fmw42
2008-03-21T22:38:32-07:00
Forum: Developers
Topic: Mapping Bezier Curves Through Points
Replies: 5
Views: 20333

Re: Mapping Bezier Curves Through Points

I don't think a 3-point circle would work as the spacing between points is not consistent. Therefore the join between segments will not have continuous slope. You are basically right that another spline solution is needed. There are two kinds of splines - interpolating and approximating. The former ...
by fmw42
2008-03-21T22:25:09-07:00
Forum: Users
Topic: Counting blobs
Replies: 9
Views: 27561

Re: Counting blobs

Negate the image to make the birds white on a black background. Get the average graylevel of the image as percent from identify -verbose info: <image>. Multiply the the area (number of pixels) in the image, ie. widthxheight to estimate the number of bird pixels. Make an estimate of the number of pix...
by fmw42
2008-03-21T12:29:22-07:00
Forum: Users
Topic: Calculate brightness? What about shape?
Replies: 3
Views: 9998

Re: Calculate brightness? What about shape?

First it is not clear what you mean by brightness. You can get IM to tell you what the average gray level value is for a grayscale image (in IM 6.3.9.1+) using: identify -format "%[mean]" <image> or convert <image> -format "%[mean]" info: see http://www.imagemagick.org/script/esc...
by fmw42
2008-03-21T12:08:29-07:00
Forum: Users
Topic: How can I replace the color #234567 by the color #223344?
Replies: 3
Views: 8238

Re: How can I replace the color #234567 by the color #223344?

convert <infile> -fill "#223347" -opaque "#234567" <outfile>

see
http://www.imagemagick.org/Usage/color/#replace
by fmw42
2008-03-21T12:04:25-07:00
Forum: Users
Topic: How do I auto-crop white pixel line borders of a picture?
Replies: 4
Views: 32816

Re: How do I auto-crop white pixel line borders of a picture?

The link goes to a script that allows me to count downloads. So do not try to right click to get a menu to download. Simply left click the link and it should download automatically. Perhaps it is downloading but you do not know where your default download is going. Anyway, if that does not work, ema...