{ "info": { "author": "Miquel Mir\u00f3 Nicolau, Bernat Galm\u00e9s Rubert, Dr. Gabriel Moy\u00e0 Alcover", "author_email": "miquelca32@gmail.com, bernat_galmes@hotmail.com, gabriel_moya@uib.es", "bugtrack_url": null, "classifiers": [], "description": "
\n \n
\n\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/uib-vfeatures)\n[![PyPI version](https://badge.fury.io/py/uib-vfeatures.svg)](https://badge.fury.io/py/uib-vfeatures)\n\n\n\n**UIB - V Features** is a library to extract useful features of different types(morphological, texture \nand color). To increase the flexibility of the library all functions can be used with masks or contours. \n\nUIB - V Features was originally developed by researchers of [UGIVIA](http://ugivia.uib.es/). This research group\nis centered on computer vision and artificial intelligence. \n\nAll the features available are grouped in one iterator to simplify the use of this library.\n\n### Installation\n\nInstall the library is very simple with pip\n\n```\n$ pip install uib-vfeatures\n```\n\n---\n## List of features\n\n### Morphological\n\n* Solidity\n* Convex hull perimeter\n* Convex hull area\n* Bounding box area\n* Rectangularity\n* Minor radius\n* Maximum radius\n* Feret\n* Breadh\n* Circularity\n* Roundness\n* Feret Angle\n* Eccenctricity\n* Center\n* Sphericity\n* Aspect Ratio\n* Area equivalent diameter\n* Perimeter equivalent diameter\n* Equivalent elipse area\n* Compactness\n* Area\n* Convexity\n* Shape\n* Perimeter\n\n### Color\n\n* Mean of the LAB channels\n* Mean of the RGB channels\n* Mean of the HSV channels\n* Standard deviation of the LAB channels\n* Standard deviation of the RGB channels\n* Standard deviation of the HSV channels\n\n\n#### Texture features\n\n+ Contrast\n+ Dissimilarity\n+ Homogeneity\n+ ASN\n+ Energy\n+ Correlation\n\n---\n\n## Demo\n\nWe're going to use our library with a mask image .\n\n```python\nfrom uib_vfeatures.masks import Masks\nfrom uib_vfeatures import Features_mask as ftrs\nimport cv2\n\n```\nFirst of all we read the image from a file, then we try our features with visualizations. We only have \nthree features with visualization: the bounding box area, the eccentricity and the solidity. \n\n```python\nmask = cv2.imread(\"mask.jpg\")\n\nMasks.bounding_box_area(mask, True)\n\nMasks.eccentricity(mask, True)\nMasks.solidity(mask, True)\n```\n\n### Iterator\n\nYou can use an iterator and implement every morpholical feature. \n\n```python\nfeatures = {}\n\nfor key, func in features.items():\n features[key] = func(mask)\n\n```\nAs a result we had a dicctionary of the form *{'Feature_name': value}*\n\n### Citation\n\nIf you use this code, please cite\n\n```\n@article{PETROVIC2020104027,\n title = {Sickle-cell disease diagnosis support selecting the most appropriate machine learning method: Towards a general and interpretable approach for cell morphology analysis from microscopy images},\n author = {Nata\u0161a Petrovi\u0107 and Gabriel Moy\u00e0-Alcover and Antoni Jaume-i-Cap\u00f3 and Manuel Gonz\u00e1lez-Hidalgo},\n journal = {Computers in Biology and Medicine},\n volume = {126},\n pages = {104027},\n year = {2020},\n issn = {0010-4825},\n doi = {https://doi.org/10.1016/j.compbiomed.2020.104027},\n url = {https://www.sciencedirect.com/science/article/pii/S0010482520303589}\n}\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/explainingAI/uib_vfeatures", "keywords": "Features extraction,Machine Learning,Computer Vision", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "uib-vfeatures", "package_url": "https://pypi.org/project/uib-vfeatures/", "platform": "", "project_url": "https://pypi.org/project/uib-vfeatures/", "project_urls": { "Homepage": "https://github.com/explainingAI/uib_vfeatures" }, "release_url": "https://pypi.org/project/uib-vfeatures/0.7/", "requires_dist": null, "requires_python": "", "summary": "Vision features of generalistic use", "version": "0.7", "yanked": false, "yanked_reason": null }, "last_serial": 11934255, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7ad5568063dd1850d3a888e14897192a", "sha256": "323fd26cfbfc59e2c69f2b3a617021d8e1c38a958eefe545ff1439ee1cd3f0f9" }, "downloads": -1, "filename": "uib_vfeatures-0.1.tar.gz", "has_sig": false, "md5_digest": "7ad5568063dd1850d3a888e14897192a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5930, "upload_time": "2018-12-11T11:32:59", "upload_time_iso_8601": "2018-12-11T11:32:59.623775Z", "url": "https://files.pythonhosted.org/packages/d3/26/8c837e788b67df94f1d8d2c898d1e913ba70dead327e065f0c590352be75/uib_vfeatures-0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c3bfe406fbb6c2a1f6b031fe94e01da5", "sha256": "d34ded37dd449ce96ffcfebd20abdbf17fa2ee0edf291d0acf13c24fcf585f87" }, "downloads": -1, "filename": "uib_vfeatures-0.1.3.tar.gz", "has_sig": false, "md5_digest": "c3bfe406fbb6c2a1f6b031fe94e01da5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6933, "upload_time": "2019-05-09T10:47:07", "upload_time_iso_8601": "2019-05-09T10:47:07.269068Z", "url": "https://files.pythonhosted.org/packages/83/b8/5cac96ac31a8935d3f85fafea2fdbf1a4b4279a7562dca09c9cb432ced6d/uib_vfeatures-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "8fc18545a0bde967317b36c1daa0bcb3", "sha256": "3794c5748a0a1167c5d18abd873929017fbf295fbb121493b81d8ebe2f1e9325" }, "downloads": -1, "filename": "uib_vfeatures-0.2.3.tar.gz", "has_sig": false, "md5_digest": "8fc18545a0bde967317b36c1daa0bcb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7411, "upload_time": "2019-10-28T08:23:44", "upload_time_iso_8601": "2019-10-28T08:23:44.772542Z", "url": "https://files.pythonhosted.org/packages/fd/bb/552af84d35b87855a5cc4e0a6775758e9f4fcda56bba4b46cfda94315dd6/uib_vfeatures-0.2.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3": [ { "comment_text": "", "digests": { "md5": "7d4ae8c571dd0076fee72028a60676e0", "sha256": "1690b233625d60e259dc7bca2959202f7dc2e73eda0024a71dc417408866c4ba" }, "downloads": -1, "filename": "uib_vfeatures-0.3.tar.gz", "has_sig": false, "md5_digest": "7d4ae8c571dd0076fee72028a60676e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7781, "upload_time": "2019-11-26T09:16:02", "upload_time_iso_8601": "2019-11-26T09:16:02.823061Z", "url": "https://files.pythonhosted.org/packages/90/02/9a4733d0480d12e568269857689bf8124764b0540aba05b237ade88be459/uib_vfeatures-0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "2a193e4458fb0a28f942a7a1ea896dce", "sha256": "4bbcfa4148c3ccd285d3eb256e290ff7cfab11ba56f1897b03331ea8e738074f" }, "downloads": -1, "filename": "uib_vfeatures-0.3.1.tar.gz", "has_sig": false, "md5_digest": "2a193e4458fb0a28f942a7a1ea896dce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7780, "upload_time": "2019-11-27T11:28:57", "upload_time_iso_8601": "2019-11-27T11:28:57.983774Z", "url": "https://files.pythonhosted.org/packages/de/ff/6caa115abb11b5d15020ceaf93e12aa070e8c1efa7ebfaf979a9a86ec467/uib_vfeatures-0.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5": [ { "comment_text": "", "digests": { "md5": "cfcc2bd3ca8fc010456427dbea32b64d", "sha256": "6ebabaaf480abaa1b907b0f92d4ab5abf48efb95eb853ef727a456d91035cd0a" }, "downloads": -1, "filename": "uib_vfeatures-0.5.tar.gz", "has_sig": false, "md5_digest": "cfcc2bd3ca8fc010456427dbea32b64d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7903, "upload_time": "2019-12-12T15:27:11", "upload_time_iso_8601": "2019-12-12T15:27:11.089457Z", "url": "https://files.pythonhosted.org/packages/7a/75/a238d0f99ddf3b21b5c356874112bcd9f45ce832ef628b0aabb9d47c7e40/uib_vfeatures-0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "74c2540f9321ef6911a696d79b51f87f", "sha256": "dc7c70c014c39448e9e594e254ac91ae9e1ad03388458bb5fe640267eda73d3f" }, "downloads": -1, "filename": "uib_vfeatures-0.5.1.tar.gz", "has_sig": false, "md5_digest": "74c2540f9321ef6911a696d79b51f87f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9414, "upload_time": "2019-12-13T09:24:58", "upload_time_iso_8601": "2019-12-13T09:24:58.197907Z", "url": "https://files.pythonhosted.org/packages/c2/f1/8d83d302cf62cd8692f9cde77d586f5ee9a9863a10f57dfa85d315875861/uib_vfeatures-0.5.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5.1.1": [ { "comment_text": "", "digests": { "md5": "11770a502efcdc25624a047c611d8b6c", "sha256": "e0e8896c07aec90a0eb3baa4bf767a0abaa489b5f2c2d2cc7c3c8a9462b70618" }, "downloads": -1, "filename": "uib_vfeatures-0.5.1.1.tar.gz", "has_sig": false, "md5_digest": "11770a502efcdc25624a047c611d8b6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9408, "upload_time": "2019-12-13T09:28:59", "upload_time_iso_8601": "2019-12-13T09:28:59.027139Z", "url": "https://files.pythonhosted.org/packages/7e/a9/4dd8c3c8a525a7682c75939f41d456f5fa228a9d87d7a40ca8edf4815249/uib_vfeatures-0.5.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "c7d6e5a9cf433bbe9ed7dba7d45f27aa", "sha256": "b86469345a4b6c1c09bec9c02679a6dcb8faa2e63cc67c59ed6bd6d3296d3db8" }, "downloads": -1, "filename": "uib_vfeatures-0.5.2.tar.gz", "has_sig": false, "md5_digest": "c7d6e5a9cf433bbe9ed7dba7d45f27aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9409, "upload_time": "2019-12-19T09:14:18", "upload_time_iso_8601": "2019-12-19T09:14:18.843118Z", "url": "https://files.pythonhosted.org/packages/54/47/b97c02f163fbef54620c2ac3afb7d0d5c86505d42980f097a5b5645e4560/uib_vfeatures-0.5.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "77f2b27d3510050a77e7fb8e8fdb1fd8", "sha256": "82f748e56879f4a26e5ef7278fac062af376875c71512b30cb4e9aafe41239ac" }, "downloads": -1, "filename": "uib_vfeatures-0.5.3.tar.gz", "has_sig": false, "md5_digest": "77f2b27d3510050a77e7fb8e8fdb1fd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9417, "upload_time": "2019-12-24T13:52:36", "upload_time_iso_8601": "2019-12-24T13:52:36.254159Z", "url": "https://files.pythonhosted.org/packages/d7/40/695fb5dfa5d6bc2b763a8455c49a88ec35ea992826cde6ab67811dacc5d7/uib_vfeatures-0.5.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "76c528a5ae6a75b62db9312eb31acfcd", "sha256": "1840bc70070315bc70d0f0a7b85a3b4b4ca6c11aa55d8d574f646a813c6ddf31" }, "downloads": -1, "filename": "uib_vfeatures-0.5.4.tar.gz", "has_sig": false, "md5_digest": "76c528a5ae6a75b62db9312eb31acfcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9387, "upload_time": "2020-02-03T12:36:08", "upload_time_iso_8601": "2020-02-03T12:36:08.782233Z", "url": "https://files.pythonhosted.org/packages/58/1a/b46c274f32cc411bbc3fc408ebfd1b59178f9ab73e9941d20b87d9a78540/uib_vfeatures-0.5.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.6": [ { "comment_text": "", "digests": { "md5": "6101d0dbb74b61ced051d51a6aaead30", "sha256": "d0e0f9d8341cacee53428a00afe6e4fc0fa68260507a757ab44cf76b07307763" }, "downloads": -1, "filename": "uib_vfeatures-0.6.tar.gz", "has_sig": false, "md5_digest": "6101d0dbb74b61ced051d51a6aaead30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9545, "upload_time": "2020-03-16T08:20:40", "upload_time_iso_8601": "2020-03-16T08:20:40.616887Z", "url": "https://files.pythonhosted.org/packages/39/69/25bb30353d1f28bb7256c27e005b1d6d573bba13e4b93a436085fa56e181/uib_vfeatures-0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "88962d9af38282f959c5cbdd3f2538c7", "sha256": "d13e5b47042563e88109b54277ad1260c82f64d371b4726172309769b45c0479" }, "downloads": -1, "filename": "uib_vfeatures-0.6.1.tar.gz", "has_sig": false, "md5_digest": "88962d9af38282f959c5cbdd3f2538c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9527, "upload_time": "2020-03-16T10:04:57", "upload_time_iso_8601": "2020-03-16T10:04:57.121444Z", "url": "https://files.pythonhosted.org/packages/08/07/7c51e49d891d697e43b11774b1973345ea16b3629e8b3e5fa98db66c3886/uib_vfeatures-0.6.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.7": [ { "comment_text": "", "digests": { "md5": "7e2d442c7185240c890a572736ea6bf0", "sha256": "71162b174c4c0686266d4c126ea6f4207871e5a0ac91d180d5fecbd269e8b7b4" }, "downloads": -1, "filename": "uib_vfeatures-0.7.tar.gz", "has_sig": false, "md5_digest": "7e2d442c7185240c890a572736ea6bf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11382, "upload_time": "2021-11-05T08:41:25", "upload_time_iso_8601": "2021-11-05T08:41:25.276587Z", "url": "https://files.pythonhosted.org/packages/28/3f/b9a5490df88a132c1ae23c67a02807ff394e884dd60435ffa116c8aa2b48/uib_vfeatures-0.7.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e2d442c7185240c890a572736ea6bf0", "sha256": "71162b174c4c0686266d4c126ea6f4207871e5a0ac91d180d5fecbd269e8b7b4" }, "downloads": -1, "filename": "uib_vfeatures-0.7.tar.gz", "has_sig": false, "md5_digest": "7e2d442c7185240c890a572736ea6bf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11382, "upload_time": "2021-11-05T08:41:25", "upload_time_iso_8601": "2021-11-05T08:41:25.276587Z", "url": "https://files.pythonhosted.org/packages/28/3f/b9a5490df88a132c1ae23c67a02807ff394e884dd60435ffa116c8aa2b48/uib_vfeatures-0.7.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }