ImgLib2 FAQ

ImgLib2
Topics
Overview
Accessors
Accessibles
Benchmarks
FAQ
Tutorials
Getting Started
ImgLib2 Examples
Introductory Workshop
Advanced Programming Workshop
Into ImgLib - Generic Image Processing in Java
Creating Imglib2 images in MATLAB
Development
Developing ImgLib2
ImgLib2 Discussion


What is ImgLib2 anyway?

It is a library that helps you to implement algorithms for multi-dimensional data processing. The idea is that you can concentrate on the essence of your algorithm rather than syntactic sugar. It is possible to implement an algorithm without specifying what the image's data type is, how many dimensions it has, and how the image is stored.

ImgLib2 is also the foundation of the ImageJ2 data model.

How do I migrate my ImgLib1 code to ImgLib2?

There is some rudimentary documentation, but you will most likely need to ask more detailed questions on the Fiji developers mailing list.

How to create a new image from scratch?

int w = 768, h = 512, timepoints = 20;
Img<FloatType> img = ArrayImgs.floats(w, h, timepoints);