-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tiling Artefact (plant-seg 2.0.0a5) #367
Comments
Hey @Amerebeing thank you for reporting this issue! I offer two things to try - either you send me this volume for me to try it; or you can try these yourself:
You can do these separately or together and see if the prediction is improved. |
I just tried all three separately on one of my dateset, and all improved. |
This may relate to: |
I tried the suggested solutions which you had provided and that really helped me to get rid of the tiling artefact. But there is another issue with the final segmentation. I thought that the artefact in the final segmentation was because of the tiling in the boundary image which was being produced by Plantseg Model. But even after getting rid of tiling in boundary image i am getting these artefacts in the final segmentation. |
Hi, I get also these kind of "thin" labels. I have noticed that playing a bit with the watershed and the agglomeration method, these can totally (mostly) vanish or become more abundant. If the boundary prediction is perfect though, then it looks even better. Unfortunately, in my case (roots), there is no standard set up of the segmentation. Most of the time if it is good on one image, it will be ok on the next one too but it can vary, even if acquisition parameters are all the same. |
Did you try the |
Hey @Amerebeing, GoNuclear repo has three models: Cellpose, PlantSeg and StarDist, where |
hey @qin-yu The Platinum model performs well on my 3D volume when I downsample it by a factor of 2. Adjusting the Watershed and GASP parameters also helps in reducing artifacts in the final segmentation. I’d like to know the original voxel size the Platinum model was trained on, as my original volume (voxel size: 0.30 × 0.17 × 0.17) produces a faded probability map without downsampling. |
Hey @Amerebeing, for your convenience, here’s the voxel size: original_voxel_size = { # z, y, x
1135: [0.28371836501901143, 0.12678642066720086, 0.12678642066720086], # validation
1136: [0.2837183895131086, 0.12756971653115998, 0.12756971653115998], # training
1137: [0.2837183895131086, 0.1266211463645486, 0.1266211463645486 ], # training
1139: [0.2799036917562724, 0.12674335484590543, 0.12674335484590543], # training
1170: [0.27799632231404964, 0.12698523961670266, 0.12698522349145364], # training
} # [0.2837, 0.1268, 0.1268] is taken as the median
original_median_extents = { # z, y, x
1135: [16, 32, 33], # validation
1136: [16, 32, 32], # training
1137: [16, 32, 32], # training
1139: [16, 32, 33], # training
1170: [16, 29, 30], # training
'average':
} # [16, 32, 32] is taken as the median For reference, the training data for my Platinum model is described in the GoNuclear repository: GoNuclear Training Data. You can also find detailed information in the paper: Materials and Methods. The training data itself is available at the BioImage Archive: S-BIAD1026. |
Hey @Amerebeing is the issue solved? |
Hey @qin-yu, thanks for checking in! I scaled my 3D volume by a factor of 0.7, and it's working perfectly. Any scaling below 0.7 causes the nuclei to merge, but the range of 0.7 to 0.75 seems to be the sweet spot. I'm quite happy 😊 with the results! |
Getting tiling artefact when using napari plugin of plantseg. I am using lightsheet_3D_unet_root_nuclei_ds1x model to segment my nuclei. The tiling artefact is affecting the final segmentation.

The text was updated successfully, but these errors were encountered: