Comments (8)
Did you install and load the required octave packages ("image", "statistics")?
If not, type the following in the octave Command Window:
pkg install image -forge
pkg install statistics -forge
from digital-forestry-toolbox.
Hello and thank you for your answer.Thank you very much after the installation I launched the pkg load image command and it worked.
Thank
from digital-forestry-toolbox.
I'm just going to ask a question how can I export the segmentation to get the grip of the canopic surface in shp format
from digital-forestry-toolbox.
Otherwise, at levels of exercise 3, I also have this error
>> ind = sub2ind([nrows, ncols], P(:,1), P(:,2)); error: 'nrows' undefined near line 1 column 16
have you un idea
Thanks
from digital-forestry-toolbox.
Hello, For info compared to tutorial 3, I had to try to hazar the numbers. And I put the proposed numbers to make it work.
`>> ind = sub2ind([1, 2], P(:,1), P(:,2));
error: sub2ind: index (2001,_): out of bound 1
ind = sub2ind([10, 20], P(:,1), P(:,2));
error: sub2ind: index (2001,): out of bound 10
ind = sub2ind([2001, 20], P(:,1), P(:,2));
error: sub2ind: index (,2801): out of bound 20
ind = sub2ind([2001, 2801], P(:,1), P(:,2));
xyh = [pc.record.x, pc.record.y, pc.record.z - models.terrain.values(ind)];
`
However, it is impossible to export the data in csv format
`>> fid = fopen('C:\LIDAR\NM\tiges.csv', 'w+'); % open file
fprintf(fid, 'X, Y, H\n'); % write header line
fprintf(fid, '%.2f, %.2f, %.2f\n', xyh_stem'); % write r
ecords
fclose(fid); % close file
xyh_stem
xyh_stem =
fid
fid = 6
`
But my question is how to find nrows and ncols directly.
Thank you
from digital-forestry-toolbox.
Now to find nrows and ncols i use
[nrows, ncols] = size(models.terrain.values);
But impossible to export data to CSV file
from digital-forestry-toolbox.
Please make sure:
- you are running the tutorial_3.m file (and not copy pasting code from the webpage)
- you have installed and loaded all the required Octave packages
I've also modified tutorial 2 to allow export of segment (individual tree) boundaries. Let me know how it works.
from digital-forestry-toolbox.
Closing this due to inactivity.
from digital-forestry-toolbox.
Related Issues (13)
- shapewrite
- Incorrect type for Return Point Waveform Location HOT 1
- dft_tutorial_2.m: Tutorial dataset works okay, but replacing it with my own produces: Unrecognized function or variable 'marker'. HOT 1
- Lastread problem with extrabytes HOT 4
- Extended fields wrongly read HOT 2
- ASCread error - Vertical dimension mismatch HOT 2
- Error in LASread (line 76)
- saving a new las file by just using xyz or xyzRGB point data HOT 1
- treemetrics HOT 12
- error reading LAS file HOT 1
- LASWrite requires Statistics and Machine Learning Toolbox HOT 1
- LAS 1.4 files with a PDRF > 6 do not conform to the ASPRS LAS Format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digital-forestry-toolbox.