Content uploaded by Ian Hales
Author content
All content in this area was uploaded by Ian Hales on Nov 05, 2015
Content may be subject to copyright.
3DAnalysis2DAnalysis
Calculate
Surface/Albedo
Rectify2D
(flattencurvature)
FeatureSet
CapturePSImages
Geometry
(Volume,Curvature)
SurfaceTexture
(Roughness)
Shape
(ShapeIndex,HK,
Curvedness)
Shape
(Boundaries,Orientation,
Centroid,etc.)
Texture
(GLCM,linedetection,etc)
Size
(Minor/MajorAxis,Area...)
Bristol Robotics Laboratory Centre for Machine Vision
A Low-Cost, Low-Power System for 3D Plant Imaging
Ian J. Hales, Centre for Machine Vision, Bristol Robotics Laboratory
ian.hales@brl.ac.uk
Photometric Stereo [1] for 3D
Reconstruction
Putting Together the Prototype
2D Features
We capture three or more birds-eye images of a
plant, each lit from a different, known direction...
Those images, and their light vectors, are used to
constrain the surface normal at each pixel (x,y):
where, ρ is the surface albedo (reectance map),
L the light vector for this image and N the surface
normal vector.
One of the advantages of PS is the low-cost
nature of the method - we need only one camera
and a few LEDs to build a practical system.
For this project we have endeavoured to keep
equipment costs as low as possible, so have taken
a Raspberry Pi 2 as the basis for the equipment.
By using the RPi NoIR camera, in combination
with the GPIO header, a few low-cost SSR relays
and some off-the-shelf LEDs we have been able
to produce a triggerable, congurable system
for approx. £50 total cost.
I(x, y) = ρ(x, y) (N(x, y) • L)
Because photometric stereo separates out the
2D colour and reectance from the 3D shape,
we obtain high quality, 2D images as well as the
3D reconstructions.
This means can use traditional image processing
techniques to analyse objects of interest.
In the image above, we have calculated the
albedo and found the boundary line, major and
minor lengths and orientation of the leaf.
Having calculated these, nding other metrics
such as the irregularity/dispersion, slimness,
roundness, etc. is trivial.
[1] Woodham, R. J., “Photometric method for determining surface orientation from multiple images,” Optical Engineering 19(1), 139-144 (1980).
[2] Koenderink, J. J. and van Doorn, A. J., “Surface shape and curvature scales," Image and Vision Computing 10(8), 557{564 (1992).
We can reconstruct the 3D volume, simply by
integrating over the surface normal eld. Once
we have this volume, it can be used to rectify
the 2D features as well as nding new ones that
might not otherwise be apparent.
Into 3 Dimensions...
Looking Deeper...
As PS provides us with a high-denition 3D view
of an object, we can exploit the detail to discover
underlying properties.
We can calculate the “roughness” of the surface,
by examining variation in 3D shape across a
neighbourhood for each pixel.
In the above, we see the veins of the leaf stand-
out strongly in the roughness image, as they tend
to form sharp “valleys” in the surface.
Thinking More Semantically...
These metrics are good for looking at ne-
grained details, but lack the semantic meaning
that we, as humans, apply to shape.
The images above and below represent the
“curvedness” and “shape index” [2] respectively.
These assign meaning to variations in shape
such as “Valley”, “Saddle”, Cap”, Cup”, etc.
What’s Next?
Now we’ve got these features, we’re looking
to examine how they can be used for species
differentiation, disease/pest identication and
classication and other related areas.
Ongoing work is also looking to examine how
the high-denition 3D information can augment
existing analysis techniques to correct for errors
caused by orientation differences between the
camera and the object of interest.