Home
last modified time | relevance | path

Searched refs:contour (Results 1 – 6 of 6) sorted by relevance

/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderRoiTest.java130 Rect contour = (Rect) mContour.get(qpOffsetRect); in fillOffsetArray() local
133 contour.left = clamp(contour.left, 0, mActiveEncCfg.mWidth); in fillOffsetArray()
134 contour.top = clamp(contour.top, 0, mActiveEncCfg.mHeight); in fillOffsetArray()
135 contour.right = clamp(contour.right, 0, mActiveEncCfg.mWidth); in fillOffsetArray()
136 contour.bottom = clamp(contour.bottom, 0, mActiveEncCfg.mHeight); in fillOffsetArray()
138 for (int t = contour.top / BLOCK_HT; t < contour.bottom / BLOCK_HT; t++) { in fillOffsetArray()
139 for (int l = contour.left / BLOCK_WD; l < contour.right / BLOCK_WD; l++) { in fillOffsetArray()
/cts/apps/CameraITS/utils/
Dopencv_processing_utils.py423 def component_shape(contour): argument
436 for pt in contour:
514 for contour in contours:
515 area = cv2.contourArea(contour)
516 num_pts = len(contour)
518 shape = component_shape(contour)
535 for point in contour
562 circle_contours.append(contour)
716 for contour in contours:
717 area = cv2.contourArea(contour)
[all …]
Dzoom_capture_utils.py191 for contour in contours:
192 area = cv2.contourArea(contour)
195 area, min_area, len(contour), min_circle_pts)
196 if area > min_area and len(contour) >= min_circle_pts:
197 shape = opencv_processing_utils.component_shape(contour)
/cts/apps/CameraITS/tests/inprog/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py415 def __init__(self, contour): argument
416 self.x = int(np.mean(contour[:, 0, 0]))
417 self.y = int(np.mean(contour[:, 0, 1]))
419 x_r = (np.max(contour[:, 0, 0]) - np.min(contour[:, 0, 0])) / 2.0
420 y_r = (np.max(contour[:, 0, 1]) - np.min(contour[:, 0, 1])) / 2.0
/cts/apps/CameraITS/tests/scene_extensions/scene_hdr/
Dtest_hdr_extension.py113 contour = max(
115 contour_length = len(contour)
119 contour_image = cv2.drawContours(sobel_bgr, contour, _CONTOUR_INDEX,
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...