Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima
Commits
d4d3751d
Commit
d4d3751d
authored
Mar 24, 2021
by
Alejandro Homs Puron
Committed by
bliss administrator
Mar 24, 2021
Browse files
CtSaving_Edf: fix saving of (3D) image stack
parent
926911bf
Pipeline
#43680
passed with stages
in 32 minutes and 13 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
control/src/CtSaving_Edf.h
View file @
d4d3751d
...
...
@@ -204,7 +204,10 @@ namespace lima {
sout
<<
"Dim_2 = "
;
mmap_info
.
height_offset
=
sout
.
tellp
();
snprintf
(
aBuffer
,
sizeof
(
aBuffer
),
"%*s ;
\n
"
,
nbCharReserved
,
""
);
sout
<<
aData
.
dimensions
[
1
]
<<
aBuffer
;
int
rows
=
aData
.
dimensions
[
1
];
if
(
aData
.
dimensions
.
size
()
==
3
)
rows
*=
aData
.
dimensions
[
2
];
sout
<<
rows
<<
aBuffer
;
sout
<<
"Image = "
<<
image_nb
<<
" ;
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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