Package gov.nih.mipav.model.algorithms
Class libdt.PatchBatchExtractor
java.lang.Object
gov.nih.mipav.model.algorithms.libdt.PatchBatchExtractor
- Enclosing class:
libdt
Class for extracting spatio-temporal patches (cubes) from a video (batch
mode). This extractor works in "batch" mode, where all patches extracted from
a video and stored. It is basically a wrapper around PatchExtractor, which
stores all the obtained patches. \sa PatchExtractor, PatchOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptioninvalid input: '<' offset to center of patch.invalid input: '<' all x-locations on step grid.invalid input: '<' all y-locations on step grid.invalid input: '<' vector of all patches, corresponding to loc.invalid input: '<' bounding box (x) for patch locations (top-left corner).invalid input: '<' bounding box (y) for patch locations.javax.vecmath.Point3iinvalid input: '<' coordinates of top-left of each patch.Vector<javax.vecmath.Point3i> invalid input: '<' patch options.Vector<javax.vecmath.Point3i> invalid input: '<' size of the video.invalid input: '<' coordinates of top-left of all patches.invalid input: '<' all z-locations on step grid.invalid input: '<' vector of all patches, corresponding to loc.javax.vecmath.Point3iinvalid input: '<' bounding box (z) for patch locations. -
Constructor Summary
ConstructorsConstructorDescriptionPatchBatchExtractor(libdt.Mat[] vid, libdt.PatchOptions patopt, libdt.Range box_z, libdt.Range box_y, libdt.Range box_x) invalid input: '<' mask for all patches. -
Method Summary
-
Field Details
-
patopt
-
loc
invalid input: '<' patch options. -
coff
public javax.vecmath.Point3i coffinvalid input: '<' coordinates of top-left of each patch. -
allx
invalid input: '<' offset to center of patch. -
ally
invalid input: '<' all x-locations on step grid. -
allz
invalid input: '<' all y-locations on step grid. -
patches
invalid input: '<' all z-locations on step grid. -
patchesall
invalid input: '<' vector of all patches, corresponding to loc. -
box_x
invalid input: '<' vector of all patches, corresponding to loc. -
box_y
invalid input: '<' bounding box (x) for patch locations (top-left corner). -
box_z
invalid input: '<' bounding box (y) for patch locations. -
vidsize
public javax.vecmath.Point3i vidsizeinvalid input: '<' bounding box (z) for patch locations. -
locall
invalid input: '<' size of the video. -
locall_mask
invalid input: '<' coordinates of top-left of all patches.
-
-
Constructor Details
-
PatchBatchExtractor
PatchBatchExtractor(libdt.Mat[] vid, libdt.PatchOptions patopt, libdt.Range box_z, libdt.Range box_y, libdt.Range box_x) invalid input: '<' mask for all patches.
-