pymccrgb
pymccrgb: Color- and curvature-based classification of multispectral point clouds in Python - Published in JOSS (2019)
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
1 of 3 committers (33.3%) from academic institutions -
✓Institutional organization owner
Organization stgl has institutional domain (stgl.stanford.edu) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.4%) to scientific vocabulary
Keywords
Keywords from Contributors
Scientific Fields
Repository
Multiscale curvature classification of point clouds with color features
Basic Info
- Host: GitHub
- Owner: stgl
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://pymccrgb.readthedocs.io
- Size: 25.8 MB
Statistics
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 12
- Releases: 6
Topics
Metadata Files
README.md
pymccrgb
pymccrgb is a Python package for multiscale curvature classification of point clouds with color attributes.
It extends a popular classification method (MCC lidar) [0] to point cloud datasets with multiple color channels, such as those commonly produced in surveys using drone photography or other platforms. It can be used to distinguish points from the ground surface and low vegetation in data produced by structure from motion photogrammetry, stereo photogrammetry, or multi-spectral lidar scanning, or to filter colorized lidar point clouds in LAS/LAZ or CSV format.
The intended users are scientists in geomorphology, ecology, or planetary science who want to classify point clouds for topographic analysis, canopy height measurements, or other spectral classification.
Installation
This package is developed for Linux and Python 3.6+. It depends on common Python packages like sklearn, numpy, the LibLAS C API, and MCC Python bindings.
You can install it with conda or virtualenv in a virtual environment.
bash
git clone https://github.com/rmsare/pymccrgb
cd pymccrgb
conda env create -f environment.yml
conda activate pymcc
pip install pymccrgb
py.test pymccrgb/tests
(Conda package coming soon)
Requirements
The LibLAS C library is required for MCC and pymccrgb. The MCC wrapper also
requires Boost and the C++11 or later standard library. These are installed
with the conda package.
Refer to the documentation and the LibLAS install guide for instructions for installing LibLAS from source.
Examples
Example notebooks are available in the docs or at docs/source/examples.
Topography under tree cover
```python from pymccrgb import mcc, mccrgb from pymccrgb.datasets import loadmammothlidar from pymccrgb.plotting import plotresults
Load sample data (Mammoth Mountain, CA)
data = loadmammothlidar(npoints=1e6)
MCC algorithm
groundmcc, labelsmcc = mcc(data)
MCC-RGB algorithm
groundmccrgb, labelsmccrgb = mcc_rgb(data)
plotresults(data, labelsmcc, labels_mccrgb) ```
Results of MCC and MCC-RGB on a forested area near Mammoth Mountain, CA.
Documentation
Read the documentation for example use cases, an API reference, and more at pymccrgb.readthedocs.io.
Contributing
Bug reports
Bug reports are much appreciated. Please open an issue with the bug label,
and provide a minimal example illustrating the problem.
Suggestions
Feel free to suggest new features in an issue with the new-feature label.
Pull requests
If you would like to add a feature or fix a bug, please fork the repository, create a feature branch, and submit a PR and reference any relevant issues. There are nice guides to contributing with GitHub here and here. Please include tests where appropriate and check that the test suite passes (a Travis build or pytest pymccrgb/tests) before submitting.
Support and questions
Please open an issue with your question.
References
[0] Evans, J. S., & Hudak, A. T. 2007. A multiscale curvature algorithm for classifying discrete return LiDAR in forested environments. IEEE Transactions on Geoscience and Remote Sensing, 45(4), 1029-1038 doi
License
This work is licensed under the MIT License (see LICENSE). It also
incorporates a wrapper for the mcc-lidar implementation,
which is distributed under the Apache license (see LICENSE.txt).
Owner
- Name: STGL
- Login: stgl
- Kind: organization
- Website: https://stgl.stanford.edu
- Repositories: 7
- Profile: https://github.com/stgl
Stanford tectonic geomorphology lab
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| rmsare | r****e@g****m | 283 |
| Daniel S. Katz | d****z@i****g | 1 |
| Arfon Smith | a****n | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 22
- Total pull requests: 7
- Average time to close issues: about 2 months
- Average time to close pull requests: 1 day
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 0.55
- Average comments per pull request: 0.57
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rmsare (20)
- gehilley (2)
Pull Request Authors
- rmsare (5)
- arfon (1)
- danielskatz (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- cmake
- cython
- matplotlib
- numpy
- pip
- pytest
- python 3.6.*
- python-pdal
- scikit-image
- scikit-learn
- scipy
- apidoc *
- ipython *
- jinja2 *
- msmb_theme *
- nbsphinx *
- numpydoc *
- sphinxcontrib.apidoc *
- cmake *
- cython *
- matplotlib *
- numpy *
- pdal *
- pymcc_lidar *
- scikit-image *
- scikit-learn *
- scipy *
