org.opencv.core.Core.mean_1()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(6.8k)|赞(0)|评价(0)|浏览(217)

本文整理了Java中org.opencv.core.Core.mean_1()方法的一些代码示例,展示了Core.mean_1()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Core.mean_1()方法的具体详情如下:
包路径:org.opencv.core.Core
类名称:Core
方法名:mean_1

Core.mean_1介绍

暂无

代码示例

代码示例来源:origin: kongqw/OpenCVForAndroid

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: InnoFang/Android-Code-Demos

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: farkam135/GoIV

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: tz28/Chinese-number-gestures-recognition

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: leadrien/opencv_native_androidstudio

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: DuckDeck/AndroidDemo

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: imistyrain/EasyPR4Android

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: ctodobom/OpenCV-3.1.0-Android

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: akshika47/OpencvAndroid

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: nroduit/Weasis

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: raulh82vlc/Image-Detection-Samples

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: SOFTPOWER1991/OpenCVCheck

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: SouvDc/face-detection

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: hschott/Camdroid

public static Scalar mean(Mat src)
{
  
  Scalar retVal = new Scalar(mean_1(src.nativeObj));
  
  return retVal;
}

代码示例来源:origin: com.sikulix/sikulixapi

/**
 * <p>Calculates an average (mean) of array elements.</p>
 *
 * <p>The function <code>mean</code> calculates the mean value <code>M</code> of
 * array elements, independently for each channel, and return it:</p>
 *
 * <p><em>N = sum(by: I: mask(I) != 0) 1
 * M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N </em></p>
 *
 * <p>When all the mask elements are 0's, the functions return <code>Scalar.all(0)</code>.</p>
 *
 * @param src input array that should have from 1 to 4 channels so that the
 * result can be stored in "Scalar_".
 *
 * @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mean">org.opencv.core.Core.mean</a>
 * @see org.opencv.core.Core#countNonZero
 * @see org.opencv.core.Core#meanStdDev
 * @see org.opencv.core.Core#norm
 * @see org.opencv.core.Core#minMaxLoc
 */
  public static Scalar mean(Mat src)
  {

    Scalar retVal = new Scalar(mean_1(src.nativeObj));

    return retVal;
  }

代码示例来源:origin: abhn/marvel

/**
 * <p>Calculates an average (mean) of array elements.</p>
 *
 * <p>The function <code>mean</code> calculates the mean value <code>M</code> of
 * array elements, independently for each channel, and return it:</p>
 *
 * <p><em>N = sum(by: I: mask(I) != 0) 1
 * M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N </em></p>
 *
 * <p>When all the mask elements are 0's, the functions return <code>Scalar.all(0)</code>.</p>
 *
 * @param src input array that should have from 1 to 4 channels so that the
 * result can be stored in "Scalar_".
 *
 * @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mean">org.opencv.core.Core.mean</a>
 * @see org.opencv.core.Core#countNonZero
 * @see org.opencv.core.Core#meanStdDev
 * @see org.opencv.core.Core#norm
 * @see org.opencv.core.Core#minMaxLoc
 */
  public static Scalar mean(Mat src)
  {

    Scalar retVal = new Scalar(mean_1(src.nativeObj));

    return retVal;
  }

代码示例来源:origin: nu.pattern/opencv

/**
 * <p>Calculates an average (mean) of array elements.</p>
 *
 * <p>The function <code>mean</code> calculates the mean value <code>M</code> of
 * array elements, independently for each channel, and return it:</p>
 *
 * <p><em>N = sum(by: I: mask(I) != 0) 1
 * M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N </em></p>
 *
 * <p>When all the mask elements are 0's, the functions return <code>Scalar.all(0)</code>.</p>
 *
 * @param src input array that should have from 1 to 4 channels so that the
 * result can be stored in "Scalar_".
 *
 * @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mean">org.opencv.core.Core.mean</a>
 * @see org.opencv.core.Core#countNonZero
 * @see org.opencv.core.Core#meanStdDev
 * @see org.opencv.core.Core#norm
 * @see org.opencv.core.Core#minMaxLoc
 */
  public static Scalar mean(Mat src)
  {

    Scalar retVal = new Scalar(mean_1(src.nativeObj));

    return retVal;
  }

代码示例来源:origin: ytai/IOIOPlotter

/**
 * <p>Calculates an average (mean) of array elements.</p>
 *
 * <p>The function <code>mean</code> calculates the mean value <code>M</code> of
 * array elements, independently for each channel, and return it:</p>
 *
 * <p><em>N = sum(by: I: mask(I) != 0) 1
 * M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N </em></p>
 *
 * <p>When all the mask elements are 0's, the functions return <code>Scalar.all(0)</code>.</p>
 *
 * @param src input array that should have from 1 to 4 channels so that the
 * result can be stored in "Scalar_".
 *
 * @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mean">org.opencv.core.Core.mean</a>
 * @see org.opencv.core.Core#countNonZero
 * @see org.opencv.core.Core#meanStdDev
 * @see org.opencv.core.Core#norm
 * @see org.opencv.core.Core#minMaxLoc
 */
  public static Scalar mean(Mat src)
  {

    Scalar retVal = new Scalar(mean_1(src.nativeObj));

    return retVal;
  }

代码示例来源:origin: jtsky/EasyPR_Android

/**
 * <p>Calculates an average (mean) of array elements.</p>
 *
 * <p>The function <code>mean</code> calculates the mean value <code>M</code> of
 * array elements, independently for each channel, and return it:</p>
 *
 * <p><em>N = sum(by: I: mask(I) != 0) 1
 * M_c = (sum(by: I: mask(I) != 0)(mtx(I)_c))/N </em></p>
 *
 * <p>When all the mask elements are 0's, the functions return <code>Scalar.all(0)</code>.</p>
 *
 * @param src input array that should have from 1 to 4 channels so that the
 * result can be stored in "Scalar_".
 *
 * @see <a href="http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#mean">org.opencv.core.Core.mean</a>
 * @see org.opencv.core.Core#countNonZero
 * @see org.opencv.core.Core#meanStdDev
 * @see org.opencv.core.Core#norm
 * @see org.opencv.core.Core#minMaxLoc
 */
  public static Scalar mean(Mat src)
  {

    Scalar retVal = new Scalar(mean_1(src.nativeObj));

    return retVal;
  }

相关文章

Core类方法