Commit 2304f08a authored by Manuel Grizonnet's avatar Manuel Grizonnet

TEST: remove old OTBVisu from cmakelists

parent d2862b8f
......@@ -85,7 +85,7 @@ int main(int argc, char * argv[])
// Here the \doxygen{itk}{ShapeLabelObject} type
// is chosen in order to read some attribute related to the shape
// of the objects (by opposition to the content of the object, with
// the \doxygen{itk}{StatisticsLabelObject).
// the \doxygen{itk}{StatisticsLabelObject}.
//
// Software Guide : EndLatex
......@@ -127,7 +127,7 @@ int main(int argc, char * argv[])
// Software Guide : BeginLatex
//
// Then, we can read the attribute values we're interested in. The \doxygen{itk}{BinaryImageToShapeLabelMapFilter
// Then, we can read the attribute values we're interested in. The \doxygen{itk}{BinaryImageToShapeLabelMapFilter}
// produce consecutive labels, so we can use a for loop and GetLabelObject() method to retrieve
// the label objects. If the labels are not consecutive, the GetNthLabelObject() method must be
// use instead of GetLabelObject(), or an iterator on the label
......@@ -153,3 +153,4 @@ int main(int argc, char * argv[])
return EXIT_SUCCESS;
}
......@@ -37,7 +37,6 @@
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
//#include "otbMacro.h"
#include "otbImage.h"
#include "otbImageFileReader.h"
#include "otbGCPsToRPCSensorModelImageFilter.h"
......@@ -91,7 +90,7 @@ int main( int argc, char* argv[] )
// Software Guide : BeginLatex
// We retrieve the command line parameters and put them in the
// correct variables. Firstl, We determine the number of GCPs
// correct variables. Firstly, We determine the number of GCPs
// set from the command line parameters and they are stored in:
// \begin{itemize}
// \item \doxygen{otb}{Point3DType} : Store the sensor point (3D ground point)
......@@ -103,11 +102,12 @@ int main( int argc, char* argv[] )
// \end{itemize}
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
unsigned int nbGCPs = (argc-3)/5;
std::cout<<"Receiving "<<nbGCPs<<" from command line."<<std::endl;
// Software Guide : BeginCodeSnippet
for(unsigned int gcpId = 0;gcpId<nbGCPs;++gcpId)
{
Point2DType sensorPoint;
......@@ -123,6 +123,8 @@ int main( int argc, char* argv[] )
rpcEstimator->AddGCP(sensorPoint,geoPoint);
}
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
// Note that the \doxygen{otb}{GCPsToRPCSensorModelImageFilter} needs
......
......@@ -244,7 +244,7 @@ TARGET_LINK_LIBRARIES(0000041-mean_shift OTBIO OTBCommon OTBBasicFilters)
IF(OTB_USE_VISU_GUI)
ADD_EXECUTABLE(0000132-jpg 0000132-jpg.cxx )
TARGET_LINK_LIBRARIES(0000132-jpg OTBIO OTBVisu)
TARGET_LINK_LIBRARIES(0000132-jpg OTBIO OTBVisualization)
ENDIF(OTB_USE_VISU_GUI)
ADD_EXECUTABLE(PolygonsVectorization PolygonsVectorization.cxx)
......
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