# computeNoise method

int computeNoise(

1. Image image

)

Measures the image noise.

param image Source image to process. return The estimated noise score. 0 means no noise, 100 means no signal. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int computeNoise(Image image) {
      Pointer<Int> pNoiseScore = calloc();
      try {
        var err = faceSDK.id3FaceAnalyser_ComputeNoise(_pHandle.value, image.handle, pNoiseScore);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vNoiseScore = pNoiseScore.value;
        return vNoiseScore;
      } finally {
        calloc.free(pNoiseScore);
      }
    }