Giter Site home page Giter Site logo

preprocessing's Introduction

preProcessing

This repository contains two main scripts for the preProcessing of the Whole Slide Images (WSIs) as an initial step for histopathological deep learning.

  1. extractTiles-ws : This script is used to tessellate the WSIs. The main required inputs for this function:
Input Variable name Description
-s Path to the WSI folder
-o Path to the output folder, to save the tiles
--skipws To skip the tessellation of WSI if annotation is missing. Default value is False.
-px Size of image patches to analyze, in pixels
-um Size of image patches to analyze, in microns.
--num_threads Number of threads to use when tessellating.
--augment Augment extracted tiles with flipping/rotating.
--ov The Size of overlappig for extracted tiles. It can be values between 0 and 1.
  1. Normalize : This script is used to normalize the extracted tiles using Macenko method. The main required inputs for this function:
Input Variable name Description
-inputPath Path to the BLOCKS folder, where the tiles are saved
-outputPath Path to the output folder, to save the normalized tiles
--sampleImagePath Path to one sample tile, which it's color distribution will used as a template for all the tiles.

In this script, we are using the Macenko normalization method from https://github.com/wanghao14/Stain_Normalization.git repository.

preprocessing's People

Contributors

narminghaffari avatar jnkather avatar localtoasty avatar oliversaldanha25 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.