OTB
9.0.0
Orfeo Toolbox
|
#include <otbLineSegmentDetector.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef CoordinateHistogramType::iterator | CoordinateHistogramIteratorType |
typedef std::vector< IndexVectorType > | CoordinateHistogramType |
typedef VectorDataType::DataNodeType | DataNodeType |
typedef DirectionVectorType::iterator | DirectionVectorIteratorType |
typedef std::vector< float > | DirectionVectorType |
typedef GradientFilterType::Pointer | GradientFilterPointerType |
typedef itk::GradientRecursiveGaussianImageFilter< OutputImageType > | GradientFilterType |
typedef GradientFilterType::OutputImageType | GradientOutputImageType |
typedef IndexVectorType::iterator | IndexVectorIteratorType |
typedef std::vector< OutputIndexType > | IndexVectorType |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputImageType::PixelType | InputPixelType |
typedef LabelImageType::Pointer | LabelImagePointerType |
typedef otb::Image< unsigned char, 2 > | LabelImageType |
typedef VectorDataType::LineType | LineType |
typedef MagnitudeFilterType::Pointer | MagnitudeFilterPointerType |
typedef itk::UnaryFunctorImageFilter< GradientOutputImageType, OutputImageType, Functor::MagnitudeFunctor< typename GradientOutputImageType::PixelType, TPrecision > > | MagnitudeFilterType |
typedef MagnitudeImageType::Pointer | MagnitudeImagePointerType |
typedef MagnitudeFilterType::OutputImageType | MagnitudeImageType |
typedef MagnitudeFilterType::OutputImageType::PixelType | MagnitudePixelType |
typedef OrientationFilterType::Pointer | OrientationFilterPointerType |
typedef itk::UnaryFunctorImageFilter< GradientOutputImageType, OutputImageType, Functor::OrientationFunctor< typename GradientOutputImageType::PixelType, TPrecision > > | OrientationFilterType |
typedef InputImageType::PointType | OriginType |
typedef OutputImageDirType::RegionType | OutputImageDirRegionType |
typedef OrientationFilterType::OutputImageType | OutputImageDirType |
typedef Image< TPrecision, 2 > | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef OutputImageType::SizeType | OutputSizeType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataType::PointType | PointType |
typedef RectangleType::iterator | RectangleIteratorType |
typedef std::vector< RectangleType > | RectangleListType |
typedef RectangleListType::iterator | RectangleListTypeIterator |
typedef std::vector< double > | RectangleType |
typedef InputImageType::RegionType | RegionType |
typedef LineSegmentDetector | Self |
typedef InputImageType::SizeType | SizeType |
typedef InputImageType::SpacingType | SpacingType |
typedef VectorDataSource< VectorData< TPrecision > > | Superclass |
typedef VectorData< TPrecision > | VectorDataType |
typedef std::vector< IndexVectorType > | VectorOfIndexVectorType |
typedef LineType::VertexType | VertexType |
Public Types inherited from otb::VectorDataSource< otb::VectorData< double > > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef otb::VectorData< double > ::Pointer | OutputVectorDataPointer |
typedef otb::VectorData< double > | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::VectorDataSource< otb::VectorData< double > > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | GraftOutput (itk::DataObject *output) |
virtual void | GraftNthOutput (unsigned int idx, itk::DataObject *output) |
virtual OutputVectorDataType * | GetOutput (void) |
virtual OutputVectorDataType * | GetOutput (DataObjectPointerArraySizeType idx) |
Additional Inherited Members | |
Protected Member Functions inherited from otb::VectorDataSource< otb::VectorData< double > > | |
VectorDataSource () | |
~VectorDataSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
this class implement a fast line detector with false detection control using the a contrario method
The implementation is based on the online version of the lsd documentation and code lsd 1.5. The OTB version use a 3x3 filter to compute the gradient(vs. 2x2 in the original implementation) and implements the density control, the NOTINIT status and the incremental rectangle optimisation.
See Publication : " LSD: A line segment detector ", R. Grompone, J.Jackubowicz, J-M.Morel, G.Randall And Website : http://www.ipol.im/pub/algo/gjmr_line_segment_detector/
Definition at line 92 of file otbLineSegmentDetector.h.
typedef itk::SmartPointer<const Self> otb::LineSegmentDetector< TInputImage, TPrecision >::ConstPointer |
Definition at line 99 of file otbLineSegmentDetector.h.
typedef CoordinateHistogramType::iterator otb::LineSegmentDetector< TInputImage, TPrecision >::CoordinateHistogramIteratorType |
Definition at line 133 of file otbLineSegmentDetector.h.
typedef std::vector<IndexVectorType> otb::LineSegmentDetector< TInputImage, TPrecision >::CoordinateHistogramType |
Definition at line 132 of file otbLineSegmentDetector.h.
typedef VectorDataType::DataNodeType otb::LineSegmentDetector< TInputImage, TPrecision >::DataNodeType |
Definition at line 118 of file otbLineSegmentDetector.h.
typedef DirectionVectorType::iterator otb::LineSegmentDetector< TInputImage, TPrecision >::DirectionVectorIteratorType |
Definition at line 138 of file otbLineSegmentDetector.h.
typedef std::vector<float> otb::LineSegmentDetector< TInputImage, TPrecision >::DirectionVectorType |
Definition at line 137 of file otbLineSegmentDetector.h.
typedef GradientFilterType::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::GradientFilterPointerType |
Definition at line 142 of file otbLineSegmentDetector.h.
typedef itk::GradientRecursiveGaussianImageFilter<OutputImageType> otb::LineSegmentDetector< TInputImage, TPrecision >::GradientFilterType |
Definition at line 141 of file otbLineSegmentDetector.h.
typedef GradientFilterType::OutputImageType otb::LineSegmentDetector< TInputImage, TPrecision >::GradientOutputImageType |
Definition at line 143 of file otbLineSegmentDetector.h.
typedef IndexVectorType::iterator otb::LineSegmentDetector< TInputImage, TPrecision >::IndexVectorIteratorType |
Definition at line 131 of file otbLineSegmentDetector.h.
typedef std::vector<OutputIndexType> otb::LineSegmentDetector< TInputImage, TPrecision >::IndexVectorType |
Histogram to store the coordinate of ordered pixels
Definition at line 130 of file otbLineSegmentDetector.h.
typedef TInputImage otb::LineSegmentDetector< TInputImage, TPrecision >::InputImageType |
Definition of the input image
Definition at line 105 of file otbLineSegmentDetector.h.
typedef InputImageType::IndexType otb::LineSegmentDetector< TInputImage, TPrecision >::InputIndexType |
Definition at line 110 of file otbLineSegmentDetector.h.
typedef InputImageType::PixelType otb::LineSegmentDetector< TInputImage, TPrecision >::InputPixelType |
Definition at line 109 of file otbLineSegmentDetector.h.
typedef LabelImageType::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::LabelImagePointerType |
Definition at line 162 of file otbLineSegmentDetector.h.
typedef otb::Image<unsigned char, 2> otb::LineSegmentDetector< TInputImage, TPrecision >::LabelImageType |
Create an image to store the label USED(255), NOTINI(127) or NOTUSED (0)
Definition at line 161 of file otbLineSegmentDetector.h.
typedef VectorDataType::LineType otb::LineSegmentDetector< TInputImage, TPrecision >::LineType |
Definition at line 119 of file otbLineSegmentDetector.h.
typedef MagnitudeFilterType::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::MagnitudeFilterPointerType |
Definition at line 148 of file otbLineSegmentDetector.h.
typedef itk::UnaryFunctorImageFilter<GradientOutputImageType, OutputImageType, Functor::MagnitudeFunctor<typename GradientOutputImageType::PixelType, TPrecision> > otb::LineSegmentDetector< TInputImage, TPrecision >::MagnitudeFilterType |
Definition at line 147 of file otbLineSegmentDetector.h.
typedef MagnitudeImageType::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::MagnitudeImagePointerType |
Definition at line 151 of file otbLineSegmentDetector.h.
typedef MagnitudeFilterType::OutputImageType otb::LineSegmentDetector< TInputImage, TPrecision >::MagnitudeImageType |
Definition at line 150 of file otbLineSegmentDetector.h.
typedef MagnitudeFilterType::OutputImageType::PixelType otb::LineSegmentDetector< TInputImage, TPrecision >::MagnitudePixelType |
Definition at line 149 of file otbLineSegmentDetector.h.
typedef OrientationFilterType::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::OrientationFilterPointerType |
Definition at line 156 of file otbLineSegmentDetector.h.
typedef itk::UnaryFunctorImageFilter<GradientOutputImageType, OutputImageType, Functor::OrientationFunctor<typename GradientOutputImageType::PixelType, TPrecision> > otb::LineSegmentDetector< TInputImage, TPrecision >::OrientationFilterType |
Definition at line 155 of file otbLineSegmentDetector.h.
typedef InputImageType::PointType otb::LineSegmentDetector< TInputImage, TPrecision >::OriginType |
Definition at line 114 of file otbLineSegmentDetector.h.
typedef OutputImageDirType::RegionType otb::LineSegmentDetector< TInputImage, TPrecision >::OutputImageDirRegionType |
Definition at line 158 of file otbLineSegmentDetector.h.
typedef OrientationFilterType::OutputImageType otb::LineSegmentDetector< TInputImage, TPrecision >::OutputImageDirType |
Definition at line 157 of file otbLineSegmentDetector.h.
typedef Image<TPrecision, 2> otb::LineSegmentDetector< TInputImage, TPrecision >::OutputImageType |
Definition of temporary image ised to store LABELS
Definition at line 124 of file otbLineSegmentDetector.h.
typedef OutputImageType::IndexType otb::LineSegmentDetector< TInputImage, TPrecision >::OutputIndexType |
Definition at line 126 of file otbLineSegmentDetector.h.
typedef OutputImageType::PixelType otb::LineSegmentDetector< TInputImage, TPrecision >::OutputPixelType |
Definition at line 125 of file otbLineSegmentDetector.h.
typedef OutputImageType::SizeType otb::LineSegmentDetector< TInputImage, TPrecision >::OutputSizeType |
Definition at line 127 of file otbLineSegmentDetector.h.
typedef itk::SmartPointer<Self> otb::LineSegmentDetector< TInputImage, TPrecision >::Pointer |
Definition at line 98 of file otbLineSegmentDetector.h.
typedef VectorDataType::PointType otb::LineSegmentDetector< TInputImage, TPrecision >::PointType |
Definition at line 120 of file otbLineSegmentDetector.h.
typedef RectangleType::iterator otb::LineSegmentDetector< TInputImage, TPrecision >::RectangleIteratorType |
Definition at line 166 of file otbLineSegmentDetector.h.
typedef std::vector<RectangleType> otb::LineSegmentDetector< TInputImage, TPrecision >::RectangleListType |
Definition at line 167 of file otbLineSegmentDetector.h.
typedef RectangleListType::iterator otb::LineSegmentDetector< TInputImage, TPrecision >::RectangleListTypeIterator |
Definition at line 168 of file otbLineSegmentDetector.h.
typedef std::vector<double> otb::LineSegmentDetector< TInputImage, TPrecision >::RectangleType |
Vector to store the rectangle characterization center, width, orientation , ( begin , end ) of the central line
Definition at line 165 of file otbLineSegmentDetector.h.
typedef InputImageType::RegionType otb::LineSegmentDetector< TInputImage, TPrecision >::RegionType |
Definition at line 112 of file otbLineSegmentDetector.h.
typedef LineSegmentDetector otb::LineSegmentDetector< TInputImage, TPrecision >::Self |
typedef for the classes standards.
Definition at line 96 of file otbLineSegmentDetector.h.
typedef InputImageType::SizeType otb::LineSegmentDetector< TInputImage, TPrecision >::SizeType |
Definition at line 111 of file otbLineSegmentDetector.h.
typedef InputImageType::SpacingType otb::LineSegmentDetector< TInputImage, TPrecision >::SpacingType |
Definition at line 113 of file otbLineSegmentDetector.h.
typedef VectorDataSource<VectorData<TPrecision> > otb::LineSegmentDetector< TInputImage, TPrecision >::Superclass |
Definition at line 97 of file otbLineSegmentDetector.h.
typedef VectorData<TPrecision> otb::LineSegmentDetector< TInputImage, TPrecision >::VectorDataType |
Definition of the output vector data.
Definition at line 117 of file otbLineSegmentDetector.h.
typedef std::vector<IndexVectorType> otb::LineSegmentDetector< TInputImage, TPrecision >::VectorOfIndexVectorType |
typedef structure to store REGION
Definition at line 136 of file otbLineSegmentDetector.h.
typedef LineType::VertexType otb::LineSegmentDetector< TInputImage, TPrecision >::VertexType |
Definition at line 121 of file otbLineSegmentDetector.h.
|
protected |
Gradient filter
|
inlineoverrideprotected |
Gradient filter
Definition at line 193 of file otbLineSegmentDetector.h.
|
privatedelete |
Gradient filter
|
protectedvirtual |
Gradient filter
|
protectedvirtual |
For each region of the region List it builds a rectangle
|
protectedvirtual |
Compute the Number Of False Alarm for a rectangle
|
protectedvirtual |
Gradient filter
|
protectedvirtual |
Create a copy of a rectangle
virtual::itk::LightObject::Pointer otb::LineSegmentDetector< TInputImage, TPrecision >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate Data method
|
overrideprotected |
Gradient filter
|
inline |
Gradient filter
Definition at line 181 of file otbLineSegmentDetector.h.
|
inline |
Gradient filter
Definition at line 185 of file otbLineSegmentDetector.h.
|
virtual |
Gradient filter
|
inline |
Custom Get methods to access intermediate data
Definition at line 177 of file otbLineSegmentDetector.h.
|
virtual |
Return the name of the class.
|
protectedvirtual |
search for a segment which begins from a seed "index "
|
protectedvirtual |
Gradient filter
|
protectedvirtual |
Define if two are aligned
|
protectedvirtual |
Return true if the pixel status is NOTINI
|
protectedvirtual |
Return true if the pixel status is NOTUSED
|
protectedvirtual |
Return true if the pixel status is USED
|
protectedvirtual |
Gradient filter
|
static |
Method for management of the object factory.
|
protectedvirtual |
NFA For a rectangle
|
privatedelete |
Gradient filter
|
overrideprotected |
Printself method
|
protectedvirtual |
Gradient filter
|
virtual |
Gradient filter
|
protectedvirtual |
Set Pixel flag to NOTINI
|
protectedvirtual |
Set Pixel flag to USED
|
protectedvirtual |
Set Pixels flag to NOTINI
|
protectedvirtual |
Sort the image and store the coordinates in a histogram this method is used to determine the seeds where to begin the search segments Points with large gradient modulus are more able to belong to a segment
|
private |
Gradient filter
Definition at line 273 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 267 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 277 of file otbLineSegmentDetector.h.
|
private |
Magnitude filter
Definition at line 280 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 274 of file otbLineSegmentDetector.h.
|
private |
Orientation filter
Definition at line 283 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 272 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 269 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 266 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 271 of file otbLineSegmentDetector.h.
|
private |
Gradient filter
Definition at line 268 of file otbLineSegmentDetector.h.