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
ee42b650
Commit
ee42b650
authored
Jul 18, 2013
by
Jan Starzynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected some spelling errors
parent
5d8af490
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
29 additions
and
29 deletions
+29
-29
Mat.cpp
modules/java/generator/src/cpp/Mat.cpp
+0
-0
core+MatOfByte.java
modules/java/generator/src/java/core+MatOfByte.java
+2
-2
core+MatOfDMatch.java
modules/java/generator/src/java/core+MatOfDMatch.java
+2
-2
core+MatOfDouble.java
modules/java/generator/src/java/core+MatOfDouble.java
+2
-2
core+MatOfFloat.java
modules/java/generator/src/java/core+MatOfFloat.java
+2
-2
core+MatOfFloat4.java
modules/java/generator/src/java/core+MatOfFloat4.java
+2
-2
core+MatOfFloat6.java
modules/java/generator/src/java/core+MatOfFloat6.java
+2
-2
core+MatOfInt.java
modules/java/generator/src/java/core+MatOfInt.java
+2
-2
core+MatOfInt4.java
modules/java/generator/src/java/core+MatOfInt4.java
+2
-2
core+MatOfKeyPoint.java
modules/java/generator/src/java/core+MatOfKeyPoint.java
+2
-2
core+MatOfPoint.java
modules/java/generator/src/java/core+MatOfPoint.java
+2
-2
core+MatOfPoint2f.java
modules/java/generator/src/java/core+MatOfPoint2f.java
+2
-2
core+MatOfPoint3.java
modules/java/generator/src/java/core+MatOfPoint3.java
+3
-3
core+MatOfPoint3f.java
modules/java/generator/src/java/core+MatOfPoint3f.java
+2
-2
core+MatOfRect.java
modules/java/generator/src/java/core+MatOfRect.java
+2
-2
No files found.
modules/java/generator/src/cpp/Mat.cpp
View file @
ee42b650
This diff is collapsed.
Click to expand it.
modules/java/generator/src/java/core+MatOfByte.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfByte extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfByte extends Mat {
protected
MatOfByte
(
long
addr
)
{
protected
MatOfByte
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfByte extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfByte extends Mat {
public
MatOfByte
(
Mat
m
)
{
public
MatOfByte
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfDMatch.java
View file @
ee42b650
...
@@ -17,7 +17,7 @@ public class MatOfDMatch extends Mat {
...
@@ -17,7 +17,7 @@ public class MatOfDMatch extends Mat {
protected
MatOfDMatch
(
long
addr
)
{
protected
MatOfDMatch
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat: "
+
toString
());
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat: "
+
toString
());
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -28,7 +28,7 @@ public class MatOfDMatch extends Mat {
...
@@ -28,7 +28,7 @@ public class MatOfDMatch extends Mat {
public
MatOfDMatch
(
Mat
m
)
{
public
MatOfDMatch
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat: "
+
toString
());
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat: "
+
toString
());
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfDouble.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfDouble extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfDouble extends Mat {
protected
MatOfDouble
(
long
addr
)
{
protected
MatOfDouble
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfDouble extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfDouble extends Mat {
public
MatOfDouble
(
Mat
m
)
{
public
MatOfDouble
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfFloat extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat extends Mat {
protected
MatOfFloat
(
long
addr
)
{
protected
MatOfFloat
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat extends Mat {
public
MatOfFloat
(
Mat
m
)
{
public
MatOfFloat
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat4.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfFloat4 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat4 extends Mat {
protected
MatOfFloat4
(
long
addr
)
{
protected
MatOfFloat4
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat4 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat4 extends Mat {
public
MatOfFloat4
(
Mat
m
)
{
public
MatOfFloat4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfFloat6.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfFloat6 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfFloat6 extends Mat {
protected
MatOfFloat6
(
long
addr
)
{
protected
MatOfFloat6
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfFloat6 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfFloat6 extends Mat {
public
MatOfFloat6
(
Mat
m
)
{
public
MatOfFloat6
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfInt.java
View file @
ee42b650
...
@@ -16,7 +16,7 @@ public class MatOfInt extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfInt extends Mat {
protected
MatOfInt
(
long
addr
)
{
protected
MatOfInt
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfInt extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfInt extends Mat {
public
MatOfInt
(
Mat
m
)
{
public
MatOfInt
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfInt4.java
View file @
ee42b650
...
@@ -16,7 +16,7 @@ public class MatOfInt4 extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfInt4 extends Mat {
protected
MatOfInt4
(
long
addr
)
{
protected
MatOfInt4
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfInt4 extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfInt4 extends Mat {
public
MatOfInt4
(
Mat
m
)
{
public
MatOfInt4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfKeyPoint.java
View file @
ee42b650
...
@@ -17,7 +17,7 @@ public class MatOfKeyPoint extends Mat {
...
@@ -17,7 +17,7 @@ public class MatOfKeyPoint extends Mat {
protected
MatOfKeyPoint
(
long
addr
)
{
protected
MatOfKeyPoint
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -28,7 +28,7 @@ public class MatOfKeyPoint extends Mat {
...
@@ -28,7 +28,7 @@ public class MatOfKeyPoint extends Mat {
public
MatOfKeyPoint
(
Mat
m
)
{
public
MatOfKeyPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfPoint extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint extends Mat {
protected
MatOfPoint
(
long
addr
)
{
protected
MatOfPoint
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint extends Mat {
public
MatOfPoint
(
Mat
m
)
{
public
MatOfPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint2f.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfPoint2f extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint2f extends Mat {
protected
MatOfPoint2f
(
long
addr
)
{
protected
MatOfPoint2f
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint2f extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint2f extends Mat {
public
MatOfPoint2f
(
Mat
m
)
{
public
MatOfPoint2f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint3.java
View file @
ee42b650
package
org
.
opencv
.
core
;
c
package
org
.
opencv
.
core
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
...
@@ -15,7 +15,7 @@ public class MatOfPoint3 extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint3 extends Mat {
protected
MatOfPoint3
(
long
addr
)
{
protected
MatOfPoint3
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint3 extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint3 extends Mat {
public
MatOfPoint3
(
Mat
m
)
{
public
MatOfPoint3
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfPoint3f.java
View file @
ee42b650
...
@@ -15,7 +15,7 @@ public class MatOfPoint3f extends Mat {
...
@@ -15,7 +15,7 @@ public class MatOfPoint3f extends Mat {
protected
MatOfPoint3f
(
long
addr
)
{
protected
MatOfPoint3f
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -26,7 +26,7 @@ public class MatOfPoint3f extends Mat {
...
@@ -26,7 +26,7 @@ public class MatOfPoint3f extends Mat {
public
MatOfPoint3f
(
Mat
m
)
{
public
MatOfPoint3f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
modules/java/generator/src/java/core+MatOfRect.java
View file @
ee42b650
...
@@ -16,7 +16,7 @@ public class MatOfRect extends Mat {
...
@@ -16,7 +16,7 @@ public class MatOfRect extends Mat {
protected
MatOfRect
(
long
addr
)
{
protected
MatOfRect
(
long
addr
)
{
super
(
addr
);
super
(
addr
);
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
@@ -27,7 +27,7 @@ public class MatOfRect extends Mat {
...
@@ -27,7 +27,7 @@ public class MatOfRect extends Mat {
public
MatOfRect
(
Mat
m
)
{
public
MatOfRect
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
super
(
m
,
Range
.
all
());
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
throw
new
IllegalArgumentException
(
"Incom
p
atible Mat"
);
//FIXME: do we need release() here?
//FIXME: do we need release() here?
}
}
...
...
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