Biomedical Imaging Group
Logo EPFL
    • Splines Tutorials
    • Splines Art Gallery
    • Wavelets Tutorials
    • Image denoising
    • ERC project: FUN-SP
    • Sparse Processes - Book Preview
    • ERC project: GlobalBioIm
    • The colored revolution of bioimaging
    • Deconvolution
    • SMLM
    • One-World Seminars: Representer theorems
    • A Unifying Representer Theorem
Follow us on Twitter.
Join our Github.
Masquer le formulaire de recherche
Menu
BIOMEDICAL IMAGING GROUP (BIG)
Laboratoire d'imagerie biomédicale (LIB)
  1. School of Engineering STI
  2. Institute IEM
  3.  LIB
  4.  ImageJ Matlab
  • Laboratory
    • Laboratory
    • Laboratory
    • People
    • Jobs and Trainees
    • News
    • Events
    • Seminars
    • Resources (intranet)
    • Twitter
  • Research
    • Research
    • Researchs
    • Research Topics
    • Talks, Tutorials, and Reviews
  • Publications
    • Publications
    • Publications
    • Database of Publications
    • Talks, Tutorials, and Reviews
    • EPFL Infoscience
  • Code
    • Code
    • Code
    • Demos
    • Download Algorithms
    • Github
  • Teaching
    • Teaching
    • Teaching
    • Courses
    • Student projects
  • Splines
    • Teaching
    • Teaching
    • Splines Tutorials
    • Splines Art Gallery
    • Wavelets Tutorials
    • Image denoising
  • Sparsity
    • Teaching
    • Teaching
    • ERC project: FUN-SP
    • Sparse Processes - Book Preview
  • Imaging
    • Teaching
    • Teaching
    • ERC project: GlobalBioIm
    • The colored revolution of bioimaging
    • Deconvolution
    • SMLM
  • Machine Learning
    • Teaching
    • Teaching
    • One-World Seminars: Representer theorems
    • A Unifying Representer Theorem

Daniel Sage: MIJ: Making Interoperability Between ImageJ and Matlab Possible

D. Sage, D. Prodanov, J.-Y. Tinevez, J. Schindelin

ImageJ User & Developer Conference (IUDC'12), Mondorf-les-Bains, Grand Duchy of Luxembourg, October 24-26, 2012.


We present a software module MIJ[1] that allows to combine the powerful numerical computation of Matlab[2] and the image-analysis capabilities of ImageJ[3]. Since both ImageJ and Matlab run on multiple operating systems, MIJ is platform-independent. MIJ uses the Java Virtual Machine (JVM) of Matlab to call ImageJ methods from the Matlab console or scripts. In such way, we could bring the richness of ImageJ and of theirs plugins to the Matlab world.

MIJ contains a collection of static methods to bi-directionally exchange data between Matlab and ImageJ. MIJ has methods to convert and transpose images of ImageJ to 2D matrices and stacks of images to 3D arrays into Matlab. MIJ tries to avoid loss of accuracy by converting the image data to the closest numerical type of Matlab. The main drawback of this interoperability model is the current limitation of the heap memory in Matlab. Depending of the architecture and of the version of Matlab, the heap space can be increased, but it cannot be changed by MIJ.

Since 2011, MIJ is included in the Fiji[4] distribution of ImageJ together with a friendly startup Matlab script called Miji[5]. After calling a single function from Matlab, the full functionality of all the plugins and libraries included in Fiji can be accessed by Matlab scripts, via MIJ. Most notably, Fiji's 3D Viewer can be used to display three- or four-dimensional data in volume-rendering, iso-surface and orthoslice mode[6].

Users have found MIJ very useful even for simple daily tasks, e.g. opening proprietary image formats using the Bio-Formats[7] library or using the image viewer of ImageJ to display a 2D or 3D Matlab's matrices. Imaging professionals prefer usually ImageJ to show, control the rendering and interact with images. On the other hand, displaying plots and graphs is more convenient and flexible in Matlab. Exchanging data between the two platforms can be very valuable for iterative processes which implie image analysis, done in ImageJ, and statistical analysis done in Matlab. MIJ allows also to launch ImageJ macros from Matlab scripts and to run powerful plugins, e.g. TrackMate[8].

References

  1. MIJ: http://bigwww.epfl.ch/sage/soft/mij/

  2. Matlab: http://www.mathworks.ch/

  3. ImageJ: http://rsbweb.nih.gov/ij/

  4. Fiji: http://fiji.sc/

  5. Miji: http://fiji.sc/wiki/index.php/Miji/wiki/index.php/Miji/

  6. 3D viewer for Matlab: http://www.mathworks.com/matlabcentral/fileexchange/32344-hardware-accelerated-3dviewer-for-matlab/wiki/index.php/Miji/wiki/index.php/Miji/

  7. Bio-Formats: http://loci.wisc.edu/software/bio-formats/wiki/index.php/Miji/wiki/index.php/Miji/

  8. TrackMate: http://fiji.sc/wiki/index.php/TrackMate/wiki/index.php/Miji/wiki/index.php/Miji/

@INPROCEEDINGS(http://bigwww.epfl.ch/publications/sage1205.html,
AUTHOR="Sage, D. and Prodanov, D. and Tinevez, J.-Y. and Schindelin,
	J.",
TITLE="{D}aniel {S}age: {MIJ}: {M}aking Interoperability Between
	{ImageJ} and {Matlab} Possible",
BOOKTITLE="{ImageJ} User \& Developer Conference ({IUDC'12})",
YEAR="2012",
editor="",
volume="",
series="",
pages="",
address="Mondorf-les-Bains, Grand Duchy of Luxembourg",
month="October 25-26,",
organization="",
publisher="",
note="")
© 2012 Tudor. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from Tudor. This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author's copyright. In most cases, these works may not be reposted without the explicit permission of the copyright holder.
  • Laboratory
  • Research
  • Publications
    • Database of Publications
    • Talks, Tutorials, and Reviews
    • EPFL Infoscience
  • Code
  • Teaching
Logo EPFL, Ecole polytechnique fédérale de Lausanne
Emergencies: +41 21 693 3000 Services and resources Contact Map Webmaster email

Follow EPFL on social media

Follow us on Facebook. Follow us on Twitter. Follow us on Instagram. Follow us on Youtube. Follow us on LinkedIn.
Accessibility Disclaimer Privacy policy

© 2023 EPFL, all rights reserved