Skip to main content
Medical physics (3.10) (Optional module)›X-ray imaging (3.10.5)

X-ray imaging (3.10.5)

Study how X-rays are produced, detected and attenuated, plus image contrast, dose control and CT scanning fundamentals for medical diagnosis.
13 min

An X-ray tube is a device that produces X-rays. It consists of an evacuated glass tube containing an anode and a cathode. Under the influence of a high voltage source, electrons are quickly accelerated from the cathode toward the anode, where X-rays are produced.

The anode is typically made of tungsten. The target rotates while producing X-rays to efficiently dissipate the intense heat generated when high-speed electrons bombard it.

-

X-rays are produced in an X-ray tube by the following process:

  • A current passing through the cathode generates electrons by thermionic emission.
  • A potential difference between the cathode and anode accelerates the electrons.
  • Electrons strike the rotating tungsten target at a high speed.
  • The tungsten target partially or fully converts the electrons’ kinetic energy to X-rays in all directions.
Add to favourites

X-rays are primarily generated at the tungsten target when high-speed electrons are incident on it. This occurs through two main processes:

Fast-moving electrons incident on the target are rapidly decelerated by the electric fields of the tungsten atoms, producing X-rays known as Bremsstrahlung (braking radiation).

The image consists of two diagrams labeled 'Bremsstrahlung' and 'Characteristic radiation'. In the top diagram, 'Bremsstrahlung', an incident electron is shown approaching an atom with concentric electron shells. The electron path bends as it decelerates, producing an X-ray indicated by a wavy yellow arrow. In the bottom diagram, 'Characteristic radiation', an incident electron ejects an electron from an inner shell, labeled 'Ejected electron'. A replacement electron fills the vacancy, and an X-ray is produced, also indicated by a wavy yellow arrow. Both diagrams depict atomic nuclei with red and purple spheres, representing protons and neutrons, and yellow circles for electrons.

Fast-moving electrons incident on the target eject inner-shell electrons from tungsten atoms. When outer electrons in the same atom drop energy levels to fill their places, X-rays, known as characteristic radiation, are produced.

Add to favourites

The X-ray spectrum produced by high-speed electrons striking a tungsten target is shown below.

Two observations can be made from the graph:

  1. A continuous spectrum of photon energy is produced by braking radiation.
  2. Sharp peaks at specific photon energies are produced by characteristic radiation.
A graph showing the relationship between photon energy and the relative number of photons. The x-axis is labeled 'Photon energy (keV)' and has tick marks at 0, 20, 40, 60, 80, 100, and 120. The y-axis is labeled 'Relative number of photons'. The graph features a blue shaded area representing data. There are two annotated peaks: one labeled 'Braking radiation (bremsstrahlung)' at approximately 30 keV, and another labeled 'Metal target characteristic X-ray' at approximately 70 keV. The annotations point to specific regions within the graph's curve.

It is important to note that each metal produces distinct peaks at specific photon energies. If a metal other than tungsten is used, the characteristic radiation peaks would be at different energies. This property can be used to identify unknown metals from their X-ray spectra.

Add to favourites

During the process that produces braking radiation, incident electrons can lose a fraction of their kinetic energy, meaning the emitted X-rays can have energies ranging from very low values to a maximum equal to the initial kinetic energy of the electron. The result is a smooth, continuous spectrum.

The graph shows a line plot with a shaded blue area representing relative number of photons against photon energy in keV. The x-axis is labeled 'Photon energy (keV)' and the y-axis is labeled 'Relative number of photons'. The plot features two distinct peaks, the first one being higher and positioned around the mid-range of the x-axis, and the second one slightly smaller. An annotation with an arrow points to the shaded area near the first peak, labeled 'Braking radiation (bremsstrahlung)'. The © Medify is written below the plot.
Add to favourites

During the process that produces characteristic radiation, an electron ‘kicks out’ an electron in one of the atoms in the metal target. The vacant energy level is filled by an electron from a higher energy level, and the energy difference between the two levels is released as an X-ray.

Since electron binding energies in atoms are quantised and unique for each element, the emitted photons have discrete, fixed energies. As a result, characteristic radiation appears in the spectrum as sharp peaks at specific energy values.

The graph depicts 'Relative number of photons' on the vertical axis against 'Photon energy (keV)' on the horizontal axis. The plot shows a curve that rises, forms a broad peak, then sharply spikes at two points. A label points to the first peak, stating 'Metal target characteristic X-ray'. No specific numerical values are visible on the axes.
Add to favourites

The current in the cathode of an X-ray tube controls the number of X-ray photons produced (or intensity) at each specific photon energy. A higher current increases the number of X-rays produced, and thus a higher curve will be observed. However, the current does not change the overall shape of the spectrum.

The voltage between the cathode and anode (tube voltage) controls the maximum energy of X-rays produced. A higher voltage produces X-rays with a higher maximum energy.

The graph shows relative intensity versus photon energy (keV). The x-axis is labeled 'Photon energy (keV)' ranging from 0 to 120. The y-axis is labeled 'Relative intensity'. Two plots are shown: a solid blue line labeled '120 kV' and a dashed red line labeled '90 kV', both representing different X-ray spectra. The solid blue line has a peak around 60 keV, marked as 'Metal target characteristic X-ray', and another smaller peak near 90 keV. A label points to the curve between 0 and 60 keV, indicating 'Braking radiation (bremsstrahlung)'. The dashed red line follows a similar pattern but with lower intensity peaks. An annotation 'Maximum photon energy' points to the end of both curves around 120 keV.

The graph displays the X-ray spectrum generated when fast electrons hit an unknown metal target, with data presented for two distinct tube voltages:

  • A tube voltage of 120 kV produces a curve (in blue) with greater photon energies than a tube voltage of 90 kV (in red).
  • A tube with a high cathode current (in blue) produces a curve with higher intensity than one with a low cathode current (in red).
Add to favourites

The maximum energy of the X-rays produced by an X-ray tube relates to the potential difference applied between the anode and cathode. When electrons are accelerated by a potential difference, they gain kinetic energy :

Where:

  • is the electron charge, and
  • is the potential difference in

In an X-ray tube, the kinetic energy of the electrons is converted to X-rays at the tungsten target. If all of an electron’s kinetic energy is converted into producing an X-ray, then the maximum energy an X-ray can have equals:

Knowing that the energy of an X-ray photon is equal to:

Where:

  • is Planck’s constant,
  • is the speed of light,
  • is the X-ray frequency, and
  • is the X-ray wavelength.

Therefore, the maximum frequency and the minimum wavelength , respectively of an X-ray produced by an X-ray tube in terms of the potential difference is:

Add to favourites

Question walkthrough

Determining X-ray tube voltage from spectra

Uses the cut-off wavelength of each continuous X-ray spectrum to find maximum photon energy (E = hc/λ) and the corresponding tube voltage (E = eV), then uses matching characteristic-radiation peaks to identify the shared target metal.

X-rays are used in medicine to produce an X-ray image of a patient, who is placed between an X-ray tube and a detector.

Traditionally, X-ray images were produced on photographic film, as shown below.

Illustration of a person in a lab coat holding a photographic film with an X-ray image of a chest. The film shows the outline of ribs and the spine. The label 'Photographic film' is below the X-ray image. The person's face is not visible, focusing on the action of examining the film.

Photographic films are light‑sensitive materials that were used to record X‑ray images. The film has a coating with tiny crystals that interact with X‑rays. When the film is placed in developing chemicals, the exposed crystals turn dark, while the parts that were not hit by X‑rays stay light. This creates the black‑and‑white X‑ray image, where bones appear white and soft tissues appear darker.

Add to favourites

An intensifying screen cassette contains two fluorescent screens that sandwich a sheet of photographic film.

  1. X-rays transmitted through a patient’s body enter the cassette front (X-ray transparent), are absorbed by the fluorescent screens and re-emitted as multiple visible light photons.
  2. These visible light photons expose the photographic film, producing the image.
  3. Lead foil lines the cassette back to prevent any transmission of harmful X-rays.
The image consists of two diagrams. The top diagram shows an open cassette with labels indicating different parts: 'Cassette front' is labeled on the top section of the cassette, 'Cassette back' is labeled on the base, 'Radiographic film' is shown as a sheet inside the cassette, and 'Intensifying screens' are indicated within the cassette. The bottom diagram is a cross-sectional view of the cassette, showing layers from top to bottom: 'Cassette front', 'Intensifying screen (phosphor)', 'Radiographic film (double coated)', 'Lead foil', and 'Cassette back'. © Medify is noted at the bottom.

The key idea is signal amplification: one X-ray photon in, several visible light photons out. Because the light spreads slightly before reaching the film, images produced with fluorescent screens have slightly lower spatial resolution than directly exposing the film to X-rays.

Intensifying screens expose the film efficiently, reduce the patient’s radiation exposure and are relatively inexpensive, making them a practical choice for diagnostic imaging.

Add to favourites

A flat panel (FTP) detector is used to digitally produce X-ray images of a patient’s body. In an X-ray scan, the FTP detector detects X-rays passing through the patient through this process:

  1. X-rays exiting the patient strike an X-ray scintillator that converts them into visible light photons (similar to the fluorescent screens in an intensifying screen cassette).
  2. Photodiode pixels beneath the scintillator produce a voltage at each pixel proportional to the visible light intensity falling on them.
  3. A thin-film transistor (TFT) array reads these voltages and transmits the data for digital image processing.
  4. The resulting digital image is processed and displayed on a monitor.
The image illustrates the process of digital X-ray imaging. On the left, an X-ray machine emits X-rays towards a person standing upright with their back against an X-ray flat panel (FTP) detector. The X-rays pass through the person's body and reach the detector. The detector is labeled 'X-ray flat panel (FTP) detector.' Inside the detector, the X-rays are converted to visible light by a 'scintillator.' This visible light is then detected by 'photodiodes' and converted into electronic signals that are processed by a 'thin-film transistor.' The processed signals are transmitted to a monitor on the right, displaying a 'Digital X-ray image.' The flow of the process is indicated by arrows connecting the components: from the X-ray machine to the person, to the detector, to the photodiodes and thin-film transistor, and finally to the digital X-ray image on the monitor.

FTP detectors have largely replaced photographic film in modern imaging. Because the digital sensor is more efficient at capturing X-ray energy, lower radiation doses are needed. Digital images can also be enhanced, stored, and shared electronically.

Add to favourites

Fluoroscopy uses a continuous X-ray beam to produce real-time moving images of internal organs and tissues. Because of this the patient’s radiation dose is significantly higher and is managed by:

  • Introducing a contrast medium (e.g. barium) into the body increases the X-ray absorption of soft tissues, improving image contrast so structures such as the digestive tract or blood vessels are visible.
  • A lower X-ray tube voltage reduces the energy of the X-ray beam, lowering the radiation dose. The image intensifier compensates by amplifying the weaker signal.
Illustration of a medical imaging setup showing a person lying on a table beneath an X-ray tube. Above the person is an image intensifier, enclosed in an evacuated glass tube. The image intensifier is connected to a camera at the top. Inside the image intensifier, there are labels indicating 'Second fluorescent screen,' 'Anodes,' 'Electron paths,' and 'First fluorescent screen.' The X-ray tube is positioned below the table, emitting X-rays upwards through the person towards the image intensifier. The diagram includes labels for each component, demonstrating the path of X-rays and electrons through the system.

A fluoroscopic image intensifier amplifies the weak X-ray signal.

  1. X-rays strike the fluorescent screen, converting them into visible light.
  2. A photocathode absorbs the light and emits electrons.
  3. Accelerating anodes focus and accelerate the electrons across an evacuated glass tube.
  4. The electrons hit the second fluorescent screen, producing a bright, high-contrast image.
  5. A camera captures the output for real-time display on a monitor.
Add to favourites

In X-ray imaging:

  • Sharpness is defined as the clarity of the edges of body tissues. To enhance sharpness:
    • use a narrow X-ray beam,
    • reduce scattering of X-rays,
    • use smaller pixel sizes,
    • increase the source-to-image distance, and
    • decrease the object-to-image distance.
  • Contrast describes how much the darkness of different body tissues in an image changes from black to white. To enhance contrast:
    • use a contrast medium, and
    • use a lower x-ray tube voltage.

A contrast medium is a substance that readily absorbs X-rays. For example, a patient can swallow it to visualise the gastrointestinal tract.

-

In the image above, a patient has ingested a barium meal, a contrast medium. Over time, the barium coats the patient’s entire intestines, allowing for a clearer X-ray image with enhanced contrast from surrounding organs and tissues.

Add to favourites

X-ray images can be produced:

  • digitally using flat-panel (FTP) detectors,
  • as moving images with fluoroscopic image intensifiers, or
  • as still images with photographic film.

The table below compares these methods.

A comparison table with four columns labeled 'Feature,' 'FTP Detectors,' 'Image intensifiers,' and 'Photographic film.' Rows are labeled 'Technology,' 'Image acquisition,' 'Image quality,' 'Radiation dose,' and 'Processing time.' For 'Technology': FTP Detectors - 'Digital imaging with scintillators and photodiodes,' Image intensifiers - 'Real-time imaging with electronic systems,' Photographic film - 'Film-based with intensifying screens.' For 'Image acquisition': FTP Detectors - 'Instantaneous digital capture,' Image intensifiers - 'Continuous real-time imaging,' Photographic film - 'Requires chemical development.' For 'Image quality': FTP Detectors - 'High resolution and contrast,' Image intensifiers - 'Enchanced brightness and contrast,' Photographic film - 'Good quality but less sensitive.' For 'Radiation dose': FTP Detectors - 'Lower radiation exposure possible,' Image intensifiers - 'Lower doses due to enchanced image quality,' Photographic film - 'Moderate radiation exposure.' For 'Processing time': FTP Detectors - 'Immediate display and processing,' Image intensifiers - 'Instantaneous viewing,' Photographic film - 'Time-consuming chemical processing.'
Add to favourites

Question walkthrough

Choosing an X-ray imaging technique

Matches three clinical scenarios (a broken bone, tooth pain, and real-time blood-flow imaging) to the appropriate imaging technique — flat-panel detector, photographic film, or fluorescent image intensifier — and explains how a contrast medium improves image contrast for low-attenuation tissue.

When an X-ray beam travels through a substance, such as a patient’s body, its intensity attenuates due to absorption and scattering.

The intensity of an X-ray beam decreases exponentially with depth in a substance and the intensity is given mathematically as:

Where:

  • is the intensity of the X-ray beam as it enters the substance,
  • is the linear attenuation coefficient of the substance in units of and
  • is the distance below the surface in

A substance with a higher attenuation coefficient absorbs X-rays more effectively, thus reducing their penetration. Generally, denser substances have higher attenuation coefficients.

It is useful to know that the energy of X-ray photons affects the linear attenuation coefficient. The higher the energy of the X-rays, the lower the linear coefficient of the substance, so higher energy X-rays can penetrate further into a surface.

Add to favourites

An X-ray beam can be characterised by a half-value thickness (HVT) , which represents the depth required for the initial intensity of the X-ray beam to decrease by a half

Below is the intensity–depth graph of an X-ray beam penetrating a substance. The intensity decreases exponentially with depth.

The image is a graph with 'Intensity' labeled on the vertical axis and 'Depth' labeled on the horizontal axis. A curve starts at the top left corner, labeled I0, and decreases asymptotically towards the horizontal axis. A horizontal dashed line from I0/2 meets a vertical dashed line at a point on the curve, which is labeled x1/2.

HVT is related to the linear attenuation coefficient by:

The half-value thickness is inversely proportional to the linear attenuation coefficient of the substance. Therefore, the higher the attenuation coefficient, the lower the half-value thickness.

For example, the half-value thickness of bones for high-energy X-rays is around This means that an X-ray beam halves in intensity after penetrating into bone.

It is useful to know that HVT is similar to the half-life in radioactivity, which represents the time required for a sample’s initial activity to become half.

Add to favourites

It is useful to know how to derive the half-value thickness from the intensity equation for your understanding, even though you will not be tested on it in the exam. Starting with the intensity equation, at half-value thickness, the intensity will be equal to half of the initial intensity :

Moreover, . Therefore:

Finally, rearranging the expression to get :

Add to favourites

The linear attenuation coefficient of an object is a measure of the X-ray affected by density Therefore, to compare the X-ray attenuation of different materials directly, the mass attenuation coefficient is used, which is a measure of X-ray attenuation per unit mass:

  • A high means X-rays are strongly absorbed by the material.
  • A low means X-rays are weakly absorbed by the material.
Add to favourites

The table below shows the mass attenuation coefficient of some common materials. The units for is

A table comparing materials and their corresponding μm (μ/ρ) values. The columns are labeled 'Material' and 'μm (μ/ρ)'. The rows list materials and values: Air ~0.0013, Water ~0.0013, Soft tissue ~0.0013, Bone ~0.29, Aluminium ~0.2, Copper ~0.4, Lead ~1.2, Glass ~0.4.

The values in the table show how different materials absorb X-rays, which directly relates to their roles in imaging and protection:

  • Air has a very low absorption coefficient, so it appears dark on X-ray images.
  • Soft tissue and water have similar absorption, making them harder to distinguish, which explains why CT or contrast agents are sometimes used.
  • Bone has a much higher value, appearing bright and giving strong contrast against soft tissue.
  • Lead is used for shielding to protect patients and medical workers from unnecessary exposure.
Add to favourites

Question walkthrough

Attenuation of X-rays through blood

Uses the exponential attenuation law I = I₀e^(−μx) and a graph of intensity against depth to find beam intensity at 4.0 cm, the half-value thickness, and the mass attenuation coefficient (μ/ρ) of blood.

Conventional X-ray images are two-dimensional, which obscures overlapping structures. Computerised axial tomography (CT) scanners overcome this by producing three-dimensional images.

In a CT scanner, the patient lies on a slidable horizontal table inside a circular gantry containing an X-ray tube and an opposing array of detectors:

  1. The X-ray tube makes a full revolution around the patient, producing a fan-shaped beam.
  2. The opposing detector array records this radiation beam from multiple angles.
  3. A computer processes this data to produce a cross-sectional slice of the patient.
  4. The table moves horizontally by about 1 cm, and the process repeats.
  5. The individual slices are stacked to build a three-dimensional image.
The image consists of two main diagrams. The upper diagram shows a labeled cross-section of a CT scanner. The labels include: 'CT scanner' at the top, 'X-ray tube' pointing to the tube emitting X-rays, 'Gantry' indicating the circular frame, 'Patient' pointing to the person lying on the 'Horizontal sliding table,' and 'Detector array' pointing to the detectors opposite the X-ray tube. Arrows indicate the rotation of the gantry around the patient. The lower diagram illustrates '3D image construction in CT scans.' It shows an 'Image slice' on the left, followed by an arrow pointing to 'Five consecutive slices' stacked together. Another arrow points from these slices to a '3D image' on the right, depicting a more detailed cross-section of the brain. © Medify is noted at the bottom of the image.

CT scans deliver a higher radiation dose than conventional X-rays because multiple exposures are taken from many angles. However, the detailed 3D images produced make them invaluable for diagnosing complex conditions involving soft tissue, bone fractures, and internal bleeding.

Add to favourites

Using CT scanners instead of conventional X-ray imaging has advantages and disadvantages.

A table comparing advantages and disadvantages. Under 'Advantages': 1. Produce a three-dimensional image of the patient. 2. Can distinguish between soft tissues of similar attenuation coefficients. 3. Higher image resolution. Under 'Disadvantages': 1. More expensive. 2. Require a longer time to produce an image. 3. Exposes the patient to a higher radiation dose. 4. Requires patients to remain very still during the scanning process. © Medify is noted at the bottom.
Add to favourites