telemetry.internal.image_processing.image_util_numpy_impl
index
telemetry/internal/image_processing/image_util_numpy_impl.py

# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

 
Modules
       
telemetry.util.color_histogram
cv2
telemetry.internal.util.external_modules
numpy
png
telemetry.util.rgba_color

 
Functions
       
AreEqual(image1, image2, tolerance, likely_equal)
Channels(image)
Crop(image, left, top, width, height)
Diff(image1, image2)
FromPng(png_data)
FromPngFile(path)
FromRGBPixels(width, height, pixels, bpp)
GetBoundingBox(image, color, tolerance)
GetColorHistogram(image, ignore_color, tolerance)
GetPixelColor(image, x, y)
Height(image)
Pixels(image)
Width(image)
WritePngFile(image, path)

 
Data
        division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)