Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_ToGray

ToGray


Description

Convert the input RGB image to grayscale. If the mean pixel value for the resulting image is greater than 127, invert the resulting grayscale image.

Usage

icevision_ToGray(always_apply = FALSE, p = 0.5)

Arguments

always_apply

always_apply

p

p

Value

None

Targets

image

Image types

uint8, float32


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.