Documentation ¶
Overview ¶
Package datatype provides interfaces for arbitrary datatypes supported in DVID. Each datatype implements the interface and handles conversion of its data into the key-value pairs or other base storage elements. Each data type provides a domain-specific HTTP API and possibly command-line actions.
Data types are declared in the main dvid.go file under imports. An example:
import (
// Declare the data types this DVID executable will support _ "github.com/janelia-flyem/dvid/datatype/imageblk" _ "github.com/janelia-flyem/dvid/datatype/labelblk" _ "randomsite.org/datatypes/myfoo"
)
Philosophy note: Rather than creating base packages that handle all sorts of similar data (e.g., uint8, uint16, rgab8, float32, n-dimensional float32), DVID code tries to be as simple as possible even if it means copying and replacing types. This will lend itself to using Go generate versus generics-style of programming. For now, though, it will simplify the code of each package.
Directories ¶
Path | Synopsis |
---|---|
Package annotation supports point annotation management and queries.
|
Package annotation supports point annotation management and queries. |
common
|
|
labels
Package labels supports label-based data types like labelblk, labelvol, labelsurf, labelsz, etc.
|
Package labels supports label-based data types like labelblk, labelvol, labelsurf, labelsz, etc. |
Package googlevoxels implements DVID support for multi-scale tiles and volumes in XY, XZ, and YZ orientation using the Google BrainMaps API.
|
Package googlevoxels implements DVID support for multi-scale tiles and volumes in XY, XZ, and YZ orientation using the Google BrainMaps API. |
Package imageblk implements DVID support for image blocks of various formats (uint8, uint16, rgba8).
|
Package imageblk implements DVID support for image blocks of various formats (uint8, uint16, rgba8). |
Package imagetile implements DVID support for imagetiles in XY, XZ, and YZ orientation.
|
Package imagetile implements DVID support for imagetiles in XY, XZ, and YZ orientation. |
Package keyvalue implements DVID support for data using generic key-value.
|
Package keyvalue implements DVID support for data using generic key-value. |
Package labelarray tailors the voxels data type for 64-bit labels and allows loading of NRGBA images (e.g., Raveler superpixel PNG images) that implicitly use slice Z as part of the label index.
|
Package labelarray tailors the voxels data type for 64-bit labels and allows loading of NRGBA images (e.g., Raveler superpixel PNG images) that implicitly use slice Z as part of the label index. |
Package labelblk tailors the voxels data type for 64-bit labels and allows loading of NRGBA images (e.g., Raveler superpixel PNG images) that implicitly use slice Z as part of the label index.
|
Package labelblk tailors the voxels data type for 64-bit labels and allows loading of NRGBA images (e.g., Raveler superpixel PNG images) that implicitly use slice Z as part of the label index. |
Package labelgraph implements DVID support for data using the underlying graph storage engine.
|
Package labelgraph implements DVID support for data using the underlying graph storage engine. |
Package labelsz supports ranking labels by # annotations of each type.
|
Package labelsz supports ranking labels by # annotations of each type. |
Package labelvol supports label-specific sparse volumes.
|
Package labelvol supports label-specific sparse volumes. |
Package multichan16 tailors the voxels data type for 16-bit fluorescent images with multiple channels that can be read from V3D Raw format.
|
Package multichan16 tailors the voxels data type for 16-bit fluorescent images with multiple channels that can be read from V3D Raw format. |
Package roi implements DVID support for Region-Of-Interest operations.
|
Package roi implements DVID support for Region-Of-Interest operations. |