The travel time for a given path is the sum of the intensities of the intensity image along this path.
This algorithm considers diagonal directions using the Chamfer metric.
Reference: P. Soille, Morphological Image Analysis. Principles and Applications, Second Edition,
Springer-Verlag, Berlin, pp.231-232, 2003.
// Function prototype.publicstaticIOLink.ImageViewTimeMap(IOLink.ImageView inputBinaryImage,IOLink.ImageView inputIntensityImage,IOLink.ImageView outputIntensityImage =null);
Class Syntax
// Command constructor.TimeMap();/// Gets the inputBinaryImage parameter./// The binary input image.
std::shared_ptr< iolink::ImageView> inputBinaryImage()const;/// Sets the inputBinaryImage parameter./// The binary input image.void setInputBinaryImage( std::shared_ptr< iolink::ImageView> inputBinaryImage );/// Gets the inputIntensityImage parameter./// The weight input image. It must have same dimensions as the input image.
std::shared_ptr< iolink::ImageView> inputIntensityImage()const;/// Sets the inputIntensityImage parameter./// The weight input image. It must have same dimensions as the input image.void setInputIntensityImage( std::shared_ptr< iolink::ImageView> inputIntensityImage );/// Gets the outputIntensityImage parameter./// The output image. Its dimensions are forced to the same values as the input. Its data type is 32-bit floating point.
std::shared_ptr< iolink::ImageView> outputIntensityImage()const;/// Sets the outputIntensityImage parameter./// The output image. Its dimensions are forced to the same values as the input. Its data type is 32-bit floating point.void setOutputIntensityImage( std::shared_ptr< iolink::ImageView> outputIntensityImage );// Method to launch the command.void execute();
# Property of the inputBinaryImage parameter.TimeMap.input_binary_image
# Property of the inputIntensityImage parameter.TimeMap.input_intensity_image
# Property of the outputIntensityImage parameter.TimeMap.output_intensity_image
// Method to launch the command.
execute()
// Command constructor.TimeMap()// Property of the inputBinaryImage parameter.TimeMap.inputBinaryImage
// Property of the inputIntensityImage parameter.TimeMap.inputIntensityImage
// Property of the outputIntensityImage parameter.TimeMap.outputIntensityImage
// Method to launch the command.Execute()
Parameters
Parameter Name
Description
Type
Supported Values
Default Value
inputBinaryImage
The binary input image.
Image
Binary
nullptr
inputIntensityImage
The weight input image. It must have same dimensions as the input image.
Image
Binary, Label, Grayscale or Multispectral
nullptr
outputIntensityImage
The output image. Its dimensions are forced to the same values as the input. Its data type is 32-bit floating point.
Image
nullptr
Parameter Name
Description
Type
Supported Values
Default Value
input_binary_image
The binary input image.
image
Binary
None
input_intensity_image
The weight input image. It must have same dimensions as the input image.
image
Binary, Label, Grayscale or Multispectral
None
output_intensity_image
The output image. Its dimensions are forced to the same values as the input. Its data type is 32-bit floating point.
image
None
Parameter Name
Description
Type
Supported Values
Default Value
inputBinaryImage
The binary input image.
Image
Binary
null
inputIntensityImage
The weight input image. It must have same dimensions as the input image.
Image
Binary, Label, Grayscale or Multispectral
null
outputIntensityImage
The output image. Its dimensions are forced to the same values as the input. Its data type is 32-bit floating point.