Package one.empty3.feature.myfacedetect
Class WeightingFunction
- java.lang.Object
-
- one.empty3.feature.M
-
- one.empty3.feature.PixM
-
- one.empty3.feature.FilterPixM
-
- one.empty3.feature.myfacedetect.WeightingFunction
-
- All Implemented Interfaces:
InterfaceMatrix
public class WeightingFunction extends FilterPixM
-
-
Field Summary
-
Fields inherited from class one.empty3.feature.FilterPixM
NORM_CUSTOM, NORM_FLOOR_0, NORM_FLOOR_1, NORM_MAX, NORM_MEAN, NORM_NONE
-
Fields inherited from class one.empty3.feature.PixM
COMP_ALPHA, COMP_BLUE, COMP_GREEN, COMP_INTENSITY, COMP_RED
-
-
Constructor Summary
Constructors Constructor Description WeightingFunction(int l, int c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
filter(double x, double y)
void
generatePixels()
-
Methods inherited from class one.empty3.feature.FilterPixM
getNormalize, setNormalize
-
Methods inherited from class one.empty3.feature.PixM
applyFilter, colorsRegion, colorsRegion, colorsRegionWithMask, copy, copySubImage, derivative, difference, distance, distance, equals, fillIn, getColorsRegion, getColumns, getImage, getLines, getPixM, getRgb, luminance, mean, normalize, normalize, norme, paintAll, pasteSubImage, pasteSubImage, plotCurve, plotCurveRaw, replaceColor, subSampling
-
Methods inherited from class one.empty3.feature.M
CoFactor, diag, diag, diagonalSum, error, get, getColor, getCompCount, getCompNo, getIntensity, getOpValue, getP, getValues, getVector, index, init, op, operator, plus, repmat, set, set, setColumns, setCompNo, setLines, setP, setRegionCopy, setRegionCopy, setRegionCopy, setValues, tild, trace
-
-
-
-
Method Detail
-
filter
public double filter(double x, double y)
- Specified by:
filter
in classFilterPixM
-
generatePixels
public void generatePixels()
-
-