Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
60d282a4
Commit
60d282a4
authored
Jan 28, 2016
by
Davis King
Browse files
Minor change to avoid compiler warning
parent
7b67bd2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/matlab/mex_wrapper.cpp
dlib/matlab/mex_wrapper.cpp
+1
-1
No files found.
dlib/matlab/mex_wrapper.cpp
View file @
60d282a4
...
@@ -897,7 +897,7 @@ namespace mex_binding
...
@@ -897,7 +897,7 @@ namespace mex_binding
}
}
else
if
(
is_same_type
<
dlib
::
rgb_pixel
,
type
>::
value
)
else
if
(
is_same_type
<
dlib
::
rgb_pixel
,
type
>::
value
)
{
{
mwSize
dims
[
3
]
=
{
item
.
nr
(),
item
.
nc
(),
3
};
mwSize
dims
[
3
]
=
{
(
unsigned
long
)
item
.
nr
(),
(
unsigned
long
)
item
.
nc
(),
3
};
plhs
=
mxCreateNumericArray
(
3
,
dims
,
mxUINT8_CLASS
,
mxREAL
);
plhs
=
mxCreateNumericArray
(
3
,
dims
,
mxUINT8_CLASS
,
mxREAL
);
assign_image_to_matlab
((
dlib
::
uint8
*
)
mxGetData
(
plhs
),
item
);
assign_image_to_matlab
((
dlib
::
uint8
*
)
mxGetData
(
plhs
),
item
);
...
...
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