As the metioned in the documentation, the output resampled images will be in size 344x344x127, if the --head flag is enabled.
However, in our case, the output attenuation map is in 244x244x108?
Of course, we can do resampling the attenuation map in the SIRF recon pipeline, to match the output size(344x344x127). But just a bit confused about whether the resampling was designing to be done in pet-rd-tool or in SIRF?
WIthout the resampling, this will cause the error when estimating the scatters, in SIRF. (see error message below):
/opt/SIRF-SuperBuild/INSTALL/python/sirf/STIR.py in process(self)
2745 self.output = AcquisitionData()
2746 self.output.handle = pystir.cSTIR_runScatterEstimator(self.handle)
-> 2747 check_status(self.output.handle)
2748 print('ScatterEstimator:: estimation finished.')
2749
/opt/SIRF-SuperBuild/INSTALL/python/sirf/Utilities.py in check_status(handle, stack)
408 repr(line) + ' of ' + file + '; ' +
409 'the reconstruction engine output may provide more information'
--> 410 raise error(errorMsg)
411
412
error: ??? "'\nERROR: ScatterSimulation: limitation in #planes and voxel-size for the attenuation image.\nThis would cause a shift of -19.2969mm w.r.t. the activity image.\n(see https://github.com/UCL/STIR/issues/495.\\n' exception caught at line 439 of /opt/SIRF-SuperBuild/sources/SIRF/src/xSTIR/cSTIR/cstir.cpp; the reconstruction engine output may provide more information"
any hints would be helpful. thanks
As the metioned in the documentation, the output resampled images will be in size 344x344x127, if the --head flag is enabled.
However, in our case, the output attenuation map is in 244x244x108?
Of course, we can do resampling the attenuation map in the SIRF recon pipeline, to match the output size(344x344x127). But just a bit confused about whether the resampling was designing to be done in pet-rd-tool or in SIRF?
WIthout the resampling, this will cause the error when estimating the scatters, in SIRF. (see error message below):
/opt/SIRF-SuperBuild/INSTALL/python/sirf/STIR.py in process(self)
2745 self.output = AcquisitionData()
2746 self.output.handle = pystir.cSTIR_runScatterEstimator(self.handle)
-> 2747 check_status(self.output.handle)
2748 print('ScatterEstimator:: estimation finished.')
2749
/opt/SIRF-SuperBuild/INSTALL/python/sirf/Utilities.py in check_status(handle, stack)
408 repr(line) + ' of ' + file + '; ' +
409 'the reconstruction engine output may provide more information'
--> 410 raise error(errorMsg)
411
412
error: ??? "'\nERROR: ScatterSimulation: limitation in #planes and voxel-size for the attenuation image.\nThis would cause a shift of -19.2969mm w.r.t. the activity image.\n(see https://github.com/UCL/STIR/issues/495.\\n' exception caught at line 439 of /opt/SIRF-SuperBuild/sources/SIRF/src/xSTIR/cSTIR/cstir.cpp; the reconstruction engine output may provide more information"
any hints would be helpful. thanks