Open DanicaSTFC opened 5 months ago
The method self.LoadImagesAndCompleteRegistration() https://github.com/TomographicImaging/iDVC/blob/1eae74768ef7f625fbff9042055172dfe188a4b0/src/idvc/dvc_interface.py#L1608C27-L1609C12 is called by https://github.com/TomographicImaging/iDVC/blob/1eae74768ef7f625fbff9042055172dfe188a4b0/src/idvc/dvc_interface.py#L1496 This call implies that the images are reloaded every time the registration is restarted. Sometimes this is not necessary eg when the size of the box is not changed between two registrations. The code would be faster if the data was loaded only when the box is updated.
self.LoadImagesAndCompleteRegistration()
The method
self.LoadImagesAndCompleteRegistration()
https://github.com/TomographicImaging/iDVC/blob/1eae74768ef7f625fbff9042055172dfe188a4b0/src/idvc/dvc_interface.py#L1608C27-L1609C12 is called by https://github.com/TomographicImaging/iDVC/blob/1eae74768ef7f625fbff9042055172dfe188a4b0/src/idvc/dvc_interface.py#L1496 This call implies that the images are reloaded every time the registration is restarted. Sometimes this is not necessary eg when the size of the box is not changed between two registrations. The code would be faster if the data was loaded only when the box is updated.