/pdk/apps/CameraITS/pymodules/its/ |
image.py | 22 import numpy namespace 27 DEFAULT_YUV_TO_RGB_CCM = numpy.matrix([ 32 DEFAULT_YUV_OFFSETS = numpy.array([0, 128, 128]) 34 DEFAULT_GAMMA_LUT = numpy.array( 37 DEFAULT_INVGAMMA_LUT = numpy.array( 87 return ((y.astype(numpy.float32) / 255.0).reshape(h, w, 1), 88 (u.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1), 89 (v.astype(numpy.float32) / 255.0).reshape(h/2, w/2, 1)) 111 y = numpy.subtract(y_plane, yuv_off[0]) 112 u = numpy.subtract(u_plane, yuv_off[1]).view(numpy.int8 [all...] |
device.py | 26 import numpy namespace 100 buf = numpy.frombuffer(buf, dtype=numpy.uint8) 220 * data: the image data as a numpy array of bytes.
|
/cts/suite/audio_quality/ |
BUILD.txt | 4 - Python SciPy, NumPy 5 sudo apt-get install python-scipy python-numpy python-matplotlib
|
/cts/suite/audio_quality/test_description/conf/ |
check_conf.py | 18 import numpy as np 20 from numpy import *
|
/pdk/apps/CameraITS/tests/ |
test_black_level.py | 22 import numpy namespace 69 its.image.write_image(numpy.absolute(uimg - 0.5) * 2, 75 yhist,_ = numpy.histogram(yimg*255, 256, (0,256)) 76 ymodes.append(numpy.argmax(yhist)) 77 uhist,_ = numpy.histogram(uimg*255, 256, (0,256)) 78 umodes.append(numpy.argmax(uhist)) 79 vhist,_ = numpy.histogram(vimg*255, 256, (0,256)) 80 vmodes.append(numpy.argmax(vhist))
|
test_param_black_level_lock.py | 22 import numpy namespace 58 hist,_ = numpy.histogram(yimg*255, 256, (0,256)) 59 modes.append(numpy.argmax(hist))
|
test_linearity.py | 20 import numpy namespace 46 gamma_lut = numpy.array( 48 inv_gamma_lut = numpy.array(
|
tutorial.py | 35 # Modules from the numpy, scipy, and matplotlib libraries. These are used for 36 # the image processing code, and images are represented as numpy arrays. 38 import numpy namespace 128 # Images are numpy arrays. The dimensions are (h,w,3) when indexing, 152 lut = numpy.array([2*i for i in xrange(65536)]) 157 # is a numpy array, in row major order, and the pixel values are right- 160 mat = numpy.array([[1, 0, 0 ], 168 hist,_ = numpy.histogram(yimg*255, 256, (0,256))
|
test_exposure.py | 20 import numpy namespace 77 m, b = numpy.polyfit(mults, values, 1).tolist()
|
test_capture_result.py | 21 import numpy namespace 77 xs = numpy.array([range(h_map)] * w_map).reshape(w_map, h_map) 78 ys = numpy.array([[i]*h_map for i in range(w_map)]).reshape(w_map, h_map) 82 zs = numpy.array(lsc_map[start:start+size]).reshape(w_map, h_map)
|
test_3a_remote.py | 21 import numpy namespace
|
test_black_white.py | 19 import numpy namespace
|
test_jpeg.py | 21 import numpy namespace
|
/external/libvpx/libvpx/vp9/common/ |
vp9_tapify.py | 11 import sys,string,os,re,math,numpy namespace 45 r,c = numpy.dot(affine,[y-radius, x-radius]) 64 r,c = numpy.dot(affine,[y-7.5, x-7.5])
|
/cts/suite/audio_quality/test_description/processing/ |
calc_delay.py | 17 import numpy as np 18 import numpy.linalg namespace
|
playback_thd.py | 18 import numpy as np
|
calc_thd.py | 17 import numpy as np
|
example.py | 18 import numpy as np
|
recording_thd.py | 18 import numpy as np
|
gen_random.py | 18 import numpy as np
|
/system/extras/tests/sdcard/ |
README | 21 If you want to graph the results you need gnuplot and numpy: 23 sudo apt-get install gnuplot python-numpy python-numeric
|
plot_sdcard.py | 44 import numpy namespace 211 x = numpy.arange(len(dataset.data), dtype='int_') 247 x = numpy.array(dataset.time, dtype='float_') 277 x = numpy.array(dataset.time, dtype='int_')
|
/pdk/apps/CameraITS/ |
README | 56 Python 2.7 and the scipy/numpy stack, including the Python Imaging Library. 60 sudo apt-get install python-numpy python-scipy python-matplotlib 111 * its.image: contains a collection of functions (built on numpy arrays) for 150 The its.image module is a collection of Python functions, built on top of numpy 160 Note that it's important to do heavy image processing using the efficient numpy 162 process pixels. Refer to online docs and examples of numpy for information on
|
/pdk/apps/CameraITS/build/ |
envsetup.sh | 32 python -c 'import numpy, PIL, Image, matplotlib, pylab' >/dev/null 2>&1 || \
|
/external/chromium_org/tools/telemetry/third_party/png/ |
png.py | 765 # changed the extend function to cope with NumPy integer types 783 # Not only does this work for the (slightly broken) NumPy 2883 import numpy namespace 2895 import numpy namespace 2907 import numpy namespace 2918 import numpy namespace [all...] |