Documentation ¶
Index ¶
- func BilinearScale(src image.Image, dstWidth, dstHeight int) *image.RGBA
- func GenerateFromImage(ctx context.Context, cfg *config.Config, imagePath string, index int, ...) error
- func GeneratePattern(ctx context.Context, cfg *config.Config, camo config.CamoColors, index int, ...) error
- type BlobGenerator
- type BoxGenerator
- type Generator
- type ImageGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BilinearScale ¶
BilinearScale performs bilinear interpolation to resize an image
func GenerateFromImage ¶
Types ¶
type BlobGenerator ¶
type BlobGenerator struct{}
type BoxGenerator ¶
type BoxGenerator struct{}
Click to show internal directories.
Click to hide internal directories.