ecgsweep@ecgsweep

Calibrate a photo or scan of an ECG

The ECG Reader's setup at the Leads step: a 3 × 4 with two rhythm strips, V1 and II, each lead name at the top left of its own trace after the lines are moved on the rulers, the patient's details covered by black boxes, and the line between the two strips named V1 ↕ II.

Before you measure, set up the paper. The setup has four steps: Redact, Edit, Calibrate and Leads. After the setup, each mark reads its value in milliseconds and millivolts from the grid of the paper.

You need a photo or a scan of a paper ECG, as an image file.

Open an image

  1. Open the ECG Reader.
  2. Click Choose an image, then select the file.

The image opens, and the setup starts at Redact.

The reading is named for the time that you opened it, such as ecg-179….jpg, not for the name of the file. Point to the name to see all of it. A file is often named for the patient. To rename the reading, click its name in the bar.

The Reader keeps its own copy of the image without the data that a photo hides in its file (its EXIF): where and when the photo was taken, and the phone that took it. Your file does not change.

You can also open an image in these ways:

  • Drop the file on the page.
  • Press ⌘O.
  • On a phone, tap Take a photo to use the camera.

To continue a reading from before, open it from Recent. See Export and saving.

Take a good photo

A better photo gives more accurate values. When you take the photo:

  • Hold the phone straight above the paper.
  • Fill the frame with the ECG.
  • Put the paper flat, in even light, with no shadow on the trace.

Hide the patient's details

The Redact step covers the details that identify the patient.

  1. Drag a box over the patient's name.
  2. Drag a box over each other detail: the date of birth, the hospital number and the address.
  3. Set Sex: Female or Male.
  4. Set Age: Under 40 or 40+.
  5. Click Next.

The panel counts the boxes, such as 3 boxes. Each box is solid black on every export.

Redact: a box over each detail, and the patient's sex and age.

You can also set the sex and age later, in the checklist.

Straighten and crop the photo

The Edit step puts four handles on the corners of the grid. When you click Next, the Reader straightens the photo to these corners and crops it.

  1. If the photo is sideways, click Rotate left or Rotate right.
  2. Drag each edge to the edge of the grid. To keep an edge level, hold ⇧.
  3. If you took the photo at an angle, drag each corner to the corner of the grid.
  4. Look at the tilt of each edge, such as Top edge · 1.2° off level.
  5. Click Next.

The photo becomes straight and flat, cut to the corners. Your marks and boxes move with the paper. To go back to the photo as it was, press ⌘Z.

Edit: each corner on the corner of the grid.
  • For a scan, the grid is already straight. Click Use the whole image.
  • If the panel shows Two sides cross, put each handle on its own corner.

Why straighten the photo

The Reader measures a time as a distance across the grid. In a photo at an angle, the squares are not equal. Then one interval gives different values in different places. A straight photo makes all the squares equal.

Calibrate the grid

The Calibrate step tells the Reader the size of the grid. You click two grid lines across and two grid lines down, a number of large squares apart. Then you set the paper speed and the gain.

A large square has bolder sides. It is 5 small squares across, which is 5 mm.

The panel shows how many large squares apart the lines must be: Across 5 and Down 2 at the start. The panel tells you which line to click next, one at a time: Tap any bold vertical line, then Now the bold line 5 squares to the right. After your first click, an arrow on the paper points the way to count.

  1. Click a vertical grid line at the side of a large square.
  2. Count the large squares to the right, as many as Across shows (5 at the start). Click the vertical line there.
  3. Click a horizontal grid line at the side of a large square.
  4. Count the large squares down, as many as Down shows (2 at the start). Click the horizontal line there.
  5. Look at the lines on the paper. The faint lines must align with the small squares. The dashed lines must align with the large squares.
  6. Set Paper speed: 25 or 50 mm/s.
  7. Set Gain: 5, 10 or 20 mm/mV.
  8. Look at the calibration pulse. At 10 mm/mV, the pulse is 2 large squares tall.
  9. Click Next.

The paper speed and gain show in the bar, such as 25 mm/s · 10 mm/mV.

A right count: the dashed lines on the large squares, and the paper spans 10.6 s.
A wrong count: the dashed lines are off the large squares, and the paper spans 13.2 s, not about 10 s.
  • To move a line you clicked, drag it.
  • To change the number of large squares, click − or + beside Across or Down. The panel then asks for the line that number of large squares away. If you already clicked the lines, the scale changes at once.
  • To get a more accurate scale, click lines far apart. For example, set Across to 10 on a long strip.

How accurate a value can be

The panel shows the scale, such as 5.9 px a mm · ± 12 ms. A value can be wrong by up to this time, because a mark cannot be finer than one pixel of the image. A larger or sharper image gives a smaller error.

If the image is too small, the panel says so: The image is small: a QRS cannot be measured reliably. Use a sharper or closer photo.

The panel also shows the time on the paper, such as the paper spans 10.0 s (a standard 12-lead: 10 s). If a full 12-lead does not show about 10 s, check the paper speed.

Name the leads

The Leads step is optional. It gives each part of the paper the name of its lead. Then:

  • each mark knows its lead;
  • an ST mark is judged against the threshold of its lead;
  • the checklist puts each mark in its lead;
  • the axis can come from leads I and aVF.

Choose the layout

LayoutHow the machine prints the leads
3 × 4Three rows of four leads, 2.5 s each. Up to three rhythm strips under them.
6 × 2The limb leads down the left half, the chest leads down the right half, 5 s each. Up to one rhythm strip.
12 × 1The twelve leads one under the other, 10 s each. No rhythm strip.

To find the layout, read the lead names that the machine printed on the paper.

  1. Click the layout: 3 × 4, 6 × 2 or 12 × 1.
  2. If the layout has rhythm strips, choose their number at Rhythm strips under it.
  3. For each strip, choose its lead.
  4. At Limb leads, choose the order of the limb leads: Standard or Cabrera.
  5. Look at each lead name. Make sure that each name is on its lead.
  6. If a name is not on its lead, drag the lines. Drag a line anywhere along it on the paper, or drag its marker on a ruler. Over a line, the pointer shows the way that it moves.
    • Drag the top line down, below the details printed above the traces.
    • Drag each line between two rows to the point where one row stops and the next starts.
    • Drag each line between two columns to the point where the trace changes lead.
    • Drag the two outer lines in, away from the margins and the calibration pulse.
  7. Click Done.
The layout chosen, before the lines are moved. The page's first picture shows the same ECG after.

Cabrera order

Some machines print the limb leads in the Cabrera order: aVL, I, −aVR, II, aVF, III. This order follows the frontal plane from −30° to +120°. The machine prints aVR upside down, as −aVR. Cabrera prints are usual in Scandinavia and in some other countries in Europe.

To find the order, read the limb lead names printed on the paper. If the first limb lead is aVL, or the paper shows −aVR, choose Cabrera.

With Cabrera, the Reader names the lead aVR, and reads its trace upside down. So each value from it is the value of aVR:

  • An ST elevation on the −aVR trace is an ST depression in aVR.
  • The tall wave on the −aVR trace is the S wave of aVR.

Adjust each lead

A line between two rows goes across the full width of the paper, and a line between two columns goes down the full height. On some ECGs, one line does not fit every lead. For example, the machine prints each column a little lower, the trace changes lead at a different time in each row, or the photo is curled. Then adjust each lead.

  1. Set the layout, as in the steps above.
  2. Click Adjust each lead. Each line breaks into segments: a row line has one segment for each column, and a column line has one segment for each row.
  3. Look at each lead name. Find a lead whose cell does not hold its trace.
  4. Drag the handle on the segment above or below the lead to the point where its row stops. Only that segment moves.
  5. Drag the handle on the segment beside the lead to the point where the trace changes lead. Only that segment moves.
  6. Do steps 3 to 5 again until each name is on its lead.
  7. Click Done.
  • To move a whole line, drag its marker on the ruler, or hold ⇧ while you drag one of its segments. Each segment of the line moves by the same distance, so your adjustments stay.
  • To use whole lines again, click Adjust each lead again. The rows join at the left column's segments, and the columns join at the top row's segments. To undo this, press ⌘Z.
  • To make the rows and columns equal, click Equal rows and columns.

Move the lines with the keys

You can move each line, and each segment, with the keyboard.

  1. Press N to select a line. Press it again for the next line, then the segments. To go back, press ⌥N.
  2. Read the name of the selected line, such as II ↕ III.
  3. Press the arrow keys to move it: ↑ and ↓ for a row line, ← and → for a column line.
  4. Press Esc to release it.
  • To move 10 times as far, hold ⇧.
  • To move the whole line of a segment, hold ⌥.
  • To undo all the moves of one line, press ⌘Z one time.

The line that you dragged last is selected, so you can move it more with the arrow keys.

Adjust each lead: one segment moved, between V4 and V5 only.

Change the setup later

You can go back to a setup step at any time.

  • To go to a step, click its name in the bar: Redact, Edit, Calibrate or Leads.
  • To calibrate again, click the paper speed and gain in the bar.

Your marks stay on the paper. If you calibrate again, each mark shows its new value. If you straighten or crop the photo again, the marks move with the paper.

Questions

Yes. In Edit, drag each corner to the corner of the grid. When you click Next, the Reader makes the photo straight and flat.

No. The Reader opens image files only. To use a PDF, save the page as an image or take a screenshot of it, then open the image.

Set Paper speed to 50 in Calibrate. The Reader then measures every time at that speed.

Set Gain to match the pulse. A pulse 1 large square tall is 5 mm/mV. A pulse 4 large squares tall is 20 mm/mV.

In Leads, click Adjust each lead. Then drag each segment of a line to the edge of its lead. See Adjust each lead.

Read the lead names printed on the paper. If I, II and III are in the first column and aVR, aVL and aVF are in the second, it is a 3 × 4. If the six limb leads are down the left half, it is a 6 × 2. If the limb leads start with aVL, or the paper shows −aVR, set Limb leads to Cabrera.

No. Without lead names, you can measure with every tool. But the ST is judged against a threshold only when its lead is known, and the checklist cannot put marks in their leads.

Last updated

Questions, corrections or a rhythm to request? contact@ecgsweep.com