Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
357e5d55
Commit
357e5d55
authored
Sep 26, 2013
by
Nghia Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trailing whitespaces
parent
e6a9c22b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
structural_analysis_and_shape_descriptors.rst
...imgproc/doc/structural_analysis_and_shape_descriptors.rst
+2
-2
test_intersection.cpp
modules/imgproc/test/test_intersection.cpp
+1
-1
No files found.
modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst
View file @
357e5d55
...
@@ -685,7 +685,7 @@ rotatedRectangleIntersection
...
@@ -685,7 +685,7 @@ rotatedRectangleIntersection
Finds out if there is any intersection between two rotated rectangles. If there is then the vertices of the interesecting region are returned as well.
Finds out if there is any intersection between two rotated rectangles. If there is then the vertices of the interesecting region are returned as well.
.. ocv:function:: int rotatedRectangleIntersection( const RotatedRect& rect1, const RotatedRect& rect2, OutputArray intersectingRegion )
.. ocv:function:: int rotatedRectangleIntersection( const RotatedRect& rect1, const RotatedRect& rect2, OutputArray intersectingRegion )
.. ocv:pyfunction:: cv2.rotatedRectangleIntersection( rect1, rect2 ) -> retval, intersectingRegion
.. ocv:pyfunction:: cv2.rotatedRectangleIntersection( rect1, rect2 ) -> retval, intersectingRegion
:param rect1: First rectangle
:param rect1: First rectangle
...
@@ -699,7 +699,7 @@ The following values are returned by the function:
...
@@ -699,7 +699,7 @@ The following values are returned by the function:
* INTERSECT_NONE=0 - No intersection
* INTERSECT_NONE=0 - No intersection
* INTERSECT_PARTIAL=1 - There is a partial intersection
* INTERSECT_PARTIAL=1 - There is a partial intersection
* INTERSECT_FULL=2 - One of the rectangle is fully enclosed in the other
* INTERSECT_FULL=2 - One of the rectangle is fully enclosed in the other
...
...
modules/imgproc/test/test_intersection.cpp
View file @
357e5d55
...
@@ -115,7 +115,7 @@ void CV_RotatedRectangleIntersectionTest::test1()
...
@@ -115,7 +115,7 @@ void CV_RotatedRectangleIntersectionTest::test1()
vector
<
Point2f
>
vertices
;
vector
<
Point2f
>
vertices
;
int
ret
=
rotatedRectangleIntersection
(
rect1
,
rect2
,
vertices
);
int
ret
=
rotatedRectangleIntersection
(
rect1
,
rect2
,
vertices
);
CV_Assert
(
ret
==
INTERSECT_NONE
);
CV_Assert
(
ret
==
INTERSECT_NONE
);
CV_Assert
(
vertices
.
empty
());
CV_Assert
(
vertices
.
empty
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment