Page 1 of 1

Impossible for IM ?

Posted: 2013-11-21T09:10:11-07:00
by Daniel_in_the_sky
Hi,
I have been looking for a real long time how to do this, but I couldt succed, im starting to wonder if IM can do it ?
Better than a explaination, here is a picture
Thank you a lot for you help on this, I have try to find my way with color Basic, compose images Tiles, draw, etc... but nothing solid enouth to start with
Notice the yellow transformation :) the matching colors between SRC1 and SRC2 don't need to be extreamly precise
Image

thank you again

Re: Impossible for IM ?

Posted: 2013-11-21T09:20:04-07:00
by snibgo
If you don't provide the actual source and result images, we are limited in our experiments.

The result seems to be SRC1 masked by SRC2. The mask seems to have two effects:

(a) There is some kind of colour distortion.

(b) Four circles in the mask image become one larger circle for the actual masking.

That's as far as I can get.

Re: Impossible for IM ?

Posted: 2013-11-21T10:02:08-07:00
by Daniel_in_the_sky
My mistake you are right this deserve more explaination
SRC2 is not the mask of Result

I want IM to analyse SRC2 colors, and create a new picture using samples (circle shapes) from SRC1
If SR2 have a big zone of similar colors, then IM consider as 1 group (one circle)

feel free to ask if you need more details

Re: Impossible for IM ?

Posted: 2013-11-21T10:33:22-07:00
by snibgo
You could use ImageMagick to:

1. Identify patches of non-black in SRC2, finding the location and colour of each patch.

2. For patches that have "similar" colours, create a circumscribing circle. For other patches, treat each one as a circle.

3. Combine the resulting circles, in some way, with SRC1.

Re: Impossible for IM ?

Posted: 2013-11-22T07:47:12-07:00
by Daniel_in_the_sky
I dont know if you have been notified, I posted you a private message :)