Commit b7ec07b5 authored by Cédric Traizet's avatar Cédric Traizet

DOC : added doc limitations (none)

parent 24587a42
......@@ -18,9 +18,6 @@
* limitations under the License.
*/
#include <time.h>
#include "otbWrapperApplication.h"
#include "otbWrapperApplicationFactory.h"
......@@ -28,6 +25,8 @@
#include "otbLabelImageSmallRegionMergingFilter.h"
#include "itkChangeLabelImageFilter.h"
#include "otbStopwatch.h"
namespace otb
{
namespace Wrapper
......@@ -78,6 +77,8 @@ private:
" all segments of area equal to 2 pixels will be"
" processed, until segments of area minsize.");
SetDocLimitations( "None") ;
SetDocAuthors("OTB-Team");
SetDocSeeAlso("Segmentation");
AddDocTag(Tags::Segmentation);
......@@ -121,7 +122,8 @@ private:
void DoExecute() override
{
clock_t tic = clock();
// Start Timer for the application
auto Timer = Stopwatch::StartNew();
unsigned int minSize = GetParameterInt("minsize");
......@@ -180,9 +182,10 @@ private:
}
SetParameterOutputImage("out", changeLabelFilter->GetOutput());
RegisterPipeline();
clock_t toc = clock();
otbAppLogINFO(<<"Elapsed time: "<<(double)(toc - tic) / CLOCKS_PER_SEC<<
" seconds");
Timer.Stop();
otbAppLogINFO( "Total elapsed time: "<< float(Timer.GetElapsedMilliseconds())/1000 <<" seconds.");
}
};
......
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