Mapping grayscale images to RGB
Project description
# Grayscale to RGB Python script
Maps grayscale images to RGB based on a custom jet-like colormap. Outputs an images of the same size as the input file. Output image type can be defined by user, outputs png by default.
## How to use
### Dependencies
argparse 1.4.0
matplotlib 3.8.x
### Windows example using cmd python .grayscale_to_rgb.py –input-picture-path .images_inputgrayscale_example.tif –output-picture-path images_outputgrayscale_example_colormapped.png
### Linux
Replace every ` with `/.
## Colormap
## Example Grayscale to RGB image
Based on the example command



Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file grayscale_to_rgb-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: grayscale_to_rgb-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ba93380eaee76c75d89d6cf9d01644447d33a5ff744e72b7c6408a29720946d6
|
|
MD5 |
a9b0899c51425a1d9f4dbcde50193375
|
|
BLAKE2b-256 |
0ce40a95f1ef052d1ac5e563a1211d09f2c6d8c83f86dc085edcbe655c5dbfd7
|