microsoft / Recursive-Cascaded-Networks

[ICCV 2019] Recursive Cascaded Networks for Unsupervised Medical Image Registration
https://arxiv.org/abs/1907.12353
MIT License
361 stars 87 forks source link

About img augmentation #29

Closed w19787 closed 4 years ago

w19787 commented 4 years ago

there is img augmentation for moving image. Is it ok to apply same augmentation to the fixed image? I am asking this question since in my case, the dataset is much smaller, if there is no concern, I will try to add augmentation for both images.

image

zsyzzsoft commented 4 years ago

Yes, but should be careful about how the point1 will be augmented along with the fixed image. An inverse field should be computed.

w19787 commented 4 years ago

Yes, but should be careful about how the point1 will be augmented along with the fixed image. An inverse field should be computed.

i am not sure i understand what you say. if i apply same code as follows to fixed image(img1), what will be problem?

augImg1 = augmentation(preprocessedImg1)
augSeg1 = augmentation(seg1)
augPt1 = augmenetation_pts(point1)
zsyzzsoft commented 4 years ago

Sorry I was wrong that here we don't have a flow to worry about. This seems very OK!

w19787 commented 4 years ago

Sorry I was wrong that here we don't have a flow to worry about. This seems very OK!

thanks for kind confirmation!