|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdevs.visionpackage.org.cmotch.visionlibrary.ImageManipulation
public class ImageManipulation
Class used for direct pixel by pixel manipulation on a buffered image
| Constructor Summary | |
|---|---|
ImageManipulation(java.awt.image.BufferedImage inputImg)
Constructor |
|
| Method Summary | |
|---|---|
int |
getbluePixel(int x,
int y)
Get blue pixel |
int |
getgreenPixel(int x,
int y)
Get green pixel |
java.awt.image.BufferedImage |
getImage()
Return image |
int |
getredPixel(int x,
int y)
Get Red Pixel |
int |
imgHeight()
Get Image height |
int |
imgWidth()
Get Image width |
void |
setBluePixel(int x,
int y,
int value)
Set blue pixel |
void |
setGreenPixel(int x,
int y,
int value)
Set green pixel |
void |
setRedPixel(int x,
int y,
int value)
Set red pixel |
void |
setRGBPixels(int x,
int y,
int r,
int g,
int b)
Set rgb pixel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageManipulation(java.awt.image.BufferedImage inputImg)
inputImg - BufferedImage| Method Detail |
|---|
public java.awt.image.BufferedImage getImage()
public int imgHeight()
public int imgWidth()
public int getredPixel(int x,
int y)
x - inty - int
public int getgreenPixel(int x,
int y)
x - inty - int
public int getbluePixel(int x,
int y)
x - inty - int
public void setRedPixel(int x,
int y,
int value)
x - inty - intvalue - int
public void setGreenPixel(int x,
int y,
int value)
x - inty - intvalue - int
public void setBluePixel(int x,
int y,
int value)
x - inty - intvalue - int
public void setRGBPixels(int x,
int y,
int r,
int g,
int b)
x - inty - intr - intg - intb - int
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||