Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Rajat
Rajat el 11 de Abr. de 2013
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 comentario
Jan
Jan el 11 de Abr. de 2013
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'?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 11 de Abr. de 2013
It reads in three files into arrays.
  1 comentario
Ahmed A. Selman
Ahmed A. Selman el 18 de Abr. de 2013
First two for reading images, last one for (maybe) a dat, or text file, from entry 3 to the end..

Iniciar sesión para comentar.

Categorías

Más información sobre Programming Utilities en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by