Login  Register

Re: BoofCV - library

Posted by Curtis Rueden on Mar 23, 2019; 4:57pm
URL: http://imagej.273.s1.nabble.com/BoofCV-library-tp5021922p5021924.html

Hi Rainer,

> What is your opinion on this?

I played with it briefly. BoofCV seems to have some nice features. Here is
a Groovy script that uses BoofCV to do a seeded watershed segmentation:

https://gist.github.com/ctrueden/ae89963150448ced6ef44f16be33c48a

I adapted it from one of the BoofCV examples.

It requires scijava-grab to install the needed boofcv artifacts dynamically
at runtime. Available from:


https://maven.imagej.net/content/groups/public/org/scijava/scijava-grab/0.1.0/scijava-grab-0.1.0.jar

Drop it into the jars folder of your installation.

The script requires ImageJ2 with Groovy support, but uses ImageJ1's
ij.ImagePlus for the images. BoofCV works with
java.awt.image.BufferedImage, so when writing scripts using BoofCV,
transformations will be necessary and many of ImageJ's more complex
scientific multidimensional data structures will not be usable
directly—you'll probably have to go plane by plane.

Cheers,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Have you tried the Image.sc Forum? https://forum.image.sc/



On Fri, Mar 22, 2019 at 10:47 AM Rainer M. Engel <[hidden email]> wrote:

> Hello everyone,
>
> I did a quick search on this in the context with ImageJ and could not
> find much. From what I understood BoofCV is a rewrite/optimisation of
> common computer vision algorithms in JAVA. http://boofcv.org
>
> One focus is on real-time for mobile devices, but that does not mean it
> is not suitable for more general purpose applications.
>
> What is your opinion on this? I'm not that into java, but I would like
> to see some usage inside of ImageJ. Invocation from javascript i.e.
> would be nice. If there is some interest, maybe one could get in contact
> with its developer to get some help for a demo on this .. would be awesome.
>
> Regards,
> Rainer
>
> --
> Rainer M. Engel
> Berlin
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html