This is a project mainly focus on the issue when automated microscope dealing with blood samnple images.
We proposed a brand new and effective algorithm as for automated microscope focus method solution.
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This is a project mainly focus on the issue when automated microscope dealing with blood sample images. There are three components in this algorithm which are: Sharpness value, Colorfulness value, and Color cast score.
Clone the repo
git clone https://github.com/Pockylee/Colorful-gradient.git
While observing a blood sample under the micoscope, the conventional sharpness operator will be effected serously by the
For more examples, please refer to the Documentation
In this version, we have only one program to calculate the focus valuem, which is colorful_gradient.py
To check every argument in this program which can be modify:
python3 colorful_gradient.py --help
You'll get the output of the arguments information:
-t CASE_TYPE, --case_type CASE_TYPE
Type of cases in the input image directory.(single/multiple)
-i DIR_PATH, --dir_path DIR_PATH
Please enter your image directory path here.
-o OUTPUT_PATH, --output_path OUTPUT_PATH
Please enter the output path where you want to store your explicit image in
each cases
-p, --parallel_compute
Choose to calculate the colorful-gradient in parallel computing mode or
not.(True/False)
Due to the privacy policy, we are not able to upload our experiment data images to github. Please prepare your own dataset to run this program!
After start running the program, the program will show the progress to make sure that it is not crash. Including showing the Input Path, Explicit Index, and the Output Path.
Program start
Task Type: Multiple
Parallel Compute: True
===================================================
Input Path: ./images/multiple/case2
Explicit Index: 0
Output Path: ./output/case2/P_05_220119_161941.jpg
===================================================
Input Path: ./images/multiple/case_1
Explicit Index: 0
Output Path: ./output/case_1/P_21_220119_162014.jpg
===================================================
End of the program. See you next time!
The program can be executed on both macOS and Linux.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.md
for more information.
Brian Li - [email protected]
Project Link: https://github.com/Pockylee/Colorful-gradient