/external/opencv3/modules/imgproc/perf/ |
perf_houghLines.cpp | 28 Mat image = imread(filename, IMREAD_GRAYSCALE); local 29 if (image.empty()) 30 FAIL() << "Unable to load source image" << filename; 32 Canny(image, image, 0, 0); 37 TEST_CYCLE() HoughLines(image, lines, rhoStep, thetaStep, threshold);
|
/external/opencv3/samples/cpp/ |
lsd_lines.cpp | 18 std::cout << "Usage: lsd_lines [input image]. Now loading ../data/building.jpg" << std::endl; 26 Mat image = imread(in, IMREAD_GRAYSCALE); local 29 Canny(image, image, 50, 200, 3); // Apply canny edge 43 ls->detect(image, lines_std); 49 Mat drawnLines(image);
|
/external/autotest/client/cros/chameleon/ |
screen_capture.py | 9 from PIL import Image 46 @return An Image object. 49 image = self._chameleon_port.capture_screen() 52 pmin, pmax = image_generator.ImageGenerator.get_extrema(image) 55 image = Image.eval(image, _unlevel) 56 return image 75 @return An Image object. 78 image = self._chameleon_port.capture_screen( [all...] |
/external/opencv3/samples/tapi/ |
squares.cpp | 3 // each image 33 // returns sequence of squares detected on the image. 35 static void findSquares( const UMat& image, vector<vector<Point> >& squares ) 38 UMat pyr, timg, gray0(image.size(), CV_8U), gray; 40 // down-scale and upscale the image to filter out the noise 41 pyrDown(image, pyr, Size(image.cols/2, image.rows/2)); 42 pyrUp(pyr, timg, image.size()); 45 // find squares in every color plane of the image 118 Mat image = _image.getMat(ACCESS_WRITE); local 171 UMat image; local [all...] |
/external/opencv3/3rdparty/libjasper/ |
jp2_enc.c | 2 * Copyright (c) 1999-2000 Image Power, Inc. and the University of 18 * Copyright (c) 1999-2000 Image Power, Inc. 94 int jp2_write_header(jas_image_t *image, jas_stream_t *out) 120 sgnd = jas_image_cmptsgnd(image, 0); 121 prec = jas_image_cmptprec(image, 0); 122 for (i = 1; i < jas_image_numcmpts(image); ++i) { 123 if (jas_image_cmptsgnd(image, i) != sgnd || 124 jas_image_cmptprec(image, i) != prec) { 169 /* Generate image header box. */ 175 ihdr->width = jas_image_width(image); [all...] |
/system/extras/verity/ |
BootSignature.java | 77 * Initializes the object for signing an image file 79 * @param length Length of the image, included in the signed data 88 * Initializes the object for verifying a signed image file 155 public byte[] generateSignableImage(byte[] image) throws IOException { 157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); 159 signable[i+image.length] = attrs[i]; 164 public byte[] sign(byte[] image, PrivateKey key) throws Exception { 165 byte[] signable = generateSignableImage(image); 169 public boolean verify(byte[] image) throws Exception 195 ByteBuffer image = ByteBuffer.wrap(data); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_screen.c | 250 __DRIimage *image; local 252 image = CALLOC(sizeof *image); 253 if (image == NULL) 256 image->dri_format = dri_format; 257 image->offset = 0; 261 image->format = MESA_FORMAT_RGB565; 264 image->format = MESA_FORMAT_XRGB8888; 267 image->format = MESA_FORMAT_ARGB8888; 270 image->format = MESA_FORMAT_RGBA8888_REV 301 __DRIimage *image; local 324 __DRIimage *image; local 384 __DRIimage *image; local 442 __DRIimage *image; local 486 __DRIimage *image; local 525 __DRIimage *image; local [all...] |
/external/opencv3/modules/features2d/test/ |
test_orb.cpp | 53 Mat image = imread(string(cvtest::TS::ptr()->get_data_path()) + "shared/lena.png"); local 54 ASSERT_FALSE(image.empty()); 56 Mat roi(image.size(), CV_8UC1, Scalar(0)); 62 fd->detect(image, keypoints, roi); 64 de->compute(image, keypoints, descriptors); 66 //image.setTo(Scalar(255,255,255), roi); 76 ASSERT_GT(image.cols, x); 77 ASSERT_GT(image.rows, y); 82 // circle(image, kp->pt, 3, Scalar(0,0,255)); 88 // imshow("img", image); [all...] |
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/ |
MainPage.xaml.h | 35 cv::Mat ApplyGrayFilter(const cv::Mat& image); 36 cv::Mat ApplyCannyFilter(const cv::Mat& image); 37 cv::Mat ApplyBlurFilter(const cv::Mat& image); 38 cv::Mat ApplyFindFeaturesFilter(const cv::Mat& image); 39 cv::Mat ApplySepiaFilter(const cv::Mat& image); 41 void UpdateImage(const cv::Mat& image); 43 bool SaveImage(cv::Mat image);
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
RingBuffer.java | 49 * Insert an image in the ring buffer, evicting any frames if necessary. 51 * @param image the image to be inserted. 53 public synchronized void insertImage(T image) { 54 long timestamp = image.getTimestamp(); 56 image.close(); 59 // Add image to ring buffer so it can be closed in case eviction 61 addImage(image); 98 private synchronized void addImage(T image) { 99 mImages.put(image.getTimestamp(), image) local [all...] |
/packages/apps/Gallery/tests/src/com/android/camera/gallery/ |
MockImageList.java | 36 public int getImageIndex(IImage image) { 37 return mList.indexOf(image); 44 public boolean removeImage(IImage image) { 45 return mList.remove(image); 52 public void addImage(MockImage image) { 53 mList.add(image); 54 image.setContainer(this);
|
/cts/apps/CameraITS/tests/scene1/ |
test_jpeg.py | 15 import its.image namespace 42 img = its.image.convert_capture_to_rgb_image(cap) 43 its.image.write_image(img, "%s_fmt=yuv.jpg" % (NAME)) 44 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 45 rgb0 = its.image.compute_image_means(tile) 51 img = its.image.decompress_jpeg_to_rgb_image(cap["data"]) 52 its.image.write_image(img, "%s_fmt=jpg.jpg" % (NAME)) 53 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 54 rgb1 = its.image.compute_image_means(tile)
|
test_yuv_plus_jpeg.py | 15 import its.image namespace 42 # should look the same (once converted by the its.image module). 48 img = its.image.convert_capture_to_rgb_image(cap_yuv, True) 49 its.image.write_image(img, "%s_yuv.jpg" % (NAME)) 50 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 51 rgb0 = its.image.compute_image_means(tile) 53 img = its.image.convert_capture_to_rgb_image(cap_jpeg, True) 54 its.image.write_image(img, "%s_jpeg.jpg" % (NAME)) 55 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 56 rgb1 = its.image.compute_image_means(tile [all...] |
test_yuv_plus_raw.py | 15 import its.image namespace 37 # should look the same (once converted by the its.image module). 49 img = its.image.convert_capture_to_rgb_image(cap_yuv) 50 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True) 51 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 52 rgb0 = its.image.compute_image_means(tile) 56 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props) 57 its.image.write_image(img, "%s_raw.jpg" % (NAME), True) 58 tile = its.image.get_image_patch(img, 0.475, 0.475, 0.05, 0.05) 59 rgb1 = its.image.compute_image_means(tile [all...] |
test_yuv_plus_raw10.py | 15 import its.image namespace 37 # should look the same (once converted by the its.image module). 49 img = its.image.convert_capture_to_rgb_image(cap_yuv) 50 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True) 51 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 52 rgb0 = its.image.compute_image_means(tile) 56 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props) 57 its.image.write_image(img, "%s_raw.jpg" % (NAME), True) 58 tile = its.image.get_image_patch(img, 0.475, 0.475, 0.05, 0.05) 59 rgb1 = its.image.compute_image_means(tile [all...] |
test_yuv_plus_raw12.py | 15 import its.image namespace 37 # should look the same (once converted by the its.image module). 49 img = its.image.convert_capture_to_rgb_image(cap_yuv) 50 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True) 51 tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1) 52 rgb0 = its.image.compute_image_means(tile) 56 img = its.image.convert_capture_to_rgb_image(cap_raw, props=props) 57 its.image.write_image(img, "%s_raw.jpg" % (NAME), True) 58 tile = its.image.get_image_patch(img, 0.475, 0.475, 0.05, 0.05) 59 rgb1 = its.image.compute_image_means(tile [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jai.jar | |
/cts/apps/CameraITS/tests/inprog/ |
test_test_patterns.py | 15 import its.image namespace 36 img = its.image.convert_capture_to_rgb_image(caps[1]) 37 its.image.write_image(img, "%s_pattern=%d.jpg" % (NAME, i))
|
/cts/apps/CameraITS/tools/ |
convert_yuv_to_jpg.py | 15 import its.image namespace 23 w: The width of the image. 24 h: The height of the image. 32 img = its.image.load_yuv420_to_rgb_image(fname, w,h, layout=layout) 33 its.image.write_image(img, fname.replace(".yuv",".jpg"), False)
|
/device/htc/flounder/verity/ |
Android.mk | 28 define _add-warning-image 43 $(eval $(call _add-warning-image,$(_img)))) 51 _add-warning-image :=
|
/device/moto/shamu/verity/ |
Android.mk | 28 define _add-warning-image 43 $(eval $(call _add-warning-image,$(_img)))) 51 _add-warning-image :=
|
/external/libvncserver/webclients/novnc/include/ |
blue.css | 11 background-image: -webkit-gradient( 18 background-image: -moz-linear-gradient( 26 background-image: -webkit-gradient( 33 background-image: -moz-linear-gradient( 41 background-image: -webkit-gradient( 48 background-image: -moz-linear-gradient(
|
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_SymbolDict.cpp | 22 CJBig2_Image* image = src->m_SDEXSYMS.get(i); local 23 dst->m_SDEXSYMS.push_back(image ? new CJBig2_Image(*image) : nullptr);
|
/external/pdfium/xfa/src/fxbarcode/pdf417/ |
BC_PDF417Reader.h | 16 CFX_ByteString Decode(CBC_BinaryBitmap* image, int32_t& e);
17 CFX_ByteString Decode(CBC_BinaryBitmap* image,
21 CFX_ByteString Decode(CBC_BinaryBitmap* image, int32_t hints, int32_t& e);
|
/external/vboot_reference/scripts/image_signing/ |
strip_boot_from_image.sh | 7 # Script to remove /boot directory from an image. 15 DEFINE_string image "chromiumos_image.bin" \ 16 "Input file name of Chrome OS image to strip /boot from." 26 die "Error: need a valid file by --image" 43 local image=$1 45 # Mount image so we can modify it. 47 mount_image_partition ${image} 3 ${rootfs_dir} 54 # done when the image was built, but needs to be repeated now that we've 60 IMAGE=$(readlink -f "${FLAGS_image}") 61 if [[ -z "${IMAGE}" || ! -f "${IMAGE}" ]]; the [all...] |