liquidfun / airway Goto Github PK
View Code? Open in Web Editor NEWAutomatic classification of tertiary bronchi based on bronchus masks using a rule-based approach.
License: GNU General Public License v3.0
Automatic classification of tertiary bronchi based on bronchus masks using a rule-based approach.
License: GNU General Public License v3.0
Hello, developer, this project is very meaningful. I am also studying the segmentation of bronchopulmonary. I want to know if your project can be used for segmentation of bronchopulmonary?
If it can be used for bronchopulmonary segmentation, is it necessary to have both the mask and the original dicom data?
The defaults.yaml file path is set as follows
path: local
paths:
local: G:\Airway\A2069BH51\
The file structure is
Error content prompts
ERROR: Insufficient count of input/output paths supplied!
Expected 1 output paths and 2 input paths!
Got sys.argv: []
Thanks for sharing this project.
We are trying to reproduce some results with our own dicom data (see Documents/dicompath), and wish to use the raw_airway DATA.
When updating the defaults.yaml local path to a folder that contains the data, we try to run the pipeline using:
airway stages 1
Here is the output of the command
(base) root:~/Documents/GitHub/Airway$ airway stages 1
[09:17:03] Running Airway
Using up to 8 workers
Using /home/robin/Documents/dicompath as data path
Stage processing order: 01
Traceback (most recent call last):
File "/home/robin/anaconda3/bin/airway", line 33, in
sys.exit(load_entry_point('airway==0.2.3', 'console_scripts', 'airway')())
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/cli.py", line 35, in main
handle_args()
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/cli.py", line 29, in handle_args
args.handle_args(args)
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/base.py", line 44, in _handle_args_wrapper
self.handle_args(args)
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/stages.py", line 191, in handle_args
self.stage(curr_stage_name, **self.stage_configs[curr_stage_name], **vars(args))
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/stages.py", line 281, in stage
self.concurrent_executor(subprocess_args, script_module, workers, tqdm_prefix=tqdm_prefix, verbose=verbose)
File "/home/robin/anaconda3/lib/python3.10/site-packages/airway-0.2.3-py3.10.egg/airway/cli/base.py", line 101, in concurrent_executor
stage_name = Path(subprocesses[0][3]).parent.name
IndexError: list index out of range
src
folder.airway-vis
and airway
into one which has stage/vis argument insteadNormally, the trachea directly branches into the Left Bronchus (LB) and Right Bronchus (RB). Why is the trachea's 'children' in the YAML configuration set to 'bronchus' before specifying LB and RB? If there is no 'brochus' in the bronchi, how would the code behave?
I don't know how to generate the data structure as described in your readme, since i only have the lung HRCT. Is there any demo for generate the data structure as yours from the original dicom?
stage-62: 1 error
stage-71: 1 error
stage-74: 1 error
result: 2 errors
Overall errors: 4
I did not change anything, but it gives the above errors, what might the reason are?
How is the vector value in classification.yaml obtained? I found that the vector value was not accurate
When trying to use your module I get this error:
Traceback (most recent call last): File "C:\Users\_\miniconda3\envs\airwaylabeling\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\_\miniconda3\envs\airwaylabeling\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\_\miniconda3\envs\airwaylabeling\Scripts\airway.exe\__main__.py", line 4, in <module> ModuleNotFoundError: No module named 'airway_cli'
I installed the package using pip. Can you please advise on what to do?
dear developer,
This is an outstanding work. I am trying to simulate aerosol deposition in human lungs on a computer Your work are very helpful to my current research.Whether this program can be used to segment the lung airway from. RAW or DICOM files?
Sincerely, yours
Traceback (most recent call last):
File "C:\Users\emibo\anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\emibo\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\emibo\anaconda3\Scripts\airway.exe_main.py", line 7, in
File "C:\Users\emibo\anaconda3\lib\site-packages\airway\cli\cli.py", line 35, in main
handle_args()
File "C:\Users\emibo\anaconda3\lib\site-packages\airway\cli\cli.py", line 29, in handle_args
args.handle_args(args)
File "C:\Users\emibo\anaconda3\lib\site-packages\airway\cli\base.py", line 37, in _handle_args_wrapper
self.log(f"Running {self.col.bold()}{self.col.green('Airway')}", stdout=True, add_time=True)
File "C:\Users\emibo\anaconda3\lib\site-packages\airway\cli\base.py", line 167, in log
with open(self.log_path, "a+") as log_file:
OSError: [Errno 22] Invalid argument: 'C:\Users\emibo\anaconda3\lib\site-packages\logs\log_2022-11-08_15:50:08'
pip install -r requirements.txt
and pip install python-igraph
fails.
tested with pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
and pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7)
on ubuntu 18.04
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.