Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
4d5c77ca
Commit
4d5c77ca
authored
Nov 20, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
29b5b286
3d62b85c
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
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