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
Cresson Remi
LSGRM
Commits
f3b7c7ce
Commit
f3b7c7ce
authored
Feb 22, 2018
by
remi cresson
Browse files
FIX: enforce ITK4.13 positive spacing
parent
9c4810ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/otbLSGRM.cxx
View file @
f3b7c7ce
...
...
@@ -234,7 +234,7 @@ private:
labelImageSource
->
SetGraph
(
controller
->
GetOutputGraph
());
labelImageSource
->
SetOutputSize
(
inputImage
->
GetLargestPossibleRegion
().
GetSize
());
labelImageSource
->
SetOutputOrigin
(
inputImage
->
GetOrigin
());
labelImageSource
->
SetOutputSpacing
(
inputImage
->
GetSpacing
());
labelImageSource
->
SetOutputSpacing
(
inputImage
->
GetS
ignedS
pacing
());
labelImageSource
->
SetOutputProjectionRef
(
inputImage
->
GetProjectionRef
());
labelImageSource
->
GenerateOutputInformation
();
...
...
@@ -246,7 +246,7 @@ private:
if
(
dynamic_cast
<
OutputImageParameter
*>
(
GetParameterByKey
(
"out"
)))
{
OutputImageParameter
*
paramDown
=
dynamic_cast
<
OutputImageParameter
*>
(
GetParameterByKey
(
"out"
));
paramDown
->
SetRAMValue
(
256
);
paramDown
->
SetRAMValue
(
1024
);
}
// Get temporary files list
...
...
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