SikangSHU

Results 30 comments of SikangSHU

> Something has gone wrong --- you'll get an image back from ifthenelse, not a bound method. Did you forget the `( )`? Hi, I have checked my program and...

> You need to post a complete program I can run. > > Here's what you should see: > > ``` > $ python3 > Python 3.9.7 (default, Sep 10...

I'd like to get four one-band images and add colours on them.

Thanks so much for your patient answer. As I am doing a task and not familiar with pyvips, I am making some attempts. My task is to unmix a wsi(contains...

> I consider to do stain unmixing for the wsi. The picture as follows is a part of a wsi. Thank you! ![image](https://user-images.githubusercontent.com/95743639/145410678-751eefd9-24c9-44e8-a84f-a5e2a207444e.png)

> I made you a demo program: > > ```python > #!/usr/bin/python3 > > import sys > import pyvips > import numpy as np > > def process_tile(patch): > """pass...

> I'd like to try implementing colour deconvolution in libvips. Do you have a sample image I could experiment with? Yes, but It's too big. The wsi is about 10G....

> > I'd like to try implementing colour deconvolution in libvips. Do you have a sample image I could experiment with? > > Yes, but It's too big. The wsi...

> Just a section would be fine. As long as it shows all three stains. OK, the stain vector of three stains is [[0.468, 0.721, 0.511], [0, 0.141, 0.99], [0.767,...

> This is sort-of working: > > ```python > #!/usr/bin/python3 > > import sys > import pyvips > > image = pyvips.Image.new_from_file(sys.argv[1]) > > # scale to 0-1 > image...