|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devs.visionpackage.org.cmotch.visionlibrary.ColorManipulation
public class ColorManipulation
Color manipulation class
Constructor Summary | |
---|---|
ColorManipulation()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
Binarization(java.awt.image.BufferedImage image)
Take the input image and output it in black and white (Binarization) |
static java.awt.image.BufferedImage |
grayscale(java.awt.image.BufferedImage image)
Take the input image and output it in grayscale by adjusting the colorspace |
static java.awt.image.BufferedImage |
grayscaleSimple(java.awt.image.BufferedImage image)
Take the input image and output it in grayscale by adjusting the colorspace (More Efficent) |
static java.awt.image.BufferedImage |
removeBinaryNoise(java.awt.image.BufferedImage inputImage)
Remove binary noise from a binary image by checking the current pixel and the surronding pixels, if all the surronding pixels are black and the center pixel is white, it is deemed noise and set to black |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorManipulation()
Method Detail |
---|
public static java.awt.image.BufferedImage grayscale(java.awt.image.BufferedImage image)
image
- BufferedImage
public static java.awt.image.BufferedImage grayscaleSimple(java.awt.image.BufferedImage image)
image
- BufferedImage
public static java.awt.image.BufferedImage Binarization(java.awt.image.BufferedImage image)
image
- BufferedImage
public static java.awt.image.BufferedImage removeBinaryNoise(java.awt.image.BufferedImage inputImage)
inputImage1
- BufferedImage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |