{ "info": { "author": "Rouland Antoine", "author_email": "antoine.rouland@grenoble-inp.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "To install, type in terminal:\n\n`pip install ki67segmentation`\n\nThen:\n\n`from cells_detection.ki67_segmentation import ki67_segmentation, load_data`\n\nThis package contains two functions :\n\n`ki67_segmentation(original_image,\n positive_color=np.array([16.36, 110.89, 53.06]),\n negative_color=np.array([53.15, -18.15, 1.20]),\n background_color=np.array([53.15, -18.15, 1.20]),\n sigma=0.454,\n resize_factor=8,\n visualize_regions=False):`\n\n This function takes an image and return the ratio for cells marked by the ki-67 antigen.\n Also, it is able to plot on the initial image the regions that the algorithm considers as positives cells,\n negatives cells or background.\n The parameters by default are the ones which work good with the images I have worked with.\n\n :param original_image: original image with cells, without pre process\n :param positive_color: color of positives cells as a np.array, in the color lab space,\n np.array([16.36, 110.89, 53.06]) by default\n :param negative_color: color of negatives cells as a np.array, in the color lab space,\n np.array([53.15, -18.15, 1.20]) by default\n :param background_color: color of the background as a np.array, in the color lab space,\n np.array([53.15, -18.15, 1.20]) by default\n :param sigma: variance of the 2 dimensional gaussian for the weight matrix, 0.454 by default\n :param resize_factor: to resize the original image, 8 by default\n :param visualize_regions: boolean, False by default\n :return: the ratio of positives cells\n\n\n`load_data():`\n\n This function loads 5 examples of images and the positive and negative masks associated with each images.\n\n :return: a list of dictionary with the followed keys : \"sample_name\", \"original_image\", \"positive_mask\"\n and \"negative_mask\".\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AntoineRouland/ki67_pack", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ki67segmentation", "package_url": "https://pypi.org/project/ki67segmentation/", "platform": "", "project_url": "https://pypi.org/project/ki67segmentation/", "project_urls": { "Homepage": "https://github.com/AntoineRouland/ki67_pack" }, "release_url": "https://pypi.org/project/ki67segmentation/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.0.2" }, "last_serial": 5581951, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6a0c53324ab2524fd182517e017ba588", "sha256": "d80b962f9bf3df0b60979a3e8ec6f668294d642de36aefc83a964bf89c11bea1" }, "downloads": -1, "filename": "ki67segmentation-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "6a0c53324ab2524fd182517e017ba588", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12393, "upload_time": "2019-07-19T11:51:12", "url": "https://files.pythonhosted.org/packages/df/6d/f3c6d4d803f3da8b27387376a3edfca5ead48dbd1a51f88ab65aecbe9023/ki67segmentation-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7973eb97d3210db059cfa1e014e71138", "sha256": "6dbf5435871925370369f2cd20702fa7f082c56940953c06863d3f16fc854922" }, "downloads": -1, "filename": "ki67segmentation-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7973eb97d3210db059cfa1e014e71138", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5307, "upload_time": "2019-07-19T11:51:14", "url": "https://files.pythonhosted.org/packages/e0/08/59fe12efa7cd67bff52d5f29657c8fbe64624a5062c48968837cb97c1735/ki67segmentation-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2bca3dbe4e445e15d33088f0c97f22d8", "sha256": "770781e29db12157c8a57b2b3808919eeeceee987b8ae50a272206ca70f2c9ba" }, "downloads": -1, "filename": "ki67segmentation-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "2bca3dbe4e445e15d33088f0c97f22d8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12786, "upload_time": "2019-07-25T08:02:31", "url": "https://files.pythonhosted.org/packages/b6/5e/3620306b3322f92cb045600c0f396fea69e8fc85983ffeb367420b0cc61c/ki67segmentation-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8167fa2801115f8ef2d6ebfe08c38ce6", "sha256": "e8ce6ea8bbe9d007543cd19d8340fd7f0846ae4209eef5d7e5aea786b9259a92" }, "downloads": -1, "filename": "ki67segmentation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8167fa2801115f8ef2d6ebfe08c38ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5469, "upload_time": "2019-07-25T08:02:32", "url": "https://files.pythonhosted.org/packages/01/2d/9c3aff2113a0cb054b3f459bce1674e7f74bd5b6ebb497068a6138127c6e/ki67segmentation-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2bca3dbe4e445e15d33088f0c97f22d8", "sha256": "770781e29db12157c8a57b2b3808919eeeceee987b8ae50a272206ca70f2c9ba" }, "downloads": -1, "filename": "ki67segmentation-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "2bca3dbe4e445e15d33088f0c97f22d8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12786, "upload_time": "2019-07-25T08:02:31", "url": "https://files.pythonhosted.org/packages/b6/5e/3620306b3322f92cb045600c0f396fea69e8fc85983ffeb367420b0cc61c/ki67segmentation-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8167fa2801115f8ef2d6ebfe08c38ce6", "sha256": "e8ce6ea8bbe9d007543cd19d8340fd7f0846ae4209eef5d7e5aea786b9259a92" }, "downloads": -1, "filename": "ki67segmentation-0.0.2.tar.gz", "has_sig": false, "md5_digest": "8167fa2801115f8ef2d6ebfe08c38ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5469, "upload_time": "2019-07-25T08:02:32", "url": "https://files.pythonhosted.org/packages/01/2d/9c3aff2113a0cb054b3f459bce1674e7f74bd5b6ebb497068a6138127c6e/ki67segmentation-0.0.2.tar.gz" } ] }