{ "info": { "author": "Nicolas Cedilnik", "author_email": "nicolas.cedilnik@inria.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)", "Programming Language :: Python :: 3.5", "Topic :: Scientific/Engineering :: Image Recognition" ], "description": "SPADE: Small PArticle DEtection\n===============================\n\n.. image:: http://www-sop.inria.fr/morpheme/images/logo2.png\n :width: 200 px\n :target: http://www-sop.inria.fr/morpheme/team.html\n\nAn algorithm primarily design to detect objects whose sizes aren't larger a\nfew pixels (particles) on fluorescence microscopy images.\n\nIt is an simplified version of marked point process.\n\n\nRequirements\n============\nSPADE has only been tested with Python 3.5 but should work with older versions.\nThe only strict requirement is the package `numpy`.\nIn order to use SPADE to its full extent, we recommend installing the\n`scikit-image` package and the full `scipy` ecosystem.\n\n\nUsage\n=====\n\nIn a python script\n------------------\n\nYou can install the package using PIP. The main function, `spade2d`, is in the\n`spade.detection_2d` module. It takes an image, a shapes library and a\nthreshold as input. A typical usage would look like like\n\n.. code:: python\n\n from skimage.io import imread, imshow\n from skimage.filters import threshold_otsu\n from skimage.color import label2rgb\n from numpy import percentile\n import matplotlib.pyplot as plt\n\n from spade.detection_2d import spade2d\n from spade.shapes.examples import potatoids5x5_smallest4px\n\n\n # Load the example image.\n image = imread(\"example_2d.png\")\n\n # Separate cell image from background, using by Otsu's thresholding method.\n cell = image > threshold_otsu(image)\n\n # Focus on brightest pixels only\n potential_centers = image > percentile(image[cell], 99)\n\n # Detect particles.\n particles = spade2d(image=image,\n shapes_library=potatoids5x5_smallest4px,\n threshold=20,\n potential_centers=potential_centers,\n mask=cell)\n\n # Show detected particles as overlay on our original image.\n imshow(label2rgb(particles, image, bg_label=0))\n plt.show()\n\n\nSee the examples in the `example` folder of the source dist for more\ninformation. Note that `matplotlib` and `skimage` are not required for SPADE\nto work.\n\nFrom the command line\n---------------------\n\nAlso provided is a command line interface, that can be used as following:\n\n.. code:: bash\n\n python -m spade.cli INPUT_IMAGE THRESHOLD -o /path/to/output_image.png\n\nLaunch this command with `-h` for more information on its usage.\n\n\n\nAuthors & Acknowledgments\n=========================\n\n\nSPADE was developed by `Nicolas Cedilnik\n`_, `\u00c9ric Debreuve\n`_ and `Xavier Descombes\n`_ at the `MORPHEME team\n`_.\n\nIf you use SPADE for your scientific work, please include this `bibtex` (or\nequivalent) entry:\n\n.. code:: latex\n\n @misc{cedilnik2016spade,\n title={SPADE: Small particle detection}\n author={Cedilnik, Nicolas and Debreuve, \u00c9ric and Descombes, Xavier}\n url={https://pypi.python.org/pypi/small-particle-detection}\n year={2016}\n }\n\nLicense\n=======\nSPADE is released under the `CeCILL-2.1 licence\n`_.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.inria.fr/ncedilni/spade", "keywords": "image", "license": "CeCILL", "maintainer": "", "maintainer_email": "", "name": "small-particle-detection", "package_url": "https://pypi.org/project/small-particle-detection/", "platform": "", "project_url": "https://pypi.org/project/small-particle-detection/", "project_urls": { "Homepage": "https://gitlab.inria.fr/ncedilni/spade" }, "release_url": "https://pypi.org/project/small-particle-detection/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Small Particle Detection, a shapes library-based object detector.", "version": "0.0.3" }, "last_serial": 3156199, "releases": { "0.0.1a1": [ { "comment_text": "", "digests": { "md5": "5535c93ad24473ffa9b45d0894cbebc5", "sha256": "19fb5b4cf7b6a391f03ec23683af4e3bb1c1e5d17b59f04ac13b80b5deebaf44" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a1.tar.gz", "has_sig": false, "md5_digest": "5535c93ad24473ffa9b45d0894cbebc5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 86925, "upload_time": "2016-06-15T09:56:53", "url": "https://files.pythonhosted.org/packages/44/16/e5b8b010972ec11d2b2f266cefeb4ad9e5b149b8cd439f320a7bc4a52f94/small-particle-detection-0.0.1a1.tar.gz" } ], "0.0.1a10": [ { "comment_text": "", "digests": { "md5": "e2d3eff0d085fe263e6ddfa7f6985c6e", "sha256": "8f69fa6396d1485d647d566d97868366cc185431b3ef517653bf1c1a3f6fd4d9" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a10.tar.gz", "has_sig": false, "md5_digest": "e2d3eff0d085fe263e6ddfa7f6985c6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90065, "upload_time": "2016-06-30T13:09:40", "url": "https://files.pythonhosted.org/packages/e0/ae/efdc13f91c0d18cb7d5b94439acdb63a513e793eafed9202cdf8f2023a59/small-particle-detection-0.0.1a10.tar.gz" } ], "0.0.1a11": [ { "comment_text": "", "digests": { "md5": "194a4ca31af73a7a74799092a7cb9b3c", "sha256": "e0cf4ceb54dc512bbaa38f2e6b85ed13e2c030fbfb111ebb27c1eb2faa9ad2b3" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a11.tar.gz", "has_sig": false, "md5_digest": "194a4ca31af73a7a74799092a7cb9b3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90066, "upload_time": "2016-06-30T13:10:33", "url": "https://files.pythonhosted.org/packages/bc/ec/45fb65f376b7315cc1c357370c4f23f96e05bfba79c6fbf0403d609a5eef/small-particle-detection-0.0.1a11.tar.gz" } ], "0.0.1a2": [ { "comment_text": "", "digests": { "md5": "f0a23dea4191c6ff0d8a868f5bbfea80", "sha256": "c2a1df9e04239150ea487c2f617fbef05cd0e6b0de51c2fa4ea22a9e77b7f5ab" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a2.tar.gz", "has_sig": false, "md5_digest": "f0a23dea4191c6ff0d8a868f5bbfea80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 89109, "upload_time": "2016-06-29T13:24:40", "url": "https://files.pythonhosted.org/packages/d4/24/333e46c26c7b7841408ba2f7544b470589755ce6ed29ff0e16fc03d8b560/small-particle-detection-0.0.1a2.tar.gz" } ], "0.0.1a3": [ { "comment_text": "", "digests": { "md5": "69db0ce7d4f608fc5d1291561753973d", "sha256": "065c1f80aab821b181e9e52efcb32542610de3dbe30cccaee78d82dd6cda7d5c" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a3.tar.gz", "has_sig": false, "md5_digest": "69db0ce7d4f608fc5d1291561753973d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 89087, "upload_time": "2016-06-29T13:29:10", "url": "https://files.pythonhosted.org/packages/28/ab/5a73a77b5f995d3f1027cc7f7c58ada46f47a6efbfd5693522551382476b/small-particle-detection-0.0.1a3.tar.gz" } ], "0.0.1a4": [ { "comment_text": "", "digests": { "md5": "91c372b29e8f935f4d591747fc73312b", "sha256": "f86272d2a20498600239c80aec84944b02adbc1708c5c9244f622dcc297c8541" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a4.tar.gz", "has_sig": false, "md5_digest": "91c372b29e8f935f4d591747fc73312b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90323, "upload_time": "2016-06-29T15:03:32", "url": "https://files.pythonhosted.org/packages/35/b0/17af097b93ebe38aaf764abacf62c80f3591103d470de31e1605c484fe8c/small-particle-detection-0.0.1a4.tar.gz" } ], "0.0.1a5": [ { "comment_text": "", "digests": { "md5": "7bf37e1b603a17deb029cbd8cac1b41c", "sha256": "dede39ce77728683ff466ff0190a5f2248060dddf2d5aef72602afeb43826f72" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a5.tar.gz", "has_sig": false, "md5_digest": "7bf37e1b603a17deb029cbd8cac1b41c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 85289, "upload_time": "2016-06-30T12:19:37", "url": "https://files.pythonhosted.org/packages/e3/77/cb8439cdaab0dc6f94a9a7f260755b7982b39373eca635dda0e54ae6745d/small-particle-detection-0.0.1a5.tar.gz" } ], "0.0.1a6": [ { "comment_text": "", "digests": { "md5": "12f2d11ca9e0bab013ead82483bf9e0d", "sha256": "ebfd5907902975b1b32f937ba3952ab1048064153d9a4f51b01271a71df6572c" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a6.tar.gz", "has_sig": false, "md5_digest": "12f2d11ca9e0bab013ead82483bf9e0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90359, "upload_time": "2016-06-30T12:23:23", "url": "https://files.pythonhosted.org/packages/4c/c3/5b6217182fdaea3c02474ffb65a935da8b0d5028df53b43ad7bf0a5ba441/small-particle-detection-0.0.1a6.tar.gz" } ], "0.0.1a7": [ { "comment_text": "", "digests": { "md5": "df586816550af7614c1335bd90735b00", "sha256": "d8079564a48fea8acbeb6121425057457ddc4f647c9ace1f09198d6be121b56a" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a7.tar.gz", "has_sig": false, "md5_digest": "df586816550af7614c1335bd90735b00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90402, "upload_time": "2016-06-30T12:30:31", "url": "https://files.pythonhosted.org/packages/e3/e1/0fb8218db6b837c9f2f9e300029a9641cb2396db509b98b38ffc506dd791/small-particle-detection-0.0.1a7.tar.gz" } ], "0.0.1a8": [ { "comment_text": "", "digests": { "md5": "633bde88f86edc0dbb6907c01055c534", "sha256": "7e50c639601a744a97c3e502807abb3d8d3b29bedaee461d5f86b2716ac628ab" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a8.tar.gz", "has_sig": false, "md5_digest": "633bde88f86edc0dbb6907c01055c534", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 89763, "upload_time": "2016-06-30T12:42:16", "url": "https://files.pythonhosted.org/packages/5e/7c/1b260ab25368808b708dfce5d4bc48f9a2c0c8ba8363030fee58033cd6b5/small-particle-detection-0.0.1a8.tar.gz" } ], "0.0.1a9": [ { "comment_text": "", "digests": { "md5": "aa569cbb1d247994f7baa076fc489fdb", "sha256": "f9d73ee2d90cbd7b510a21e5f2f7166f7f811df14382230bd3588e65037ef5bd" }, "downloads": -1, "filename": "small-particle-detection-0.0.1a9.tar.gz", "has_sig": false, "md5_digest": "aa569cbb1d247994f7baa076fc489fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 89760, "upload_time": "2016-06-30T12:47:07", "url": "https://files.pythonhosted.org/packages/cb/a5/0f7bf17a12482f2636caa35d7960bb73394dd6ee0f260b98f2b7ae1f2e7e/small-particle-detection-0.0.1a9.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "55cf72e79b116fdff3cad43f036377b1", "sha256": "3e0b2bf9c8ec900f771601656944c6c786e0b7fe5e931cfa522c7317ab625db8" }, "downloads": -1, "filename": "small-particle-detection-0.0.2.tar.gz", "has_sig": false, "md5_digest": "55cf72e79b116fdff3cad43f036377b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90747, "upload_time": "2017-05-11T15:04:27", "url": "https://files.pythonhosted.org/packages/72/3f/0486934b0df47aca6435af1fc939bf008358a733270e61250b5a07deaa7c/small-particle-detection-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ac65f7ec8ee391b16dcd29de853405ff", "sha256": "71bb0b02a8c545a670bb38771d42e3c733279c11436146568d14f56cc8fe8de6" }, "downloads": -1, "filename": "small-particle-detection-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ac65f7ec8ee391b16dcd29de853405ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91155, "upload_time": "2017-09-07T12:46:04", "url": "https://files.pythonhosted.org/packages/21/f7/5009872af3e7214686abdbf7b9676331c65d0a4d632543bb4a108d268cc7/small-particle-detection-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac65f7ec8ee391b16dcd29de853405ff", "sha256": "71bb0b02a8c545a670bb38771d42e3c733279c11436146568d14f56cc8fe8de6" }, "downloads": -1, "filename": "small-particle-detection-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ac65f7ec8ee391b16dcd29de853405ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91155, "upload_time": "2017-09-07T12:46:04", "url": "https://files.pythonhosted.org/packages/21/f7/5009872af3e7214686abdbf7b9676331c65d0a4d632543bb4a108d268cc7/small-particle-detection-0.0.3.tar.gz" } ] }