Can you please explain the meaning for below code ..??
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Jan
le 11 Avr 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'?
Réponses (1)
Image Analyst
le 11 Avr 2013
It reads in three files into arrays.
1 commentaire
Ahmed A. Selman
le 18 Avr 2013
First two for reading images, last one for (maybe) a dat, or text file, from entry 3 to the end..
Voir également
Catégories
En savoir plus sur Programming Utilities dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!