> For the complete documentation index, see [llms.txt](https://janelia-flyem.gitbook.io/neutu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://janelia-flyem.gitbook.io/neutu/miscellaneous/dvid-data.md).

# DVID Data

Some functions of NeuTu rely on customized data protocols in DVID to work. Most data will be generated automatically by NeuTu, but some of them need to be configured or uploaded manually.

## ROIs

There are three places related to ROIs in DVID:

* native ROI data: each data instance of the `roi` data type corresponds to one ROI
* `rois`: keyvalues for indexing ROI data for 3D visualization. Each key will treated be as an ROI.
* `roi_data`: the place of storing ROI mesh data. Each mesh is stored with a key, which might be accompanied with \<key>\_info to specify additional information such as mesh format.

For example, an ROI named **MB** may have a `roi` data instance named MB, and an MB key in the `rois` data.

```javascript
{"->": {"key": "d230e3669195ebd143d73b22011f8eec"}}
```

Then in the `roi_data` data instance, there should be a key `d230e3669195ebd143d73b22011f8eec` pointing to the actual mesh. If the `d230e3669195ebd143d73b22011f8eec_info` key does not exist, the mesh is supposed to be stored as the `obj` format; otherwise, it may specify the format of the roi mesh, such as the following one for the [draco](https://google.github.io/draco/) format:

```javascript
{"format": "drc"}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://janelia-flyem.gitbook.io/neutu/miscellaneous/dvid-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
