Info

This question is closed. Reopen it to edit or answer.

Presistent Mat file from opencv in a s-function.

1 view (last 30 days)
Wout
Wout on 1 Oct 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I am trying to use background subtraction from opencv(pMOG2) in a S-function. For this to work i need a persistent image that can be iterated on.I found a guide form MatWorks that explains how this can be done.
On page 179 it is explained how this can be done for a counter but i can not get this to work for a Mat file from opencv. Could somebody please rewrite the guide from the guide so i could have a persistent Mat (image)?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!