Can you please explain the meaning for below code ..??
1 回表示 (過去 30 日間)
古いコメントを表示
function buildingDetection(inputFileName, outputFileName)
[imgFile, lidarFile, demFile, LPDx, LPDy, useEntropy, useAdjustment,useRefinement, useReduction] = readInputFile(inputFileName);
out = 'reading data ...';
[A, R, bbox] = geotiffread(imgFile);
[Ad, Rd, bboxd] = geotiffread(demFile);
fp = fopen(lidarFile, 'r');
ALS = fscanf(fp, '%f %f %f', [3 inf]);
fclose(fp);
ALS = ALS';
1 件のコメント
Jan
2013 年 4 月 11 日
It would be easier to answer, if you ask a specific question. Do you need an explanation for fopen() also and do you understand the quotes in 'r'?
回答 (1 件)
Image Analyst
2013 年 4 月 11 日
It reads in three files into arrays.
1 件のコメント
Ahmed A. Selman
2013 年 4 月 18 日
First two for reading images, last one for (maybe) a dat, or text file, from entry 3 to the end..
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!