public final class LongRGBIntegralImage extends Object implements IntegralImage
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected long[] |
sumB |
protected long[] |
sumG |
protected long[] |
sumR |
protected int |
w |
protected int |
w1 |
protected int |
width |
Constructor and Description |
---|
LongRGBIntegralImage(ij.process.ColorProcessor ip) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getScaledSum(int xMin,
int yMin,
int xMax,
int yMax,
float scale) |
int |
getSum(int xMin,
int yMin,
int xMax,
int yMax) |
int |
getWidth() |
void |
longSums(long[] sums,
int x,
int y)
Write the r,g,b sums at a specified
x,y location into a passed array with ≥3 fields.
|
void |
longSums(long[] sums,
int xMin,
int yMin,
int xMax,
int yMax)
Write the r,g,b sums in a specified rectangle
into a passed array with ≥3 fields.
|
protected final int width
protected final int height
protected final int w
protected final int w1
protected final long[] sumR
protected final long[] sumG
protected final long[] sumB
public final int getWidth()
getWidth
in interface IntegralImage
public final int getHeight()
getHeight
in interface IntegralImage
public final void longSums(long[] sums, int x, int y)
x
- y
- sums
- public final void longSums(long[] sums, int xMin, int yMin, int xMax, int yMax)
xMin
- yMin
- xMax
- yMax
- sums
- public final int getSum(int xMin, int yMin, int xMax, int yMax)
getSum
in interface IntegralImage
public final int getScaledSum(int xMin, int yMin, int xMax, int yMax, float scale)
getScaledSum
in interface IntegralImage
Copyright © 2015–2021 Fiji. All rights reserved.