- componentThe image RGB-component to return, leaving this blank will result in a greyscale value for the image to be created. The component number is zero based, i.e. 0 returns the first (RED) component of the image.
C++ Type:unsigned int
Description:The image RGB-component to return, leaving this blank will result in a greyscale value for the image to be created. The component number is zero based, i.e. 0 returns the first (RED) component of the image.
- dimensionsx,y,z dimensions of the image (defaults to mesh dimensions)
C++ Type:libMesh::Point
Description:x,y,z dimensions of the image (defaults to mesh dimensions)
- fileName of single image file to extract mesh parameters from. If provided, a 2D mesh is created.
C++ Type:FileName
Description:Name of single image file to extract mesh parameters from. If provided, a 2D mesh is created.
- file_baseImage file base to open, use this option when a stack of images must be read (ignored if 'file' is given)
C++ Type:FileNameNoExtension
Description:Image file base to open, use this option when a stack of images must be read (ignored if 'file' is given)
- file_rangeRange of images to analyze, used with 'file_base' (ignored if 'file' is given)
C++ Type:std::vector
Description:Range of images to analyze, used with 'file_base' (ignored if 'file' is given)
- file_suffixSuffix of the file to open, e.g. 'png'
C++ Type:std::string
Description:Suffix of the file to open, e.g. 'png'
- originOrigin of the image (defaults to mesh origin)
C++ Type:libMesh::Point
Description:Origin of the image (defaults to mesh origin)
ImageFunction

The ImageFunction has not been documented. The content listed below should be used as a starting point for documenting the class, which includes the typical automatic documentation associated with a MooseObject; however, what is contained is ultimately determined by what is necessary to make the documentation clear for users.
# ImageFunction
!syntax description /Functions/ImageFunction
## Overview
!! Replace these lines with information regarding the ImageFunction object.
## Example Input File Syntax
!! Describe and include an example of how to use the ImageFunction object.
!syntax parameters /Functions/ImageFunction
!syntax inputs /Functions/ImageFunction
!syntax children /Functions/ImageFunction
Function with values sampled from a given image stack
Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.
Advanced Parameters
- flip_xFalseFlip the image along the x-axis
Default:False
C++ Type:bool
Description:Flip the image along the x-axis
- flip_yFalseFlip the image along the y-axis
Default:False
C++ Type:bool
Description:Flip the image along the y-axis
- flip_zFalseFlip the image along the z-axis
Default:False
C++ Type:bool
Description:Flip the image along the z-axis
Flip Parameters
- lower_value0The value to set for data less than the threshold value
Default:0
C++ Type:double
Description:The value to set for data less than the threshold value
- thresholdThe threshold value
C++ Type:double
Description:The threshold value
- upper_value1The value to set for data greater than the threshold value
Default:1
C++ Type:double
Description:The value to set for data greater than the threshold value
Threshold Parameters
- scale1Multiplier to apply to all pixel values; occurs after shifting
Default:1
C++ Type:double
Description:Multiplier to apply to all pixel values; occurs after shifting
- shift0Value to add to all pixels; occurs prior to scaling
Default:0
C++ Type:double
Description:Value to add to all pixels; occurs prior to scaling
Rescale Parameters
Input Files
- test/tests/functions/image_function/subset.i
- test/tests/functions/image_function/threshold_adapt.i
- test/tests/functions/image_function/moose_logo_test_2D.i
- test/tests/functions/image_function/flip_quad.i
- test/tests/functions/image_function/error/check_error.i
- modules/phase_field/test/tests/feature_flood_test/parallel_feature_count.i
- test/tests/functions/image_function/flip_dual.i
- test/tests/functions/image_function/shift_and_scale.i
- test/tests/functions/image_function/error/threshold_values.i
- test/tests/functions/image_function/component.i
- test/tests/functions/image_function/image_2d.i
- test/tests/functions/image_function/image_2d_elemental.i
- test/tests/functions/image_function/flip.i
- test/tests/functions/image_function/image_3d_subset.i
- test/tests/functions/image_function/threshold.i
- test/tests/functions/image_function/image.i
- test/tests/functions/image_function/image_mesh_2d.i
- test/tests/functions/image_function/crop.i
- test/tests/functions/image_function/threshold_adapt_parallel.i
- test/tests/functions/image_function/image_mesh_3d.i
- test/tests/functions/image_function/image_3d.i
- modules/phase_field/test/tests/boundary_intersecting_features/boundary_intersecting_features.i