Ejemplo n.º 1
0
 /// <summary>
 /// Create a HistogramPhaseUnwrapping instance
 /// </summary>
 /// <param name="width">Phase map width.</param>
 /// <param name="height">Phase map height.</param>
 /// <param name="histThresh">Bins in the histogram are not of equal size. Default value is 3*pi*pi. The one before "histThresh" value are smaller.</param>
 /// <param name="nbrOfSmallBins">Number of bins between 0 and "histThresh". Default value is 10.</param>
 /// <param name="nbrOfLargeBins">Number of bins between "histThresh" and 32*pi*pi (highest edge reliability value). Default value is 5.</param>
 public HistogramPhaseUnwrapping(
     int width          = 800,
     int height         = 600,
     float histThresh   = (float)(3 * Math.PI * Math.PI),
     int nbrOfSmallBins = 10,
     int nbrOfLargeBins = 5)
 {
     _ptr = PhaseUnwrappingInvoke.cveHistogramPhaseUnwrappingCreate(
         width,
         height,
         histThresh,
         nbrOfSmallBins,
         nbrOfLargeBins);
 }
Ejemplo n.º 2
0
 public HistogramPhaseUnwrapping(
     int width,
     int height,
     float histThresh,
     int nbrOfSmallBins,
     int nbrOfLargeBins)
 {
     _ptr = PhaseUnwrappingInvoke.cveHistogramPhaseUnwrappingCreate(
         width,
         height,
         histThresh,
         nbrOfSmallBins,
         nbrOfLargeBins);
 }