google / google/neuroglancer

Correcting the origin of the mesh object

Open
#456 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
389
Avg merge
3d 21h
Merged PRs (30d)
3

Description

Hi,

I have a mesh object which has a origin located at -3830 x -5150 x -6530 and it is appearing outside the yellow bounding box. I tried correcting the origin to the center by configuring the `voxel_offset` in `info` but it does not seem to translate the values as expected. Are there other attributes besides `voxel_offset` which I need to be aware of? I'm looking into if the transformation on the mesh has changed the origin.

Thank you,
-m

```
{
"data_type": "uint32",
"mesh": "mesh",
"num_channels": 1,
"scales": [
{
"chunk_sizes": [
[
128,
128,
128
]
],
"encoding": "raw",
"key": "1_1_1",
"resolution": [
1,
1,
1
],
"size": [
12672,
17664,
8448
],
"voxel_offset": [
-3830,
-5150,
-6530
]
}
],
"type": "segmentation"
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.