Search found 289 matches

by whugemann
2013-04-08T01:47:11-07:00
Forum: Users
Topic: Contrast stretch for an arbitrary quadrangle
Replies: 13
Views: 16465

Re: Contrast stretch for an arbitrary quadrangle

I have just tried a solution based on -region. This basically works, as -region obvisously is what you call a "read mask", i.e. the histogramm corrections are based on the region selected. So I can "select" the darker region of the image, make the desired corrections and then com...
by whugemann
2013-03-28T11:52:49-07:00
Forum: Users
Topic: Contrast stretch for an arbitrary quadrangle
Replies: 13
Views: 16465

Re: Contrast stretch for an arbitrary quadrangle

... because "-contrast-stretch" uses all the image pixels to calculate how to stretch. See the pages Anthony has linked to. The mask only limits which pixels are stretched. Hmm. This is not how I would expect a mask or selection to function :-( If you use a selection or mask in Photoshop ...
by whugemann
2013-03-28T00:40:16-07:00
Forum: Users
Topic: Contrast stretch for an arbitrary quadrangle
Replies: 13
Views: 16465

Re: Contrast stretch for an arbitrary quadrangle

You can extract the points from your xml file. Then create a white mask by using -draw on a same size, say black background, to create a white filled polygon. Then that mask can be used for the outside and if negated, it can be used for the inside. User snibgo's code is about as efficient as it get...
by whugemann
2013-03-27T07:49:23-07:00
Forum: Users
Topic: Contrast stretch for an arbitrary quadrangle
Replies: 13
Views: 16465

Re: Contrast stretch for an arbitrary quadrangle

OK, -mask does the trick. I knew about -region, but that only allows to produce a rectangle AFAIK. But I was asking for an arbitrary quadrangle -- or, even more general, an arbitrary shape. The darker region in the example photograph may look like a rectangle, but it isn't exactly! @Fred: You probab...
by whugemann
2013-03-26T10:28:49-07:00
Forum: Users
Topic: Contrast stretch for an arbitrary quadrangle
Replies: 13
Views: 16465

Contrast stretch for an arbitrary quadrangle

I have a bunch of JPEG images steeming from a speed trap, which look like http://www.unfallrekonstruktion.de/imagemagick/frame.jpg The above image shows a rectangular section taken from the original image with reduced resolution. The trick is that all images contain a quadrangle which spans around t...
by whugemann
2013-03-17T10:25:48-07:00
Forum: Bugs
Topic: Montage's file name globbing under Windows
Replies: 6
Views: 13883

Re: Montage's file name globbing under Windows

Well, it says: "Export new Windows binaries" for Version 6.7.4-2 – whatever that specifically means.
The changelog is a good hint. I will have a look at it in the future myself.
by whugemann
2013-03-16T11:22:49-07:00
Forum: Bugs
Topic: Montage's file name globbing under Windows
Replies: 6
Views: 13883

Re: Montage's file name globbing under Windows

I have just digged deeper into the problem and read http://www.imagemagick.org/Usage/files/#read_meta. Something must have changed in recent IM versions, as it does no longer behave that way. Say we have three images in a directory: i1.jpg i1.jpg ä.jpg Then identify i*.jpg will identify the two corr...
by whugemann
2013-03-15T00:41:25-07:00
Forum: Bugs
Topic: [SOLVED]6.8.3+Win7 x86-issues with "convert wizard.jpg win:"
Replies: 2
Views: 6640

Re: IM 6.8.3 + Win7 x86 - issues with "convert wizard.jpg wi

Basically, the 'win:' pseudo output format is superfluous in Windows. It would suffice just to type 'wizard.jpg' into the cmd box (or the Windows Run box) and Windows would start the associated application and load the image. So this instruction is only confusing for Windows users and the non-functi...
by whugemann
2013-03-10T02:56:57-07:00
Forum: Bugs
Topic: Montage's file name globbing under Windows
Replies: 6
Views: 13883

Montage's file name globbing under Windows

The behaviour I reported under http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=22935 is probably a new bug, i.e. filename globbing does no longer function if the directory path contains non-ASCII characters, e.g. montage hähühö\*.jpg -geometry 256x256+8+8 -tile 6x photoindex.jpg ...
by whugemann
2013-03-10T02:53:02-07:00
Forum: Users
Topic: Filename globbing under Windows
Replies: 2
Views: 6732

Re: Filename globbing under Windows

I think that my code is correct, as it functions for about 90% of the directory tree, except for directories whoose names contain non-ANSI characters (specifically: German umlauts). Having thought it over for a while, I am sure that this is a fresh bug: It took me some effort to use directory names ...
by whugemann
2013-03-09T11:41:01-07:00
Forum: Users
Topic: Filename globbing under Windows
Replies: 2
Views: 6732

Filename globbing under Windows

I am trying to produce photo index prints with montage, see http://www.imagemagick.org/Usage/windows/#for_recursive The decisive command line is something like: montage -geometry 210x140+0+5 -tile 6x "subdirectory\*.jpg" photo_index.jpg If the subdirctory name contains German umlauts, this...
by whugemann
2013-02-10T12:01:18-07:00
Forum: Fred's Scripts
Topic: JqMagick Beta Release - Please reply HERE only!
Replies: 34
Views: 97685

Re: JqMagick Beta Release - Please reply HERE only!

Dear Fred and JD, the page is quite impressive and for me (Firefox 18.0.2 on Windows XP) everything worked just fine, although it took me some time to figure out that you have to turn the filters explicitly on in order to apply them to the picture. Could you explain a little bit what this project is...
by whugemann
2013-02-09T08:32:06-07:00
Forum: Users
Topic: how to install Delegates in windows7 ?
Replies: 1
Views: 3866

Re: how to install Delegates in windows7 ?

As far as I understand the documentation, the ImageMagick source files must be compiled with the 'with-fpx' option set and you further need to download the correct delegate for FPX. The prebuild binaries are obviously not compiled with this option set, so there is probably no way to let the prebuild...
by whugemann
2013-01-31T07:32:38-07:00
Forum: Bugs
Topic: Only first page of PDF is converted by IM under Windows
Replies: 3
Views: 5797

Only first page of PDF is converted by IM under Windows

As of ImageMagick 6.8.1-10 2013-01-10 Q16 the command "convert test.pdf test.jpg" only converts the first page of the PDF. This is the same with the current version. As I have always some older install files in backhand, I have just installed "ImageMagick-6.8.0-1-Q16-windows-dll"...
by whugemann
2013-01-20T04:17:52-07:00
Forum: Digital Image Processing
Topic: SVG Path from Inkscape
Replies: 1
Views: 13698

SVG Path from Inkscape

I am drawing simple Bezier curves onto an image by means of an SVG path. I determine the control points of the Bezier spline by means of Inkscape, in which the SVG code for an object can directly be displayed. I imported my "template", a JPEG with the right curves drawn onto it, into Insca...