https://github.com/kuixu/label-tomo
Label tomography images and plot
https://github.com/kuixu/label-tomo
Last synced: 26 days ago
JSON representation
Label tomography images and plot
- Host: GitHub
- URL: https://github.com/kuixu/label-tomo
- Owner: kuixu
- License: mit
- Created: 2018-08-10T06:30:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T07:34:09.000Z (over 5 years ago)
- Last Synced: 2025-02-09T20:45:34.715Z (3 months ago)
- Language: Python
- Size: 4.22 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Label-Tomo
===============Code for labeling tomo particle center in images and plotting figures.
**Screenshot:**
Data Organization
-----------------
LabelTool
|
|--main.py *# code for labeling*
|--plot.py *# code for the plotting*
|--extractimg.py *# code for extracting image from tomography*
|
|--Images/ *# direcotry containing the images to be labeled*
|
|--Labels/ *# direcotry for the labeling results*
|
|--Examples/ *# direcotry for the example bboxes*Environment
----------
- python 2.7
- python PIL (Pillow)
- matplotlibRun
-------
### 1.Extracting Imge plane from \*.mrc file into Images\/001 folder
```python
$ python extractimg.py --mrc xxx.mrc
# Specific a folder
$ python extractimg.py --mrc xxx.mrc --dir 001
# Specific a region on Z axes
$ python extractimg.py --mrc xxx.mrc --i 80 --j 140
```### 2. Label particles
```python
$ python main.py
```### 3.Plotting
``` python
$ python plot.py --dir 001
```