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
4d5c77ca
Commit
4d5c77ca
authored
Nov 20, 2017
by
Davis King
Browse files
merged
parents
29b5b286
3d62b85c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ISSUE_TEMPLATE.md
ISSUE_TEMPLATE.md
+1
-1
dlib/image_transforms/colormaps.h
dlib/image_transforms/colormaps.h
+2
-2
No files found.
ISSUE_TEMPLATE.md
View file @
4d5c77ca
...
...
@@ -12,7 +12,7 @@ If you aren't reporting a bug or problem with dlib then delete this template and
<!-- ================================================================ -->
<!-- Delete the above instructions and then provide a general summary of the issue in the Title above -->
<!-- Delete the above instructions and then provide a general summary of the issue in the Title above
. Then fill out the template below.
-->
## Expected Behavior
<!--- Tell us what should happen. What were you doing? What part of dlib are you using? What do you think should happen? -->
...
...
dlib/image_transforms/colormaps.h
View file @
4d5c77ca
...
...
@@ -145,7 +145,7 @@ namespace dlib
)
{
typedef
op_heatmap
<
image_type
>
op
;
if
(
img
.
size
(
)
!=
0
)
if
(
num_columns
(
img
)
*
num_rows
(
img
)
!=
0
)
return
matrix_op
<
op
>
(
op
(
img
,
max
(
mat
(
img
)),
min
(
mat
(
img
))));
else
return
matrix_op
<
op
>
(
op
(
img
,
0
,
0
));
...
...
@@ -255,7 +255,7 @@ namespace dlib
)
{
typedef
op_jet
<
image_type
>
op
;
if
(
img
.
size
(
)
!=
0
)
if
(
num_columns
(
img
)
*
num_rows
(
img
)
!=
0
)
return
matrix_op
<
op
>
(
op
(
img
,
max
(
mat
(
img
)),
min
(
mat
(
img
))));
else
return
matrix_op
<
op
>
(
op
(
img
,
0
,
0
));
...
...
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