Fantastic! This also works for photographs that I tested with slightly different backgrounds, provided that I use a different threshold value, like 10%.
Many thanks fmw42!
Search found 5 matches
- 2017-06-14T11:22:27-07:00
- Forum: Users
- Topic: Merging differences between two images
- Replies: 11
- Views: 6568
- 2017-06-14T00:19:20-07:00
- Forum: Users
- Topic: Merging differences between two images
- Replies: 11
- Views: 6568
Re: Merging differences between two images
Many thanks snibgo and fmw42! I could actually use a background image if that makes the problem much simpler. Sorry for not realizing this. I've put the background up here, together with the previous images: http://bio.lundberg.gu.se/tmp/background.png http://bio.lundberg.gu.se/tmp/t1.png http://bio ...
- 2017-06-13T00:39:21-07:00
- Forum: Users
- Topic: Merging differences between two images
- Replies: 11
- Views: 6568
Re: Merging differences between two images
Many thanks for these suggestions! I'm afraid that in the application I have in mind the images are photographs and contain a lot of colors - and not necessarily one most abundant color. Could there be any other solution to the problem? You asked for sample images that are png and rgb. Here are two ...
- 2017-06-12T12:29:19-07:00
- Forum: Users
- Topic: Merging differences between two images
- Replies: 11
- Views: 6568
Re: Merging differences between two images
Many thanks for the quick response! I can well avoid jpg compression and change to RGB, so that is not a problem I think. In my real application any color could appear in the red and green objects in my example images, those were just examples. I'm not sure I understand how to implement what you say ...
- 2017-06-12T11:10:52-07:00
- Forum: Users
- Topic: Merging differences between two images
- Replies: 11
- Views: 6568
Merging differences between two images
Hi, I was wondering what solution is suitable to this problem. I have two images with very similar backgrounds. I want to identify objects in these images that are unique (that is differences between the two images) and then combine them in one single image with a background of either of the ...