org.apache.batik.extension.svg
public class BatikHistogramNormalizationFilter8Bit extends AbstractColorInterpolationRable implements BatikHistogramNormalizationFilter
Field Summary | |
---|---|
protected int[] | histo |
protected float | intercept |
protected float | slope |
Constructor Summary | |
---|---|
BatikHistogramNormalizationFilter8Bit(Filter src, float trim) |
Method Summary | |
---|---|
void | computeHistogram(RenderContext rc)
This method computes the histogram of the image and
from that the appropriate clipping points, which leads
to a slope and intercept for a LinearTransfer function
|
RenderedImage | createRendering(RenderContext rc) |
Filter | getSource()
Returns the source of the operation |
float | getTrim()
Returns the trim percent for this normalization. |
void | setSource(Filter src)
Sets the source of the operation |
void | setTrim(float trim)
Sets the trim percent for this normalization. |
Parameters: rc We get the set of rendering hints from rc.