Skip to content

STYLE: Minor rewording the explanation of image registration in example#364

Draft
N-Dekker wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
N-Dekker:Adjust-image-registration-explanation
Draft

STYLE: Minor rewording the explanation of image registration in example#364
N-Dekker wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
N-Dekker:Adjust-image-registration-explanation

Conversation

@N-Dekker
Copy link
Collaborator

The presence of noise is not really necessary for image registration.


@mstaring @stefanklein Please check! It's just a matter of definition 😃

(Honestly this pull request also an excuse to see if the tests still pass today, at the CI. Especially because my attempt to upgrade elastix (pull request #363) has a test failure!)

The presence of noise is not really necessary for image registration.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@thewtex
Copy link
Member

thewtex commented Jan 29, 2026

In my humble opinion, the previous definition is shorter, sweeter, and identifies the problem better. Distinguishing between differences due the transformation and noise usually core to the task.

"metadata": {},
"source": [
"**Image registration** finds the *spatial transformation that aligns images in the presence of noise*."
"**Image registration** is the task of finding the *spatial transformation that aligns two images with each other*."
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my humble opinion, the previous definition is shorter, sweeter, and identifies the problem better. Distinguishing between differences due the transformation and noise usually core to the task.

Thanks for your feedback, Matt. First of all, this is not a show-stopper to me, of course. If you don't want it to be merged, please press "Request changes", or even "Close pull request" without merging.

Anyway, my main aim is to get rid of "in the presence of noise". I don't think "the presence of noise" is essential to image registration. Image registration is often used to register baseline and follow-up, or to register two different modalities. But we can also register artificially generated images. Even if the images would be entirely free of noise, it would still be valid to call it "image registration".

The example itself does not elaborate any further on the noise that is supposed to be present. So I don't think it's essential to the example either.

We have another definition of image registration at https://github.com/SuperElastix/elastix/blob/9f87f8943ac5c90bf5fffa1b5ac1566a607ad020/README.md#L17

the task of finding a spatial transformation, mapping one image (the fixed image) to another (the moving image), by optimizing relevant image similarity metrics.

The proposed rewording would bring the text from the example more in sync with this definition from SuperElastix/elastix.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@N-Dekker yes, I agree that the methods can be used for artificially generated images. I think it is helpful to emphasize that the quest when working natural images, which I think is the most common end use case for elastix. We are

optimizing relevant image similarity metrics

where the optimization and similarity metric has to distinguish what content is expected to correspond and what content is not expected to correspond (noise).

I do not have strong attachments myself; I am sharing my preference and how I think "noise" should be understood and its significance in this context.

@N-Dekker N-Dekker marked this pull request as draft January 29, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants