public class PixelUtils extends Object
public static int RgbToGray(int r, int g, int b)
public static int RgbToGray(int xrgb)
public static int NonPretoPre(int nonpre, int alpha)
public static int PreToNonPre(int pre, int alpha)
public static int NonPretoPre(int nonpre)
public static int PretoNonPre(int pre)
public static BytePixelGetter getByteGetter(PixelFormat<ByteBuffer> pf)
public static IntPixelGetter getIntGetter(PixelFormat<IntBuffer> pf)
public static <T extends Buffer> PixelGetter<T> getGetter(PixelFormat<T> pf)
public static BytePixelSetter getByteSetter(WritablePixelFormat<ByteBuffer> pf)
public static IntPixelSetter getIntSetter(WritablePixelFormat<IntBuffer> pf)
public static <T extends Buffer> PixelSetter<T> getSetter(WritablePixelFormat<T> pf)
public static <T extends Buffer,U extends Buffer> PixelConverter<T,U> getConverter(PixelGetter<T> src, PixelSetter<U> dst)
public static ByteToBytePixelConverter getB2BConverter(PixelGetter<ByteBuffer> src, PixelSetter<ByteBuffer> dst)
public static ByteToIntPixelConverter getB2IConverter(PixelGetter<ByteBuffer> src, PixelSetter<IntBuffer> dst)
public static IntToBytePixelConverter getI2BConverter(PixelGetter<IntBuffer> src, PixelSetter<ByteBuffer> dst)
public static IntToIntPixelConverter getI2IConverter(PixelGetter<IntBuffer> src, PixelSetter<IntBuffer> dst)
Copyright © 2020. All rights reserved.