Documentation ¶
Index ¶
- Constants
- func DownloadImage(url string) (path string, err error)
- func DownloadOrLoadImage(image1path string) (rgba *image.RGBA64, err error)
- func NewImage(file string) (rgba *image.RGBA64, err error)
- func RunDiffBatch(batchpath string, output string) (exitcode int, err error)
- type DiffBatch
- type DiffImage
- type DiffResult
- type DiffResults
- type DiffStats
Constants ¶
View Source
const ( KERNEL = 3 Threshold = 16 )
Variables ¶
This section is empty.
Functions ¶
func DownloadOrLoadImage ¶
DownloadOrLoadImage ...
Types ¶
type DiffImage ¶
type DiffImage struct { Image string `json:"img"` Baselines []string `json:"baselines"` TC string `json:"tc"` UUID string `json:"uuid"` }
DiffImage ...
type DiffResult ¶
type DiffResult struct { TC string `json:"tc"` UUID string `json:"uuid"` Stats DiffStats `json:"stats"` Err string `json:"err"` }
DiffResult ...
type DiffResults ¶
type DiffResults struct { Results []DiffResult `json:"results"` Elapsed string `json:"elapsed"` }
DiffResults ...
Click to show internal directories.
Click to hide internal directories.