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

ColorImg

baidut opened this issue · comments

I = ColorImg('peppers.png');
subplot(221), imshow(I.B);
I.R = I.B;
subplot(222), imshow(I);
subplot(223), imshow(I(1:2:end,:,:));
subplot(224), imshow(I.G(1:2:end,:));

Some tips for internal code implementation

oop overwrite http://cn.mathworks.com/help/matlab/matlab_oop/class-with-modified-indexing.html