Skip to content

Improve untouched nifti comparison #632

@MichaelStritt

Description

@MichaelStritt

Description

Move the code for the nifti comparison from xASL_bids_CompareStructures to a separate script. Improve code quality and generalize the functionality.

Requirements

Comparison script for untouched nifti comparison based on xASL_Copy & _Delete.

How to test

Run [identical,RMSE,minDiff,maxDiff,dimCheck] = xASL_im_CompareNiftis(pathA,pathB,bVerbose) on two niftis.

  • If the images are not 100% identical, identical should be false
  • If the matrix dimensions agree, RMSE should contain the root mean square error
  • If the matrix dimensions agree, minDiff and maxDiff should contain double values
  • If the matrix dimensions do not agree, dimCheck should be false

Release notes

Added comparison script for untouched nifti comparison.

Metadata

Metadata

Assignees

Labels

featureNew feature, enhancement or requestminor improvementsFixes that don't change main pipeline functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions