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
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
Image Analyst 2013-4-11
It reads in three files into arrays.
  1 个评论
Ahmed A. Selman
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 CenterFile Exchange 中查找有关 Programming Utilities 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by