GithubHelp home page GithubHelp logo

pamly-lib's Introduction

pamly-lib

The pamly-lib originates from the initial pamly project for whole slide image conversion, upload and viewing. The pamly-lib contains the source code for the pamly rust crate which contains the converter tool of pamly as a CLI.

Installing and Compiling Openslide

It builds upon the C-library Openslide in order to convert the main propietary scanner formats to an accessible sqlite database. Thus, follow the installation and compilation instructions for Openslide as the pamly-lib depends on openslide to be properly installed. Mac users can also install via brew.

NOTE: If openslide is not found during cargo install it might be caused by your PATH, e.g. if you brew install on Mac run

export LIBRARY_PATH="/opt/homebrew/lib"

If you've installed and compiled via the git repo, add the path to the .dylib, so something like

export DYLD_LIBRARY_PATH="$HOME/.../openslide/builddir/src"

Installing the Converter Tool

In order to install the pamly CLI, including the converter tool, run

cargo install pamly --features convert

Without the flag --features convert you still get other features of pamly which do not depend on openslide, such as generating the types file (containing diagnoses, stains, labels, ...).

Run the Converter Tool

In order to convert a raw WSI scan into an .sqlite databse run

pamly convert <Slide Path>

pamly-lib's People

Contributors

mhuttner 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.