Example #1
0
 /// <summary>
 /// Create LATCH descriptor extractor
 /// </summary>
 /// <param name="bytes">The size of the descriptor - can be 64, 32, 16, 8, 4, 2 or 1</param>
 /// <param name="rotationInvariance">Whether or not the descriptor should compensate for orientation changes.</param>
 /// <param name="halfSsdSize">the size of half of the mini-patches size. For example, if we would like to compare triplets of patches of size 7x7x
 /// then the half_ssd_size should be (7-1)/2 = 3.</param>
 public LATCH(int bytes = 32, bool rotationInvariance = true, int halfSsdSize = 3)
 {
     _ptr = ContribInvoke.cveLATCHCreate(bytes, rotationInvariance, halfSsdSize, ref _feature2D);
 }