Closed frasercl closed 1 year ago
Hey, I'm seeing some artifacting/weird slicing behavior? Is this a setting I have misconfigured or is this happening for you too?
Hey, I'm seeing some artifacting/weird slicing behavior? Is this a setting I have misconfigured or is this happening for you too?
Could you check that you have the latest version of this branch? I also saw this behavior and fixed it (or attempted to) in 4c143f9.
Hey, I'm seeing some artifacting/weird slicing behavior? Is this a setting I have misconfigured or is this happening for you too?
Could you check that you have the latest version of this branch? I also saw this behavior and fixed it (or attempted to) in 4c143f9.
Okay, yes, that fixed it.
Problem
Resolves #131:
Volume
receives a type calledImageInfo
on construction which contains essential information about the volume's dimensions. This type is based on the JSON schema used byJsonImageInfoLoader
, which is not particularly suited to being a general volume information format:JsonImageInfoLoader
expects data to be represented (as a series of pre-atlased images, each containing up to 4 volume channels in their r/g/b/a components).Solution
ImageInfo
type, using vectors and camelCase and names that make sense.ImageInfo
intoJsonImageInfoLoader
, rename itJsonImageInfo
, revert it to exactly represent the stored JSON, and have the loader convert between the old and new type.