Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
48cd6858
Commit
48cd6858
authored
16 years ago
by
Guillaume Borrut
Browse files
Options
Downloads
Patches
Plain Diff
ENH : Adding filter RAndGAndNIRVegetationIndexImageFilter
parent
342e502f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx
+85
-0
85 additions, 0 deletions
Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx
with
85 additions
and
0 deletions
Code/Radiometry/otbRAndGAndNIRVegetationIndexImageFilter.txx
0 → 100644
+
85
−
0
View file @
48cd6858
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbRAndGAndNIRVegetationIndexImageFilter_txx
#define __otbRAndGAndNIRVegetationIndexImageFilter_txx
#include "otbRAndGAndNIRVegetationIndexImageFilter.h"
namespace otb
{
/**
* Constructor
*/
template <class TInputImageR, class TInputImageG, class TInputImageNIR,
class TOutputImage, class TFunction >
RAndGAndNIRVegetationIndexImageFilter<TInputImageR,TInputImageG,TInputImageNIR,TOutputImage,TFunction>
::RAndGAndNIRVegetationIndexImageFilter()
{
}
/**
* Connect one of the operands for pixel-wise addition
*/
template <class TInputImageR, class TInputImageG, class TInputImageNIR,
class TOutputImage, class TFunction >
void
RAndGAndNIRVegetationIndexImageFilter<TInputImageR,TInputImageG,TInputImageNIR,TOutputImage,TFunction>
::SetInputR( const TInputImageR * image )
{
// Process object is not const-correct so the const casting is required.
SetInput1( image );
}
/**
* Connect one of the operands for pixel-wise addition
*/
template <class TInputImageR, class TInputImageG, class TInputImageNIR,
class TOutputImage, class TFunction >
void
RAndGAndNIRVegetationIndexImageFilter<TInputImageR,TInputImageG,TInputImageNIR,TOutputImage,TFunction>
::SetInputG( const TInputImageG * image )
{
SetInput2( image );
}
/**
* Connect one of the operands for pixel-wise addition
*/
template <class TInputImageR, class TInputImageG, class TInputImageNIR,
class TOutputImage, class TFunction >
void
RAndGAndNIRVegetationIndexImageFilter<TInputImageR,TInputImageG,TInputImageNIR,TOutputImage,TFunction>
::SetInputNIR( const TInputImageNIR * image )
{
SetInput3( image );
}
template <class TInputImageR, class TInputImageG, class TInputImageNIR, class TOutputImage, class TFunction >
void
RAndGAndNIRVegetationIndexImageFilter<TInputImageR, TInputImageG, TInputImageNIR, TOutputImage, TFunction>
::PrintSelf(std::ostream& os, itk::Indent indent) const
{
Superclass::PrintSelf(os,indent);
}
}
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment