Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Quadtree QuadtreeConfig `yaml:"Quadtree"` Encoding EncodingConfig `yaml:"Encoding"` Decoding DecodingConfig `yaml:"Decoding"` VisualizationConfig VisualizationConfig `yaml:"Visualization"` }
Config holds parameters that influence the partitioning and encoding process of the quadtree
func NewConfigFromBytes ¶
NewConfigFromBytes constructs a Config object from a YAML string
func NewConfigFromFile ¶
NewConfigFromFile constructs a Config object from a YAML file
type DecodingConfig ¶
type DecodingConfig struct { // Should the program run in parallel? Parallelism bool `yaml:"Parallelism"` }
type DeduplicateBlocksConfig ¶
type EncodingConfig ¶
type EncodingConfig struct { //Underlying archive format of the encoded file ArchiveFormat string `yaml:"ArchiveFormat"` // Should the program run in parallel? Parallelism bool `yaml:"Parallelism"` SkipOutOfBoundsBlocks SkipOutOfBoundsBlocksConfig `yaml:"SkipOutOfBoundsBlocks"` DeduplicateBlocks DeduplicateBlocksConfig `yaml:"DeduplicateBlocks"` }
type QuadtreeConfig ¶
type QuadtreeConfig struct { // Minimal similarity of base and upsampled image required to be a leaf SimilarityCutoff float64 `yaml:"SimilarityCutoff"` // Interpolation algorithm used to downsample base image DownsamplingInterpolator string `yaml:"DownsamplingInterpolator"` // Interpolation algorithm used to upsample downsampled image UpsamplingInterpolator string `yaml:"UpsamplingInterpolator"` }
type SkipOutOfBoundsBlocksConfig ¶
type SkipOutOfBoundsBlocksConfig struct { // Should blocks that are not visible be skipped during encoding? Enable bool `yaml:"Enable"` }
type VisualizationConfig ¶
type VisualizationConfig struct { // Should the visualizations be created? Enable bool `yaml:"Enable"` }
Click to show internal directories.
Click to hide internal directories.