资源简介

夜间车辆检测视频,实现基于视频的夜间,光线不稳定因素的道路交通视频检测

资源截图

代码片段和文件信息

#include “FloodFill.h“

void changeColor(Mat &imgPoint point Scalar replacementColor)
{
    img.at(point.y3*point.x)=replacementColor(0);
    img.at(point.y3*point.x+1)=replacementColor(1);
    img.at(point.y3*point.x+2)=replacementColor(2);

}
void floodFill(Mat &imgvector ®ionPoint startPointScalar targetColorScalar replacementColor)
{
    Scalar nodeColor=Scalar(static_cast(img.at(startPoint.y3*startPoint.x))static_cast(img.at(startPoint.y3*startPoint.x+1))static_cast(img.at(startPoint.y3*startPoint.x+2)));
    if(nodeColor==replacementColor)
        return;
    if(nodeColor!=targetColor)
        return;
    changeColor(imgstartPointreplacementColor);
    if(startPoint.x+1        floodFill(img

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-04-25 06:44  NighttimeVehicleDetection-master\
     目录           0  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\
     文件        4736  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\BlackBoard.o
     文件        2726  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\FloodFill.cpp
     文件         508  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\FloodFill.h
     文件       25488  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\FloodFill.o
     文件         381  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\LightRecognition.cpp
     文件         200  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\LightRecognition.h
     文件       29696  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\LightRecognition.o
     文件        1606  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\PreProcess.cpp
     文件        1213  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\PreProcess.h
     文件       16816  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\PreProcess.o
     目录           0  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Representation\
     文件          41  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Representation\Blackboard.cpp
     文件         138  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Representation\Blackboard.h
     文件         211  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Representation\MyImage.h
     目录           0  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Tools\
     文件        4436  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\Tools\Vector2.h
     文件      103784  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\main
     文件        1971  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\main.cpp
     文件         508  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\makefile
     文件         998  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\mouseControl.cpp
     文件         284  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\mouseControl.h
     文件        1939  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\ourarea.cpp
     文件         944  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\ourarea.h
     文件        6372  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\ourarea.o
     文件        5851  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\robot.jpg
     文件        7763  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\scanLight.cpp
     文件         393  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\scanLight.h
     文件       46828  2016-04-25 06:44  NighttimeVehicleDetection-master\NightTimeDetection\scanLight.o
     文件         139  2016-04-25 06:44  NighttimeVehicleDetection-master\README.md
............此处省略0个文件信息

评论

共有 条评论