AbsoluteMaximumWithImage
            Computes the maximum between the absolute values of two images.
Access to parameter description
The maximum of absolute values $O$ bewteen two images $I_1$ and $I_2$ is given by the formula: $$ O(n,m)=max\{|I_1(n,m)|,|I_2(n,m)|\} $$ See also
		Access to parameter description
The maximum of absolute values $O$ bewteen two images $I_1$ and $I_2$ is given by the formula: $$ O(n,m)=max\{|I_1(n,m)|,|I_2(n,m)|\} $$ See also
Function Syntax
This function returns the outputImage output parameter.
                        
                    
// Function prototype.
std::shared_ptr< iolink::ImageView >
absoluteMaximumWithImage( std::shared_ptr< iolink::ImageView > inputImage1,
                          std::shared_ptr< iolink::ImageView > inputImage2,
                          std::shared_ptr< iolink::ImageView > outputImage = NULL );
                    
This function returns the outputImage output parameter.
                        
                    // Function prototype. absolute_maximum_with_image( input_image1, input_image2, output_image = None )
This function returns the outputImage output parameter.
                        
                
// Function prototype.
public static IOLink.ImageView
AbsoluteMaximumWithImage( IOLink.ImageView inputImage1,
                          IOLink.ImageView inputImage2,
                          IOLink.ImageView outputImage = null );
                    Class Syntax
Parameters
| Class Name | AbsoluteMaximumWithImage | 
|---|
| Parameter Name | Description | Type | Supported Values | Default Value | |
|---|---|---|---|---|---|
![]()  | 
  inputImage1    | 
 The first input image. | Image | Binary, Label, Grayscale or Multispectral | nullptr | 
![]()  | 
  inputImage2    | 
 The second input image. | Image | Binary, Label, Grayscale or Multispectral | nullptr | 
![]()  | 
  outputImage    | 
 The output image. Its size is the minimum between both inputs for each dimension. Its type is forced to the one having the greater capacity between both input types. | Image | nullptr | |
Object Examples
std::shared_ptr< iolink::ImageView > polystyrene = ioformat::readImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene.tif" ); AbsoluteMaximumWithImage absoluteMaximumWithImageAlgo; absoluteMaximumWithImageAlgo.setInputImage1( polystyrene ); absoluteMaximumWithImageAlgo.setInputImage2( polystyrene ); absoluteMaximumWithImageAlgo.execute(); std::cout << "outputImage:" << absoluteMaximumWithImageAlgo.outputImage()->toString();
polystyrene = ioformat.read_image(imagedev_data.get_image_path("polystyrene.tif"))
absolute_maximum_with_image_algo = imagedev.AbsoluteMaximumWithImage()
absolute_maximum_with_image_algo.input_image1 = polystyrene
absolute_maximum_with_image_algo.input_image2 = polystyrene
absolute_maximum_with_image_algo.execute()
print( "output_image:", str( absolute_maximum_with_image_algo.output_image ) );
            
ImageView polystyrene = ViewIO.ReadImage( @"Data/images/polystyrene.tif" );
AbsoluteMaximumWithImage absoluteMaximumWithImageAlgo = new AbsoluteMaximumWithImage
{
    inputImage1 = polystyrene,
    inputImage2 = polystyrene
};
absoluteMaximumWithImageAlgo.Execute();
Console.WriteLine( "outputImage:" + absoluteMaximumWithImageAlgo.outputImage.ToString() );
            Function Examples
std::shared_ptr< iolink::ImageView > polystyrene = ioformat::readImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene.tif" ); auto result = absoluteMaximumWithImage( polystyrene, polystyrene ); std::cout << "outputImage:" << result->toString();
polystyrene = ioformat.read_image(imagedev_data.get_image_path("polystyrene.tif"))
result = imagedev.absolute_maximum_with_image( polystyrene, polystyrene )
print( "output_image:", str( result ) );
            ImageView polystyrene = ViewIO.ReadImage( @"Data/images/polystyrene.tif" ); IOLink.ImageView result = Processing.AbsoluteMaximumWithImage( polystyrene, polystyrene ); Console.WriteLine( "outputImage:" + result.ToString() );

