Open Sidebar
Close Sidebar
Crystal Image
master
CrImage
BlackView
ChannelType
Color
ComplexMap
EdgePolicy
ErrorView
Exception
FftUtil
FloatMap
Format
JPEG
Open
PNG
PPM
Save
WebP
GrayscaleImage
Pixel
Image
IntMap
Map
MapImpl
Mask
NumericMap
OneMap
Operation
BilinearResize
BoxBlur
Brightness
ChannelSwap
Contrast
Crop
Draw
GaussianBlur
HistogramEqualize
Histogram
HorizontalBlur
MaskApply
Pad
Rotate
VerticalBlur
Region
RepeatView
RGBAImage
UInt8Map
Window
Pluto
ImageGA
ImageRGBA
StumpyCore
Canvas
Tutorial
ChromaKey
EdgeDetection
FindDifferences
module
CrImage::
Operation::
Contrast
Overview
Increases contrast of an image
Taking sample
image
:
image.contrast(
20
)
Direct including types
CrImage::GrayscaleImage
CrImage::RGBAImage
Defined in:
cr-image/operation/contrast.cr
Instance Method Summary
#contrast
(value : Float64) :
self
#contrast!
(value : Float64) :
self
Instance Method Detail
def
contrast
(value : Float64) :
self
#
[
View source
]
def
contrast!
(value : Float64) :
self
#
[
View source
]