Class libdt.PatchBatchExtractor

  • Enclosing class:
    libdt

    class libdt.PatchBatchExtractor
    extends java.lang.Object
    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

      Fields 
      Modifier and Type Field Description
      java.util.Vector<java.lang.Integer> allx
      < offset to center of patch.
      java.util.Vector<java.lang.Integer> ally
      < all x-locations on step grid.
      java.util.Vector<java.lang.Integer> allz
      < all y-locations on step grid.
      libdt.Range box_x
      < vector of all patches, corresponding to loc.
      libdt.Range box_y
      < bounding box (x) for patch locations (top-left corner).
      libdt.Range box_z
      < bounding box (y) for patch locations.
      javax.vecmath.Point3i coff
      < coordinates of top-left of each patch.
      java.util.Vector<javax.vecmath.Point3i> loc
      < patch options.
      java.util.Vector<javax.vecmath.Point3i> locall
      < size of the video.
      java.util.Vector<java.lang.Boolean> locall_mask
      < coordinates of top-left of all patches.
      java.util.Vector<libdt.Mat[]> patches
      < all z-locations on step grid.
      java.util.Vector<libdt.Mat[]> patchesall
      < vector of all patches, corresponding to loc.
      libdt.PatchOptions patopt  
      javax.vecmath.Point3i vidsize
      < bounding box (z) for patch locations.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • loc

        public java.util.Vector<javax.vecmath.Point3i> loc
        < patch options.
      • coff

        public javax.vecmath.Point3i coff
        < coordinates of top-left of each patch.
      • allx

        public java.util.Vector<java.lang.Integer> allx
        < offset to center of patch.
      • ally

        public java.util.Vector<java.lang.Integer> ally
        < all x-locations on step grid.
      • allz

        public java.util.Vector<java.lang.Integer> allz
        < all y-locations on step grid.
      • patches

        public java.util.Vector<libdt.Mat[]> patches
        < all z-locations on step grid.
      • patchesall

        public java.util.Vector<libdt.Mat[]> patchesall
        < vector of all patches, corresponding to loc.
      • box_x

        public libdt.Range box_x
        < vector of all patches, corresponding to loc.
      • box_y

        public libdt.Range box_y
        < bounding box (x) for patch locations (top-left corner).
      • box_z

        public libdt.Range box_z
        < bounding box (y) for patch locations.
      • vidsize

        public javax.vecmath.Point3i vidsize
        < bounding box (z) for patch locations.
      • locall

        public java.util.Vector<javax.vecmath.Point3i> locall
        < size of the video.
      • locall_mask

        public java.util.Vector<java.lang.Boolean> locall_mask
        < coordinates of top-left of all patches.