Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🔬 Syntax - the arrangement of whole-slide-images and their image tiles to create well-formed computational pathology pipelines.

License

NotificationsYou must be signed in to change notification settings

jgamper/compay-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



GitHubDocumentationGitHub release

Help building our code and community!

  • All contributions are welcome! Please raise an issue for a bug, feature or pull request!

  • Tweet about this repo!

  • Give this repo a star! ⭐

Quick Start

Tissue mask and tiling pipeline

fromsyntax.slideimportSlidefromsyntax.transformers.tissue_maskimportOtsuTissueMaskfromsyntax.transformers.tilingimportSimpleTilingfromsyntax.transformersimportPipeline,visualize_pipeline_resultsslide=Slide(slide_path=slide_path)pipeline=Pipeline([OtsuTissueMask(),SimpleTiling(magnification=40,tile_size=224,max_per_class=10)])slide=pipeline.fit_transform(slide)visualize_pipeline_results(slide=slide,transformer_list=pipeline.transformers,title_list=['Tissue Mask','Random Tile Sampling'])

Install

pip install compay-syntax==0.4.0

You will need to install openslide. This is included in the dependencies so may be automatically installed. If not I found this to help:

#!/bin/bashsudo apt-get install openslide-toolspip install openslide-python

About

🔬 Syntax - the arrangement of whole-slide-images and their image tiles to create well-formed computational pathology pipelines.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp