jgamper / compay-syntax Goto Github PK
View Code? Open in Web Editor NEW:microscope: Syntax - the arrangement of whole-slide-images and their image tiles to create well-formed computational pathology pipelines.
License: MIT License
:microscope: Syntax - the arrangement of whole-slide-images and their image tiles to create well-formed computational pathology pipelines.
License: MIT License
I have pip installed wsisampler. But when I run the code, it says no Matlab engine found. How do I resolve this issue?
Gotta start documenting the development somehow? Is there a way to keep goals that we would like to reach?
Either way, it would be good to write unittest applied to one WSI that would be read by OpenJP2 versus Openslide, and compare the outputs (just to be sure), and also develop something like thumbnail for OpenJP2.
Describe the bug
When extracting the patches in magnificent level - 10x, I have got few images in black colour with stripes and few images are not clear. And when I tried extracting in x20 they were fine. I am just wondering why the difference ?
Hi,
This is a brill repo!
I was wondering whether it is possible to retrieve the coordinates of the patches. For example, are the patches randomly retrieved?
Taran
Thumbnail specifically. Investigate what else.
use wget within to get data for testing.
Move test data to dropbox, and use wget to set up Travis CI.
Dont delete from g-drive though. Edit notebook link.
When running the demo I get the error
ImportError: No MATLAB engine found.
But that's in the first part of the demo and not the part for JP2 format.
Record standard annotation formats in the lab, and work from that
Describe the bug
I have tried to run the code snippet in the Readme.MD file and I am getting a few errors. The WSIs is from the Panda Challenge hosted on Kaggle.
Code snippet or Error Message
The code that I have used:
slide = Slide(slide_path=dataset[0])
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'])
The error I have got is:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/opt/conda/lib/python3.6/site-packages/syntax/slide/slide.py in __init__(self, slide_path, level0, verbose)
44 try:
---> 45 self.level0 = float(self.properties['openslide.objective-power'])
46 if self.verbose:
/opt/conda/lib/python3.6/site-packages/openslide/__init__.py in __getitem__(self, key)
250 if v is None:
--> 251 raise KeyError()
252 return v
KeyError:
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
<ipython-input-7-d399eadbf4ad> in <module>
4 from syntax.transformers import Pipeline, visualize_pipeline_results
5
----> 6 slide = Slide(slide_path=dataset[0])
7
8 pipeline = Pipeline([OtsuTissueMask(), SimpleTiling(magnification=40,
/opt/conda/lib/python3.6/site-packages/typeguard/__init__.py in wrapper(*args, **kwargs)
838 memo = _CallMemo(python_func, _localns, args=args, kwargs=kwargs)
839 check_argument_types(memo)
--> 840 retval = func(*args, **kwargs)
841 check_return_type(retval, memo)
842
/opt/conda/lib/python3.6/site-packages/syntax/slide/slide.py in __init__(self, slide_path, level0, verbose)
47 print('Level 0 found @ {}X'.format(self.level0))
48 except:
---> 49 raise Exception('Slide does not have property objective-power.')
50 else:
51 self.level0 = float(level0)
Exception: Slide does not have property objective-power.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.