Questions tagged [image-registration]

Combine 2 images for the same scene taken by different model to get a more informative image. The first step of image registration is finding a correlation between images (fix and floating) by detecting image features, intensity value or combine them. Image similarity is a cost function and it should calculate iteratively while doing a transformation. Once we reach the optimal solution the optimization process suspends and the images will align based on best fit transformation parameters.

147 questions
2
votes
0 answers

PyTorch neural network not training for image alignment task

I am currently trying to use deep learning to align pairs of images together (also known as registration). I am using a model similar to that of an autoencoder. The input is 2 times the size of one image flattened (since a pair of images need to be…
2
votes
1 answer

SimpleITK: registration with composite transform

I'm trying to use a composite transform (TranslationTransform + ScaleTransform) for registration. The concept is to first register with Translation, then do [Translation, Scale] with the initial transform of the translation given by the solution of…
2
votes
0 answers

Camera calibration using Direct Linear Transformation in python

I'm using a Numpy implementation of camera calibration by direct linear transformation (DLT) in python. I'm trying to use it for 3 dimensional camera calibration. My problem is, the mean error of the DLT (mean residual of the DLT transformation in…
2
votes
1 answer

How to do affine transform with pyvips and get the same size as the original image?

I did some experiment on the Affine function. I applied the transformation matrix I got from Air-lab to moving image with skimage, opencv and vips. Can Vips achieve the same result as the other two? I think vips did a lot pading for the result…
fred
  • 21
  • 1
2
votes
0 answers

How to align already captured RGB and Depth images

I have some RGB and Depth images already captured by Microsoft Kinect v2. I want to align the RGB and Depth images (Image registration). After browsing the internet for a while, I have found the following python code here…
2
votes
2 answers

PCL: Scale two Point-Clouds to the same size

I got two point clouds and try to scale them to the same size. My first approach was to just divide the square roots from the eigenvalues: pcl::PCA pca; pca.setInputCloud(model_cloud_ptr); Eigen::Vector3f ev_M =…
progNewbie
  • 4,362
  • 9
  • 48
  • 107
2
votes
1 answer

Bad matches between images when performing image registration

Original image 1 Original image 2 I am trying to match two microscopy images (please see the attached file). However, the matches are horrible and the homography matrix produces an unacceptable result. Is there a way to improve this registration?…
Pin 8
  • 122
  • 1
  • 7
2
votes
4 answers

Measuring shift between two images along one direction only

I have to measure shifts between two monochromatic images. These images are actually spectra before calibration, which are very noisy and full of unwanted features, but they basically look like following I know that between different images, they…
2
votes
0 answers

Using OpenCV's findHomography to align scanned documents; How do I avoid obviously-bad (non-planar/3D) transforms?

We have hundreds of scanned copies of a form; We need to align each image to a template, correcting for translation and rotation in 2-Dimensions. After trying some FFT-based methods, we've gotten our best results using OpenCV to do the alignment…
2
votes
1 answer

Image Registration of Scanned Text Forms

We print 500 bubble surveys, get them back, and scan them in a giant batch giving us 500 PNG images. Each image has a slight variations in alignment, but identical size and resolution. We need to register the images so they're all perfectly…
2
votes
1 answer

How to constrain Matlab's image registration to assume rotation only, with zero translation?

I am using Matlab's imregtform() function to register two 3D MRI images to one another. I know that both images are related by a rotation about the center of the image, and am using the 'rigid' transform type to perform the registration. However,…
hbraunDSP
  • 57
  • 7
2
votes
1 answer

gdal resize and save to png using python

I know how to use gdal_translate from cmd line to resize and save the png: gdal_translate -of PNG -outsize 10% 10% image.bsq image.png But using python I only know how to save the png: from osgeo import gdal img_png = 'image.png' img_bsq =…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

How can I perform 3d image registration using SimpleElastix from Python?

I'm trying to register two 3d volumes. An attempt at this can found here. The code first generates two different volumes, both containing exactly one sphere of radius 4. I'm then trying to align them using the default translation parameter map.…
Rule
  • 105
  • 1
  • 10
2
votes
0 answers

Robust non-rigid image registration speed in Python

I would like to have an estimate of how fast it is to run an image registration algorithm on two HD images in Python. The registration needs to be very robust, too. Ideally running within under a second. I found a few library and did some tests…
2
votes
2 answers

how to combine two same scene images for image registration

I try to do image registration on two grayscale images where the images were taken twice with different views. The images were taking by myself using a Lifecam camera. To register these images, I used template matching method and normalized cross…
1
2
3
9 10