类 TrafficLightUtils
- java.lang.Object
-
- com.litongjava.opencv.utils.TrafficLightUtils
-
public class TrafficLightUtils extends Object
-
-
构造器概要
构造器 构造器 说明 TrafficLightUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static org.opencv.core.MatconvertLight(org.opencv.core.Mat src, DebugInfo debugInfo)加权亮度,小于加权转为黑色static TrafficLightindex(byte[] imageBytes, DebugInfo debugInfo)
-
-
-
方法详细资料
-
index
public static TrafficLight index(byte[] imageBytes, DebugInfo debugInfo) throws IOException
- 抛出:
IOException
-
convertLight
public static org.opencv.core.Mat convertLight(org.opencv.core.Mat src, DebugInfo debugInfo) throws IOException加权亮度,小于加权转为黑色- 参数:
debugInfo-src-rows-cols-- 返回:
- 抛出:
IOException
-
-