matlabでの車両認識
Show older comments
このサイトにある車両認識をやりたいんですけど、難しくて分かりません。
function [lidarData,imageData] = loadLidarAndImageData(initTime,finalTime)
initFrame = max(1,floor(initTime*10));
lastFrame = min(350,ceil(finalTime*10));
load ('imageData_35seconds.mat','allImageData');
imageData = allImageData(initFrame:lastFrame);
numFrames = lastFrame - initFrame + 1;
lidarData = cell(numFrames,1);
% Each file contains 70 frames.
initFileIndex = floor(initFrame/70) + 1;
lastFileIndex = ceil(lastFrame/70);
frameIndices = [1:70:numFrames numFrames + 1];
counter = 1;
for i = initFileIndex:lastFileIndex
startFrame = frameIndices(counter);
endFrame = frameIndices(counter + 1) - 1;
load(['lidarData_',num2str(i)],'currentLidarData');
lidarData(startFrame:endFrame) = currentLidarData(1:(endFrame + 1 - startFrame));
counter = counter + 1;
end
end
4行目の
load ('imageData_35seconds.mat','allImageData');
の部分に何が入るのか分かりません。画像データか、動画データか、どのような保存方法なのかも分かりません。
サイト内では、一番下のプログラムです。
Accepted Answer
More Answers (0)
Categories
Find more on セマンティック セグメンテーション in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!