# An extension for whole slide microscopic images

**URL:** https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131
**Category:** Development
**Tags:** extensions-manager
**Created:** [April 26, 2022, 4:07pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131 "2022-04-26T16:07:42Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![gaoyi.cn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gaoyi.cn/32/1422_2.png) [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)
#### Post date: [April 26, 2022, 4:07pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/1 "2022-04-26T16:07:42Z")

</div>

Dear All,

Whole slide microscopy histopathology images can be as large as several GB in file size, with jpeg compression. I’m preparing an extension that uses python script module to dynamically load portions of the whole slide image (WSI) at the desired resolution into the current Slicer view.

I put some basic info at:

> **[About SlicerScope](https://slicerscope.github.io/)**
>
> A 3D-Slicer based open platform for whole slide histopathology image computing

I’m hoping to add this through the extension management system and would like to hear about your suggestions/opinions.

Thanks!  
yi

**NOTE: The extension has been renamed to `BigImage`**

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [April 26, 2022, 5:32pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/2 "2022-04-26T17:32:20Z")

</div>

This looks great, thanks @gaoyi.cn 👍

It would be cool to try this out with some of the \>14TB of microscopy data recently made available via IDC.

> **[IDC April 2022 release](https://discourse.canceridc.dev/t/idc-april-2022-release/264)**
>
> NCI Imaging Data Commons April 2022 release is out! Here are some of the highlights: Data: slide microscopy imaging data is now available for all of the TCGA collections and for the NLST collection - that’s the total of \>14 TB of new slide...

---

<div class="post-metadata">

### Author: ![gaoyi.cn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gaoyi.cn/32/1422_2.png) [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)
#### Post date: [May 5, 2022, 7:21am UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/3 "2022-05-05T07:21:00Z")

</div>

Thank you Steve!

I have added the s4ext file to the extension index and created a pull request.

However when I was trying to create another PR for the shape analysis module, seems the two PRs are considered as one?

Not sure how i can retrieve the later one and do it in a separated PR…

Thanks for advice!

Best,  
yi

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [May 5, 2022, 12:48pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/4 "2022-05-05T12:48:25Z")

</div>

Hi Yi -

It sounds like perhaps you created the second pull request as a branch off the first pull request. That would link them together in github. To confirm the process, you should first checkout the mater branch of the extension index, create a branch for the first extension, add the file and push to github to create the first PR. Then you checkout the master branch again, create a second branch for the second s4ext file, and then push the second branch to github to create a second PR. Then each PR will have and independent history. Can you try that?

Cheers 👍  
Steve

---

<div class="post-metadata">

### Author: ![gaoyi.cn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gaoyi.cn/32/1422_2.png) [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)
#### Post date: [May 6, 2022, 12:08am UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/5 "2022-05-06T00:08:12Z")

</div>

Hi Steve,

Yes that’s was the situation… I’ll do again following your advice.

Thanks!

Best,  
yi

---

<div class="post-metadata">

### Author: ![gaoyi.cn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gaoyi.cn/32/1422_2.png) [@gaoyi.cn](https://discourse.slicer.org/u/gaoyi.cn)
#### Post date: [May 6, 2022, 3:20am UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/6 "2022-05-06T03:20:43Z")

</div>

Hi Steve,

the new PR is created and the comments and suggestions in the previous PR by Andras and James have been addressed.

Thanks!  
yi

---

<div class="post-metadata">

### Author: ![sbalci](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sbalci/32/16424_2.png) [@sbalci](https://discourse.slicer.org/u/sbalci)
#### Post date: [August 27, 2022, 7:54am UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/7 "2022-08-27T07:54:35Z")

</div>

Dear @gaoyi.cn Dr. Gao,  
The SlicerScope extension is not visible on Slicer 5.0.3.  
Would you please guşde me how to install your module.  
Best wishes  
Serdar Balci, MD, Pathologist

---

<div class="post-metadata">

### Author: ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)
#### Post date: [August 27, 2022, 3:41pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/8 "2022-08-27T15:41:14Z")

</div>

@sbalci it appears @gaoyi.cn renamed SlicerScope to SlicerBigImage so look for “BigImage” in the extensions manager.

---

<div class="post-metadata">

### Author: ![sbalci](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sbalci/32/16424_2.png) [@sbalci](https://discourse.slicer.org/u/sbalci)
#### Post date: [August 27, 2022, 5:14pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/9 "2022-08-27T17:14:15Z")

</div>

Hi,  
I could not find it either. They do not appear in extensions or modules.

I tried to built from github source but I could not do it.

 ![Screen Shot 2022-08-27 at 20.13.27](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/1/917b62f523fcaf9a402f5bf2a1704e9b875d534d.png)  
 ![Screen Shot 2022-08-27 at 20.12.45](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/8/58a86d487f1a403bc602b5d20e82f906eeaf9534.png)

---

<div class="post-metadata">

### Author: ![sbalci](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sbalci/32/16424_2.png) [@sbalci](https://discourse.slicer.org/u/sbalci)
#### Post date: [August 27, 2022, 5:23pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/10 "2022-08-27T17:23:28Z")

</div>

> [@jamesobutler](#):
>
> BigImage

It does not appear under extension builds either:

[https://slicer.cdash.org/index.php?project=SlicerStable&filtercount=1&showfilters=1&field1=site&compare1=63&value1=BigImage](https://slicer.cdash.org/index.php?project=SlicerStable&filtercount=1&showfilters=1&field1=site&compare1=63&value1=BigImage)

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [August 27, 2022, 10:24pm UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/11 "2022-08-27T22:24:43Z")

</div>

The BigImage extension was only submitted to the Extensions Index of Slicer-5.1, but not for Slicer-5.0. I’ve submitted it now, so if the extension is compatible with Slicer-5.0 then it will show up in the Extensions Manager in Slicer-5.0.3 tomorrow. Until then you can use Slicer-5.1.x (the latest Slicer Preview Release).

---

<div class="post-metadata">

### Author: ![sbalci](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sbalci/32/16424_2.png) [@sbalci](https://discourse.slicer.org/u/sbalci)
#### Post date: [August 28, 2022, 11:03am UTC](https://discourse.slicer.org/t/an-extension-for-whole-slide-microscopic-images/23131/12 "2022-08-28T11:03:49Z")

</div>

Dear @lassoan thank you very much. I have switched to 5.1 version and I can download the module now.

@gaoyi.cn also reached me and instructed to 5.1.

thank you both.

I hope to use it in our group’s pancreas research.

Best wishes.

Serdar
