{ "info": { "author": "Philipp Klaus", "author_email": "philipp.l.klaus@web.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization" ], "description": "Python package colorscale\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThis package was written to facilitate working with 'false color'. Many\nscientific fields work with image files to visualize two-dimensional\nscalar data. The raw data can then be represented as a grayscale image.\nFor different reasons, representing these data in false color can be\nuseful. **This package helps to convert grayscale images to 'false\ncolor'.** On the other hand, quite often it is desirable to have access\nto the original values of a false color plot. If the color scale (or\n'color map') is known and it is bijective (a reversible one to one\nmapping), the original gray scale image can be recovered from the false\ncolor image using this tool, too.\n\nInstallation\n~~~~~~~~~~~~\n\n::\n\n pip install colorscale\n\nUsage\n~~~~~\n\nAfter installing, two command line tools will be available:\n\n- ``to_color_scale`` and\n- ``to_gray_scale``.\n\nStart them with the ``--help`` flag to learn how to use them:\n\n::\n\n $ to_color_scale --help\n usage: to_color_scale [-h] -s {tillscale} [-b {pil,cv2}] IMAGEFILE\n\n Convert an image saved as false color to grayscale\n\n positional arguments:\n IMAGEFILE The image to convert\n\n optional arguments:\n -h, --help show this help message and exit\n -s {tillscale}, --colorscale {tillscale}\n Desired color scale\n -b {pil,cv2}, --backend {pil,cv2}\n\nand\n\n::\n\n $ to_gray_scale --help\n usage: to_gray_scale [-h] -s COLORSCALE IMAGEFILE\n\n Convert an image saved as false color to grayscale\n\n positional arguments:\n IMAGEFILE The image to convert\n\n optional arguments:\n -h, --help show this help message and exit\n -s COLORSCALE, --colorscale COLORSCALE {tillscale}\n Desired color scale\n\nAuthor\n~~~~~~\n\n- Philipp Klaus\n philipp.l.klaus@web.de", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pklaus/python_colorscale", "keywords": "False color colorscale colormap color map", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "colorscale", "package_url": "https://pypi.org/project/colorscale/", "platform": "any", "project_url": "https://pypi.org/project/colorscale/", "project_urls": { "Homepage": "https://github.com/pklaus/python_colorscale" }, "release_url": "https://pypi.org/project/colorscale/0.8.2/", "requires_dist": null, "requires_python": "", "summary": "Python package to convert images from grayscale to false color and back", "version": "0.8.2" }, "last_serial": 3865595, "releases": { "0.8.0": [ { "comment_text": "", "digests": { "md5": "e31d0b7a52ac81962ed406e522973ac2", "sha256": "da41664d64f5ba25df1c1be9b60215934f094185f19d1df4a0c206dddc7030d6" }, "downloads": -1, "filename": "colorscale-0.8.0.tar.gz", "has_sig": false, "md5_digest": "e31d0b7a52ac81962ed406e522973ac2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3982, "upload_time": "2018-05-11T21:02:00", "url": "https://files.pythonhosted.org/packages/08/b1/66765c519673a742d9fbe443fffd01405fc41273859a44a540992d08ae31/colorscale-0.8.0.tar.gz" } ], "0.8.2": [ { "comment_text": "", "digests": { "md5": "18875f663e680919468b8d92186ad509", "sha256": "1851ac6f2a4b82b8f6fa957f8337c222d1eebb31694e0ec77b5562b7c577163f" }, "downloads": -1, "filename": "colorscale-0.8.2.tar.gz", "has_sig": false, "md5_digest": "18875f663e680919468b8d92186ad509", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4987, "upload_time": "2018-05-15T18:06:55", "url": "https://files.pythonhosted.org/packages/bd/27/1f0d1e6289e5fd934a3365b66158bdbd5b108f4141b489f335b7a1004eae/colorscale-0.8.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "18875f663e680919468b8d92186ad509", "sha256": "1851ac6f2a4b82b8f6fa957f8337c222d1eebb31694e0ec77b5562b7c577163f" }, "downloads": -1, "filename": "colorscale-0.8.2.tar.gz", "has_sig": false, "md5_digest": "18875f663e680919468b8d92186ad509", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4987, "upload_time": "2018-05-15T18:06:55", "url": "https://files.pythonhosted.org/packages/bd/27/1f0d1e6289e5fd934a3365b66158bdbd5b108f4141b489f335b7a1004eae/colorscale-0.8.2.tar.gz" } ] }