|
using | ConstPointer = SmartPointer< const Self > |
|
using | FunctionType = LevelSetFunctionWithRefitTerm< TOutputImage, SparseImageType > |
|
using | Pointer = SmartPointer< Self > |
|
using | RadiusType = typename FunctionType::RadiusType |
|
using | Self = UnsharpMaskLevelSetImageFilter |
|
using | SparseImageType = typename Superclass::SparseImageType |
|
using | Superclass = SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | IndexType = typename Superclass::IndexType |
|
using | LayerType = typename Superclass::LayerType |
|
using | LevelSetFunctionType = LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType > |
|
using | NeighborhoodScalesType = typename Superclass::NeighborhoodScalesType |
|
using | NodeType = NormalBandNode< OutputImageType > |
|
using | NormalVectorFilterType = ImplicitManifoldNormalVectorFilter< OutputImageType, SparseImageType > |
|
using | NormalVectorFunctionType = NormalVectorDiffusionFunction< SparseImageType > |
|
using | NormalVectorType = typename NodeType::NodeDataType |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | Pointer = SmartPointer< Self > |
|
using | RadiusType = typename Superclass::RadiusType |
|
using | Self = SparseFieldFourthOrderLevelSetImageFilter |
|
using | SparseImageIteratorType = NeighborhoodIterator< SparseImageType > |
|
using | SparseImageType = SparseImage< NodeType, Self::ImageDimension > |
|
using | Superclass = SparseFieldLevelSetImageFilter< TInputImage, TOutputImage > |
|
using | ValueType = typename Superclass::ValueType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | IndexType = typename OutputImageType::IndexType |
|
using | InputImageType = TInputImage |
|
using | LayerListType = std::vector< LayerPointerType > |
|
using | LayerNodeStorageType = ObjectStore< LayerNodeType > |
|
using | LayerNodeType = SparseFieldLevelSetNode< IndexType > |
|
using | LayerPointerType = typename LayerType::Pointer |
|
using | LayerType = SparseFieldLayer< LayerNodeType > |
|
using | NeighborhoodScalesType = typename Superclass::NeighborhoodScalesType |
|
using | OutputImageType = TOutputImage |
|
using | Pointer = SmartPointer< Self > |
|
using | RadiusType = typename Superclass::RadiusType |
|
using | Self = SparseFieldLevelSetImageFilter |
|
using | StatusImageType = Image< StatusType, Self::ImageDimension > |
|
using | StatusType = signed char |
|
using | Superclass = FiniteDifferenceImageFilter< TInputImage, TOutputImage > |
|
using | TimeStepType = typename Superclass::TimeStepType |
|
using | UpdateBufferType = std::vector< ValueType > |
|
using | ValueType = typename OutputImageType::ValueType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | FiniteDifferenceFunctionType = FiniteDifferenceFunction< TOutputImage > |
|
using | InputImageType = TInputImage |
|
using | InputPixelType = typename TInputImage::PixelType |
|
using | InputPixelValueType = typename NumericTraits< InputPixelType >::ValueType |
|
using | NeighborhoodScalesType = typename FiniteDifferenceFunctionType::NeighborhoodScalesType |
|
using | OutputImageType = TOutputImage |
|
using | OutputPixelType = typename TOutputImage::PixelType |
|
using | OutputPixelValueType = typename NumericTraits< OutputPixelType >::ValueType |
|
using | PixelType = OutputPixelType |
|
using | Pointer = SmartPointer< Self > |
|
using | RadiusType = typename FiniteDifferenceFunctionType::RadiusType |
|
using | Self = FiniteDifferenceImageFilter |
|
using | Superclass = InPlaceImageFilter< TInputImage, TOutputImage > |
|
using | TimeStepType = typename FiniteDifferenceFunctionType::TimeStepType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InputImageConstPointer = typename InputImageType::ConstPointer |
|
using | InputImagePixelType = typename InputImageType::PixelType |
|
using | InputImagePointer = typename InputImageType::Pointer |
|
using | InputImageRegionType = typename InputImageType::RegionType |
|
using | InputImageType = TInputImage |
|
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
|
using | OutputImagePointer = typename Superclass::OutputImagePointer |
|
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
|
using | OutputImageType = typename Superclass::OutputImageType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = InPlaceImageFilter |
|
using | Superclass = ImageToImageFilter< TInputImage, TOutputImage > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InputImageConstPointer = typename InputImageType::ConstPointer |
|
using | InputImagePixelType = typename InputImageType::PixelType |
|
using | InputImagePointer = typename InputImageType::Pointer |
|
using | InputImageRegionType = typename InputImageType::RegionType |
|
using | InputImageType = TInputImage |
|
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
|
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ImageToImageFilter |
|
using | Superclass = ImageSource< TOutputImage > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
|
using | DataObjectPointer = DataObject::Pointer |
|
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
|
using | OutputImagePixelType = typename OutputImageType::PixelType |
|
using | OutputImagePointer = typename OutputImageType::Pointer |
|
using | OutputImageRegionType = typename OutputImageType::RegionType |
|
using | OutputImageType = TOutputImage |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ImageSource |
|
using | Superclass = ProcessObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
|
using | DataObjectPointer = DataObject::Pointer |
|
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
|
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
|
using | MultiThreaderType = MultiThreaderBase |
|
using | NameArray = std::vector< DataObjectIdentifierType > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ProcessObject |
|
using | Superclass = Object |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| UnsharpMaskLevelSetImageFilter () |
|
| ~UnsharpMaskLevelSetImageFilter () override=default |
|
|
bool | Halt () override |
|
| SparseFieldFourthOrderLevelSetImageFilter () |
|
| ~SparseFieldFourthOrderLevelSetImageFilter () override=default |
|
ValueType | ComputeCurvatureFromSparseImageNeighborhood (SparseImageIteratorType &it) const |
|
void | ComputeCurvatureTarget (const OutputImageType *distanceImage, SparseImageType *sparseImage) const |
|
void | ProcessNormals () |
|
bool | ActiveLayerCheckBand () const |
|
| SparseFieldLevelSetImageFilter () |
|
| ~SparseFieldLevelSetImageFilter () override=default |
|
virtual ValueType | CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change) |
|
void | PostProcessOutput () override |
|
virtual void | InitializeBackgroundPixels () |
|
void | Initialize () override |
|
void | CopyInputToOutput () override |
|
void | AllocateUpdateBuffer () override |
|
void | ApplyUpdate (const TimeStepType &dt) override |
|
TimeStepType | CalculateChange () override |
|
void | ConstructLayer (StatusType from, StatusType to) |
|
void | ConstructActiveLayer () |
|
void | InitializeActiveLayerValues () |
|
void | PropagateLayerValues (StatusType from, StatusType to, StatusType promote, int InOrOut) |
|
void | PropagateAllLayerValues () |
|
void | UpdateActiveLayerValues (TimeStepType dt, LayerType *UpList, LayerType *DownList) |
|
void | ProcessStatusList (LayerType *InputList, LayerType *OutputList, StatusType ChangeToStatus, StatusType SearchForStatus) |
|
void | ProcessOutsideList (LayerType *OutsideList, StatusType ChangeToStatus) |
|
virtual ValueType | GetValueZero () const |
|
virtual ValueType | GetValueOne () const |
|
| FiniteDifferenceImageFilter () |
|
| ~FiniteDifferenceImageFilter () override=default |
|
void | GenerateData () override |
|
void | GenerateInputRequestedRegion () override |
|
virtual bool | ThreadedHalt (void *) |
|
virtual TimeStepType | ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const |
|
virtual void | SetElapsedIterations (IdentifierType _arg) |
|
| InPlaceImageFilter ()=default |
|
| ~InPlaceImageFilter () override=default |
|
void | AllocateOutputs () override |
|
void | ReleaseInputs () override |
|
virtual bool | GetRunningInPlace () const |
|
| ImageToImageFilter () |
|
| ~ImageToImageFilter () override=default |
|
void | VerifyInputInformation () ITKv5_CONST override |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
void | PushBackInput (const DataObject *input) override |
|
void | PushFrontInput (const DataObject *input) override |
|
| ImageSource () |
|
| ~ImageSource () override=default |
|
void | ClassicMultiThread (ThreadFunctionType callbackFunction) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType ®ion, ThreadIdType threadId) |
|
virtual void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) |
|
virtual void | BeforeThreadedGenerateData () |
|
virtual void | AfterThreadedGenerateData () |
|
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter () const |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
|
virtual bool | GetDynamicMultiThreading () const |
|
virtual void | SetDynamicMultiThreading (bool _arg) |
|
virtual void | DynamicMultiThreadingOn () |
|
virtual void | DynamicMultiThreadingOff () |
|
| ProcessObject () |
|
| ~ProcessObject () override |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
|
virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
|
virtual void | AddInput (DataObject *input) |
|
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName () const |
|
virtual void | SetPrimaryInput (DataObject *object) |
|
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
void | SetRequiredInputNames (const NameArray &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
virtual void | SetPrimaryOutput (DataObject *object) |
|
virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
|
virtual void | AddOutput (DataObject *output) |
|
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
|
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
virtual void | VerifyPreconditions () ITKv5_CONST |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
virtual void | GenerateOutputInformation () |
|
virtual void | PropagateResetPipeline () |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | RestoreInputReleaseDataFlags () |
|
virtual bool | GetThreaderUpdateProgress () const |
|
virtual void | ThreaderUpdateProgressOn () |
|
virtual void | ThreaderUpdateProgressOff () |
|
virtual void | SetThreaderUpdateProgress (bool arg) |
|
| Object () |
|
| ~Object () override |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|
template<typename TInputImage, typename TOutputImage>
class itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >
This class implements a detail enhancing filter by making use of the 4th-order level set isotropic diffusion (smoothing) PDE.
- INPUT and OUTPUT
- This is a volume to volume filter; however, it is meant to process (smooth) surfaces. The input surface is an isosurface of the input volume. The isosurface value to be processed can be set by calling SetIsoSurfaceValue (default is 0). The output surface is the 0-isosurface of the output volume, regardless of the input isosurface value. To visualize the input/output surfaces to this filter a mesh extraction method such as marching cubes can be used.
- This filter is an example of how the 4th order level set PDE framework can be used for general purpose surface processing. It is motivated by unsharp masking from image processing which is a way of enhancing detail. This filter acts much like the IsotropicFourthOrderLevelSetImageFilter because it first smoothes the normal vectors via isotropic diffusion. However, as a post-processing step we extrapolate from the original normals in the direction opposite to the new processes normals. By refitting the surface to these extrapolated vectors we achieve detail enhancement. This process is not the same as running the isotropic diffusion process in reverse.
- IMPORTANT
- Because this filters enhances details on the surface, it will also amplify noise! This filter is provided only as an example of graphics oriented post-processing. Do not use it on noisy data.
- PARAMETERS
- As mentioned before, the IsoSurfaceValue parameter chooses which isosurface of the input to process. The MaxFilterIterations parameter determine the number of iterations for which this filter will run. Since, this filter enhances detail AND noise MaxFilterIterations above a couple of hundred are unreasonable. Finally NormalProcessUnsharpWeight controls the amount of extrapolation (or equivalently the amount of detail enhancement). This value should be in the range [0.1,1] for reasonable results.
Definition at line 67 of file itkUnsharpMaskLevelSetImageFilter.h.