image processing - Rolling ball background subtraction algorithm for OpenCV -
is there opencv (android) implementation of "rolling ball" background subtraction algorithm found in imagej: process->subtract background?
opencv has backgroundsubtractormog class, used video streams not single, independent images.
this example of method does: http://imgur.com/8sn2cfz
here documentation of process: http://imagejdocu.tudor.lu/doku.php?id=gui:process:subtract_background
there's no implementation in opencv c libraries know of , android jni wrappers - wrappers around main libraries.
having said source code imagej implementation available online here , should able incorporate directly android image processing pipeline.
there discussion relative merits of rolling ball vs. e.g. using disk structuring element (which is available in opencv) here.
if absolutely require rolling ball , opencv unfortunately it's not available 'out of box'.
Comments
Post a Comment