Home › How-to guides

How to use the Digital Hand Lens – Focus-Stacking Macro Camera

Free · works offline · no sign-up

Use your phone camera as a hand lens: full-resolution close-ups, focus stacking with alignment, grain size measured against a coin, and a reading of the close-up. Free.

What it does

A phone magnifying glass: sharp close-ups of a stone, the size of its grains measured against a coin, the sorting, skewness and kurtosis of those grains by Folk & Ward (1957), and a roundness count on the Powers (1953) classes.

What you need

Your phone and a coin (or a bank card, or a ruler) to lay beside the stone. A clip-on 10×–15× lens helps.

How to use it

  1. Lay a coin beside the stone and tap "TAKE CLOSE-UPS", or use "Guided series"; take 2 to 12 shots, focusing a little deeper each time.
  2. Tap "STACK THE FRAMES" to join the sharp parts into one picture.
  3. Tap "Tap two points across the coin", tap its two opposite edges and choose the coin, then tap "MEASURE".
  4. For a hand count, tick "Keep measuring" and tap across one grain after another with "Measure a length". Or, in the size statistics card, type or paste sizes (a pebble count with a ruler), or open a CSV file.
  5. In "Sorting, skewness and the size curve", pick which grains to use: found in the picture, tapped, or typed.
  6. For roundness, look at grains one at a time and tap the drawing each looks most like; count fifty or more.
  7. Tap "READ THE CLOSE-UP" for what the stone may be.

Reading the answer

Median
Half the grains are bigger, half smaller; with its Wentworth (1922) class (sand 0.0625–2 mm).
Phi
phi = −log₂(size in mm): 0 is 1 mm, 1 is 0.5 mm, 2 is 0.25 mm, −1 is 2 mm.
Mz, σI
Folk & Ward graphic mean and sorting, in phi, with the words from very well sorted (under 0.35) to extremely poorly sorted (over 4).
SkI, KG
Skewness (−0.1 to +0.1 symmetrical) and kurtosis (0.90–1.11 mesokurtic).
K′G
Transformed kurtosis, KG/(1+KG): 0.50 for a normal curve. Deep-sea drilling reports list it beside KG.
Moments
Mean, standard deviation (divided by n, as GRADISTAT does), skewness and kurtosis (3 for a normal curve) on every grain, for comparison with laser or sieve software, with the words of Blott & Pye (2001) Table II(c) for the logarithmic method of moments (for example sorting 0.50–0.70 φ is moderately well sorted; kurtosis 2.55–3.70 is mesokurtic).
Sieve weights
The "Sieve weights" card takes a laboratory sieve sheet (opening of each sieve, weight retained, a pan) and gives the Folk & Ward measures, D10/D50/D90, the logarithmic moments of Blott & Pye (2001), the gravel, sand and mud percentages and the Folk (1954) name such as "slightly gravelly muddy sand". Percentiles that fall in the pan are marked as estimates.
Roundness
Mean Wadell roundness from the Powers classes (0.14 very angular to 0.84 well rounded) and the Folk ρ class.

Grains finer than about 0.06 mm need a microscope. Counts here are by number of grains; sieve curves are by weight, so compare like with like. Grains found automatically are the ones resolved in the picture, so the finest are missing.

Files

Methods

Wentworth 1922; Krumbein 1934, 1938; Folk & Ward 1957, J. Sed. Petrol. 27:3–26; Folk 1968; Krumbein & Pettijohn 1938; Powers 1953, J. Sed. Petrol. 23:117–119; Wadell 1935; Folk 1955. Checked against the SFWMD Naples Bay substrate report (sample NB-01), Powers' own table, the Wentworth class limits, the normal curve (KG = 1.00, K′G = 0.50) and the NIST Statistical Reference Datasets NumAcc1–3 for the moments. Press "Run the checks" under "Methods and sources" on the page to run them on your phone.

Sieve weights are checked against the reference program G2Sd 2.2 (CRAN; Fournier, Gallon & Paris 2014) on its 21 published samples (data(granulo), Godet et al. 2009): percentiles, mean, kurtosis, gravel/sand/mud and the sediment name agree to 1e-9, and G2Sd reads the sheet the loupe saves with the same results. G2Sd 2.2 prints phi sorting and skewness with the opposite sign; the loupe follows Folk & Ward. The moments agree with the CRAN package moments on the same class mid-points.

Open the Digital Hand Lens – Focus-Stacking Macro Camera — free →

More how-to guides

How to use the Backtrack to Your Car – Offline Way-Home NavigationHow to use the Caves: Flood Check, Radon, Foul Air and SurveyHow to use the Core Logging – Alpha/Beta to True Orientation, RQDHow to use the Drillhole Desurvey – Minimum CurvatureHow to use the Earthquake Epicentre & Magnitude CalculatorHow to use the Field Journal – Export to CSV, GeoJSON, GPX

All how-to guides →