Comments (11)
Yes, we included images that are blurry, out of focus, partially cropped, etc. This helps the model generalize better
from deepcell-tf.
Hi @tsly123, the reason that the ground truth images have dimensions is because one set is for the whole-cell labels, and the other is for the nuclear labels. Each of these represent instance ground truth labels of the dataset.
from deepcell-tf.
Thank you for your response.
from deepcell-tf.
Hi,
I'm able to extract the instance masks. However, when I check the dataset Tissuenet 1.1. The test set has some broken samples. I visualized them using the code in Tissuenet README.
The broken sample's ID:
test_err = [ 68, 69, 286, 463, 504, 506, 510, 511, 529, 545, 547, 681, 737, 757, 955, 1017, 1247]
import os
import numpy as np
import skimage.io as io
from deepcell.utils.plot_utils import create_rgb_image
from deepcell.utils.plot_utils import make_outline_overlay
npz_dir = 'path_to_dir_with_NPZs'
test_dict = np.load(os.path.join(npz_dir, 'tissuenet_v1.1_test.npz'))
test_X, test_y = test_dict['X'], test_dict['y']
rgb_images = create_rgb_image(selected_X, channel_colors=['green', 'blue'])
cv2.imwrite(save_path, rgb_images[68]) # 68, see ID above
from deepcell-tf.
Thanks for the prompt and detailed response @ngreenwald !
With the original question addressed, I will go ahead and close this as there's nothing actionable here (aside from maybe documenting the data format in greater detail - doc suggestions welcome!)
from deepcell-tf.
Yes, we included images that are blurry, out of focus, partially cropped, etc. This helps the model generalize better
Can you make the original image (without pre-processing) pubically avaliable? Or can you please send me a private link to download it: [email protected]?
from deepcell-tf.
Hi @anthonyweidai ,
I think what you downloaded in version 1.1 are the raw images.
See this topic
#618 (comment)
from deepcell-tf.
Hi @ngreenwald and @rossbar ,
I print the meta of Tissuenet 1.1 and it looks like this:
from deepcell.datasets import TissueNet
tissuenet = TissueNet(version='1.1')
X_val, y_val, meta_val = tissuenet.load_data(split='test')
filename experiment pixel_size screening_passed time_step specimen
0 filename experiment pixel_size screening_passed time_step specimen
1 filename experiment pixel_size screening_passed time_step specimen
2 filename experiment pixel_size screening_passed time_step specimen
3 ../../labels/static/2d/Tissue-Spleen/20200424_... ../../labels/static/2d/Tissue-Spleen/20200424_... 0.5 Not screened None Spleen
4 ../../labels/static/2d/Tissue-Spleen/20200424_... ../../labels/static/2d/Tissue-Spleen/20200424_... 0.5 Not screened None Spleen
... ... ... ... ... ... ...
1322 ../../labels/static/2d/Tissue-Lung/20200210_Cy... ../../labels/static/2d/Tissue-Lung/20200210_Cy... 0.5 Not screened None lymph node metastasis
1323 ../../labels/static/2d/Tissue-Lung/20200424_TB... ../../labels/static/2d/Tissue-Lung/20200424_TB... 0.5 Not screened None Lung
1324 ../../labels/static/2d/Tissue-Lung/20200424_TB... ../../labels/static/2d/Tissue-Lung/20200424_TB... 0.5 Not screened None Lung
1325 ../../labels/static/2d/Tissue-Lung/20200424_TB... ../../labels/static/2d/Tissue-Lung/20200424_TB... 0.5 Not screened None Lung
1326 ../../labels/static/2d/Tissue-Lung/20200424_TB... ../../labels/static/2d/Tissue-Lung/20200424_TB... 0.5 Not screened None Lun
It have 4 header rows. So I assume that each row after 4 header rows correspond to the image in X_val and y_val. In other words, the order of images in X_val and y_val and rows after 4 header rows, i.e. meta[4:], is matched. Is this correct?
I ask this because I want to get the label specimen
for instance segmentation.
In addition, can I take the specimen
as the label for each image?
Could you kindly comment on these 2 questions?
Thank you very much.
from deepcell-tf.
I believe so, but I think some of these additional columns are to make TissueNet compatible with all the other datasets being generated, so I'm not 100% sure
from deepcell-tf.
Hi @anthonyweidai ,
I think what you downloaded in version 1.1 are the raw images.
See this topic #618 (comment)
Then, who is right? The questioner said there are broken samples. And @ngreenwald said they pre-processed some images. BTW, the questioner said the downloaded Tissuenet version is also 1.1.
from deepcell-tf.
Hi @anthonyweidai ,
I think what you downloaded in version 1.1 are the raw images.
See this topic #618 (comment)Then, who is right? The questioner said there are broken samples. And @ngreenwald said they pre-processed some images. BTW, the questioner said the downloaded Tissuenet version is also 1.1.
I got it. Thanks. These images are not actually "raw". But you can still see how they look like.
from deepcell-tf.
Related Issues (20)
- Link nucleus to whole cell segmentation mask mesmer HOT 3
- Getting cell segmentation mask file from Mesmer standalone program HOT 1
- QUERY : Segmentation Issue HOT 2
- Nuclear and whole cell segmentation masks identical HOT 4
- Question regarding pixel expansion HOT 1
- Retrieve model output without postprocessing
- Access token needed HOT 1
- Segmentation Mask Output HOT 1
- Segmentation Mask FIle Issues HOT 1
- MacBook M3 support, DeepCell cannot be installed due to tensorflow version HOT 2
- Error creating segmentation masks for small images HOT 3
- Align for multi fov result combined HOT 1
- Support for Python 3.11? HOT 1
- DeepCell API Key SignUp page responds with a Server Error HOT 4
- Support for Python 3.11 onward HOT 2
- Upgrade (or widen) supported `tensorflow` version HOT 6
- interrupted by signal 4: SIGILL HOT 1
- Round cell shapes HOT 3
- ValueError: Input data must have 2 channels. Input data only has 40 channels HOT 1
- API Token HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepcell-tf.