I want know the best way to subtract background image in java

382 views Asked by At

title is my question! i tried opencv and Marvin library but all of these are failed because i couldn't know how to use.. so i want to know what is the best way to subtract background image in java.

if you hava some example using opencv, could you share for me? or how to use Marvin in eclipse? i tried to add marvin library, but failed...

1

There are 1 answers

0
Gabriel Archanjo On

Since you're using Marvin, take a look at the MergePhotos plug-in. This plug-in need to construct the background model to merge the photos.

It was already discussed on Stack Overflow:
how to merge Images and impose on each other

The plug-in source code demonstrates how to use another plug-in: DetermineSceneBackground. This last plug-in can be used to construct the background model or you can check the source code and use it to develop your own approach.