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
0
votes
1 answer

Coregister 3D Nifti Images

I've two 3D nifti images, a Flair image of size 29x512x512, and a dwi image, of size 73x112x112, and I would like to coregister the flair image to the dwi image. Do you know a possible way to do that? I'm working with Python but any well explained…
Vibe98
  • 3
  • 2
0
votes
0 answers

Matching and cropping 2 slightly shifted photos of an object

There's some 2D object that I have 2 photos of. I want to find their difference, but can't since they were captured with slight shift compared to each other. Thus, each picture is almost identical to the other, but also each contains some…
0
votes
1 answer

OpenCV error: (-215:Assertion failed) (M0.type() == CV_32F || M0.type() == CV_64F) && M0.rows == 3 && M0.cols == 3 in function 'warpPerspective'

I am trying to perform image registration for two RGB lung mask images of size 128x128. This had worked fine for other images when I was learning image registration but now somehow it throws such error. I am a newbie learning this, any help is…
0
votes
0 answers

How to register two images in python where the images have different resolution and inverted square features?

I have two images: Here is a link to their corresponding csv (2D numpy) arrays: https://drive.google.com/drive/folders/1rqMjAhZub1b97CcGfcQO-RqbN0-lQ9Ah?usp=sharing How might I register the left image to the right image? The two images were…
T Walker
  • 330
  • 1
  • 3
  • 12
0
votes
1 answer

rotating an image after resampling to get the right slice direction

I'm using simpleITK in python to do image registration between an atlas image and an MRI image. I'm doing a resampling to give the atlas the same metadata as the image (origin, direction, spacing etc...) here's the atlas 3D image : atlas this step…
0
votes
0 answers

What do the h31 and h32 terms in a homography matrix mean?

I have used the MOTION_HOMOGRAPHY function in OpenCV (python3.6) to register a pair of images, and I am trying to interpret the 3 x 3 warp matrix the function returns: H = [1.304 6.65e-2 -19.71 3.19e-3 1.163 -22.92 3.84e-5 2.06e-4…
T Walker
  • 330
  • 1
  • 3
  • 12
0
votes
2 answers

How to superimpose two images and get SSIM (similarity index) value for these two images?

I have a clean image, and a noisy image. I created a denoiser and applied it to the noisy image, that was my final output. Now to compare how much this image is close to a clean image I need to compare it using PSNR and SSIM, but due to different…
Rohit gupta
  • 211
  • 3
  • 18
0
votes
0 answers

How to Approach Image Registration with Poor Features and Variable Exposure/Noise

I have been trying to create an image registration script to align measurement tools (phantoms) seen in x-ray images across different x-ray detectors. The fixed image will always be larger, and the moving image to be registered is a known, constant…
0
votes
1 answer

Keras: Loss for image rotation and translate (target errore registration)?

My model return 3 cordinate [x,y,angle]. I want TRE similarity between 2 images. My custom loss is: loss(y_true, y_pred): s = tfa.image.rotate(images=y_true[0], angles=y_pred[0][0]) s = tfa.image.translate(images=s, translations=y_pred[0][1:]) …
0
votes
1 answer

Matlab - how to calculate image pixels shift

In Matlab, I have two similar images, but one has a pixels shift compare to the other. how can I calculate the the offset (amount of pixels) for axis x and y? Image Center Image Shift
0
votes
0 answers

Overlay mask to the next time point in Simple ITK

We are working on a problem of lesion tracking. So we have 3-d series of dicom images for two time points. Lesions are marked on time point - 1, using this we want to project the same lesions to the time point 2. Currently we are following the…
Kaushik
  • 1
  • 1
0
votes
1 answer

Thermal and RGB multi view image registration

I have an IR and RGB camera set up such that they are 2cm apart from each other (horizontally). My goal is to fuse both the images (RGB and IR) to obtain a more informative image. Because of the offset between the RGB and the IR data, both the…
0
votes
1 answer

Interp2 of image with transformed coordinates

I have 2 greyscale images that i am trying to align using scalar scaling 1 , rotation matrix [2,2] and translation vector [2,1]. I can calculate image1's transformed coordinates as y = s*R*x + t; Below the resulting images are shown. The first…
S.MC.
  • 1,491
  • 2
  • 9
  • 17
0
votes
0 answers

How to calculate/determine how much percentage/portion of a circle a given shape is (most likely a partial circle)

Problem i am trying to tackle is very simple, however, i am stuck on thinking how to do that. I have extracted masks using segmentation algorithms for pipe visible openings (not all the openings are clear, most results in partial circles). I want to…
0
votes
0 answers

automatic scale up and registration of two points clouds, same objects different sizes, python

I have two point clouds of the same building. One however is much smaller, so they are not of the same scale, and it is also at a different orientation. I want to in one swoop, scale one point cloud so that the sizes match. and then automatically…