Basics of Imaging 2020
Basics of Imaging 2020
Basics of Imaging
The signal
So, now that we have some understanding on what an image actually
is, we can start thinking about how images come to be.
To put precisely, we will discuss what the signal is and how we measure
it. Remember, most of the time we are not taking pictures, we are
doing measurements.
Refraction
Light can be refracted, i.e. scatter because of collision with
something substantial such as electrons. Scattered light might
end up where want, or it might not.
Absorption
Light can be absorbed by the sample. So the photons are lost
on the way to the sample, or on the way from the sample.
Both these effects happen more often the longer the photon
has to travel through the sample. This has implications.
Modalities
Capturing the light
We’ll focus on the two modalities bioscientists
are most likely to encounter in the laboratory,
though let it be noted that this is not the Full
Story ™.
You really don’t want to imagine more than a single layer of cells.
* Of course we get bit less signal from the out of focus areas, but still if you sample is thick, your image
is going to be messy.
Widefield microscopes
Can be pretty darn fast. With good dye/stain, exposure times of 100-
300 ms are often enough, allowing you to get 3-10 images per second.
Relatively easy to use – just point at what you want to see, set
exposure time´, chose filters and you are ready to go.
Optical magnification
Objective as well as various lenses in the light path determines the
pixel size, effectively determining the resolution.
Binning
Can be used to gain more signal at the cost of resolution.
Binning
Binning means combining pixels so that intensity values become higher,
but we get fewer pixels.
This has fringe uses when the sample is dim and/or we want to acquire
images quickly.
0 10 20 20
20 100
0 10 20 40
2x2 binning
20 30 40 60
110 240
20 40 60 80
Binning
Let’s have a look how it works. So let’s bin poor Fabio and some cells.
With Fabio, there was no need for this operation. This image is shown
to explain how binning affects the resolution.
Gain/Offset
Increased gain increases the signal and also the noise. Offset can
be used to reduce noise and signal.
Imaging parameters (confocal)
Scanning speed combined with the image format give a parameter
called ‘pixel dwell time’.
As you might guess this tells you how long the laser stays on a single
pixel before moving onward. Pixel dwell times are usually in the range
of microseconds.
The longer the laser stays in one place, the less noise we get. On the
other hand, the longer the laser stays in one place, the slower the
whole thing is.
Gain and offset
Offset tells us how low signal we regard as zero. This can be used to
remove the background noise when it is homogenous.
Gain tells us how much the signal is amplified. This parameter is not
linear even if Leica tells you it is.
You can reduce the noise almost always, but this improvement comes
at a price. The price you pay is time, either to prepare a better sample
or spend more time measuring your data.
Let’s say there is some ’truth’, a cell where we have stained vesicles of
some sort. Then let’s say we acquire three pictures of it. All of them are
bit grainy because of measurement errors.
Truth Measurement 1 Measurement 2 Measurement 3
Averaging
Basically works basically like this.
Averaging
You can always increase the time used to record the data.
Noise is reduced by
1
the factor 𝑁
where N = average!
Mind your tools
Care must be taken when viewing
images. Many of the tools meant
for photography and general image
manipulation automatically smooth
the images for the user.
Any and all attempts to reduce noise in post-prosessing will also reduce
resolution. Deconvoluton is an exception to this.
Any and all attempts to increase resolution will also increase noise.
Noise and signal are both defined as ‘sudden change of intensity’,
which means that coming up with mathematical tools that affect one
without affecting the other are hard to come by.
On optimization
When you start a new imaging project where you need to
measure something from the pictures, it is often good to spend
one session taking pictures with various settings.
This allows you to figure out how quickly you can record usable
data. This is especially crucial when you are working with 3D
data (so confocals) as shortening imaging time even few minutes
per stack could mean hours of saved time.
Concept of worst usable image
Ideally you do not want to spend any more time at the
microscope than absolutely necessary.
If you take better images than you need, you are wasting time
and money. If you need lots of data, this cost might be
considerable.
You should establish ‘worst usable image’ that gives you the
information you need while using as little time as possible. This
might require some optimization.
Questions