org.broadleafcommerce.openadmin.server.service.artifact.image.effects.chain.filter
Class AutoLevelsRGB
java.lang.Object
org.broadleafcommerce.openadmin.server.service.artifact.image.effects.chain.filter.BaseFilter
org.broadleafcommerce.openadmin.server.service.artifact.image.effects.chain.filter.AutoLevelsRGB
- All Implemented Interfaces:
- BufferedImageOp, OperationBuilder
public class AutoLevelsRGB
- extends BaseFilter
This filter is based conceptually on the auto-levels feature of Photoshop and functions in the same way.
The filter automatically adjusts tonal range for problem photographs, making sure the tones are
equally distributed from black to white. Note, a marginal clipping does occur at the highs and lows to account
for aberrant pixels in those quadrants that might erroneously effect the calculation.
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoLevelsRGB
public AutoLevelsRGB()
AutoLevelsRGB
public AutoLevelsRGB(RenderingHints hints)
main
public static void main(String[] args)
buildOperation
public Operation buildOperation(Map<String,String> parameterMap,
InputStream artifactStream,
String mimeType)
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
Copyright © 2013. All Rights Reserved.