{ "info": { "author": "D.", "author_email": "dtk@gmx.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "License :: Other/Proprietary License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering" ], "description": "About\n=====\n\nCPBD is a perceptual-based no-reference objective image sharpness metric\nbased on the cumulative probability of blur detection `developed at the\nImage, Video and Usability Laboratory of Arizona State\nUniversity `__.\n\n [The metric] is based on the study of human blur perception for\n varying contrast values. The metric utilizes a probabilistic model\n to estimate the probability of detecting blur at each edge in the\n image, and then the information is pooled by computing the\n cumulative probability of blur detection (CPBD).\n\nThis software is a Python port of the `reference MATLAB\nimplementation `__.\nTo approximate the behaviour of MATLAB's proprietary implementation of\nthe Sobel operator, it uses an implementation `inspired by GNU\nOctave `__.\n\nReferences\n==========\n\nCPBD is described in detail in the following papers:\n\n- `N. D. Narvekar and L. J. Karam, \"A No-Reference Image Blur Metric\n Based on the Cumulative Probability of Blur Detection (CPBD),\" in\n IEEE Transactions on Image Processing, vol. 20, no. 9, pp. 2678-2683,\n Sept.\n 2011. `__\n- `N. D. Narvekar and L. J. Karam, \"An Improved No-Reference Sharpness\n Metric Based on the Probability of Blur Detection,\" International\n Workshop on Video Processing and Quality Metrics for Consumer\n Electronics (VPQM), January 2010, http://www.vpqm.org\n (pdf) `__\n- `N. D. Narvekar and L. J. Karam, \"A no-reference perceptual image\n sharpness metric based on a cumulative probability of blur\n detection,\" 2009 International Workshop on Quality of Multimedia\n Experience, San Diego, CA, 2009, pp.\n 87-91. `__\n\nCredits\n=======\n\nIf you publish research results using this code, I kindly ask you to\nreference the papers of the original authors of the metric as stated in\nthe previous section as well as their reference implementation in your\nbibliography. See also the copyright statement of the reference\nimplementation in the `license\nfile `__.\nThank you!\n\nInstallation\n============\n\n::\n\n $ pip install cpbd\n\nUsage\n=====\n\n::\n\n In [1]: import cpbd\n\n In [2]: from scipy import ndimage\n\n In [3]: input_image = ndimage.imread('/tmp/LIVE_Images_GBlur/img4.bmp', mode='L')\n\n In [4]: cpbd.compute(input_image)\n Out[4]: 0.75343203230148048\n\nDevelopment\n===========\n\n::\n\n $ git clone git@github.com:0x64746b/python-cpbd.git\n Cloning into 'python-cpbd'...\n $ cd python-cpbd\n $ pip install -U '.[dev]'\n\nTo quickly run the tests with the invocation interpreter:\n\n::\n\n $ python setup.py test\n\nTo test the library under different interpreters:\n\n::\n\n $ tox\n\nPerformance\n===========\n\nThe following graph visualizes the accuracy of this port in comparison\nwith the reference implementation when tested on the\n`images `__\nof the `LIVE\ndatabase `__:\n\n.. image:: https://raw.githubusercontent.com/0x64746b/python-cpbd/master/tests/data/performance_LIVE.png\n :alt: Performance on LIVE database", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/0x64746b/python-cpbd", "keywords": "sharpness,metric,blur,cumulative probability,no-reference,objective,perceptual", "license": "Other/Proprietary License", "maintainer": "", "maintainer_email": "", "name": "cpbd", "package_url": "https://pypi.org/project/cpbd/", "platform": "", "project_url": "https://pypi.org/project/cpbd/", "project_urls": { "Homepage": "https://github.com/0x64746b/python-cpbd" }, "release_url": "https://pypi.org/project/cpbd/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "Calculate the sharpness of an image with the CPBD metric", "version": "1.0.7" }, "last_serial": 3597430, "releases": { "1.0.7": [ { "comment_text": "", "digests": { "md5": "6b998eda3c51bdf3cfe7bc5181affccb", "sha256": "365c7d14853779ebf0003063879e445a1cfb90842ffae1ec97e53c9f3ef6701a" }, "downloads": -1, "filename": "cpbd-1.0.7.tar.gz", "has_sig": false, "md5_digest": "6b998eda3c51bdf3cfe7bc5181affccb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7052, "upload_time": "2018-02-19T23:00:17", "url": "https://files.pythonhosted.org/packages/5e/2c/fbe38a67ef376c6ddf1a07e06f17cc7fed89342aa586fe59ff73671e1397/cpbd-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b998eda3c51bdf3cfe7bc5181affccb", "sha256": "365c7d14853779ebf0003063879e445a1cfb90842ffae1ec97e53c9f3ef6701a" }, "downloads": -1, "filename": "cpbd-1.0.7.tar.gz", "has_sig": false, "md5_digest": "6b998eda3c51bdf3cfe7bc5181affccb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7052, "upload_time": "2018-02-19T23:00:17", "url": "https://files.pythonhosted.org/packages/5e/2c/fbe38a67ef376c6ddf1a07e06f17cc7fed89342aa586fe59ff73671e1397/cpbd-1.0.7.tar.gz" } ] }