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
83f7abf3
Commit
83f7abf3
authored
Apr 09, 2021
by
Laurent Claustre
Browse files
Merge branch 'fix-saving-concat-frames' into 'master'
CtSaving_Edf: fix saving of (3D) image stack See merge request
!193
parents
926911bf
d4d3751d
Pipeline
#46192
passed with stages
in 23 minutes and 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
control/src/CtSaving_Edf.h
View file @
83f7abf3
...
...
@@ -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