{ "info": { "author": "Clark Lee", "author_email": "marsbound@pm.me", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.6" ], "description": "################\nLesion Processor\n################\n\nLesion Processor crops, labels, and/or isolates lesions in a given image\nor a set of images.\n\n.. image:: https://raw.githubusercontent.com/marsbound/lesion-processor-static/master/docs/lp_overview.png\n :width: 100%\n :align: center\n :alt: lp_overview\n\n************\nInstallation\n************\n\n.. code:: sh\n\n pip install lesionprocessor\n\n*****\nUsage\n*****\n\n.. code-block:: python\n\n import lesionprocessor as lp\n\n img_path = 'data/raw/lesion1.jpg'\n crop_dir = 'data/cropped'\n label_dir = 'data/labeled'\n isolate_dir = 'data/isolated'\n unprocessed_dir = 'data/unprocessed' # optional, will default to 'unprocessed' directory\n\n # Crop\n lp.crop(img_path, crop_dir, unprocessed_dir) # option 1\n lp.process(img_path, unprocessed_dir, crop_dir=crop_dir) # option 2\n\n # Label\n lp.label(img_path, label_dir, unprocessed_dir) # option 1\n lp.process(img_path, unprocessed_dir, label_dir=label_dir) # option 2\n\n # Isolate\n lp.isolate(img_path, isolate_dir, unprocessed_dir) # option 1\n lp.process(img_path, unprocessed_dir, isolate_dir=isolate_dir) # option 2\n\n # Crop + label + isolate (partiton into given out directories)\n lp.process(img_path, unprocessed_dir, crop_dir=crop_dir, label_dir=label_dir, isolate_dir=isolate_dir)\n\n************\nHow It Works\n************\n.. image:: https://raw.githubusercontent.com/marsbound/lesion-processor-static/master/docs/lp_detail.png\n :width: 100%\n :align: center\n :alt: lp_overview\n\n**************\nSample Results\n**************\nUsing the crop technique for standardization:\n\n.. image:: https://raw.githubusercontent.com/marsbound/lesion-processor-static/master/docs/results.png\n :width: 100%\n :align: center\n :alt: lp_overview\n\n*******************\nAdditional Features\n*******************\n\n* Concurrently process multiple images\n* Adjustable crop padding size\n* Adjustable label color\n* Adjustable label line thickness\n* Adjustable number of contours to target\n* Adjustable size of kernels for morphological transformations\n* In Progress\n * Additional thresholding methods\n * Adjustable padding for isolation process\n\n*******\nLicense\n*******\n\n`Apache License 2.0 `__\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marsbound/lesion-processor", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "lesionprocessor", "package_url": "https://pypi.org/project/lesionprocessor/", "platform": "", "project_url": "https://pypi.org/project/lesionprocessor/", "project_urls": { "Homepage": "https://github.com/marsbound/lesion-processor" }, "release_url": "https://pypi.org/project/lesionprocessor/0.1.0/", "requires_dist": [ "opencv-python", "numpy", "tqdm", "pathos" ], "requires_python": "<=3.6,>=3", "summary": "Crops or labels lesion(s) shown in an image.", "version": "0.1.0" }, "last_serial": 5606680, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b4411bd792be9a56546d61e40f7b3f78", "sha256": "58a48034b87617b2479f159baf2c6f53c6a4edf3156899ebcbe7735e757750e2" }, "downloads": -1, "filename": "lesionprocessor-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b4411bd792be9a56546d61e40f7b3f78", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "<=3.6,>=3", "size": 8205, "upload_time": "2019-07-30T09:20:54", "url": "https://files.pythonhosted.org/packages/14/92/a76336454e61939899ca2b172167aa761f7ba6a5def7b8cd85a7e1f304d9/lesionprocessor-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31a3b81586b17ecef57466fe1a1844b1", "sha256": "07c3280b040b5de06613210737f12437c5b86e4d33bffa78af5f97cd30073981" }, "downloads": -1, "filename": "lesionprocessor-0.1.0.tar.gz", "has_sig": false, "md5_digest": "31a3b81586b17ecef57466fe1a1844b1", "packagetype": "sdist", "python_version": "source", "requires_python": "<=3.6,>=3", "size": 10282, "upload_time": "2019-07-30T09:20:56", "url": "https://files.pythonhosted.org/packages/bc/29/6df8ac61dfde29da609beeb436e65c4da33ee6584000fe51a14c565091d1/lesionprocessor-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b4411bd792be9a56546d61e40f7b3f78", "sha256": "58a48034b87617b2479f159baf2c6f53c6a4edf3156899ebcbe7735e757750e2" }, "downloads": -1, "filename": "lesionprocessor-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b4411bd792be9a56546d61e40f7b3f78", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "<=3.6,>=3", "size": 8205, "upload_time": "2019-07-30T09:20:54", "url": "https://files.pythonhosted.org/packages/14/92/a76336454e61939899ca2b172167aa761f7ba6a5def7b8cd85a7e1f304d9/lesionprocessor-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31a3b81586b17ecef57466fe1a1844b1", "sha256": "07c3280b040b5de06613210737f12437c5b86e4d33bffa78af5f97cd30073981" }, "downloads": -1, "filename": "lesionprocessor-0.1.0.tar.gz", "has_sig": false, "md5_digest": "31a3b81586b17ecef57466fe1a1844b1", "packagetype": "sdist", "python_version": "source", "requires_python": "<=3.6,>=3", "size": 10282, "upload_time": "2019-07-30T09:20:56", "url": "https://files.pythonhosted.org/packages/bc/29/6df8ac61dfde29da609beeb436e65c4da33ee6584000fe51a14c565091d1/lesionprocessor-0.1.0.tar.gz" } ] }