Documentation
¶
Index ¶
- Variables
- func NewRGBAImageFromRegionInLevel(osr *C.openslide_t, level int, x, y, width, height int64) (*image.RGBA, error)
- type KVPair
- type WSI
- func (wsi *WSI) Close()
- func (wsi *WSI) GetLevelCount() int
- func (wsi *WSI) GetLevelDimensions(level int) (int64, int64, error)
- func (wsi *WSI) GetLevelDownsample(level int) float64
- func (wsi *WSI) GetPropertyKVPairs() []KVPair
- func (wsi *WSI) GetPropertyNames() []string
- func (wsi *WSI) GetPropertyValue(name string) string
- func (wsi *WSI) ReadRegion(level int, x int64, y int64, w int64, h int64) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var NOT_FOUND_ERROR = fmt.Errorf("OpenSlideErr: Not Found")
View Source
var NOT_FOUND_OR_SUPPORTED_ERROR = fmt.Errorf("OpenSlideErr: Format or File Not Supported or Found!")
View Source
var NOT_SUPPORTED_ERROR = fmt.Errorf("OpenSlideErr: Format Not Supported")
Functions ¶
Types ¶
type WSI ¶
type WSI struct {
// contains filtered or unexported fields
}
func (*WSI) GetLevelCount ¶ added in v0.0.5
func (*WSI) GetLevelDimensions ¶ added in v0.0.5
func (*WSI) GetLevelDownsample ¶ added in v0.0.5
func (*WSI) GetPropertyKVPairs ¶ added in v0.0.6
func (*WSI) GetPropertyNames ¶ added in v0.0.6
func (*WSI) GetPropertyValue ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.