Skip to content

eigenP/Dark-sectioning-py

 
 

Repository files navigation

This is the official code for the article "Dark-based Optical Sectioning assists Background Removal in Fluorescence Microscopy" in Nature Methods. https://www.nature.com/articles/s41592-025-02667-6. If you find our method works, please cite our work~

Dark sectioning aims at remove the scattering background in fluorescence images based on dark channel priority and dual frequency seperation. This code is finished by Ruijie Cao and Prof. Peng Xi in Peking University. We claim an Apache liscence for Dark sectioning.

If you have any questions, please contact caoruijie@stu.pku.edu.cn or xipeng@pku.edu.cn

Update in 2025.06.12: Someone reflects that in MATLAB 2024 or later, the nearset function is wrong. This is because the "nearest" function changed in 2024 version. We have changed it into "floor" function.

Update in 2025.04.04:The imagej version of Dark sectioning has been finished! You can download the Dark-0.1.0-SNAPSHOT(5).jar file and put it into the "plugin" file in Fiji, and it's easy to use!

Update in 2025.05.15:We make the guide video in figshare to guide the use of Fiji and Exe users: https://figshare.com/articles/dataset/Dark-sectioning/24607614

Update in 2025.05.15:We upload the simplified function of Dark sectioning for intergrate into your own algorithm!

About

This is the supplementary code for Dark sectioning. And it is private now

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%