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!