Skip to content

imagej/imagej-itk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagej-itk

This is a work in progress repository that demostrates how to expose Insight Toolkit functionality to ImageJ2.

Currently, the repository demonstrates how to expose a few SimpleITK filters as ImageJ2 Ops, ImageJ2 Commands, and ImageJ2 Parameterized Scripts

The project includes converters which translate ImageJ2 Datasets to the SimpleITK Image format. The ImageJ2 scripting framework automatically calls the converters when a script requires a SimpleITK Image.

Working example

Try this Jython script in ImageJ's Script Editor!

# @org.itk.simple.Image image
# @OUTPUT Dataset output

from org.itk.simple import SmoothingRecursiveGaussianImageFilter

itkGauss = SmoothingRecursiveGaussianImageFilter();

# call itk rl using simple itk wrapper
output = itkGauss.execute(image, 3.0, False);

Build Instructions

To get started, install Maven 3, and run:

mvn

from the repository root directory.

Bundling Native Libraries

You will need to add the SimpleITKJava native library appropriate for your operating system and architecture to the java.library.path. See the SimpleITK documentation for information on custom builds.

About

ITK integration for ImageJ

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •