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
264d26e6
Commit
264d26e6
authored
Jun 08, 2013
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing empty Mat case
parent
4cf7a963
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
26 additions
and
26 deletions
+26
-26
core+MatOfByte.java
modules/java/generator/src/java/core+MatOfByte.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
+2
-2
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/java/core+MatOfByte.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfByte extends Mat {
protected
MatOfByte
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfByte extends Mat {
public
MatOfByte
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfDouble.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfDouble extends Mat {
protected
MatOfDouble
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfDouble extends Mat {
public
MatOfDouble
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfFloat.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfFloat extends Mat {
protected
MatOfFloat
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfFloat extends Mat {
public
MatOfFloat
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfFloat4.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfFloat4 extends Mat {
protected
MatOfFloat4
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfFloat4 extends Mat {
public
MatOfFloat4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfFloat6.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfFloat6 extends Mat {
protected
MatOfFloat6
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfFloat6 extends Mat {
public
MatOfFloat6
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfInt.java
View file @
264d26e6
...
...
@@ -15,7 +15,7 @@ public class MatOfInt extends Mat {
protected
MatOfInt
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -26,7 +26,7 @@ public class MatOfInt extends Mat {
public
MatOfInt
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfInt4.java
View file @
264d26e6
...
...
@@ -15,7 +15,7 @@ public class MatOfInt4 extends Mat {
protected
MatOfInt4
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -26,7 +26,7 @@ public class MatOfInt4 extends Mat {
public
MatOfInt4
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfKeyPoint.java
View file @
264d26e6
...
...
@@ -16,7 +16,7 @@ public class MatOfKeyPoint extends Mat {
protected
MatOfKeyPoint
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -27,7 +27,7 @@ public class MatOfKeyPoint extends Mat {
public
MatOfKeyPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfPoint.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfPoint extends Mat {
protected
MatOfPoint
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfPoint extends Mat {
public
MatOfPoint
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfPoint2f.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfPoint2f extends Mat {
protected
MatOfPoint2f
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfPoint2f extends Mat {
public
MatOfPoint2f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfPoint3.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfPoint3 extends Mat {
protected
MatOfPoint3
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfPoint3 extends Mat {
public
MatOfPoint3
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfPoint3f.java
View file @
264d26e6
...
...
@@ -14,7 +14,7 @@ public class MatOfPoint3f extends Mat {
protected
MatOfPoint3f
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -25,7 +25,7 @@ public class MatOfPoint3f extends Mat {
public
MatOfPoint3f
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
modules/java/generator/src/java/core+MatOfRect.java
View file @
264d26e6
...
...
@@ -15,7 +15,7 @@ public class MatOfRect extends Mat {
protected
MatOfRect
(
long
addr
)
{
super
(
addr
);
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//FIXME: do we need release() here?
}
...
...
@@ -26,7 +26,7 @@ public class MatOfRect extends Mat {
public
MatOfRect
(
Mat
m
)
{
super
(
m
,
Range
.
all
());
if
(
checkVector
(
_channels
,
_depth
)
<
0
)
if
(
!
empty
()
&&
checkVector
(
_channels
,
_depth
)
<
0
)
throw
new
IllegalArgumentException
(
"Incomatible Mat"
);
//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