Skip to content

Evaluation of model on up-sampled and down-sampled images #65

@plbenveniste

Description

@plbenveniste

I am working on up-sampling and down-sampling the test images on which I will evaluate the performance.
To up-sample and down-sample the images, I am using the following for instance:

sct_resample -i image.nii.gz -o output.nii.gz -f 1.1

First question:

By doing this, my initial image goes from a weight of 17.5 MB to 105.2 MB. Should I perform an additional operation to reduce its weight? Something like sct_image ... -type float64?

Second question:

I am also wondering what is the best strategy for evaluating the prediction on this up-sampled image?
I am considering 2 options:

  • Option 1: upsample the ground truth as well using the following: sct_resample -i label.nii.gz -o output_label.nii.gz -f 1.1 -x nn
  • Option 2: I downsample the prediction to the original resolution: sct_register_multimodal -i pred.nii.gz -d initial_image.nii.gz -o reg_label.nii.gz -identity 1 -x nn

I would be interesting in having your opinions on this.
Thank you for your help

Tagging @joshuacwnewton @jcohenadad @valosekj

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions