Skip to content

mrconvert axes insertion assert failure #977

@maxpietsch

Description

@maxpietsch

mrconvert's -axes addition using -1 as permutation index fails:

mrconvert image3d.mif -axes 0,1,2,-1 image4d.mif

It bails out in the threaded_copy with

mrconvert: ./core/image_helpers.h:435: MR::Helper::Index<MR::Image<double> >::Index(ImageType &, size_t) [ImageType = MR::Image<double>]: Assertion `axis < image.ndim()' failed. Aborted

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions