public final class KernelApplicationParameters extends Object
Kernel
to a BinaryVoxels
.Constructor and Description |
---|
KernelApplicationParameters(OutsideKernelPolicy outsideKernelPolicy,
boolean useZ) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
OutsideKernelPolicy |
getOutsideKernelPolicy()
How to handle voxels that appear in a neighborhood that lies outside the scene boundaries.
|
int |
hashCode() |
boolean |
isIgnoreOutside()
When true, any parts of the neighborhood that lie outside the scene are not considered in
kernel neighborhoods.
|
boolean |
isOutsideOffUnignored()
True only when voxels outside the scene should not be ignored and considered as
off.
|
boolean |
isOutsideOn()
In cases where
isIgnoreOutside() is false, then whether to treat voxels that lie
outside the scene as on (if true) or off (if false). |
boolean |
isOutsideOnUnignored()
True only when voxels outside the scene should not be ignored and considered as
on.
|
boolean |
isUseZ()
Whether to additionally apply the kernel along the Z dimension, as well as X and Y?
|
String |
toString() |
public KernelApplicationParameters(OutsideKernelPolicy outsideKernelPolicy, boolean useZ)
public boolean isIgnoreOutside()
public boolean isOutsideOn()
isIgnoreOutside()
is false, then whether to treat voxels that lie
outside the scene as on (if true) or off (if false).public boolean isOutsideOffUnignored()
public boolean isOutsideOnUnignored()
public OutsideKernelPolicy getOutsideKernelPolicy()
public boolean isUseZ()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.