forbild

odl.phantom.transmission.forbild(space, resolution=False, ear=True, value_type='density', scale='auto')[source]

Standard FORBILD phantom in 2 dimensions.

The FORBILD phantom is intended for testing CT algorithms and is intended to be similar to a human head.

The phantom is defined using the following materials:

Material

Index

Density (g/cm^3)

Air

0

0.0000

Cerebrospinal fluid (CSF)

1

1.0450

Small less dense sphere

2

1.0475

Brain

3

1.0500

Small more dense sphere

4

1.0525

Blood

5

1.0550

Eyes

6

1.0600

Bone

7

1.8000

Parameters:
spaceDiscretizedSpace

The space in which the phantom should be corrected. Needs to be two- dimensional.

resolutionbool, optional

If True, insert a small resolution test pattern to the left.

earbool, optional

If True, insert an ear-like structure to the right.

value_type{'density', 'materials'}, optional

The format the phantom should be given in. 'density' returns floats in the range [0, 1.8] (g/cm^3) 'materials' returns indices in the range [0, 7].

scale{'auto', 'cm', 'meters', 'mm'}, optional

Controls how space should be rescaled to fit the definition of the forbild phantom, which is defined on the square [-12.8, 12.8] x [-12.8, 12.8] cm.

  • 'auto' means that space is rescaled to fit exactly. The space is also centered at [0, 0].

  • 'cm' means the dimensions of the space should be used as-is.

  • 'm' means all dimensions of the space are multiplied by 100.

  • 'mm' means all dimensions of the space are divided by 10.

Returns:
forbildspace-element

FORBILD phantom discretized by space.

See also

shepp_logan

A simpler phantom for similar purposes, also working in 3d.

References