baidut / OpenVehicleVision

An opensource lib. for vehicle vision applications (written by MATLAB), lane marking detection, road segmentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imdump

baidut opened this issue · comments

imdump has been removed, use exDebugger instead

按照调试级别选择性地输出图片结果
如果是图像句柄,则打印
如果是图像数据,则imwrite

可选:
保存路径
保存格式:eps,jpg有损,png
压缩图片大小

调试级别

% 'displayLevel'   -  determine how much information to be displayed. (default is 1)
%                     0 : no display, only output result to file (release)
%                     1 : errors
%                     2 : + warnings
%                     3 : + show main figure (debug, time consuming)
%                     4 : + output intermediate results (when encountering bugs)
%                     5 : + progression (progressbar)
%                     6 : + information (disp more information)

global dumpLevel;
global saveEps;
global dumpPath;

mkdir('results');
dumpPath = '.\results';
dumpLevel = 1;
saveEps = true;%false;