DiffPose icon indicating copy to clipboard operation
DiffPose copied to clipboard

Question about the mTRE

Open Pragyanstha opened this issue 8 months ago • 5 comments

Hello @eigenvivek, thanks for sharing the code for your awesome work ! I have a query regarding the calculation of the mean Target Registration Error (mTRE) as discussed in your arXiv paper compared to its implementation in the code.

In the paper, the mTRE is described as the mean error of projected points on the detector, which suggests a measurement directly in the detector plane. However, in the code, it appears that these projected points are backprojected into deepfluoro's coordinate system prior to calculating the mean error, aligning the metric with anatomical coordinates. https://github.com/eigenvivek/DiffPose/blob/b3937c4575a0ad092a7ac5b4e661a4fb1b06fc3f/diffpose/deepfluoro.py#L178-L189

Additionally, within the Evaluator.call method, the reprojection error calculated in this manner is subsequently multiplied by a factor of 0.194 mm/px. https://github.com/eigenvivek/DiffPose/blob/b3937c4575a0ad092a7ac5b4e661a4fb1b06fc3f/diffpose/deepfluoro.py#L198 Could you please clarify if this conversion is intended to standardize the error measurement to physical units for clinical relevancy, or if there might be an oversight in this part of the implementation?

Pragyanstha avatar Jun 05 '24 13:06 Pragyanstha