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
0c3ae789
Commit
0c3ae789
authored
Sep 06, 2016
by
remicres
Browse files
DOC: update TODOs and other comments
parent
3d7065ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/otbLSGRM.cxx
View file @
0c3ae789
...
...
@@ -217,9 +217,7 @@ private:
void
DoExecute
()
{
/*
To add:
the output directory in case the global graph cannot fit in memory
TODO: It seems to be a cast-related bug when changing the output pixel type (e.g. uint16) !
TODO: the output directory in case the global graph cannot fit in memory (lsgrmController.txx)
*/
// Input image
...
...
include/lsgrmController.txx
View file @
0c3ae789
...
...
@@ -47,7 +47,7 @@ void Controller<TSegmenter>::RunSegmentation()
{
this->GetAutomaticConfiguration();
}
else
if (
m_TilingMode
==
LSGRM_TILING_USER
)
else
//
m_TilingMode
is
LSGRM_TILING_USER
{
m_NbTilesX = std::floor(m_InputImage->GetLargestPossibleRegion().GetSize()[0] / m_TileWidth);
m_NbTilesY = std::floor(m_InputImage->GetLargestPossibleRegion().GetSize()[1] / m_TileHeight);
...
...
@@ -99,14 +99,12 @@ void Controller<TSegmenter>::RunSegmentation()
isFusion);
#ifdef OTB_USE_MPI
// Gathering useful variables
GatherUsefulVariables(accumulatedMemory, isFusion);
#endif
// Time monitoring
ShowTime(t);
while(accumulatedMemory > m_Memory && isFusion)
{
isFusion = false;
...
...
@@ -122,11 +120,7 @@ void Controller<TSegmenter>::RunSegmentation()
m_InputImage->GetNumberOfComponentsPerPixel(),
isFusion);
std::cout << "accumulatedMemory=" << accumulatedMemory << std::endl;
#ifdef OTB_USE_MPI
// Gathering useful variables
GatherUsefulVariables(accumulatedMemory, isFusion);
#endif
...
...
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