Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
- ======================================================================-====*/
+ ===========================================================================**/
#ifndef CLITKEXTRACTAIRWAYTREEINFOSFILTER_H
#define CLITKEXTRACTAIRWAYTREEINFOSFILTER_H
_l1 = l1;
_l2 = l2;
}
+
IndexType index;
PointType point;
+ double weight;
PixelType l;
PixelType l1;
PixelType l2;
typedef typename InternalImageType::Pointer InternalImagePointer;
typedef typename InternalImageType::IndexType InternalIndexType;
typedef LabelizeParameters<InternalPixelType> LabelParamType;
-
+
+ // Data Structures for trees
+ struct FullTreeNodeType {
+ ImageIndexType index;
+ ImagePointType point;
+ double weight;
+ };
+ struct StructuralTreeNodeType {
+ ImageIndexType index;
+ ImagePointType point;
+ double weight;
+ };
+ typedef tree<FullTreeNodeType> FullTreeType;
+ typedef tree<StructuralTreeNodeType> StructuralTreeType;
+ FullTreeType mFullSkeletonTree;
+ StructuralTreeType mStructuralSkeletonTree;
+
/** Connect inputs */
void SetInput(const ImageType * image);
- // Set all options at a time
- template<class ArgsInfoType>
- void SetArgsInfo(ArgsInfoType arg);
-
// Background / Foreground
itkGetConstMacro(BackgroundValue, ImagePixelType);
itkGetConstMacro(ForegroundValue, ImagePixelType);
virtual void GenerateData();
TreeType m_SkeletonTree;
+ void TrackFromThisIndex2(ImageIndexType index, ImagePointer skeleton,
+ ImagePixelType label,
+ typename FullTreeType::iterator currentNode,
+ typename StructuralTreeType::iterator currentSNode);
void TrackFromThisIndex(std::vector<BifurcationType> & listOfBifurcations,
ImagePointer skeleton,
ImageIndexType index,