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
092b2d6b
Commit
092b2d6b
authored
Oct 31, 2017
by
remi cresson
Browse files
Merge branch 'master' into change_output_mode
parents
1026386a
a8984a3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/lsgrmController.txx
View file @
092b2d6b
...
...
@@ -326,7 +326,7 @@ void Controller<TSegmenter>::GetAutomaticConfiguration()
// Actually, there is tile margins. And the best scenario is to have
// square tiles with margin = width/2, that is tiles 4x larger.
// Hence the number of tiles maximizing memory use is 4x larger.
unsigned int minimumNumberOfTiles = std::ceil(4
*
nbOfNodesInImage / ((float) maximumNumberOfNodesInMemory));
unsigned int minimumNumberOfTiles = std::ceil(4
.0 * ((float)
nbOfNodesInImage
)
/ ((float) maximumNumberOfNodesInMemory));
itkDebugMacro(<<"Minimum number of tiles is " << minimumNumberOfTiles);
// In the following steps, we will optimize tiling layout, starting from a number
...
...
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