svenpeter42 / fastfilters

Old academic project for my PhD - no longer maintained by me: fast gaussian and derivative convolutional filters
MIT License
9 stars 10 forks source link

Ensure proper AxisType for output channel axis. #20

Closed stuarteberg closed 5 years ago

stuarteberg commented 5 years ago

Apparently vigra.AxisInfo('c') will produce an axis tag with UnknownAxisType. The correct axis type is Channels.

If the type is not correct, then res.withAxes(...) raises an error:

VigraArray.withAxes(): array must not contain axes of unknown type (key '?').

cc @ilastik

svenpeter42 commented 5 years ago

is this already fixed with https://github.com/svenpeter42/fastfilters/commit/796a1550d5240a01337216ba044c64d8cbe02bb0 in the devel branch?

stuarteberg commented 5 years ago

Ah, it appears so. I didn't notice that. I'm confused about why github isn't showing me the correct diff here... I must be missing something.