Skip to content

keepgallop/RIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

RIP

An automatic tool for Retinal Image Preprocessing.

Introduction

A preprocessing tool for retinal images.

Author: Leoch

Version: 1.0

Info:

  • filepath: your image folder
  • method:
    1. o = original
    2. c = Contrast-limited adaptive histogram equalization (CLAHE)
    3. g = gray
    4. a = local color average with Gaussian blur removed (LCA)
  • scale: your image size, an int
  • output path: folder to store your output image array

Output: image_list_method.pkl

Usage

  1. Use this tool by typing the below command in your terminal.
$ python3 RIP.py
  1. Then you will get a .pkl file in your output path. Use import pickle to use it.
import pickle
with open("/out/put/path/yourfile.pkl", "rb") as f:
a = pickle.load(f)

Method comparison

  1. original

o

  1. CLAHE

c

  1. gray

g

  1. LCA

a

About

Retinal Image Preprocessing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages