Skip to content

Layer should be clipped at bounding box #5775

@jstriebel

Description

@jstriebel

Currently, if a layer has data outside of its bounding box and the bounding box is not aligned with the chunks, the data of the chunk crossing the bounding box is fully shown.

E.g. see the following dataset:
skin_segmented_2021-10-12_12-20-21.zip

Currently the volume_annotation shows too much data:
Screenshot from 2021-10-12 13-52-47

It should be cropped at the 400, 100, 0, 200, 700, 1 bounding box, but the shown data starts at 384, 96, 0, which is divisible by 32. The source of the data is a volume annotation with the following bounding box:
Screenshot from 2021-10-12 13-52-30

I tagged this as a frontend issue for now, but it could also be solved on the backend site by sending 0s outside the valid bounding box.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions