필터 지우기
필터 지우기

Can you please explain the meaning for below code ..??

조회 수: 1 (최근 30일)
Rajat
Rajat 2013년 4월 11일
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에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by