
com.microsoft.azure.cognitiveservices.vision.faceapi.models.Noise Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-faceapi Show documentation
Show all versions of azure-cognitiveservices-faceapi Show documentation
This package contains Microsoft Cognitive Service Face API SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.vision.faceapi.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Properties describing noise level of the image.
*/
public class Noise {
/**
* An enum value indicating level of noise. Possible values include: 'Low',
* 'Medium', 'High'.
*/
@JsonProperty(value = "noiseLevel")
private NoiseLevel noiseLevel;
/**
* A number indicating level of noise level ranging from 0 to 1. [0, 0.25)
* is under exposure. [0.25, 0.75) is good exposure. [0.75, 1] is over
* exposure. [0, 0.3) is low noise level. [0.3, 0.7) is medium noise level.
* [0.7, 1] is high noise level.
*/
@JsonProperty(value = "value")
private double value;
/**
* Get the noiseLevel value.
*
* @return the noiseLevel value
*/
public NoiseLevel noiseLevel() {
return this.noiseLevel;
}
/**
* Set the noiseLevel value.
*
* @param noiseLevel the noiseLevel value to set
* @return the Noise object itself.
*/
public Noise withNoiseLevel(NoiseLevel noiseLevel) {
this.noiseLevel = noiseLevel;
return this;
}
/**
* Get the value value.
*
* @return the value value
*/
public double value() {
return this.value;
}
/**
* Set the value value.
*
* @param value the value value to set
* @return the Noise object itself.
*/
public Noise withValue(double value) {
this.value = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy