@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.AdjustContrast extends Pointer
Adjust the contrast of one or more images.
images is a tensor of at least 3 dimensions. The last 3 dimensions are
interpreted as [height, width, channels]. The other dimensions only
represent a collection of images, such as [batch, height, width, channels].
Contrast is adjusted independently for each channel of each image.
For each channel, the Op first computes the mean of the image pixels in the
channel and then adjusts each component of each pixel to
(x - mean) * contrast_factor + mean.
Arguments:
* scope: A Scope object
* images: Images to adjust. At least 3-D.
* contrast_factor: A float multiplier for adjusting contrast.
Returns:
* Output: The contrast-adjusted image or images.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
AdjustContrast(Pointer p)
Pointer cast constructor.
|
AdjustContrast(tensorflow.Scope scope,
tensorflow.Input images,
tensorflow.Input contrast_factor) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.AdjustContrast |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.AdjustContrast |
output(tensorflow.Output output) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic AdjustContrast(Pointer p)
Pointer.Pointer(Pointer).public AdjustContrast(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input images, @ByVal tensorflow.Input contrast_factor)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByRef public tensorflow.Operation operation()
public tensorflow.AdjustContrast operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.AdjustContrast output(tensorflow.Output output)
Copyright © 2019. All rights reserved.