Skip to content
Snippets Groups Projects
Commit eee0f868 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

seam carving

parent b760b8c8
Branches
Tags
No related merge requests found
......@@ -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;
}
......
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment