org.neuroph.imgrec.image
Interface Image
-
- All Known Implementing Classes:
- ImageJ2SE
public interface ImageThis class is interface abstraction for images on J2SE (BufferedImage) and Android (Bitmap)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Imagecrop(int x1, int y1, int x2, int y2)intgetHeight()intgetPixel(int x, int y)int[]getPixels(int offset, int stride, int x, int y, int width, int height)intgetType()intgetWidth()Imageresize(int width, int height)voidsetPixel(int x, int y, int color)voidsetPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height)
-
-
-
Method Detail
-
getPixel
int getPixel(int x, int y)
-
setPixel
void setPixel(int x, int y, int color)
-
getPixels
int[] getPixels(int offset, int stride, int x, int y, int width, int height)
-
setPixels
void setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height)
-
getWidth
int getWidth()
-
getHeight
int getHeight()
-
resize
Image resize(int width, int height)
-
crop
Image crop(int x1, int y1, int x2, int y2)
-
getType
int getType()
-
-
DMelt 3.0 © DataMelt by jWork.ORG