org.opencv.core.Range.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(156)

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

Range.<init>介绍

暂无

代码示例

代码示例来源:origin: RaiMan/SikuliX2

public Element next() {
 Element match = null;
 if (hasNext()) {
  match = new Element(new Element(currentX + offX, currentY + offY, target.w, target.h), currentScore);
  int margin = getPurgeMargin();
  Range rangeX = new Range(Math.max(currentX - margin, 0), currentX + 1);
  Range rangeY = new Range(Math.max(currentY - margin, 0), currentY + 1);
  result.colRange(rangeX).rowRange(rangeY).setTo(new Scalar(0f));
 }
 return match;
}

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

public Range clone() {
  return new Range(start, end);
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

代码示例来源:origin: KePeng1019/SmartPaperScan

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

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

public Range intersection(Range r1) {
  Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end));
  r.end = Math.max(r.end, r.start);
  return r;
}

相关文章