| Constructor and Description |
|---|
AbstractImgHash() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
bitmaskToHex(boolean[] bitMask,
int _minLen)
Converts a bitmask (array of boolean) to a hex string.
|
protected int[] |
createPixelArray(BufferedImage _image)
Convert the given image to an array of integer, where each array entry represents one pixel.
|
protected double[][] |
createPixelArrayMatrix(BufferedImage _image)
Creates a pixel array matrix from the given image.
|
protected BufferedImage |
resizeAndGrayScale(int _width,
int _height,
BufferedImage _input)
Convert the given image to grayscale and resize it to the given scale.
|
protected int[] createPixelArray(BufferedImage _image)
_image - imageprotected double[][] createPixelArrayMatrix(BufferedImage _image)
_image - imageprotected BufferedImage resizeAndGrayScale(int _width, int _height, BufferedImage _input)
BufferedImage instance._width - width_height - heigth_input - input imageBufferedImage or null if _input is nullprotected String bitmaskToHex(boolean[] bitMask, int _minLen)
bitMask - mask_minLen - lengthCopyright © 2019. All rights reserved.