Skip to content

Scale voxels before saving to dicom by checking the extension.#4082

Merged
andrewerf merged 1 commit intomasterfrom
auto-dicoms-scale-save
Feb 11, 2025
Merged

Scale voxels before saving to dicom by checking the extension.#4082
andrewerf merged 1 commit intomasterfrom
auto-dicoms-scale-save

Conversation

@andrewerf
Copy link
Member

No description provided.

if ( ext == u8".dcm" )
{
// always save DICOM in meters because the format supports units information
if ( auto maybeUserScale = UnitSettings::getUiLengthUnit() )
Copy link
Contributor

Choose a reason for hiding this comment

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

userScale, no need to specify the type in the variable's name.

@andrewerf andrewerf merged commit 0241c15 into master Feb 11, 2025
31 checks passed
@andrewerf andrewerf deleted the auto-dicoms-scale-save branch February 11, 2025 22:47
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