-1

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...

  • Please show what you tried and what the results were for each attempt. Also explain in more detail what you want to do. Give an example input and show our describe the desired results. – Code-Apprentice May 14 '17 at 15:16
  • http://docs.opencv.org/2.4/modules/core/doc/operations_on_arrays.html#absdiff and threshold afterwards, then mask the image. – Micka May 14 '17 at 21:00

1 Answers1

0

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.

Community
  • 1
  • 1
Gabriel Archanjo
  • 4,547
  • 2
  • 34
  • 41