Skip to content
Snippets Groups Projects
Commit 7f587338 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

Modif exemples

parent f0fc03e4
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,13 @@ ImageIOFactory::RegisterBuiltInFactories()
//For an SPOT5TIF image, if the user set only the directory, this image is read with CAI.
//Otherwise, if the user set the name of the image ('IMAGERY.TIF') it read with GDAL.
// ONERA format for OTB
itk::ObjectFactoryBase::RegisterFactory( ONERAImageIOFactory::New() );
// GDAL : New format for OTB
itk::ObjectFactoryBase::RegisterFactory( GDALImageIOFactory::New() );
// CAI : New format for OTB
itk::ObjectFactoryBase::RegisterFactory( CAIImageIOFactory::New() );
//MSTAR Format
// ONERA format for OTB
itk::ObjectFactoryBase::RegisterFactory( ONERAImageIOFactory::New() ); //MSTAR Format
itk::ObjectFactoryBase::RegisterFactory( MSTARImageIOFactory::New() );
firstTime = false;
}
......
......@@ -175,7 +175,7 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
// Figure~\ref{LEE_FILTER} shows the result of applying the Lee
// Figure~\ref{fig:LEE_FILTER} shows the result of applying the Lee
// filter to a SAR image.
// \begin{figure}
// \center
......
......@@ -97,7 +97,7 @@ int main( int , char * argv[])
// from the filename extension. The user may also explicitly specify the
// data format explicitly using the \doxygen{itk::ImageIO} (See
// Chapter~\ref{sec:ImagReadWrite} \pageref{sec:ImagReadWrite} for more
// information
// information):
//
// \index{otb::ImageFileReader!SetFileName()}
//
......
......@@ -43,8 +43,7 @@
// \label{fig:ImageOriginAndSpacing}
// \end{figure}
//
// Figure \ref{fig:ImageOriginAndSpacing}\textbf{FIXME: update for OTB
// images}illustrates the main geometrical
// Figure \ref{fig:ImageOriginAndSpacing} illustrates the main geometrical
// concepts associated with the \doxygen{otb::Image}. In this figure,
// circles are
// used to represent the center of pixels. The value of the pixel is assumed
......
......@@ -20,7 +20,7 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: {amst.png}
// OUTPUTS: {amstLineFusion.png}, {amstLineFusionDirs.png}
// 10 3
// 5 1
// Software Guide : EndCommandLineArgs
// Software Guide : BeginLatex
......@@ -217,35 +217,18 @@ int main( int argc, char * argv[] )
writer->SetFileName( argv[2] );
writer->Update();
// Software Guide : BeginLatex
// We can also obtain the direction of the lines by invoking the
// \code{GetOutputDirections()} method. \textbf{FIXME : implement
// the method!!}
// Software Guide : EndLatex
writer->SetFileName( argv[3] );
// Software Guide : BeginCodeSnippet
//rescaler->SetInput( filter->GetOutputDirections() );
writer->SetInput( rescaler->GetOutput() );
writer->Update();
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex Figure~\ref{fig:LINECORRELATION_FILTER}
// Software Guide : BeginLatex
// Figure~\ref{fig:LINECORRELATION_FILTER}
// shows the result of applying the AssymetricFusionOf edge detector filter
// to a SAR image. \begin{figure} \center
// \includegraphics[width=0.25\textwidth]{amst.eps}
// \includegraphics[width=0.25\textwidth]{amstLineFusion.eps}
// \includegraphics[width=0.25\textwidth]{amstLineFusionDirs.eps}
// \itkcaption[Line Correlation Detector Application]{Result of applying
// the \doxygen{otb::AssymetricFusionOfDetectorImageFilter} to a SAR
// image. From left to right : original image, line intensity and
// edge orientation.} \label{fig:LINECORRELATION_FILTER} \end{figure}
// image. From left to right : original image, line intensity.} \label{fig:LINECORRELATION_FILTER} \end{figure}
//
// \relatedClasses
// \begin{itemize}
// \item \doxygen{otb::AssymetricFusionOfDetectorImageFilter}
// \end{itemize}
// Software Guide : EndLatex
......
......@@ -20,7 +20,7 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: {amst.png}
// OUTPUTS: {amstLineCorrelations.png}, {amstLineCorrelationDirections.png}
// 10 3
// 5 1
// Software Guide : EndCommandLineArgs
// Software Guide : BeginLatex
......
......@@ -193,15 +193,6 @@ int main( int argc, char * argv[] )
// Software Guide : BeginLatex
// We can also obtain the direction of the lines by invoking the
// \code{GetOutputDirections()} method. \textbf{FIXME : implement
// the method!!}
// Software Guide : EndLatex
// Software Guide : BeginLatex Figure~\ref{fig:LOCAL_HOUGH}
// shows the result of applying the AssymetricFusionOf edge detector filter
// to a SAR image. \begin{figure} \center
......
......@@ -20,7 +20,7 @@
// Software Guide : BeginCommandLineArgs
// INPUTS: {amst.png}
// OUTPUTS: {amstLineRatios.png}, {amstLineRatioDirections.png}
// 10 3
// 5 1
// Software Guide : EndCommandLineArgs
// Software Guide : BeginLatex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment