Search found 5 matches

by adrda
2016-05-23T01:24:48-07:00
Forum: Users
Topic: get signed result from -subimage-search ?
Replies: 5
Views: 3507

Re: get signed result from -subimage-search ?

Right, but one could introduce an offset parameter, declare QuantumRange/2 as zero, or accept an optional second raster image representing the negative part.
by adrda
2016-05-22T17:59:42-07:00
Forum: Users
Topic: get signed result from -subimage-search ?
Replies: 5
Views: 3507

Re: get signed result from -subimage-search ?

Yes precisely, it appears IM takes the absolute value of the NCC, which is not what I want (who ever does, I wonder ?). In the meantime I turned to the -morphology Convolve operator as a replacement for -subimage-search, because the object I want to detect can be described as linear combination of ...
by adrda
2016-05-22T14:24:48-07:00
Forum: Users
Topic: get signed result from -subimage-search ?
Replies: 5
Views: 3507

get signed result from -subimage-search ?

Hi, -subimage-search of two grayscale images provides a correlation map, but correlation and anti-correlation cannot be distinguished. I would like a way to keep the sign of the ressemblance. To give an example, here is a search for a bright disc (p.png) in an image containing a white and a black ...
by adrda
2016-05-16T09:37:18-07:00
Forum: Users
Topic: Using "convert -evaluate-sequence operator" on color images
Replies: 3
Views: 3739

Re: Using "convert -evaluate-sequence operator" on color images

Thanks a lot for the reply. I was hoping I had missed something when browsing the documentation, that would have made things easier, but your solution is perfectly acceptable, so I'll go the way you suggest. It may be slightly more efficient to generate only a single map of maximal values, then ...
by adrda
2016-05-16T06:04:35-07:00
Forum: Users
Topic: Using "convert -evaluate-sequence operator" on color images
Replies: 3
Views: 3739

Using "convert -evaluate-sequence operator" on color images

Dear ImageMagick users, When applying the operator Max to a sequence of color images, such as in convert -size 100x100 radial-gradient:'#FF0000'-black \ -size 100x100 gradient:black-'#0000FF' \ -size 100x100 gradient:'#00FF00'-black \ -evaluate-sequence max \ show: it appears that the operator is ...