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
13b8c5f3
"tests/vscode:/vscode.git/clone" did not exist on "468c0ca4b4ac4fe84b357cc22cd840550ea509e5"
Commit
13b8c5f3
authored
May 14, 2013
by
Davis King
Browse files
Simplified example and added a call to jet()
parent
62a564bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
examples/image_ex.cpp
examples/image_ex.cpp
+4
-2
No files found.
examples/image_ex.cpp
View file @
13b8c5f3
...
@@ -63,8 +63,10 @@ int main(int argc, char** argv)
...
@@ -63,8 +63,10 @@ int main(int argc, char** argv)
// the window by holding CTRL and scrolling the mouse wheel)
// the window by holding CTRL and scrolling the mouse wheel)
image_window
my_window
(
edge_image
,
"Normal Edge Image"
);
image_window
my_window
(
edge_image
,
"Normal Edge Image"
);
// We can also easily display the edge_image as a heatmap like so.
// We can also easily display the edge_image as a heatmap or using the jet color
image_window
win_hot
(
heatmap
(
edge_image
,
255
));
// scheme like so.
image_window
win_hot
(
heatmap
(
edge_image
));
image_window
win_jet
(
jet
(
edge_image
));
// also make a window to display the original image
// also make a window to display the original image
image_window
my_window2
(
img
,
"Original Image"
);
image_window
my_window2
(
img
,
"Original Image"
);
...
...
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