com.google.code.kaptcha.impl
Class NoNoise
java.lang.Object
com.google.code.kaptcha.util.Configurable
com.google.code.kaptcha.impl.NoNoise
- All Implemented Interfaces:
- NoiseProducer
public class NoNoise
- extends Configurable
- implements NoiseProducer
Imlemention of NoiseProducer that does nothing.
- Author:
- Yuxing Wang
|
Method Summary |
void |
makeNoise(BufferedImage image,
float factorOne,
float factorTwo,
float factorThree,
float factorFour)
Adds noise to an image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoNoise
public NoNoise()
makeNoise
public void makeNoise(BufferedImage image,
float factorOne,
float factorTwo,
float factorThree,
float factorFour)
- Description copied from interface:
NoiseProducer
- Adds noise to an image. It uses four factor values to determine the noise
curve.
- Specified by:
makeNoise in interface NoiseProducer
- Parameters:
image - the image to add the noise to
Copyright © 2013. All rights reserved.