{"name":"misic-napari","display_name":"misic-napari","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"misic-napari.get_width","title":"get_width","python_name":"misic_ui:get_width","short_title":null,"category":null,"icon":null,"enablement":null},{"id":"misic-napari.segment","title":"segment","python_name":"misic_ui:segment","short_title":null,"category":null,"icon":null,"enablement":null},{"id":"misic-napari.segment_stack","title":"segment_stack","python_name":"misic_ui:segment_stack","short_title":null,"category":null,"icon":null,"enablement":null},{"id":"misic-napari.save_params","title":"save_params","python_name":"misic_ui:save_params","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"misic-napari.get_width","display_name":"get_width","autogenerate":false},{"command":"misic-napari.segment","display_name":"segment","autogenerate":false},{"command":"misic-napari.segment_stack","display_name":"segment_stack","autogenerate":false},{"command":"misic-napari.save_params","display_name":"save_params","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"misic-napari","version":"0.2.3","dynamic":null,"platform":null,"supported_platform":null,"summary":"Segmentation of bacteria agnostic to imaging modality","description":"# misic-napari\n\n\n\n----------------------------------\n\n\n\nA napari plugin for [MiSiC](https://elifesciences.org/articles/65151). Segmentation of bacteria in dense colonies. \nThe plugin provides acces to preprocessing of the image like scaling, gamma correction, sharpness and noise variance that can improve the segmentation of bacteria irrespective of the imaging modality.\n\n## Install Napari\nInstall napari either the bundled app or through [pip/conda]\nhttps://napari.org/#installation\n\n## Installation\n\nInstall `misic-napari` through plugin manager in napari.\n\nOr\n\nYou can install `misic-napari` via [pip] in the napari console:\n\n pip install misic-napari\n\n## Tutorial\nNote: \nThe image should be in the format [n,row,col] or [row,col], i.e., a single image or a stack. Hyper-stacks are not supported yet. \n\n#### get_width\n\n\nCreates a Shapes layer with name 'cell-width' where the cell width can be hand drawn using line drawing tools in the shapes layer. This need not be precise and can be adjusted later. Click `get_cell_width` to obtain the desired mean cell width. This will be used to scale the image accordingly before segmentation.\n \n#### segment\n\nThis can be used to quickly set the parameters that can be later used to segment the whole stack.\n\n```\nuse_roi\n```\nA square ROI of side 256 is created by default for quickly checking adjusting the segmentation parameters. The roi can be resized or moved in the `roi` shapes layer.\n\n```\nlight_background\n```\nTrue; for phase-contrast images.\n\nFalse; for bright-field and fluorescence images.\n\n```\nuse_local_noise\n```\nIf checked, this adds noise to image with local variance. In this case, a noise_var of around 0.1 works well. If unchecked, this adds noise with global variance of noise_var/100. Adding may help in removing false positives.\n\n```\ngaussian_laplace\n```\nUseful when segmenting fluorescence images. \n\n```\nadjust_scale\n```\nFine-tuning the scale around ([0.8,1.2]) the scale obtained from cell-width determined in `get_cell_width`.\n\n```\nnoise_var\n```\nAmount of noise to be added to the image at the preprocessing step. This helps reduce the False Positives and, in many cases, to separate cells effectively. \n```\ngamma\n```\ngamma correction \n\n```\nsharpness_scale and sharpness_amount\n```\nUnsharp mask based sharpness with sigma = sharpness_scale and amount = sharpness_amount\n\n\n\n### segment_stack\nSegments the entire stack using the parameters that were obtained in \"segment\".\n\n\n### save\nThe parameters can be saved in a json file. \n\n## License\n\nDistributed under the terms of the [MIT] license,\n\"misic-napari\" is free and open source software\n\n## Cite\n```\n@article {10.7554/eLife.65151,\narticle_type = {journal},\ntitle = {Misic, a general deep learning-based method for the high-throughput cell segmentation of complex bacterial communities},\nauthor = {Panigrahi, Swapnesh and Murat, Dorothée and Le Gall, Antoine and Martineau, Eugénie and Goldlust, Kelly and Fiche, Jean-Bernard and Rombouts, Sara and Nöllmann, Marcelo and Espinosa, Leon and Mignot, Tâm},\neditor = {Xiao, Jie and Storz, Gisela and Hensel, Zach},\nvolume = 10,\nyear = 2021,\nmonth = {sep},\npub_date = {2021-09-09},\npages = {e65151},\ncitation = {eLife 2021;10:e65151},\ndoi = {10.7554/eLife.65151},\nurl = {https://doi.org/10.7554/eLife.65151},\nabstract = {Studies of bacterial communities, biofilms and microbiomes, are multiplying due to their impact on health and ecology. Live imaging of microbial communities requires new tools for the robust identification of bacterial cells in dense and often inter-species populations, sometimes over very large scales. Here, we developed MiSiC, a general deep-learning-based 2D segmentation method that automatically segments single bacteria in complex images of interacting bacterial communities with very little parameter adjustment, independent of the microscopy settings and imaging modality. Using a bacterial predator-prey interaction model, we demonstrate that MiSiC enables the analysis of interspecies interactions, resolving processes at subcellular scales and discriminating between species in millimeter size datasets. The simple implementation of MiSiC and the relatively low need in computing power make its use broadly accessible to fields interested in bacterial interactions and cell biology.},\nkeywords = {Deep learning, image analysis, microscopy, myxococcus xanthus, biofilms},\njournal = {eLife},\nissn = {2050-084X},\npublisher = {eLife Sciences Publications, Ltd},\n}\n```\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/pswap/misic","download_url":null,"author":"S. Panigrahi & L. Espinosa, IAM, LCB","author_email":"spanigrahi@imm.cnrs.fr","maintainer":null,"maintainer_email":null,"license":"MIT","classifier":["Development Status :: 4 - Beta","Intended Audience :: Developers","Framework :: napari","Programming Language :: Python","Programming Language :: Python :: 3","Operating System :: OS Independent","License :: OSI Approved :: MIT License"],"requires_dist":["tensorflow","termcolor"],"requires_python":">=3.6","requires_external":null,"project_url":null,"provides_extra":null,"provides_dist":null,"obsoletes_dist":null},"npe1_shim":true}