Package org.anchoranalysis.plugin.opencv


package org.anchoranalysis.plugin.opencv
Plugins that call OpenCV.

Note: there might be quite a bit of unnecessary memory allocation here as the underlying Java byte-arrays aren't directly usable in OpenCV and vice-versa, so new duplicated memory buffers are created both inwards and outwards, when converting an image.

Accordingly, all things being equal, using OpenCV's library would be more inefficient than another. However, OpenCV has highly optimized functions, and often their implementation is more optimal than another library. These trade-offs should be considered when selecting algorithms for particular tasks.