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
3119af1c
Commit
3119af1c
authored
Jul 18, 2011
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Java API: fixed bug in converter vector<Mat> <-> Mat
parent
60d59aa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.cpp
modules/java/src/cpp/utils.cpp
+1
-1
No files found.
modules/java/src/cpp/utils.cpp
View file @
3119af1c
...
...
@@ -170,7 +170,7 @@ void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat)
mat
.
create
(
1
,
count
,
CV_32SC2
);
for
(
int
i
=
0
;
i
<
count
;
i
++
)
{
long
long
addr
=
(
long
long
)
&
v_mat
[
i
]
;
long
long
addr
=
(
long
long
)
new
Mat
(
v_mat
[
i
])
;
mat
.
at
<
Vec
<
int
,
2
>
>
(
0
,
i
)
=
Vec
<
int
,
2
>
(
addr
>>
32
,
addr
&
0xffffffff
);
}
return
;
...
...
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