Comments (4)
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.
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:
- You downscale both images to like 20% of original dimensions.
- You cut a small part (for example 400x400) from one of the images that are in the overlapping area.
- 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.
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.
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)
- Investigate image registration on complex arrays HOT 1
- Memory issue HOT 1
- Array dtype conversion HOT 2
- Discrepancy in command line utility (ird) and python function (similarity)
- transform_img clips image, doesn't have option to specify output size HOT 2
- Error defining mask in utils.py HOT 1
- Multichannel Images HOT 3
- Using tiles in image registration HOT 1
- How to convert padded border of transformed image to black HOT 1
- Image is shifted out of frame
- I think this should say anticlockwise instead of clockwise
- sample PNGs for LargeTemplate [tiling] example do not open with Pillow 7.2
- installation
- Pixel values are changed after registration.
- how to uninstall imreg_dft
- [Need Help] What's that FILE OBJECT?
- [Help needed] Different shape images
- np.bool deprecated in utils.get_borderval( )
- Please update your release that the np.bool change reflects in the download HOT 1
- Nothing runs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imreg_dft.