public final class BlockPMCC extends Object
integral images
.Constructor and Description |
---|
BlockPMCC(ij.process.FloatProcessor fpX,
ij.process.FloatProcessor fpY)
Two loops because fpX and fpY can have different dimensions.
|
BlockPMCC(ij.process.FloatProcessor fpX,
ij.process.FloatProcessor fpY,
int offsetX,
int offsetY)
Two loops because fpX and fpY can have different dimensions.
|
BlockPMCC(int width,
int height,
ij.process.FloatProcessor fpX,
ij.process.FloatProcessor fpY)
Special case constructor for fpX and fpY having equal dimensions.
|
BlockPMCC(int width,
int height,
ij.process.FloatProcessor fpX,
ij.process.FloatProcessor fpY,
int offsetX,
int offsetY)
Special case constructor for fpX and fpY having equal dimensions.
|
Modifier and Type | Method and Description |
---|---|
ij.process.FloatProcessor |
getTargetProcessor() |
void |
r(int blockRadius) |
void |
r(int blockRadiusX,
int blockRadiusY)
Set all pixels in
ip to their block PMCC
rXY for the current offset with given radius. |
void |
rSignedSquare(int blockRadius) |
void |
rSignedSquare(int blockRadiusX,
int blockRadiusY)
Set all pixels in
ip to their signed square block PMCC
rXY2 for the current offset with given
radius. |
void |
setOffset(int offsetX,
int offsetY)
Set the offset and re-calculate sumsXY respectively.
|
public BlockPMCC(int width, int height, ij.process.FloatProcessor fpX, ij.process.FloatProcessor fpY)
Note, that this constructor does not initialize ΣXY. That has
to be done for a specified offset through setOffset(int, int)
afterwards.
width
- height
- fpX
- fpY
- public BlockPMCC(int width, int height, ij.process.FloatProcessor fpX, ij.process.FloatProcessor fpY, int offsetX, int offsetY)
width
- height
- fpX
- source (moving)fpY
- targetoffsetX
- source x offset relative to targetoffsetY
- source y offset relative to targetpublic BlockPMCC(ij.process.FloatProcessor fpX, ij.process.FloatProcessor fpY)
Note, that this constructor does not initialize ΣXY. That has
to be done for a specified offset through setOffset(int, int)
afterwards.
fpX
- fpY
- public BlockPMCC(ij.process.FloatProcessor fpX, ij.process.FloatProcessor fpY, int offsetX, int offsetY)
fpX
- source (moving)fpY
- targetoffsetX
- source x offset relative to targetoffsetY
- source y offset relative to targetpublic final ij.process.FloatProcessor getTargetProcessor()
public final void setOffset(int offsetX, int offsetY)
offsetX
- offsetY
- public final void r(int blockRadiusX, int blockRadiusY)
ip
to their block PMCC
rXY for the current offset with given radius.blockRadiusX
- blockRadiusY
- public final void r(int blockRadius)
public final void rSignedSquare(int blockRadiusX, int blockRadiusY)
ip
to their signed square block PMCC
rXY2 for the current offset with given
radius.blockRadiusX
- blockRadiusY
- public final void rSignedSquare(int blockRadius)
Copyright © 2015–2021 Fiji. All rights reserved.