Skip to content

Pockylee/Colorful-gradient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


An Microscope Image Auto-Focus Method based on Colorful-Gradient

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
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Product Name Screen Shot

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.

(back to top)

Getting Started

Installation

Clone the repo

git clone https://github.com/Pockylee/Colorful-gradient.git

(back to top)

Usage

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.

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.md for more information.

(back to top)

Contact

Brian Li - [email protected]

Project Link: https://github.com/Pockylee/Colorful-gradient

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published