Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Robert Sachunsky
olena
Commits
a93cf009
Commit
a93cf009
authored
Sep 02, 2011
by
Guillaume Lazzara
Browse files
mln/debug/println_with_border.spe.hh: Improve output for 3D images.
parent
f46fc5c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
milena/ChangeLog
View file @
a93cf009
2011-09-02 Guillaume Lazzara <z@lrde.epita.fr>
* mln/debug/println_with_border.spe.hh: Improve output for 3D
images.
2011-09-02 Guillaume Lazzara <z@lrde.epita.fr>
Add vbbox() method.
milena/mln/debug/println_with_border.spe.hh
View file @
a93cf009
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2011 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
...
...
@@ -92,8 +93,11 @@ namespace mln
{
for
(
unsigned
j
=
0
;
j
<
real_len_r
;
++
j
)
{
for
(
unsigned
l
=
0
;
l
<
real_len_r
-
j
;
++
l
)
std
::
cout
<<
' '
;
for
(
unsigned
i
=
0
;
i
<
real_len_c
;
++
i
)
std
::
cout
<<
format
(
input
.
point_at_index
(
k
*
(
real_len_r
*
real_len_c
)
+
j
*
real_len_c
+
i
)
)
std
::
cout
<<
format
(
input
.
buffer
()[
k
*
(
real_len_r
*
real_len_c
)
+
j
*
real_len_c
+
i
]
)
<<
' '
;
std
::
cout
<<
std
::
endl
;
}
...
...
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