fiji / Stitching

Fiji's Stitching plugins reconstruct big images from tiled input images.
http://imagej.net/Stitching
GNU General Public License v2.0
96 stars 64 forks source link

Problem with islets #25

Closed iwbh15 closed 5 years ago

iwbh15 commented 9 years ago

I run into a problem when stitching a slide consisting of or degrading into a set of islets. I would like to discuss the solution I have worked out? Peter

iwbh15 commented 9 years ago

After updating my code today I would like to describe the problem and the solution more in detail.

When a set of images from a large specimen consist of several unconnected collections of connected images this unconnected collections (islets) will all be placed over each other during global optimization. The reason is that the Stitching plugin reset the original coordinate system of the tiles and uses a coordinate system with an origin at the centre of each of the unconnected islets. The islets will then be placed over each other at their coordinate origin. In my solution I detect the different islets, optimize the collections separately and reassign the coordinates of the original coordinate system.

This seems to be important for scans where islets are created due to a rejection of tiles based on the correlation threshold as well as for scans where different unconnected islets are captured at different location on the slide.

I appreciate any feedback.

StephanPreibisch commented 9 years ago

Sorry, I missed the original post ... checking it out now

iwbh15 commented 9 years ago

There is one more issue. So, my solution is still not perfect. During optimization of the islets (collection of connected images) images can be rejected due to a huge displacement. This images are incorrectly placed in the final image. Cuurently I simply reject those images from the collection when the a huge displacement is detected. But this is just a workaround. Any idea for a better improvement?

ctrueden commented 9 years ago

@StephanPreibisch @iwbh15 Any updates on the status of this PR? Should we close it?

If not, I personally would like to see clean commits with good messages, as per the ImageJ coding style guidelines. As is, it is very hard to review.

iwbh15 commented 5 years ago

Sorry for this old PR still open. Worls has changed - for sure. I close this PR.