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
ac5677f4
Commit
ac5677f4
authored
Apr 11, 2018
by
Gaetano Raffaele
Browse files
FIX: solves a 64-bit type issue in automatic layout configuration
parent
9c4810ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/lsgrmController.txx
View file @
ac5677f4
...
...
@@ -316,9 +316,9 @@ void Controller<TSegmenter>::GetAutomaticConfiguration()
itkDebugMacro(<<"Maximum number of nodes in memory is " << maximumNumberOfNodesInMemory);
// Number of nodes in the entire image
const
unsigned in
t imageWidth = m_InputImage->GetLargestPossibleRegion().GetSize()[0];
const
unsigned in
t imageHeight = m_InputImage->GetLargestPossibleRegion().GetSize()[1];
const
unsigned long in
t nbOfNodesInImage = imageWidth*imageHeight;
const
std::size_
t imageWidth = m_InputImage->GetLargestPossibleRegion().GetSize()[0];
const
std::size_
t imageHeight = m_InputImage->GetLargestPossibleRegion().GetSize()[1];
const
std::size_
t nbOfNodesInImage = imageWidth*imageHeight;
// Default layout: 1x1
m_NbTilesX = 1;
...
...
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