Search found 4 matches

by Ln79
2018-01-15T07:53:18-07:00
Forum: Magick.NET
Topic: difference and mask
Replies: 4
Views: 7507

Re: difference and mask

Thanks, that's not exactly what I wanted. I managed to make what I wanted : cloneImg1.Composite(cloneImg2, CompositeOperator.Difference); cloneImg1.Threshold(new Percentage(0)); // into cloneImg1 I have the shapes I want to cut Point pointTopLeft = new Point(); Point pointBottomRight = new Point(); ...
by Ln79
2018-01-10T02:34:47-07:00
Forum: Magick.NET
Topic: difference and mask
Replies: 4
Views: 7507

Re: difference and mask

How to cut 20px around a shape ? With Crop ? using (MagickImage cloneImg1 = (MagickImage)img1) { using (MagickImage cloneImg2 = (MagickImage)img2) { cloneImg1.Composite(cloneImg2, CompositeOperator.Difference); cloneImg1.Threshold(new Percentage(0)); // into cloneImg1 I have the shapes I want to cut...
by Ln79
2018-01-09T07:02:50-07:00
Forum: Magick.NET
Topic: difference and mask
Replies: 4
Views: 7507

Re: difference and mask

In fact, this code

Code: Select all

img1.Compare(img2, new ErrorMetric(), imgDiff);
imgDiff.Write(monImageResult);
give me some geometrical shapes red bordered,

With these geometrical shapes I want to cut the img2, as a jigsaw :
http://www.imagemagick.org/Usage/advanced/#jigsaw
by Ln79
2018-01-09T03:33:48-07:00
Forum: Magick.NET
Topic: difference and mask
Replies: 4
Views: 7507

difference and mask

Hello, I have two images, I need to get the difference : How can I do that with Image Magik ? I have tried this command line found on this topic : http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=15584#p55309 convert cyclops_question.png cyclops.png \ \( -clone 0 -clone 1 -compose dif...