Giter Site home page Giter Site logo

Comments (4)

arve0 avatar arve0 commented on July 30, 2024 1

Any thoughs on how to improve the performance? I've having trouble with high resolution microscope images with quite a lot of overlap. See this notebook: http://nbviewer.ipython.org/github/arve0/master/blob/master/image%20registration%20precision.ipynb

from imreg_dft.

matejak avatar matejak commented on July 30, 2024

I have took a look at your data. You are right that performance was not my concern - I wanted to get a prototype running that can be improved.
Anyway, the main facts about your data are those:

  • They are oversampled (so downsampling them is fine) and
  • they overlap only on a small region.

Therefore, you can use the tiling functionality that is part of the ird utility in the following way:

  1. You downscale both images to like 20% of original dimensions.
  2. You cut a small part (for example 400x400) from one of the images that are in the overlapping area.
  3. You run ird undersampled1.png cut2.png --tile --show --print-result and watch the result. You should get relative shift between the 1st undersampled image and the cut from the 2nd image. I have tried that, it seems to work. Since you know the origin of the cut, you can compute the total shift by adding those two up.

I can't assist you very much since I am now in the final phase of writing thesis. The tiling functionality is not part of the Python API yet, but it is probably in a good enough shape for your needs. Look at cli.py:435 and the documentation part that mentions tiling.

from imreg_dft.

arve0 avatar arve0 commented on July 30, 2024

Thanks for the swift response! Heh, almost same situation here, trying to finish my (master) thesis.

I'll try using a cut, thanks again.

from imreg_dft.

matejak avatar matejak commented on July 30, 2024

There is an idea in the air - calculate std. dev. from the CPS "background" and compare it to the peak value.

from imreg_dft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.