BoofCV - library

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BoofCV - library

Rainer M. Engel
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
Reply | Threaded
Open this post in threaded view
|

Re: BoofCV - library

Curtis Rueden
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
Reply | Threaded
Open this post in threaded view
|

Re: BoofCV - library

Rainer M. Engel
Dear Curtis,

thank you very much for your immediate reply and beyond that the example
you adapted.

In my current FIJI I got this error
[ERROR] null
java.lang.ClassNotFoundException:
net.imagej.ui.swing.updater.ImageJUpdater .. (sort of strange)

But in a recent and fresh copy of FIJI it works fine, when following
your steps.

I played around with it a few times and recognised when simply closing
"Regions" and "Seeds" from the "blobs.gif"-Sample two times, on the
third run I start getting strange image results, which tend to become
worse every time.
Is this only on my machine like this or probably BoofCV-related?

Ahoy,
Rainer




Am 23.03.2019 um 17:57 schrieb Curtis Rueden:

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

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