Thanks for the commented code fmw42!
I would really prefer to have a windows version of this so I don't have to rely on another program (eg. cygwin) as well to accomplish this task if that's possible.
Thanks again!
Search found 7 matches
- 2011-10-14T08:30:11-07:00
- Forum: Users
- Topic: Convert a Unix Script to Windows Script
- Replies: 6
- Views: 17635
- 2011-10-11T10:17:20-07:00
- Forum: Users
- Topic: Convert a Unix Script to Windows Script
- Replies: 6
- Views: 17635
Convert a Unix Script to Windows Script
Hello! I was wondering if there were any users familiar with both the unix and windows side of imagemagick so that I could get this code: infile="jyeO6.gif" inname=`convert $infile -format %t info:` ww=10 hh=100 hist=`convert $infile -format %c histogram:info:- | sort -k 1 | sed -n 's/^ *\(.*\)$/\1 ...
- 2011-09-29T05:58:42-07:00
- Forum: Users
- Topic: Weird histogram Image
- Replies: 23
- Views: 65336
Re: Weird histogram Image
Not a huge deal but if anyone would be able to convert the script fmw42 posted earlier: infile="radar1.gif" inname=`convert $infile -format %t info:` ww=10 hh=100 hist=`convert $infile -format %c histogram:info:- | sort -k 1 | sed -n 's/^ *\(.*\)$/\1/p'` echo "hist=$hist" string="" colorArr=(`echo ...
- 2011-09-27T10:26:36-07:00
- Forum: Users
- Topic: Weird histogram Image
- Replies: 23
- Views: 65336
Re: Weird histogram Image
That seemed to do the trick (windows command). But yea, I'm still getting the same thing as you with the pink bar to the far left. I'm fairly new to ImageMagick so I can't say if it's a bug or not. I'll stick by what I said earlier though and say it still looks weird . If no one else has any advice ...
- 2011-09-27T10:06:53-07:00
- Forum: Users
- Topic: Weird histogram Image
- Replies: 23
- Views: 65336
Re: Weird histogram Image
I can confirm your findings for the colors are correct when I check the text histogram. I don't know why, but when I tried to enter: convert jyeO6.gif -fuzz 10% -trim +repage histogram:jyeO6_hist.gif I received an error: Magick: option requires an argument '-fuzz' @ error/convert.c ...
- 2011-09-27T09:43:35-07:00
- Forum: Users
- Topic: Weird histogram Image
- Replies: 23
- Views: 65336
Re: Weird histogram Image
Okay, that's what I thought. Thanks.
- 2011-09-27T08:38:12-07:00
- Forum: Users
- Topic: Weird histogram Image
- Replies: 23
- Views: 65336
Weird histogram Image
Hello (sorry I forgot to resize the images before uploading)! I'm trying to set up an automated process which takes a radar image: http://i.imgur.com/0MB7g.gif Crops to the watershed I need to view: http://i.imgur.com/jyeO6.gif Then outputs a histogram: http://i.imgur.com/skavy.gif So that the ...