[Insight-users] (no subject) : ITK and Microscopy Stitching / Mosaics

Luis Ibanez luis.ibanez at kitware.com
Fri, 16 Apr 2004 15:06:47 -0400


Hi James,

You are not alone !   :-)

Almost everybody doing Microscopy these days is
having the same problem.

It is feasible to do stitching or mosaics in ITK.
It will require however some effort on your part
since the original design of the image registration
framework was mostly oriented to images with large
overlapping regions.

The first thing you will want to experiment with
is the masking functionality of the image metrics.
For example in the MeanSquareImageMetric.

If you are not yet familiar with the Registration
framework in ITK, you may benefit from reading
the chapter on ImageRegistration and the chapter
on ImageResampling from the SoftwareGuide

   http://www.itk.org/ItkSoftwareGuide.pdf

There is probably a critical mass of ITK users
dealing with Microscopy for justifying the
creation of a number of classes supporting
2D Stitching and Mosaics. Note that users doing
satellite imagery have exactly the same need.

BTW, I don't think you really want to physically
compose the mosaic at high resolution. Having an
image of 1.5Gb will not be very useful since you
will face a good number of difficulties for
visualizing it and processing it.  You are probably
better off performing the image registration between
neighborhood images and storing the transforms along
with the images.  Then creating a visualization application
(VTK will be ideal for this) where you load only the
images that you are currently viewing an apply the
transforms to them, plus some blending (image fusion)
visualization techniques.

Instead of TIFF I would suggest you to use the MetaImage
format which now supports gzip compression and allows
you to store the spatial transform with the images,
in this way you don't have to resample the images for
storage, and don't have to compose the actual mosaic
in a huge file.



Please let us know if you have further questions.


   Thanks



     Luis


----------------------
James Carroll wrote:

> Hi,
> 
> I'm about to spend some time using itk::TIFFImageIO to write large tiled
> tiffs,  setting the region of interest, then feeding it lots of data.
> I'm hoping I can incrementally write tiffs that are jpeg-in-tiles
> compressed, and have a total size over 1.5 GB.  
> 
> Is this a reasonable thing for me to try in ITK?  Anyone have any
> similar examples?  (C++ or Python both welcome)
> 
> Thanks,
> -Jim
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>