{ "info": { "author": "Ben George", "author_email": "ben.geroge@oncology.ox.ac.uk", "bugtrack_url": null, "classifiers": [], "description": "# Module read_hnd\n\nFor interacting with HND file types\n\nTo set it up, you just install it as any other module:\n\n`pip install --user read_hnd`\n\nThis should fix any dependency issues and hopefully work without too much issue.\n\n### Module use:\nTo run the code there are a few options:\n\nConvert all the HND images in that folder and save then in a Processed subfolder\n\n`python -m read_hnd -f C:\\path\\to\\folder`\n\nRead and display the image\n\n`python -m read_hnd -i C:\\path\\to\\image.hnd -p=1`\n\nSave the image\n\n`python -m read_hnd -i C:\\path\\to\\image.hnd -o C:\\path\\to\\save.tiff`\n\nAlso save the metadata\n\n`python -m read_hnd -i C:\\path\\to\\image.hnd -o C:\\path\\to\\save.tiff -m C:\\path\\to\\meatadata.txt`\n\n### Use in python code:\n```python\nfrom read_hnd import read_hnd\t\t\t\t\t# Load module\nfp = read_hnd.HndReader(inputfile)\t\t\t\t# Create object to interact with file\nfp.headerData()\t\t\t\t\t\t\t\t\t# Read the header\nfp.pixelData()\t\t\t\t\t\t\t\t\t# Read pixel data (must read header first)\nmatplotlib.plot.imshow(fp.uncompressedImage)\t# Show the image using matplotlib\nplt.show()\n```\n\nThis is very much still a work in progress, so there may be bugs. For example, the metadata doesn\u2019t seem to read correctly (i.e., you get some non-sensical values)", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "read-hnd", "package_url": "https://pypi.org/project/read-hnd/", "platform": "", "project_url": "https://pypi.org/project/read-hnd/", "project_urls": null, "release_url": "https://pypi.org/project/read-hnd/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "Package to read .HND format images", "version": "0.2.3" }, "last_serial": 4165547, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "287a570e7c4a97f8a7d0c59fb19b2d5a", "sha256": "d4c5c1626823607dcc8aa9aeae302889641f2f4903579f04de7d34581f86a2ae" }, "downloads": -1, "filename": "read_hnd-0.2.2.tar.gz", "has_sig": false, "md5_digest": "287a570e7c4a97f8a7d0c59fb19b2d5a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 785943, "upload_time": "2018-08-13T12:25:29", "url": "https://files.pythonhosted.org/packages/84/48/7da24a524310a037c5decb5bcaf0bf39a9d81b775555a225fd80bafbd976/read_hnd-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "4ba309fd0ee1580bfd3c84187b125ccc", "sha256": "72762f5771755a94e78f9c892467edea05bfe0e8e3be36a8e0230a18ee4abab3" }, "downloads": -1, "filename": "read_hnd-0.2.3.tar.gz", "has_sig": false, "md5_digest": "4ba309fd0ee1580bfd3c84187b125ccc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 785875, "upload_time": "2018-08-13T14:21:27", "url": "https://files.pythonhosted.org/packages/78/a2/7a772ae99b5a7973553a6dd2e1fb1d8462c3aefc5853f760c3d4d1f8fbea/read_hnd-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ba309fd0ee1580bfd3c84187b125ccc", "sha256": "72762f5771755a94e78f9c892467edea05bfe0e8e3be36a8e0230a18ee4abab3" }, "downloads": -1, "filename": "read_hnd-0.2.3.tar.gz", "has_sig": false, "md5_digest": "4ba309fd0ee1580bfd3c84187b125ccc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 785875, "upload_time": "2018-08-13T14:21:27", "url": "https://files.pythonhosted.org/packages/78/a2/7a772ae99b5a7973553a6dd2e1fb1d8462c3aefc5853f760c3d4d1f8fbea/read_hnd-0.2.3.tar.gz" } ] }