| /cts/apps/CameraITS/pymodules/its/ | 
| dng.py | 15 import numpy  namespace 16 import numpy.linalg  namespace
 46         CM: The 3x3 ColorMatrix for the specified illuminant, as a numpy array
 47         FM: The 3x3 ForwardMatrix for the specified illuminant, as a numpy array
 55     W = numpy.array([
 62     HH = numpy.array([
 73     H_D65 = numpy.array([
 77     H_A = numpy.array([
 89     G = numpy.array([[gains[0],0,0], [0,gains[1],0], [0,0,gains[3]]])
 92     S = numpy.array([ccm[0:3], ccm[3:6], ccm[6:9]]
 [all...]
 | 
| image.py | 22 import numpy  namespace 29 DEFAULT_YUV_TO_RGB_CCM = numpy.matrix([
 34 DEFAULT_YUV_OFFSETS = numpy.array([0, 128, 128])
 36 DEFAULT_GAMMA_LUT = numpy.array(
 40 DEFAULT_INVGAMMA_LUT = numpy.array(
 108         img: A raw-10 image, as a uint8 numpy array.
 111         Image as a uint16 numpy array, with all row padding stripped.
 118     msbs = numpy.delete(img, numpy.s_[4::5], 1)
 119     msbs = msbs.astype(numpy.uint16
 [all...]
 | 
| /cts/suite/audio_quality/test_description/conf/ | 
| check_conf.py | 18 import numpy as np 20 from numpy import *
 
 | 
| /cts/apps/CameraITS/tests/scene0/ | 
| test_gyro_bias.py | 25 import numpy  namespace 51     times = numpy.array([(e["time"] - gyro_events[0]["time"])/1000000000.0
 53     xs = numpy.array([e["x"] for e in gyro_events])
 54     ys = numpy.array([e["y"] for e in gyro_events])
 55     zs = numpy.array([e["z"] for e in gyro_events])
 74         assert(numpy.var(samples) < VAR_THRESH)
 
 | 
| /cts/apps/CameraITS/tests/inprog/ | 
| 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_burst_sameness_fullres_auto.py | 19 import numpy  namespace 58         imgs = numpy.empty([FRAMES,h/4,w/4,3])
 81             delta_max_pos = numpy.max(deltas)
 82             delta_max_neg = numpy.min(deltas)
 
 | 
| 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_burst_sameness_auto.py | 20 import numpy  namespace 62         imgs = numpy.empty([FRAMES,h,w,3])
 
 | 
| /cts/apps/CameraITS/tests/inprog/scene2/ | 
| test_dng_tags.py | 19 import numpy  namespace 51             print "HAL reported gains:\n", numpy.array(gains)
 52             print "HAL reported ccm:\n", numpy.array(ccm).reshape(3,3)
 53             print "HAL reported cal:\n", numpy.array(cal).reshape(3,3)
 69             cm_ref = numpy.array(its.objects.rational_to_float(
 71             fm_ref = numpy.array(its.objects.rational_to_float(
 73             asn_ref = numpy.array(its.objects.rational_to_float(
 
 | 
| /cts/apps/CameraITS/tests/scene1/ | 
| test_tonemap_sequence.py | 20 import numpy  namespace 61         deltas = [numpy.max(numpy.fabs(means[i+1]-means[i])) \
 
 | 
| test_linearity.py | 20 import numpy  namespace 43     gamma_lut = numpy.array(
 45     inv_gamma_lut = numpy.array(
 92             line,residuals,_,_,_  = numpy.polyfit(range(5),means,1,full=True)
 
 | 
| test_ev_compensation_basic.py | 23 import numpy  namespace 62         luma_diffs = numpy.diff(lumas)
 
 | 
| test_burst_sameness_manual.py | 21 import numpy  namespace 56         imgs = numpy.empty([FRAMES,h,w,3])
 
 | 
| test_crop_region_raw.py | 20 import numpy  namespace 139         diff_yuv = numpy.fabs((imgs2["yuv_full"] - imgs2["yuv_crop"])).mean()
 140         diff_raw = numpy.fabs((imgs2["raw_full"] - imgs2["raw_crop"])).mean()
 
 | 
| test_ev_compensation_advanced.py | 23 import numpy  namespace 82         avg_diff = abs(numpy.array(luma_diffs)).mean()
 
 | 
| test_exposure.py | 21 import numpy  namespace 81         m, b = numpy.polyfit(mults, values, 1).tolist()
 
 | 
| /external/chromium_org/third_party/cython/src/Cython/Build/Tests/ | 
| TestInline.py | 7     import numpy  namespace 55             import numpy  namespace
 56             a = numpy.ndarray((10, 20))
 58             self.assertEquals(safe_type(a), 'numpy.ndarray[numpy.float64_t, ndim=2]')
 
 | 
| /cts/apps/CameraITS/tests/sensor_fusion/ | 
| test_sensor_fusion.py | 26 import numpy  namespace 78     # RGB images as numpy arrays.
 157     a,b,c = numpy.polyfit(candidates, dists, 2)
 209     all_times = numpy.array([e["time"] for e in gyro_events])
 210     all_rots = numpy.array([e["z"] for e in gyro_events])
 244     gyro_rots = numpy.array(gyro_rots)
 254         frames: List of N images (as RGB numpy arrays).
 261         frame = (frame * 255.0).astype(numpy.uint8)
 281     return numpy.array(rots)
 296     starts = numpy.array([start for start,exptime,readout in cam_events]
 [all...]
 | 
| /cts/apps/CameraITS/build/ | 
| envsetup.sh | 32 for M in numpy PIL Image matplotlib pylab cv2 scipy.stats scipy.spatial 
 | 
| /cts/apps/CameraITS/tests/ | 
| 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
 127         # Images are numpy arrays. The dimensions are (h,w,3) when indexing,
 151         lut = numpy.array([2*i for i in xrange(65536)])
 156         # is a numpy array, in row major order, and the pixel values are right-
 159         mat = numpy.array([[1, 0, 0  ],
 167         hist,_ = numpy.histogram(yimg*255, 256, (0,256))
 
 | 
| /cts/suite/audio_quality/test_description/processing/ | 
| example.py | 18 import numpy as np 
 | 
| calc_delay.py | 17 import numpy as np 18 import numpy.linalg  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])
 
 | 
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/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/apps/CameraITS/tests/dng_noise_model/ | 
| dng_noise_model.py | 23 import numpy  namespace 106             m,b = numpy.polyfit(xs, ys, 1)
 138         mS,bS = numpy.polyfit(gains, Ss, 1)
 139         mO,bO = numpy.polyfit(gains, Os, 1)
 
 |