diff --git a/Examples/FeatureExtraction/SeamCarvingExample.cxx b/Examples/FeatureExtraction/SeamCarvingExample.cxx index ddca8100abc0679cdeebaf99c53f72a4ce6a2a74..56b00642bf2bb86465758084bdf6f457593a9357 100644 --- a/Examples/FeatureExtraction/SeamCarvingExample.cxx +++ b/Examples/FeatureExtraction/SeamCarvingExample.cxx @@ -228,6 +228,25 @@ int main(int argc, char ** argv) writer->SetInput( rescaler->GetOutput() ); writer->Update(); // Software Guide : EndCodeSnippet + + // Software Guide : BeginLatex + // + // Figure~\ref{fig:SEAMCARVING_FILTER} shows the result of applying + // the seam carving filter to a satellite image. + // \begin{figure} + // \center + // \includegraphics[width=0.44\textwidth]{QB_Suburb.png} + // \includegraphics[width=0.44\textwidth]{SeamCarvingExampleOutput.png} + // \itkcaption[Seam carving filter application]{Result of applying + // the \doxygen{otb}{ImageToCarvingPathFilter} followed by the + // \doxygen{otb}{RemoveCarvingPathFilter} to Quickbird + // image. From left to right : original image, reduced image removing the 50 + // seams with the lowest energy.} + // \label{fig:SEAMCARVING_FILTER} + // \end{figure} + // + // Software Guide : EndLatex + return EXIT_SUCCESS; } diff --git a/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx b/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx index 7bdd21d2d9465a575b867f5ccf407d9a9ed5c84f..b8ebccfb58e81842712731b75caf8c75046c10cf 100644 --- a/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx +++ b/Examples/FeatureExtraction/SeamCarvingOtherExample.cxx @@ -205,6 +205,22 @@ int main(int argc, char ** argv) writer->Update(); // Software Guide : EndCodeSnippet + // Software Guide : BeginLatex + // + // Figure~\ref{fig:SEAMCARVING2_FILTER} shows the result of applying + // the seam carving filter to a satellite image. + // \begin{figure} + // \center + // \includegraphics[width=0.44\textwidth]{QB_Suburb.png} + // \includegraphics[width=0.44\textwidth]{SeamCarvingOtherExampleOutput.png} + // \itkcaption[Seam carving filter application]{Illustration of the minimum + // seams alternatively vertical and horizontal on a Quickbird + // image. From left to right : original image, image with the 25 vertical + // seams and the 25 horizontal seams.} + // \label{fig:SEAMCARVING2_FILTER} + // \end{figure} + // + // Software Guide : EndLatex }