<< ifwht Image_Processing_Tool_2 radon >>

Image_Processing_Tool_2 >> Image_Processing_Tool_2 > phantom

phantom

Create image of a head phantom

Calling Sequence

P = phantom(def, n)
P = phantom(E, n)

Arguments

P

It is a square matrix of gray scale values. The minimum value is 0 and the maximum value is 1.

def

It determines the type of phantom generated. It is a string.

n

It is a integer value and determines the size of the output matrix.

E

A matrix having six columns. Each row of the matrix E specifies an ellipse in the phantom image. Each column specifies a different parameter for the ellipses.

Description

It generates an image of a head phantom which can be used to test the numerical accuracy of some two-dimensional reconstruction algorithms. The value of 'def' can take two different values. 'Shepp-Logan' - Used in tomography type of application. 'Modified Shepp-Logan' - It is the default option and is a variant of Shepp-Logan. Here the contrast quality of the image is more improved. Six different types of parameters for the six columns are given below: A - Additive intensity value of the ellipse. a - Length of the horizontal semiaxis of the ellipse. b - Length of the vertical semiaxis of the ellipse. x0 - x-coordinate of the center of the ellipse. y0 - y-coordinate of the center of the ellipse. phi - Angle in degrees between the horizontal semiaxis of the ellipse and the x-axis of the image.

Examples

P = phantom('Shepp-Logan',300);
imshow(P)

See Also

Authors

<< ifwht Image_Processing_Tool_2 radon >>