How can I combine multiple (up to 500) microscope images into one complete image?

6 views (last 30 days)
I have a 5 cm by 5 cm area that I need to create a composite photograph of using multiple microscope images (of jpg format). The number of images required to capture the entire area can be upwards of 500, so the method of stitching the images together needs to be automated. Is there a way to perform this in MATLAB? Thank you in advance.
  4 Comments
Walter Roberson
Walter Roberson on 19 Aug 2015
PNG or TIFF can preserve sharp edges. I like the TIFF format myself, but I think Image Analyst prefers PNG format.

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 19 Aug 2015
You can try the montage function, though with 500 images you may run out of memory.

Image Analyst
Image Analyst on 19 Aug 2015
Based on your answer to Walter where you say you need panoramic stitching with overlap, I think this is what you need: http://www.mathworks.com/help/vision/examples/feature-based-panoramic-image-stitching.html?prodcode=VP&language=en
  5 Comments
Lindsey
Lindsey on 20 Aug 2015
I can produce a panorama image, but it does not resemble the microscope images at all. Step 4 of the above method produces the following warning:
"Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 6.457441e-10. "
Is this indicating that the features in the images are too similar to distinguish? The microscope images are of a repeating, uniform circular pattern, so this reason is plausible.
I am controlling the microscope stage movement using LabVIEW, so the positions of the images could be determined. Is there a method in MATLAB that uses coordinates to match images?
Image Analyst
Image Analyst on 20 Aug 2015
I don't have the toolbox so I can't try it. Maybe your overlap is not enough for it to determine where to stitch them.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!