megemini/millow/src does not have a README file
pub suberror ImageError {
ImageError(String)
}impl Show for ImageErrorpub(all) enum Augmentation {
Crop(Int, Int, Int, Int)
Resize(Int, Int)
FlipHorizontal
FlipVertical
Rotate(Double)
Brightness(Double)
Contrast(Double)
Gamma(Double)
NoiseGaussian(Double)
NoiseSaltPepper(Double)
ColorJitter(Double, Double, Double, Double)
}pub(all) enum BorderMode {
Replicate
Reflect
Wrap
Constant(Byte, Byte, Byte, Byte)
}fn Image::pixel_set(self : Image, y : Int, x : Int, r : Byte, g : Byte, b : Byte, a : Byte) -> Unit raise ImageErrorpub(all) struct PpmEncoder {
}impl Encoder for PpmEncoderpub struct RegionProps {
label : Int
area : Int
centroid : (Double, Double)
bbox : (Int, Int, Int, Int)
}fn affine_transform(img : Image, matrix : Array[Double], dst_h : Int, dst_w : Int, interp : Interp, mode? : BorderMode) -> Imagefn clamp_byte(v : Int) -> Bytefn clampd(v : Double, lo : Double, hi : Double) -> Doublefn clampi(v : Int, lo : Int, hi : Int) -> Intfn resize_to_cover(img : Image, min_h : Int, min_w : Int, interp : Interp) -> Image raise ImageErrorfn round_byte(v : Double) -> ByteA zero-FFI, cross-platform image-processing library for MoonBit.