csa

There are 2 forms of this command.

csa(original, energy, phi, theta, results, slice radius, slice count, random seed, slices, visualization, length, length slices)

Analyzes cross-sections of cylindrical, tubular, or fibre-like objects. Use to e.g. measure cross-sectional area of fibres. Requires that the local orientation of the fibres has been determined using, e.g., cylinderorientation command.

This command cannot be used in the distributed processing mode. If you need it, please contact the authors.

Arguments

original [input]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

Binary image containing the fibres as foreground.

energy [input]

Data type: float32 image

Image corresponding to the energy output image of cylinderorientation command. Non-zero energy signifies that local orientation is available at that location.

phi [input]

Data type: float32 image

The azimuthal angle of the local fibre orientation direction. The angle is given in radians and measured from positive \(x\)-axis towards positive \(y\)-axis and is given in range \([-\pi, \pi]\).

theta [input]

Data type: float32 image

The polar angle of the local fibre orientation direction. The angle is given in radians and measured from positive \(z\)-axis towards \(xy\)-plane. The values are in range \([0, \pi]\).

results [output]

Data type: float32 image

Image where analysis results are placed. This image will contain one row for each fibre cross-section analyzed. Use command csaheaders to retrieve meanings of columns.

slice radius [input]

Data type: positive integer

Default value: 40

Half width of one cross-sectional slice

slice count [input]

Data type: positive integer

Default value: 1000

Count of cross-sectional slices to analyze

random seed [input]

Data type: positive integer

Default value: 123

Seed for random number generator.

slices [output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

The extracted slices are placed into this image.

visualization [output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

The locations where the slices are extracted from are drawn into this image

length [input]

Data type: float32 image

Image containing local fibre length.

length slices [output]

Data type: float32 image

The extracted slices from the length image are placed into this image.

csa(original, energy, phi, theta, results, slice radius, slice count, random seed, slices, visualization)

Analyzes cross-sections of cylindrical, tubular, or fibre-like objects. Use to e.g. measure cross-sectional area of fibres. Requires that the local orientation of the fibres has been determined using, e.g., cylinderorientation command.

This command cannot be used in the distributed processing mode. If you need it, please contact the authors.

Arguments

original [input]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

Binary image containing the fibres as foreground.

energy [input]

Data type: float32 image

Image corresponding to the energy output image of cylinderorientation command. Non-zero energy signifies that local orientation is available at that location.

phi [input]

Data type: float32 image

The azimuthal angle of the local fibre orientation direction. The angle is given in radians and measured from positive \(x\)-axis towards positive \(y\)-axis and is given in range \([-\pi, \pi]\).

theta [input]

Data type: float32 image

The polar angle of the local fibre orientation direction. The angle is given in radians and measured from positive \(z\)-axis towards \(xy\)-plane. The values are in range \([0, \pi]\).

results [output]

Data type: float32 image

Image where analysis results are placed. This image will contain one row for each fibre cross-section analyzed. Use command csaheaders to retrieve meanings of columns.

slice radius [input]

Data type: positive integer

Default value: 40

Half width of one cross-sectional slice

slice count [input]

Data type: positive integer

Default value: 1000

Count of cross-sectional slices to analyze

random seed [input]

Data type: positive integer

Default value: 123

Seed for random number generator.

slices [output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

The extracted slices are placed into this image.

visualization [output]

Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image

The locations where the slices are extracted from are drawn into this image