Login  Register

Re: looking for a simple Maven project implementing an ImageJ 2.x plugin

Posted by bnorthan on Jan 08, 2015; 1:11pm
URL: http://imagej.273.s1.nabble.com/looking-for-a-simple-Maven-project-implementing-an-ImageJ-2-x-plugin-tp5011003p5011125.html

Hi Gerrit

As others have mentioned this question may be more appropriate for the dev
list.  I've gotten a lot of useful advice there.

That being said you might want to look at this example.  It shows how to
write a command, in imagej2 a command is a type of plugin.

https://github.com/imagej/imagej-tutorials/blob/master/simple-commands/src/main/java/GradientImage.java

This shows how to get a dataset into your plugin... after that you will
want to learn how to manipulate images.  ImageJ2 plugins often use imglib2
for low level algorithms.  So checking out the imglib2 tutorials would be
helpful.

http://fiji.sc/ImgLib2_Examples

One tip that might be helpful.  You will want to get comfortable getting
the image data from the dataset.  You will need something like
data.getImgPlus().getImg().

Also you might want to learn about imagej-ops.

https://github.com/imagej/imagej-ops

Brian

On Thu, Jan 8, 2015 at 7:35 AM, Polder, Gerrit <[hidden email]> wrote:

> Herbie,
>
> thanks, yes I know that one, helped me a lot in the past, but now I am
> looking for a similar one covering ImageJ2.
>
> Gerrit
>
> On 8 Jan 2015, at 06:00, IMAGEJ automatic digest system <
> [hidden email]<mailto:[hidden email]>> wrote:
>
> Date:    Wed, 7 Jan 2015 17:01:52 +0100
> From:    Herbie <[hidden email]<mailto:[hidden email]>>
> Subject: Re: looking for a simple Maven project implementing an ImageJ 2.x
> plugin
>
> Gerrit,
>
> did you have a look at the fabulous tutorial written by Werner Bailer?
>
> <http://imagingbook.com/imagej-tutorial/>
>
> "Download Tutorial (pdf)"
>
> Most of what you need can be found in this text and the accompanying
> examples.
>
> HTH
>
> Herbie
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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