Versions in this module Expand all Collapse all v0 v0.8.18 Jul 18, 2018 Changes in this version + func GetLabelSizes(d dvid.Data, v dvid.VersionID, labels []uint64, isSupervoxel bool) ([]uint64, error) type Data + func (d *Data) GetSupervoxels(v dvid.VersionID, label uint64) (labels.Set, error) type SVMap + func (svm *SVMap) SupervoxelSplitsJSON(v dvid.VersionID) (string, error) v0.8.17 Apr 21, 2018 Changes in this version + const KVWriteSize + const RepoURL + const TypeName + const Version + var DefaultBlockSize int32 = 64 + var DefaultRes float32 = imageblk.DefaultRes + var DefaultUnits = imageblk.DefaultUnits + func ChangeLabelIndex(d dvid.Data, v dvid.VersionID, label uint64, delta labels.SupervoxelChanges) error + func CleaveIndex(d dvid.Data, v dvid.VersionID, op labels.CleaveOp) error + func DecodeAffinitiesTKey(tk storage.TKey) (label uint64, err error) + func DecodeBlockTKey(tk storage.TKey) (scale uint8, idx *dvid.IndexZYX, err error) + func DecodeLabelIndexTKey(tk storage.TKey) (label uint64, err error) + func DeleteLabelIndex(d dvid.Data, v dvid.VersionID, label uint64) error + func EncodeFormat() dvid.DataValues + func GetBinaryData(compression string, in io.ReadCloser, estsize int64) ([]byte, error) + func GetBoundedIndex(d dvid.Data, v dvid.VersionID, label uint64, bounds dvid.Bounds, ...) (*labels.Index, error) + func GetLabelIndex(d dvid.Data, v dvid.VersionID, label uint64, isSupervoxel bool) (*labels.Index, error) + func GetLabelSize(d dvid.Data, v dvid.VersionID, label uint64, isSupervoxel bool) (uint64, error) + func GetMultiLabelIndex(d dvid.Data, v dvid.VersionID, lbls labels.Set, bounds dvid.Bounds) (*labels.Index, error) + func GetSupervoxelBlocks(d dvid.Data, v dvid.VersionID, supervoxel uint64) (dvid.IZYXSlice, error) + func NewAffinitiesTKey(label uint64) storage.TKey + func NewBlockTKey(scale uint8, idx dvid.Index) storage.TKey + func NewBlockTKeyByCoord(scale uint8, izyx dvid.IZYXString) storage.TKey + func NewLabelIndexTKey(label uint64) storage.TKey + func PutLabelIndex(d dvid.Data, v dvid.VersionID, label uint64, idx *labels.Index) error + func SplitSupervoxelIndex(d dvid.Data, v dvid.VersionID, op labels.SplitSupervoxelOp) (dvid.IZYXSlice, error) + func ZeroBytes() []byte + type Data struct + IndexedLabels bool + MaxDownresLevel uint8 + MaxLabel map[dvid.VersionID]uint64 + MaxRepoLabel uint64 + func GetByDataUUID(dataUUID dvid.UUID) (*Data, error) + func GetByUUIDName(uuid dvid.UUID, name dvid.InstanceName) (*Data, error) + func GetByVersionName(v dvid.VersionID, name dvid.InstanceName) (*Data, error) + func NewData(uuid dvid.UUID, id dvid.InstanceID, name dvid.InstanceName, c dvid.Config) (*Data, error) + func (d *Data) AnyScaleUpdating() bool + func (d *Data) BlockSize() dvid.Point + func (d *Data) CleaveLabel(v dvid.VersionID, label uint64, r io.ReadCloser) (cleaveLabel uint64, err error) + func (d *Data) CopyPropertiesFrom(src datastore.DataService, fs storage.FilterSpec) error + func (d *Data) CreateCompositeChunk(chunk *storage.Chunk) error + func (d *Data) DoRPC(req datastore.Request, reply *datastore.Response) error + func (d *Data) Equals(d2 *Data) bool + func (d *Data) Extents() *dvid.Extents + func (d *Data) FoundSparseVol(ctx *datastore.VersionedCtx, label uint64, bounds dvid.Bounds, ...) (bool, error) + func (d *Data) GetImage(v dvid.VersionID, vox *Labels, supervoxels bool, scale uint8, ...) (*dvid.Image, error) + func (d *Data) GetLabelAtPoint(v dvid.VersionID, pt dvid.Point) (uint64, error) + func (d *Data) GetLabelAtScaledPoint(v dvid.VersionID, pt dvid.Point, scale uint8, supervoxels bool) (uint64, error) + func (d *Data) GetLabelBlock(v dvid.VersionID, bcoord dvid.ChunkPoint3d, scale uint8) (*labels.Block, error) + func (d *Data) GetLabelBytes(v dvid.VersionID, bcoord dvid.ChunkPoint3d) ([]byte, error) + func (d *Data) GetLabelBytesWithScale(v dvid.VersionID, bcoord dvid.ChunkPoint3d, scale uint8, supervoxels bool) ([]byte, error) + func (d *Data) GetLabels(v dvid.VersionID, supervoxels bool, scale uint8, vox *Labels, r *imageblk.ROI) error + func (d *Data) GetMappedLabels(v dvid.VersionID, supervoxels []uint64) ([]uint64, error) + func (d *Data) GetMaxDownresLevel() uint8 + func (d *Data) GetSparseCoarseVol(ctx *datastore.VersionedCtx, label uint64, bounds dvid.Bounds, ...) ([]byte, error) + func (d *Data) GetSupervoxelAtPoint(v dvid.VersionID, pt dvid.Point) (uint64, error) + func (d *Data) GetVolume(v dvid.VersionID, vox *Labels, supervoxels bool, scale uint8, ...) ([]byte, error) + func (d *Data) GobDecode(b []byte) error + func (d *Data) GobEncode() ([]byte, error) + func (d *Data) InitDataHandlers() error + func (d *Data) Initialize() + func (d *Data) LoadImages(v dvid.VersionID, offset dvid.Point, filenames []string) error + func (d *Data) LoadMutable(root dvid.VersionID, storedVersion, expectedVersion uint64) (bool, error) + func (d *Data) MarshalJSON() ([]byte, error) + func (d *Data) MarshalJSONExtents(ctx *datastore.VersionedCtx) ([]byte, error) + func (d *Data) MergeLabels(v dvid.VersionID, op labels.MergeOp) error + func (d *Data) NewLabel(v dvid.VersionID) (uint64, error) + func (d *Data) NewLabels(geom dvid.Geometry, img interface{}) (*Labels, error) + func (d *Data) PushData(p *datastore.PushSession) error + func (d *Data) PutLabels(v dvid.VersionID, subvol *dvid.Subvolume, data []byte, ...) error + func (d *Data) ReadChunk(chunk *storage.Chunk) error + func (d *Data) ReceiveBlocks(ctx *datastore.VersionedCtx, r io.ReadCloser, scale uint8, downscale bool, ...) error + func (d *Data) ScaleUpdating(scale uint8) bool + func (d *Data) SendBlocks(ctx *datastore.VersionedCtx, w http.ResponseWriter, supervoxels bool, ...) error + func (d *Data) ServeHTTP(uuid dvid.UUID, ctx *datastore.VersionedCtx, w http.ResponseWriter, ...) + func (d *Data) SetResolution(uuid dvid.UUID, jsonBytes []byte) error + func (d *Data) Shutdown(wg *sync.WaitGroup) + func (d *Data) SplitLabels(v dvid.VersionID, fromLabel uint64, r io.ReadCloser) (toLabel uint64, err error) + func (d *Data) SplitSupervoxel(v dvid.VersionID, svlabel uint64, r io.ReadCloser) (splitSupervoxel, remainSupervoxel uint64, err error) + func (d *Data) StartScaleUpdate(scale uint8) + func (d *Data) StopScaleUpdate(scale uint8) + func (d *Data) StoreDownres(v dvid.VersionID, hiresScale uint8, hires downres.BlockMap) (downres.BlockMap, error) + func (d *Data) WriteSparseCoarseVols(ctx *datastore.VersionedCtx, w io.Writer, begLabel, endLabel uint64, ...) error + type IngestedBlock struct + BCoord dvid.IZYXString + Data *labels.Block + MutID uint64 + type Labels struct + func (l *Labels) Interpolable() bool + func (l *Labels) String() string + func (v *Labels) ComputeTransform(tkey storage.TKey, blockSize dvid.Point) (blockBeg, dataBeg, dataEnd dvid.Point, err error) + type MutatedBlock struct + BCoord dvid.IZYXString + Data *labels.Block + MutID uint64 + Prev *labels.Block + type SVMap struct + func (svm *SVMap) MappedLabel(v dvid.VersionID, label uint64) (uint64, bool) + func (svm *SVMap) MappedLabels(v dvid.VersionID, supervoxels []uint64) ([]uint64, error) + type SparseVolFormat uint8 + const FormatBinaryBlocks + const FormatLegacyRLE + const FormatStreamingRLE + type Type struct + func (dtype *Type) Help() string + func (dtype *Type) NewDataService(uuid dvid.UUID, id dvid.InstanceID, name dvid.InstanceName, c dvid.Config) (datastore.DataService, error)