Commit b47a8806 authored by remicres's avatar remicres
Browse files

FIX: change warning messages into debug message

parent 21700d38
...@@ -237,17 +237,17 @@ unsigned int Controller<TSegmenter>::GetNodeMemory() ...@@ -237,17 +237,17 @@ unsigned int Controller<TSegmenter>::GetNodeMemory()
// Get the memory occupied by the graph, normalize it by n*n // Get the memory occupied by the graph, normalize it by n*n
unsigned int memory = segmenter.GetGraphMemory() / (n*n); unsigned int memory = segmenter.GetGraphMemory() / (n*n);
itkWarningMacro(<<"Size of a node is " << memory); itkDebugMacro(<<"Size of a node is " << memory);
// Get the memory occupied by one pixel of the image // Get the memory occupied by one pixel of the image
unsigned int pixelMemory = sizeof(m_InputImage->GetBufferPointer()) unsigned int pixelMemory = sizeof(m_InputImage->GetBufferPointer())
* m_InputImage->GetNumberOfComponentsPerPixel(); * m_InputImage->GetNumberOfComponentsPerPixel();
itkWarningMacro(<<"Size of an image pixel is " << pixelMemory); itkDebugMacro(<<"Size of an image pixel is " << pixelMemory);
memory += pixelMemory; memory += pixelMemory;
itkWarningMacro(<<"Size of a node+pixel is " << memory); itkDebugMacro(<<"Size of a node+pixel is " << memory);
return memory; return memory;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment