[−][src]Module photon_rs::monochrome
Monochrome-related effects and greyscaling/duotoning.
Functions
__wasm_bindgen_generated_b_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Blue channel's value. |
__wasm_bindgen_generated_decompose_max | Uses a max. decomposition algorithm to convert an image to greyscale. |
__wasm_bindgen_generated_decompose_min | Uses a min. decomposition algorithm to convert an image to greyscale. |
__wasm_bindgen_generated_desaturate | Desaturate an image by getting the min/max of each pixel's RGB values. |
__wasm_bindgen_generated_g_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Green channel's value. |
__wasm_bindgen_generated_grayscale | Convert an image to grayscale using the conventional averaging algorithm. |
__wasm_bindgen_generated_grayscale_human_corrected | Convert an image to grayscale with a human corrected factor, to account for human vision. |
__wasm_bindgen_generated_grayscale_shades | Employ only a limited number of gray shades in an image. |
__wasm_bindgen_generated_monochrome | Apply a monochrome effect of a certain colour. |
__wasm_bindgen_generated_r_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Red channel's value. |
__wasm_bindgen_generated_sepia | Convert an image to sepia. |
__wasm_bindgen_generated_single_channel_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to a chosen channel's value. |
__wasm_bindgen_generated_threshold | Threshold an image using a standard thresholding algorithm. |
b_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Blue channel's value. |
decompose_max | Uses a max. decomposition algorithm to convert an image to greyscale. |
decompose_min | Uses a min. decomposition algorithm to convert an image to greyscale. |
desaturate | Desaturate an image by getting the min/max of each pixel's RGB values. |
g_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Green channel's value. |
grayscale | Convert an image to grayscale using the conventional averaging algorithm. |
grayscale_human_corrected | Convert an image to grayscale with a human corrected factor, to account for human vision. |
grayscale_shades | Employ only a limited number of gray shades in an image. |
monochrome | Apply a monochrome effect of a certain colour. |
r_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to the Red channel's value. |
sepia | Convert an image to sepia. |
single_channel_grayscale | Convert an image to grayscale by setting a pixel's 3 RGB values to a chosen channel's value. |
threshold | Threshold an image using a standard thresholding algorithm. |