WEBVTT

NOTE
Part 7   Display and Analysis
Transcript by BioGeeks: https://biogeeks.org/videos/izyqtYZy_mM

1
00:00:01.200 --> 00:00:05.240
Welcome back to the Tucsen Mastering Scientific Cameras course.

2
00:00:06.240 --> 00:00:21.900
And in this part, part seven, display and analysis, we're going to be considering some of the factors that are really important when displaying our images on a screen and maybe making qualitative judgments or using the image to explore what's happening in our sample.

3
00:00:21.900 --> 00:00:38.940
But also some factors that are really important for the quality of that image and that image quality then has massive implications for our ability to answer our scientific questions, either through displaying the image on the screen or feeding the image into an analysis pipeline.

4
00:00:38.940 --> 00:00:42.920
The first of those aspects is signal to noise ratio.

5
00:00:43.420 --> 00:00:55.380
And we've mentioned this quite a few times already in this course because it's such a fundamental and important aspect of imaging that we have a good or at least adequate signal to noise ratio in our images.

6
00:00:55.920 --> 00:01:00.620
And we're going to be exploring exactly what this means and how to calculate it.

7
00:01:00.620 --> 00:01:10.600
It's something that there's in fact quite a lot of misconceptions and misunderstandings around in imaging in the imaging world for how to calculate it and what it represents.

8
00:01:12.000 --> 00:01:26.340
Next, we'll be looking more qualitatively at image quality and looking at some of the kind of artifacts that we can sometimes get in camera based imaging, what kind of effects these can have and when these might or might not be an issue.

9
00:01:26.340 --> 00:01:40.300
Finally, as a subset of that, we'll be having a look at image patterns as represented by these two specifications that we'll sometimes find on camera specification sheets, DSNU and PRNU.

10
00:01:40.440 --> 00:01:42.660
And we're going to be defining these in this part.

11
00:01:46.980 --> 00:01:53.500
So the first aspect that we're going to have a look at for displaying our image is this question of histogram and scaling.

12
00:01:53.500 --> 00:01:59.840
So the question is, does our computer monitor truly show image intensity values?

13
00:02:00.680 --> 00:02:06.220
And of course, we have a camera of a certain bit depth, as we have explored before.

14
00:02:06.360 --> 00:02:10.120
Maybe it's a 12-bit camera with 4000 different gray levels.

15
00:02:10.780 --> 00:02:16.640
And we might have image data with a maximum intensity value from our image of maybe 2000.

16
00:02:17.300 --> 00:02:20.680
So the question is, how do we display this data?

17
00:02:20.680 --> 00:02:26.440
As we've talked about before, monitors rescale images to 8-bit.

18
00:02:26.700 --> 00:02:31.020
Only 256 different brightnesses that a monitor pixel can be.

19
00:02:31.820 --> 00:02:34.000
So how do we represent this data?

20
00:02:34.500 --> 00:02:44.800
If we have, for example, just set the darkest pixel to zero and the brightest pixel, the fully white pixel value of our 8-bit monitor,

21
00:02:44.800 --> 00:02:50.820
to the brightest possible image value, i.e. 4096 for a 12-bit camera,

22
00:02:50.820 --> 00:02:58.260
then that's going to display our image quite dark if our maximum intensity value is only 2000.

23
00:02:59.860 --> 00:03:07.780
This would mean that in this case, our image is going to be only half as bright as the monitor can show.

24
00:03:07.780 --> 00:03:12.700
So this question is, would we want it to just directly show image intensity values?

25
00:03:13.100 --> 00:03:22.400
There's also this question of the monitor can't actually, of course, display values above 256 directly as the image comes from the camera.

26
00:03:22.600 --> 00:03:29.920
This is different from consumer cameras and our smartphone cameras, which do only produce images with a maximum value of 256.

27
00:03:29.920 --> 00:03:38.600
Another thing to note with our consumer cameras and smartphone cameras is that we can sometimes change the exposure or change the intensity,

28
00:03:38.860 --> 00:03:41.960
the brightness of the image, and we're free to do that.

29
00:03:42.360 --> 00:03:49.960
And if we make an image darker, it's lowering the exposure time, but we do result with a darker image, a blacker image.

30
00:03:51.060 --> 00:03:54.180
And that's not necessarily what we want in scientific imaging.

31
00:03:54.180 --> 00:04:01.740
Maybe we want to lower the exposure time, reduce our light levels, or work with low light images, but still have a bright image come out of it.

32
00:04:01.900 --> 00:04:04.300
And that's where histogram and scaling controls come in.

33
00:04:05.280 --> 00:04:09.180
Histogram scaling, also called image scaling or LUTs, lookup tables,

34
00:04:10.320 --> 00:04:16.540
determines the brightness that the monitor will represent different image intensity values with.

35
00:04:17.620 --> 00:04:19.700
Our monitors are only 8-bit.

36
00:04:19.700 --> 00:04:29.140
We have 256 different brightness values, from 0 being fully black or turned off, to 255 being the maximum intensity white.

37
00:04:32.710 --> 00:04:38.150
And of course, the question is, how do we represent 8-bit, 12-bit, or 16-bit image data?

38
00:04:39.810 --> 00:04:45.410
On the right-hand side here, we have an example of what an image looks like once it's rescaled.

39
00:04:45.410 --> 00:04:55.870
As you can see, this image has a maximum intensity value above 255, so we can't just directly display the image values as the brightness of monitor pixels.

40
00:04:56.750 --> 00:05:00.410
Our brightest value is around 1,000, 993 there.

41
00:05:00.950 --> 00:05:05.650
And our darkest value is also not 0, it's around 101 at the bottom of the image.

42
00:05:05.650 --> 00:05:11.050
What we wouldn't want to do is just display from 0 up to the bit depth in this camera,

43
00:05:11.210 --> 00:05:18.590
because at the very least, this must be a 10-bit camera to have 1024 possible grey levels, but it could be any bit depth.

44
00:05:19.150 --> 00:05:23.770
So 993 would be very dark if we displayed the full bit depth in most of those cases.

45
00:05:24.550 --> 00:05:27.710
But what we've done with this image, as you can hopefully see,

46
00:05:27.710 --> 00:05:35.030
is that our darkest pixel, that 101, is set to our black monitor value, our 0 monitor value.

47
00:05:35.370 --> 00:05:42.130
And our brightest pixel, 993, is set to fully 255, white monitor brightness.

48
00:05:42.850 --> 00:05:46.130
And then we have a linear scale between the two of them.

49
00:05:46.370 --> 00:05:48.030
That is our image scaling settings.

50
00:05:48.610 --> 00:05:53.190
And we are in software free to choose, usually, what these image scaling settings will be

51
00:05:53.190 --> 00:05:58.330
to match what our image actually contains, in terms of its intensity values,

52
00:05:58.770 --> 00:06:04.270
and match our intentions and our scientific questions or our experimental procedures.

53
00:06:06.780 --> 00:06:11.140
So we can use appropriate scaling settings for the type of imaging that we're doing.

54
00:06:11.700 --> 00:06:16.140
Most scientific imaging software does allow this manual control over the image scaling,

55
00:06:16.720 --> 00:06:21.100
and most also allows automatic image scaling, where you don't have to worry about it.

56
00:06:21.100 --> 00:06:25.940
Sometimes you have adjustable parameters as well for exactly how this is implemented.

57
00:06:27.080 --> 00:06:29.220
And the question is, what is right for your application?

58
00:06:29.840 --> 00:06:34.580
We'll just have a look at a couple of different examples of what different image scalings can look like.

59
00:06:34.760 --> 00:06:42.000
So on the left here, we have a fluorescent microscopy image with, in this case, image scaling,

60
00:06:42.340 --> 00:06:50.900
where we've brought down the upper bound, which on the previous slide was set to 993 for that brightest pixel,

61
00:06:50.900 --> 00:06:56.160
here we've brought that down to a value below many of the pixels of the image.

62
00:06:56.580 --> 00:06:58.180
So it looks overexposed.

63
00:06:58.460 --> 00:07:02.740
It's not overexposed, it's just image scaling that's leading to those white pixels.

64
00:07:03.620 --> 00:07:09.260
But what we've done here is reduce this upper bound in order to really zero in on what's happening

65
00:07:09.260 --> 00:07:12.940
in the lower intensities areas of the image.

66
00:07:12.940 --> 00:07:17.340
So we can see very clearly now what's happening in the dark areas of the image

67
00:07:17.340 --> 00:07:22.820
in exchange for not being able to really tell what's happening in the bright areas of the image.

68
00:07:23.000 --> 00:07:26.700
There might be many applications where there's something very bright in our image

69
00:07:26.700 --> 00:07:29.840
which isn't actually what we're interested in in that image.

70
00:07:29.840 --> 00:07:35.760
And we want to really zero in and see what's happening in a darker area of the image

71
00:07:35.760 --> 00:07:43.780
or in a particular scale, a particular area of intensities.

72
00:07:44.540 --> 00:07:49.420
Below the image, we have the histogram, which if you're not familiar with image histograms,

73
00:07:49.960 --> 00:07:53.960
this represents the brightness overall of the pixels of the image.

74
00:07:53.960 --> 00:07:59.500
On the x-axis, we have the different possible intensity values for pixels.

75
00:08:00.180 --> 00:08:05.980
And then on the y-axis, we have the number of pixels that contain that intensity value.

76
00:08:06.400 --> 00:08:12.580
As you can see, we have a maximum intensity of something in the region of 580.

77
00:08:13.220 --> 00:08:15.240
That's the brightest pixel of the image.

78
00:08:15.240 --> 00:08:24.080
But then the modal, the intensity value with the most pixels containing that value

79
00:08:24.080 --> 00:08:27.400
is something in the region of 220, somewhere around there.

80
00:08:28.040 --> 00:08:32.620
The darkest pixel is something around 85 or 90.

81
00:08:33.420 --> 00:08:36.120
Looking now at another image scaling setting,

82
00:08:36.400 --> 00:08:40.960
here we have what an automatic image scaling might do to this image.

83
00:08:41.100 --> 00:08:42.980
And here, you know, we're seeing the whole thing.

84
00:08:42.980 --> 00:08:46.280
This is probably what most applications will want to do.

85
00:08:46.660 --> 00:08:49.660
We'll see the image quite clearly across all intensity levels.

86
00:08:50.200 --> 00:08:51.980
But one thing to note from the histogram

87
00:08:51.980 --> 00:08:58.640
is that the image scaling isn't set to the very brightest and very darkest pixel values,

88
00:08:59.060 --> 00:09:01.160
displaying truly every single pixel,

89
00:09:01.660 --> 00:09:06.000
with none being just set to fully black and being set to fully white.

90
00:09:06.460 --> 00:09:10.860
As you can see, our lower bound 92 is slightly above the minimum value

91
00:09:10.860 --> 00:09:15.300
and our upper bound 562 is slightly below the maximum value.

92
00:09:15.780 --> 00:09:21.360
This is because there are bound to be many pixels in the image

93
00:09:21.360 --> 00:09:23.880
which have really quite high values

94
00:09:23.880 --> 00:09:28.540
due to the random variations of noise within the image.

95
00:09:28.540 --> 00:09:33.040
And these highest values can fluctuate quite a lot from image to image.

96
00:09:33.040 --> 00:09:37.020
Like, for example, in one image, one pixel might have a value of 700

97
00:09:37.020 --> 00:09:41.620
and then in the next image in a sequence, it might be 650.

98
00:09:42.420 --> 00:09:45.760
You know, we can really expect very large fluctuations in the upper bound

99
00:09:45.760 --> 00:09:49.200
and some fluctuations too in the lower bound of the image.

100
00:09:49.200 --> 00:09:54.560
And if our automatic image scaling is just fully adapting to every single pixel

101
00:09:54.560 --> 00:09:57.840
and adjusting our image scaling based on every single pixel,

102
00:09:58.040 --> 00:10:01.440
including these sort of outlier high and low pixels,

103
00:10:01.900 --> 00:10:05.420
our image scaling is going to change an awful lot from image to image.

104
00:10:06.180 --> 00:10:07.560
And that can be really quite distracting

105
00:10:07.560 --> 00:10:12.640
and not very helpful for judging the intensities of signals.

106
00:10:13.280 --> 00:10:17.060
So what's typically done by image, by camera software,

107
00:10:17.880 --> 00:10:24.080
is some degree of ignoring a percentage of the brightest and darkest pixels.

108
00:10:24.760 --> 00:10:29.220
So, for example, that might be you ignore the darkest 0.1%

109
00:10:29.220 --> 00:10:31.820
and the brightest 0.1%

110
00:10:31.820 --> 00:10:36.960
in choosing what these image scaling values, upper and lower bounds, should be.

111
00:10:36.960 --> 00:10:40.040
And that way, we have much more stable images

112
00:10:40.040 --> 00:10:43.460
in terms of their image scaling settings.

113
00:10:43.460 --> 00:10:47.240
And also, this can enhance the contrast that we see things with.

114
00:10:50.040 --> 00:10:52.020
The final little case study that we'll look at

115
00:10:52.020 --> 00:10:55.680
is if we're interested in the very bright areas of the image.

116
00:10:56.180 --> 00:10:59.320
Say, in this case, there's something about the structures

117
00:10:59.320 --> 00:11:02.080
of the bright part of the image that we're really interested in

118
00:11:02.080 --> 00:11:04.320
and we don't really care about what's happening,

119
00:11:04.800 --> 00:11:07.280
at least for now, in the darker areas of the image.

120
00:11:07.280 --> 00:11:11.540
We can increase the lower bound of the image scaling settings

121
00:11:11.540 --> 00:11:16.600
to give us much better contrast in the brighter areas of the image

122
00:11:16.600 --> 00:11:18.700
than we would with the middle case

123
00:11:18.700 --> 00:11:21.020
and certainly than with the left-hand case.

124
00:11:24.240 --> 00:11:26.080
In many cases, as I've mentioned,

125
00:11:26.400 --> 00:11:28.840
the automatic image scaling might be what you need,

126
00:11:29.100 --> 00:11:32.880
but it's important to realise that these options are available to us

127
00:11:32.880 --> 00:11:34.880
to explore what's going on in our image

128
00:11:34.880 --> 00:11:39.280
and hone in our image scaling on exactly what we're interested in in our images.

129
00:11:43.070 --> 00:11:45.810
So next, we're going to look at this really important subject

130
00:11:45.810 --> 00:11:47.770
of the signal-to-noise ratio.

131
00:11:48.750 --> 00:11:51.990
And one way that we can think about the signal-to-noise ratio

132
00:11:51.990 --> 00:11:56.730
is the limiting factor on how small our signals can get

133
00:11:56.730 --> 00:12:00.070
and where we can still answer our scientific questions.

134
00:12:00.450 --> 00:12:02.790
Because as we've just seen with image scaling,

135
00:12:02.790 --> 00:12:04.530
if our image is too dark,

136
00:12:04.530 --> 00:12:06.670
then we can simply change our scaling settings

137
00:12:06.670 --> 00:12:08.670
to see what's there and reveal what's there.

138
00:12:09.110 --> 00:12:10.030
In many cases,

139
00:12:10.890 --> 00:12:13.010
if we reduce, say, our exposure time

140
00:12:13.010 --> 00:12:14.430
or our illumination intensity,

141
00:12:14.750 --> 00:12:17.190
we might not really notice much difference,

142
00:12:17.310 --> 00:12:18.250
initially at least,

143
00:12:18.790 --> 00:12:19.730
in our image.

144
00:12:19.850 --> 00:12:21.730
Maybe our signal-to-noise ratio is really good

145
00:12:21.730 --> 00:12:23.370
and we don't notice much difference

146
00:12:23.370 --> 00:12:24.610
because our image scaling

147
00:12:24.610 --> 00:12:27.270
will be adjusting automatically, for example,

148
00:12:28.070 --> 00:12:30.050
to cope with that change in intensity.

149
00:12:30.050 --> 00:12:32.350
So what's the limiting factor here?

150
00:12:32.810 --> 00:12:34.870
What's stopping us just turning our light source

151
00:12:34.870 --> 00:12:35.730
all the way down

152
00:12:35.730 --> 00:12:37.550
until it's really, really, really tiny

153
00:12:37.550 --> 00:12:39.650
and saving energy

154
00:12:39.650 --> 00:12:42.170
or reducing the effect on our sample

155
00:12:42.170 --> 00:12:45.610
or whatever the incentive there might be for doing this?

156
00:12:46.290 --> 00:12:47.010
Well, ultimately,

157
00:12:47.630 --> 00:12:50.270
signal-to-noise ratio is the limiting factor

158
00:12:50.270 --> 00:12:53.590
on how small a signal we can effectively collect.

159
00:12:54.410 --> 00:12:57.490
And it's what determines

160
00:12:57.490 --> 00:12:59.490
whether our imaging subject

161
00:12:59.490 --> 00:13:01.210
has been captured sufficiently

162
00:13:01.210 --> 00:13:04.550
or not for our particular imaging application.

163
00:13:07.160 --> 00:13:08.740
In these three examples

164
00:13:08.740 --> 00:13:10.840
with three different signal-to-noise ratios,

165
00:13:11.280 --> 00:13:12.540
we can obviously see that

166
00:13:12.540 --> 00:13:13.580
the left-hand image,

167
00:13:13.760 --> 00:13:15.380
we're going to be struggling to tell

168
00:13:15.380 --> 00:13:16.940
the structures on this beach,

169
00:13:17.520 --> 00:13:20.280
which is maybe not the most ideal scientific example,

170
00:13:20.440 --> 00:13:23.400
but we can tell that on the left-hand image,

171
00:13:23.460 --> 00:13:25.340
we're struggling to tell what's going on.

172
00:13:25.340 --> 00:13:27.940
But if we were trying to detect

173
00:13:27.940 --> 00:13:30.320
is there a rock on the beach or not,

174
00:13:30.440 --> 00:13:32.580
we can still do that with the left-hand image.

175
00:13:32.720 --> 00:13:35.580
It entirely depends what our intentions are

176
00:13:35.580 --> 00:13:37.620
as to what signal-to-noise ratio

177
00:13:37.620 --> 00:13:41.000
we need for that particular scientific question.

178
00:13:43.330 --> 00:13:44.250
But in general,

179
00:13:44.490 --> 00:13:46.970
images with different signal-to-noise ratios

180
00:13:46.970 --> 00:13:49.330
do tend to look fairly similar to each other

181
00:13:49.330 --> 00:13:53.310
in terms of their visual noise

182
00:13:53.310 --> 00:13:55.650
and sort of image quality.

183
00:13:56.650 --> 00:13:58.970
How much signal-to-noise ratio you need

184
00:13:58.970 --> 00:14:00.590
depends, of course, on your application.

185
00:14:01.090 --> 00:14:03.350
But a signal-to-noise ratio of around 20,

186
00:14:03.710 --> 00:14:06.490
images will start just looking really nice and clean

187
00:14:06.490 --> 00:14:09.670
and noise won't really be visible by eye.

188
00:14:10.350 --> 00:14:11.490
For many applications,

189
00:14:11.490 --> 00:14:13.710
this might be the only bar

190
00:14:13.710 --> 00:14:14.730
that they need to reach

191
00:14:14.730 --> 00:14:18.430
just for things to be looking fairly good

192
00:14:18.430 --> 00:14:20.950
and clean and clear and nice.

193
00:14:21.470 --> 00:14:23.960
On the other hand,

194
00:14:24.040 --> 00:14:25.560
at a signal-to-noise ratio of 1,

195
00:14:25.860 --> 00:14:29.040
our signal is now effectively equal to our noise

196
00:14:29.040 --> 00:14:32.500
and data is unusable in almost all circumstances.

197
00:14:33.440 --> 00:14:35.060
Anything in between or above

198
00:14:35.060 --> 00:14:37.120
is down to your application for what you need.

199
00:14:38.120 --> 00:14:40.740
To see that visually here on the left-hand side,

200
00:14:40.740 --> 00:14:43.500
we have a nice fluorescence microscopy image

201
00:14:43.500 --> 00:14:45.860
with a signal-to-noise ratio of 23.

202
00:14:46.380 --> 00:14:47.960
As you can see, this is very clean,

203
00:14:48.180 --> 00:14:49.520
got a nice clean background,

204
00:14:49.720 --> 00:14:50.580
high contrast,

205
00:14:50.780 --> 00:14:52.260
and everything's looking pretty good.

206
00:14:52.740 --> 00:14:54.400
As our signal-to-noise ratio lowers,

207
00:14:54.500 --> 00:14:56.660
however, our signal is being lost

208
00:14:56.660 --> 00:14:58.720
into that noisy background

209
00:14:58.720 --> 00:15:00.440
and we're losing that contrast

210
00:15:00.440 --> 00:15:02.160
that we get as a result.

211
00:15:02.740 --> 00:15:05.160
So improving signal-to-noise ratio

212
00:15:05.160 --> 00:15:07.540
and moving from right to left

213
00:15:07.540 --> 00:15:08.560
along this sequence

214
00:15:08.560 --> 00:15:11.100
means either increasing signal

215
00:15:11.100 --> 00:15:12.620
or reducing noise.

216
00:15:12.620 --> 00:15:16.600
But what's the most important factor in this?

217
00:15:16.840 --> 00:15:18.600
What do you need to focus on

218
00:15:18.600 --> 00:15:20.260
in your particular imaging

219
00:15:20.260 --> 00:15:22.100
to make the most difference?

220
00:15:23.040 --> 00:15:24.840
What actual noise sources

221
00:15:24.840 --> 00:15:26.580
are playing the biggest role?

222
00:15:27.020 --> 00:15:28.840
This is something that we can calculate

223
00:15:28.840 --> 00:15:31.820
by calculating our signal-to-noise ratio

224
00:15:31.820 --> 00:15:33.600
and then truly coming to understand

225
00:15:33.600 --> 00:15:34.520
what's going on.

226
00:15:37.080 --> 00:15:38.540
So how to calculate

227
00:15:38.540 --> 00:15:39.900
the signal-to-noise ratio?

228
00:15:40.200 --> 00:15:41.280
This is in fact something

229
00:15:41.280 --> 00:15:42.880
that is often misunderstood

230
00:15:42.880 --> 00:15:44.060
in imaging.

231
00:15:45.000 --> 00:15:46.680
There are quite a lot of misconceptions

232
00:15:46.680 --> 00:15:48.280
for how signal-to-noise ratio

233
00:15:48.280 --> 00:15:49.200
can be calculated.

234
00:15:49.800 --> 00:15:50.540
One might be,

235
00:15:50.880 --> 00:15:53.300
say we've got this image

236
00:15:53.300 --> 00:15:54.520
on the right-hand side here.

237
00:15:54.940 --> 00:15:56.300
There's a certain peak value,

238
00:15:56.680 --> 00:16:00.240
say 644 in grayscale units,

239
00:16:00.240 --> 00:16:03.800
and it's surrounded by some backgrounds

240
00:16:03.800 --> 00:16:06.780
of largely unilluminated pixels.

241
00:16:06.780 --> 00:16:09.540
This might be a fluorescent molecule

242
00:16:09.540 --> 00:16:12.680
or a small object or star

243
00:16:12.680 --> 00:16:13.760
or whatever it might be

244
00:16:13.760 --> 00:16:15.320
that we're interested in examining.

245
00:16:15.940 --> 00:16:19.120
One common and unfortunately incorrect way

246
00:16:19.120 --> 00:16:20.880
to calculate signal-to-noise ratio

247
00:16:20.880 --> 00:16:23.320
that I've come across people using

248
00:16:23.320 --> 00:16:26.300
is taking this maximum value,

249
00:16:26.500 --> 00:16:28.140
in this case 644,

250
00:16:28.340 --> 00:16:29.140
and saying,

251
00:16:29.300 --> 00:16:30.760
okay, that's our signal.

252
00:16:31.480 --> 00:16:33.000
Let's divide that

253
00:16:33.000 --> 00:16:35.480
by some average

254
00:16:35.480 --> 00:16:37.080
of the background values.

255
00:16:37.380 --> 00:16:38.840
So looking at the values

256
00:16:38.840 --> 00:16:40.380
in this sort of rectangle

257
00:16:40.380 --> 00:16:41.340
of background pixels,

258
00:16:41.540 --> 00:16:42.440
we can judge that

259
00:16:42.440 --> 00:16:44.400
an average value

260
00:16:44.400 --> 00:16:44.940
might be something

261
00:16:44.940 --> 00:16:47.820
in the region of 140 or 150.

262
00:16:48.420 --> 00:16:50.160
We can then say that,

263
00:16:50.160 --> 00:16:52.680
oh, if I divide my signal

264
00:16:52.680 --> 00:16:54.580
by this sort of noisy background,

265
00:16:54.940 --> 00:16:56.380
I get a signal-to-noise ratio

266
00:16:56.380 --> 00:16:57.620
around four or five.

267
00:16:57.840 --> 00:16:59.020
This is unfortunately

268
00:16:59.020 --> 00:17:00.300
completely incorrect.

269
00:17:00.680 --> 00:17:01.940
It's maybe giving you

270
00:17:01.940 --> 00:17:03.460
some rough indication

271
00:17:03.460 --> 00:17:04.660
of signal-to-background,

272
00:17:05.060 --> 00:17:08.400
but even that is completely off

273
00:17:08.400 --> 00:17:10.120
in this particular way of doing it,

274
00:17:10.440 --> 00:17:12.680
because all of these pixel values

275
00:17:12.680 --> 00:17:14.240
in almost all scientific cameras

276
00:17:14.240 --> 00:17:15.980
will have some offset value,

277
00:17:16.120 --> 00:17:18.760
for example, 100 added to them.

278
00:17:18.760 --> 00:17:20.360
So this straight-up division

279
00:17:20.360 --> 00:17:22.600
is not serving any purpose at all.

280
00:17:23.520 --> 00:17:24.720
Another common misconception

281
00:17:24.720 --> 00:17:25.860
is thinking that

282
00:17:25.860 --> 00:17:27.320
it in some way represents

283
00:17:27.320 --> 00:17:28.100
signal-to-noise

284
00:17:28.100 --> 00:17:31.100
to subtract background pixel values

285
00:17:31.100 --> 00:17:32.500
from peak pixel values.

286
00:17:32.940 --> 00:17:34.460
Like, say we take our value,

287
00:17:34.720 --> 00:17:35.560
you know, 140,

288
00:17:35.720 --> 00:17:36.200
whatever it is,

289
00:17:36.240 --> 00:17:37.780
for the average of this background area,

290
00:17:37.900 --> 00:17:39.900
and subtract it from 640,

291
00:17:39.960 --> 00:17:42.120
and that gives us a signal of 500,

292
00:17:42.300 --> 00:17:44.000
and trying to make conclusions

293
00:17:44.000 --> 00:17:44.780
based on that.

294
00:17:44.780 --> 00:17:47.200
That's also not correct

295
00:17:47.200 --> 00:17:49.360
for calculating a signal-to-noise ratio

296
00:17:49.360 --> 00:17:50.880
or for judging what's happening

297
00:17:50.880 --> 00:17:52.700
from a noise perspective

298
00:17:52.700 --> 00:17:53.380
in our image.

299
00:17:53.740 --> 00:17:55.060
Again, it's not serving

300
00:17:55.060 --> 00:17:56.060
any purpose, really.

301
00:17:57.620 --> 00:17:59.280
A slightly less wrong,

302
00:17:59.380 --> 00:18:00.580
but still completely wrong,

303
00:18:00.860 --> 00:18:03.760
approach is to divide

304
00:18:03.760 --> 00:18:05.460
our peak pixel value

305
00:18:05.460 --> 00:18:07.920
by the standard deviation

306
00:18:07.920 --> 00:18:09.860
of our image background.

307
00:18:09.860 --> 00:18:14.150
There's no way, basically,

308
00:18:14.490 --> 00:18:17.170
to access the noise characteristics

309
00:18:17.170 --> 00:18:18.070
of our camera

310
00:18:18.070 --> 00:18:20.390
from the image that we've acquired.

311
00:18:20.730 --> 00:18:22.470
It simply doesn't work like that.

312
00:18:22.730 --> 00:18:23.630
We need to access

313
00:18:23.630 --> 00:18:24.830
those noise characteristics

314
00:18:24.830 --> 00:18:27.290
from completely independent measurements,

315
00:18:27.670 --> 00:18:28.710
or, more likely,

316
00:18:29.090 --> 00:18:30.550
from the specification sheet

317
00:18:30.550 --> 00:18:31.190
of the camera,

318
00:18:31.690 --> 00:18:33.070
or from, potentially,

319
00:18:33.510 --> 00:18:34.670
camera manufacturers

320
00:18:34.670 --> 00:18:36.090
might include some kind of

321
00:18:36.090 --> 00:18:37.170
calibration sheet

322
00:18:37.170 --> 00:18:38.510
or certificate of performance

323
00:18:38.510 --> 00:18:40.430
with scientific cameras

324
00:18:40.430 --> 00:18:42.130
where engineers have

325
00:18:42.130 --> 00:18:43.390
independently measured

326
00:18:43.390 --> 00:18:44.610
the noise characteristics

327
00:18:44.610 --> 00:18:45.310
of cameras,

328
00:18:46.110 --> 00:18:47.110
and they might include

329
00:18:47.110 --> 00:18:48.310
that sheet with the camera.

330
00:18:48.730 --> 00:18:50.710
That will be the most accurate way

331
00:18:50.710 --> 00:18:51.850
to judge the noise

332
00:18:51.850 --> 00:18:53.130
of a camera.

333
00:18:53.510 --> 00:18:54.490
What you can't do

334
00:18:54.490 --> 00:18:56.190
is look at an image like this

335
00:18:56.190 --> 00:18:57.330
and make a conclusion

336
00:18:57.330 --> 00:18:58.590
about the noise in the image

337
00:18:58.590 --> 00:19:00.830
based on the background pixel values.

338
00:19:03.400 --> 00:19:04.320
For one thing,

339
00:19:04.480 --> 00:19:06.260
there might well be collected photons

340
00:19:06.260 --> 00:19:07.300
in those pixels,

341
00:19:07.640 --> 00:19:08.540
which will, of course,

342
00:19:08.540 --> 00:19:10.700
contribute to a standard

343
00:19:10.700 --> 00:19:11.780
deviation measurement

344
00:19:11.780 --> 00:19:14.540
and then who are effectively

345
00:19:14.540 --> 00:19:15.740
penalising cameras

346
00:19:15.740 --> 00:19:16.620
for being sensitive

347
00:19:16.620 --> 00:19:17.980
and capturing photons

348
00:19:17.980 --> 00:19:18.740
because we think

349
00:19:18.740 --> 00:19:19.840
those photons are noise.

350
00:19:20.180 --> 00:19:21.400
There's all sorts of problems

351
00:19:21.400 --> 00:19:22.140
that we come across

352
00:19:22.140 --> 00:19:23.320
when we attempt to measure

353
00:19:23.320 --> 00:19:24.340
signal-to-noise ratio

354
00:19:24.340 --> 00:19:25.500
from a single image.

355
00:19:26.740 --> 00:19:28.100
But there are many, many

356
00:19:28.100 --> 00:19:29.040
creative ways

357
00:19:29.040 --> 00:19:29.820
to calculate

358
00:19:29.820 --> 00:19:30.860
signal-to-noise ratio

359
00:19:30.860 --> 00:19:31.880
and, unfortunately,

360
00:19:32.140 --> 00:19:32.980
they will probably

361
00:19:32.980 --> 00:19:34.540
all be completely wrong.

362
00:19:34.880 --> 00:19:35.960
There is basically

363
00:19:35.960 --> 00:19:37.140
only one correct way

364
00:19:37.140 --> 00:19:38.160
to do it, unfortunately.

365
00:19:40.650 --> 00:19:41.370
But at least

366
00:19:41.370 --> 00:19:42.470
it's simple enough

367
00:19:42.470 --> 00:19:43.110
to understand

368
00:19:43.110 --> 00:19:44.190
once you understand it

369
00:19:44.190 --> 00:19:46.290
and it's a fairly easy

370
00:19:46.290 --> 00:19:47.170
calculation to do.

371
00:19:47.270 --> 00:19:47.810
So we'll do it

372
00:19:47.810 --> 00:19:48.590
on the next slide.

373
00:19:49.230 --> 00:19:50.210
But there are a few things

374
00:19:50.210 --> 00:19:51.170
that we do need to know,

375
00:19:51.210 --> 00:19:51.970
as I've mentioned,

376
00:19:52.130 --> 00:19:53.190
to calculate this.

377
00:19:53.590 --> 00:19:55.850
One absolutely essential part

378
00:19:55.850 --> 00:19:57.390
is we need to know

379
00:19:57.390 --> 00:19:58.610
the camera gain

380
00:19:58.610 --> 00:20:00.130
with the current settings

381
00:20:00.130 --> 00:20:00.770
of the camera

382
00:20:00.770 --> 00:20:02.090
in grey levels

383
00:20:02.090 --> 00:20:02.970
per electron.

384
00:20:04.630 --> 00:20:06.090
One thing I didn't touch on

385
00:20:06.090 --> 00:20:06.670
when we were exploring

386
00:20:06.670 --> 00:20:07.310
these misconceptions

387
00:20:07.310 --> 00:20:09.370
is that all of these values

388
00:20:09.370 --> 00:20:10.650
are in grayscales,

389
00:20:11.010 --> 00:20:12.870
not in any form

390
00:20:12.870 --> 00:20:14.370
of objective units

391
00:20:14.370 --> 00:20:15.650
like photoelectrons.

392
00:20:16.310 --> 00:20:17.290
As we saw

393
00:20:17.290 --> 00:20:18.310
in the gain section

394
00:20:18.310 --> 00:20:19.230
of this course,

395
00:20:20.350 --> 00:20:21.590
the engineers

396
00:20:21.590 --> 00:20:22.510
who design the camera

397
00:20:22.510 --> 00:20:23.890
can fairly arbitrarily

398
00:20:23.890 --> 00:20:26.110
set the conversion scale,

399
00:20:26.370 --> 00:20:26.770
the gain,

400
00:20:26.910 --> 00:20:27.690
but the conversion

401
00:20:27.690 --> 00:20:28.950
between photoelectrons

402
00:20:28.950 --> 00:20:29.630
and grey levels.

403
00:20:29.950 --> 00:20:31.310
If we're trying to say,

404
00:20:31.670 --> 00:20:32.950
OK, we've got lots of signal

405
00:20:32.950 --> 00:20:34.590
because the number is 644

406
00:20:34.590 --> 00:20:36.350
and that's quite high,

407
00:20:36.930 --> 00:20:37.170
you know,

408
00:20:37.190 --> 00:20:37.910
we could have another

409
00:20:37.910 --> 00:20:38.610
camera mode

410
00:20:38.610 --> 00:20:40.390
where the exact same signal

411
00:20:40.390 --> 00:20:41.550
might be represented

412
00:20:41.550 --> 00:20:45.170
as 6,440.

413
00:20:46.530 --> 00:20:47.610
That doesn't mean

414
00:20:47.610 --> 00:20:48.590
that there's more signal.

415
00:20:48.850 --> 00:20:49.590
It simply means

416
00:20:49.590 --> 00:20:50.490
that the same signal

417
00:20:50.490 --> 00:20:51.390
is being represented

418
00:20:51.390 --> 00:20:52.570
with a different gain.

419
00:20:52.930 --> 00:20:53.610
Yet, if we try

420
00:20:53.610 --> 00:20:54.450
and make signal-to-noise

421
00:20:54.450 --> 00:20:55.530
ratio calculations

422
00:20:55.530 --> 00:20:57.210
purely based on image values

423
00:20:57.210 --> 00:20:58.150
in this way,

424
00:20:58.330 --> 00:20:59.410
that's almost certainly

425
00:20:59.410 --> 00:21:00.370
going to throw us off.

426
00:21:00.370 --> 00:21:01.890
So, we need to convert back

427
00:21:01.890 --> 00:21:03.330
to objective units

428
00:21:03.330 --> 00:21:04.670
of photoelectrons

429
00:21:04.670 --> 00:21:06.070
for our intensities.

430
00:21:06.650 --> 00:21:07.250
And to do that,

431
00:21:07.330 --> 00:21:08.230
we absolutely need

432
00:21:08.230 --> 00:21:09.270
to know the camera gain.

433
00:21:11.240 --> 00:21:12.540
We also need to know

434
00:21:12.540 --> 00:21:13.340
the camera offset,

435
00:21:13.720 --> 00:21:14.440
which is the value

436
00:21:14.440 --> 00:21:15.480
that the camera outputs

437
00:21:15.480 --> 00:21:16.900
at zero incident signal.

438
00:21:17.260 --> 00:21:18.000
For many cameras,

439
00:21:18.120 --> 00:21:18.840
this is 100,

440
00:21:19.020 --> 00:21:19.620
but it's important

441
00:21:19.620 --> 00:21:20.700
to check for your camera.

442
00:21:21.740 --> 00:21:23.020
One way to check this

443
00:21:23.020 --> 00:21:24.180
is to cut off

444
00:21:24.180 --> 00:21:25.460
all light to the camera,

445
00:21:25.860 --> 00:21:26.940
put on a lens cap,

446
00:21:27.100 --> 00:21:27.600
for example,

447
00:21:28.260 --> 00:21:30.480
and take a number of frames,

448
00:21:30.480 --> 00:21:32.340
maybe 10 or 100 frames

449
00:21:32.340 --> 00:21:33.340
with no photons

450
00:21:33.340 --> 00:21:34.620
hitting the camera at all,

451
00:21:35.040 --> 00:21:36.620
and measure the average value

452
00:21:36.620 --> 00:21:37.740
of all of the pixels

453
00:21:37.740 --> 00:21:39.360
of all of those frames.

454
00:21:39.920 --> 00:21:40.800
And that will tell you

455
00:21:40.800 --> 00:21:41.580
the camera offset,

456
00:21:41.900 --> 00:21:43.260
but it might well be specified

457
00:21:43.260 --> 00:21:44.460
by the camera manufacturer

458
00:21:44.460 --> 00:21:45.900
or set to some nice,

459
00:21:46.040 --> 00:21:47.080
round, obvious number

460
00:21:47.080 --> 00:21:47.760
like 100,

461
00:21:48.020 --> 00:21:48.640
in which case,

462
00:21:48.680 --> 00:21:49.420
it's fairly simple.

463
00:21:52.030 --> 00:21:52.630
Another thing

464
00:21:52.630 --> 00:21:53.510
that we need to know,

465
00:21:53.570 --> 00:21:54.090
as I mentioned,

466
00:21:54.190 --> 00:21:55.410
is the noise characteristics

467
00:21:56.470 --> 00:21:58.050
That includes the read noise

468
00:21:58.050 --> 00:21:59.570
and the dark current value.

469
00:22:00.130 --> 00:22:02.250
If we're using EMCCDs,

470
00:22:02.270 --> 00:22:03.190
then this is a more

471
00:22:03.190 --> 00:22:04.190
complicated process

472
00:22:04.190 --> 00:22:05.350
that we're not going to talk

473
00:22:05.350 --> 00:22:06.910
about in this fairly short course.

474
00:22:07.390 --> 00:22:09.350
But for CMOS and CCD cameras,

475
00:22:09.550 --> 00:22:10.530
all we need to know

476
00:22:10.530 --> 00:22:11.510
is the read noise

477
00:22:11.510 --> 00:22:13.070
and the dark current value.

478
00:22:16.220 --> 00:22:17.700
And we also need to know

479
00:22:17.700 --> 00:22:19.580
our peak or chosen signal value.

480
00:22:20.160 --> 00:22:21.280
And this is important

481
00:22:21.280 --> 00:22:22.440
to mention because

482
00:22:22.440 --> 00:22:23.380
one thing that I've

483
00:22:23.380 --> 00:22:24.820
slightly glossed over so far

484
00:22:24.820 --> 00:22:26.560
is that in fact,

485
00:22:26.780 --> 00:22:28.240
every pixel of an image

486
00:22:28.240 --> 00:22:29.740
has its own signal

487
00:22:29.740 --> 00:22:31.140
to noise ratio value.

488
00:22:31.700 --> 00:22:32.180
Of course,

489
00:22:32.280 --> 00:22:33.280
every different pixel

490
00:22:33.280 --> 00:22:34.100
has collected

491
00:22:34.100 --> 00:22:34.860
a different amount

492
00:22:34.860 --> 00:22:35.340
of signal.

493
00:22:35.520 --> 00:22:36.040
That's actually

494
00:22:36.040 --> 00:22:37.080
what our image represents,

495
00:22:37.220 --> 00:22:37.980
different signals

496
00:22:37.980 --> 00:22:38.940
across the pixels.

497
00:22:40.120 --> 00:22:40.620
And of course,

498
00:22:40.800 --> 00:22:41.380
different signals

499
00:22:41.380 --> 00:22:41.940
means different

500
00:22:41.940 --> 00:22:43.520
signal to noise ratio values.

501
00:22:43.800 --> 00:22:44.700
So the question is,

502
00:22:44.840 --> 00:22:46.400
when we talk about an image

503
00:22:46.400 --> 00:22:47.300
having a certain

504
00:22:48.540 --> 00:22:49.460
what do we mean?

505
00:22:49.540 --> 00:22:50.860
What's useful for us to mean?

506
00:22:51.400 --> 00:22:52.140
And typically,

507
00:22:52.600 --> 00:22:54.700
we'll calculate this

508
00:22:54.700 --> 00:22:56.320
based on the peak value

509
00:22:56.320 --> 00:22:58.700
of the signal

510
00:22:58.700 --> 00:23:00.080
within an object of interest.

511
00:23:00.080 --> 00:23:02.060
and that might not be

512
00:23:02.060 --> 00:23:02.820
the brightest point

513
00:23:02.820 --> 00:23:03.620
in the entire image.

514
00:23:03.740 --> 00:23:04.340
That might be

515
00:23:04.340 --> 00:23:05.400
just the part of the image

516
00:23:05.400 --> 00:23:06.720
that we're most interested in.

517
00:23:06.920 --> 00:23:07.940
Or sometimes we might

518
00:23:07.940 --> 00:23:08.780
take an average

519
00:23:08.780 --> 00:23:10.520
across a small area

520
00:23:10.520 --> 00:23:12.900
of the bright signal

521
00:23:12.900 --> 00:23:15.960
from our object of interest.

522
00:23:16.220 --> 00:23:17.260
What we can't do

523
00:23:17.260 --> 00:23:18.340
is take an average

524
00:23:19.400 --> 00:23:20.460
for every pixel

525
00:23:20.460 --> 00:23:21.320
of the image

526
00:23:21.320 --> 00:23:22.400
because of course,

527
00:23:22.480 --> 00:23:23.360
you can probably imagine

528
00:23:23.360 --> 00:23:24.260
that if you have

529
00:23:24.260 --> 00:23:26.940
a single bright area

530
00:23:26.940 --> 00:23:29.400
within a largely dark image,

531
00:23:29.400 --> 00:23:30.900
the signal to noise ratio

532
00:23:30.900 --> 00:23:31.780
in dark pixels

533
00:23:31.780 --> 00:23:32.400
is going to be

534
00:23:32.400 --> 00:23:33.180
very, very low,

535
00:23:33.660 --> 00:23:35.460
maybe even one or less.

536
00:23:36.560 --> 00:23:37.140
And therefore,

537
00:23:37.420 --> 00:23:39.220
the more dark pixels we have,

538
00:23:39.280 --> 00:23:39.820
the more that will

539
00:23:39.820 --> 00:23:41.120
throw off our average

540
00:23:41.120 --> 00:23:41.880
and not represent

541
00:23:41.880 --> 00:23:42.760
really what's happening.

542
00:23:43.380 --> 00:23:44.660
So what's typically done

543
00:23:44.660 --> 00:23:45.500
is we'll take

544
00:23:45.500 --> 00:23:46.920
the brightest point

545
00:23:46.920 --> 00:23:48.240
or an average

546
00:23:48.240 --> 00:23:49.620
of some bright pixels

547
00:23:49.620 --> 00:23:51.160
from an object of interest

548
00:23:51.160 --> 00:23:52.400
and call that

549
00:23:52.400 --> 00:23:54.220
our signal value,

550
00:23:54.340 --> 00:23:55.980
our peak or chosen signal value

551
00:23:55.980 --> 00:23:57.600
in grey levels

552
00:23:57.600 --> 00:23:58.680
or ADUs.

553
00:24:01.180 --> 00:24:02.680
So with all of that said,

554
00:24:02.800 --> 00:24:03.840
how do we calculate

555
00:24:05.440 --> 00:24:06.580
Here's the formula.

556
00:24:07.740 --> 00:24:08.920
Our signal to noise ratio

557
00:24:08.920 --> 00:24:10.540
is given by our signal

558
00:24:10.540 --> 00:24:12.540
divided by our noise.

559
00:24:13.540 --> 00:24:15.160
Though two things to note here

560
00:24:15.160 --> 00:24:17.820
with this first left-hand side

561
00:24:17.820 --> 00:24:18.440
of the equation

562
00:24:18.440 --> 00:24:19.820
is that our signal

563
00:24:19.820 --> 00:24:21.820
is in photoelectrons,

564
00:24:21.900 --> 00:24:22.580
as I'd mentioned.

565
00:24:22.760 --> 00:24:24.160
That's very, very important.

566
00:24:24.160 --> 00:24:26.960
Our noise then

567
00:24:26.960 --> 00:24:29.220
is added up

568
00:24:29.220 --> 00:24:31.040
our various noise sources,

569
00:24:31.040 --> 00:24:32.100
the three noise sources

570
00:24:32.100 --> 00:24:32.880
that we talked about,

571
00:24:32.980 --> 00:24:34.080
the photon shot noise,

572
00:24:34.540 --> 00:24:35.180
the read noise

573
00:24:35.180 --> 00:24:35.960
and the dark current.

574
00:24:36.220 --> 00:24:37.200
It's added up

575
00:24:37.200 --> 00:24:38.180
as the squares

576
00:24:38.180 --> 00:24:39.720
of these values.

577
00:24:40.440 --> 00:24:41.220
We square them,

578
00:24:41.580 --> 00:24:41.980
add them

579
00:24:41.980 --> 00:24:42.640
and then take

580
00:24:42.640 --> 00:24:43.400
the square root

581
00:24:43.400 --> 00:24:44.900
and that's how noises

582
00:24:44.900 --> 00:24:46.580
have to be added together.

583
00:24:47.400 --> 00:24:48.580
So on the right-hand side

584
00:24:48.580 --> 00:24:49.120
of the equation

585
00:24:49.120 --> 00:24:50.180
we have the full form

586
00:24:50.180 --> 00:24:50.580
of this

587
00:24:50.580 --> 00:24:52.840
and here you'll notice

588
00:24:52.840 --> 00:24:53.540
that the signal

589
00:24:53.540 --> 00:24:54.300
in electrons

590
00:24:54.300 --> 00:24:55.340
occurs twice

591
00:24:55.340 --> 00:24:56.040
in the formula.

592
00:24:56.540 --> 00:24:57.660
That's because on the top

593
00:24:57.660 --> 00:24:58.800
that's simply our signal

594
00:24:58.800 --> 00:24:59.660
but on the bottom

595
00:24:59.660 --> 00:25:01.080
that's our

596
00:25:01.080 --> 00:25:03.000
photon shot noise term

597
00:25:03.000 --> 00:25:04.400
which if you recall

598
00:25:04.400 --> 00:25:06.460
photon shot noise's

599
00:25:06.460 --> 00:25:07.280
noise contribution

600
00:25:07.280 --> 00:25:09.160
is given by the square root

601
00:25:09.160 --> 00:25:09.960
of the signal

602
00:25:09.960 --> 00:25:10.780
that we've collected

603
00:25:10.780 --> 00:25:12.380
as a Poisson statistics

604
00:25:12.380 --> 00:25:13.400
noise source.

605
00:25:14.100 --> 00:25:15.460
But because we're squaring

606
00:25:15.460 --> 00:25:16.280
our terms

607
00:25:16.280 --> 00:25:16.880
before they go

608
00:25:16.880 --> 00:25:17.600
into this equation

609
00:25:17.600 --> 00:25:18.740
we've squared

610
00:25:18.740 --> 00:25:19.600
that square root

611
00:25:19.600 --> 00:25:20.200
away

612
00:25:20.200 --> 00:25:21.440
so it's now just

613
00:25:21.440 --> 00:25:22.420
the signal once again.

614
00:25:22.920 --> 00:25:23.480
So on the bottom

615
00:25:23.480 --> 00:25:24.400
we have the square root

616
00:25:24.960 --> 00:25:26.520
plus our read noise

617
00:25:26.520 --> 00:25:27.100
squared

618
00:25:27.100 --> 00:25:28.740
plus our

619
00:25:28.740 --> 00:25:29.840
dark current term.

620
00:25:30.500 --> 00:25:31.120
This is given

621
00:25:31.120 --> 00:25:32.440
by our dark current

622
00:25:32.440 --> 00:25:33.740
specification

623
00:25:33.740 --> 00:25:34.760
from the specification

624
00:25:34.760 --> 00:25:35.340
sheet

625
00:25:35.340 --> 00:25:36.300
in electrons

626
00:25:36.300 --> 00:25:37.140
per pixel

627
00:25:37.140 --> 00:25:37.900
per second

628
00:25:37.900 --> 00:25:39.360
and where

629
00:25:39.360 --> 00:25:40.020
we have

630
00:25:40.020 --> 00:25:41.180
the exposure time

631
00:25:41.180 --> 00:25:41.940
as t

632
00:25:41.940 --> 00:25:43.040
in there as well.

633
00:25:43.540 --> 00:25:44.240
And once again

634
00:25:44.240 --> 00:25:45.020
this is a Poisson

635
00:25:45.020 --> 00:25:46.860
behaving noise source

636
00:25:46.860 --> 00:25:47.540
as we introduced

637
00:25:47.540 --> 00:25:48.320
in that section

638
00:25:48.320 --> 00:25:49.960
where the square root

639
00:25:49.960 --> 00:25:50.860
gives us the actual

640
00:25:50.860 --> 00:25:51.700
noise contribution

641
00:25:51.700 --> 00:25:53.200
and then we've squared it

642
00:25:53.200 --> 00:25:54.080
so that square root

643
00:25:54.080 --> 00:25:54.640
has gone away

644
00:25:54.640 --> 00:25:55.180
once again.

645
00:25:56.020 --> 00:25:57.880
So this is the one

646
00:25:57.880 --> 00:25:59.220
correct way to calculate

647
00:25:59.220 --> 00:26:00.740
our signal-to-noise ratio.

648
00:26:02.460 --> 00:26:03.700
As a quick reminder

649
00:26:03.700 --> 00:26:04.700
how do we get

650
00:26:04.700 --> 00:26:05.520
the signal in

651
00:26:05.520 --> 00:26:06.400
photoelectrons?

652
00:26:07.120 --> 00:26:08.220
Well once we know

653
00:26:08.220 --> 00:26:08.780
the gain

654
00:26:08.780 --> 00:26:10.100
and the offset

655
00:26:10.100 --> 00:26:11.820
our signal in electrons

656
00:26:11.820 --> 00:26:12.560
is given by

657
00:26:12.560 --> 00:26:13.780
our signal in grey levels

658
00:26:13.780 --> 00:26:15.680
that was 644

659
00:26:15.680 --> 00:26:16.980
on the previous slide

660
00:26:16.980 --> 00:26:18.900
subtracting

661
00:26:18.900 --> 00:26:20.100
our offset value

662
00:26:20.100 --> 00:26:20.740
for example

663
00:26:20.740 --> 00:26:21.340
100

664
00:26:21.340 --> 00:26:22.360
if it is that

665
00:26:22.360 --> 00:26:22.980
for your camera

666
00:26:22.980 --> 00:26:24.440
divided by

667
00:26:25.000 --> 00:26:26.000
of your camera

668
00:26:26.000 --> 00:26:27.200
in the given setting

669
00:26:27.200 --> 00:26:27.960
that you're using

670
00:26:29.340 --> 00:26:30.220
per electron.

671
00:26:32.790 --> 00:26:33.910
So with that

672
00:26:33.910 --> 00:26:34.810
you'll get a number

673
00:26:34.810 --> 00:26:35.750
out the other end

674
00:26:35.750 --> 00:26:36.550
which represents

675
00:26:36.550 --> 00:26:38.010
your signal-to-noise ratio.

676
00:26:40.120 --> 00:26:41.260
We can use this

677
00:26:41.260 --> 00:26:41.860
formula

678
00:26:41.860 --> 00:26:42.960
to work out

679
00:26:42.960 --> 00:26:43.820
which terms

680
00:26:43.820 --> 00:26:44.780
are more important.

681
00:26:44.780 --> 00:26:45.780
So for example

682
00:26:45.780 --> 00:26:46.360
if you're trying

683
00:26:46.360 --> 00:26:47.060
to work out

684
00:26:47.060 --> 00:26:48.300
whether your read noise

685
00:26:48.300 --> 00:26:49.960
or your dark current

686
00:26:49.960 --> 00:26:51.300
is more significant

687
00:26:51.300 --> 00:26:53.080
if we work out

688
00:26:53.080 --> 00:26:54.360
this equation

689
00:26:54.360 --> 00:26:56.040
in long form

690
00:26:56.040 --> 00:26:57.300
maybe in Excel

691
00:26:57.300 --> 00:26:58.500
or a spreadsheet software

692
00:26:58.500 --> 00:26:59.720
we can see

693
00:26:59.720 --> 00:27:01.080
the relative size

694
00:27:01.080 --> 00:27:02.700
of the read noise squared

695
00:27:02.700 --> 00:27:04.580
or the d times t

696
00:27:04.580 --> 00:27:05.940
parts of the equation

697
00:27:05.940 --> 00:27:07.500
to see if read noise

698
00:27:07.500 --> 00:27:08.680
or dark current

699
00:27:08.680 --> 00:27:09.620
is something that we need

700
00:27:09.620 --> 00:27:10.600
to concentrate more

701
00:27:10.600 --> 00:27:11.280
on reducing.

702
00:27:11.940 --> 00:27:12.880
We can also see

703
00:27:12.880 --> 00:27:13.840
the different

704
00:27:13.840 --> 00:27:15.660
effects of

705
00:27:16.160 --> 00:27:17.620
changing pixel size

706
00:27:17.620 --> 00:27:18.860
which will change

707
00:27:18.860 --> 00:27:20.080
the amount of signal

708
00:27:20.080 --> 00:27:20.860
that we can collect.

709
00:27:21.540 --> 00:27:22.160
In general

710
00:27:22.160 --> 00:27:23.000
what we can do

711
00:27:23.000 --> 00:27:23.720
with this formula

712
00:27:23.720 --> 00:27:24.900
is just compare

713
00:27:24.900 --> 00:27:25.440
the results

714
00:27:25.440 --> 00:27:25.920
and compare

715
00:27:25.920 --> 00:27:26.980
the sensitivities

716
00:27:26.980 --> 00:27:28.120
of different cameras

717
00:27:28.120 --> 00:27:29.400
and different circumstances

718
00:27:29.400 --> 00:27:30.700
when getting

719
00:27:30.700 --> 00:27:31.680
an objective number

720
00:27:31.680 --> 00:27:32.060
out

721
00:27:32.060 --> 00:27:33.020
which will tell us

722
00:27:33.020 --> 00:27:34.180
this is how good

723
00:27:34.180 --> 00:27:34.940
our image quality

724
00:27:34.940 --> 00:27:35.680
is going to be.

725
00:27:35.980 --> 00:27:36.700
This is a very

726
00:27:36.700 --> 00:27:37.660
powerful formula

727
00:27:37.660 --> 00:27:38.660
once we get accustomed

728
00:27:38.660 --> 00:27:39.540
to using it.

729
00:27:42.660 --> 00:27:43.560
So on to some

730
00:27:43.560 --> 00:27:44.220
more qualitative

731
00:27:44.220 --> 00:27:45.040
measurements

732
00:27:45.040 --> 00:27:46.640
of the quality

733
00:27:46.640 --> 00:27:47.460
of images

734
00:27:47.460 --> 00:27:48.540
signal-to-noise

735
00:27:48.540 --> 00:27:49.360
is not the only

736
00:27:49.360 --> 00:27:50.400
influential factor

737
00:27:50.400 --> 00:27:51.480
on the quality

738
00:27:51.480 --> 00:27:52.080
of our images

739
00:27:52.080 --> 00:27:52.980
there are things

740
00:27:52.980 --> 00:27:53.660
like artifacts

741
00:27:53.660 --> 00:27:54.380
that we need

742
00:27:54.380 --> 00:27:55.420
to take into account.

743
00:27:56.260 --> 00:27:57.100
Artifacts and patterns

744
00:27:57.100 --> 00:27:57.880
can be present

745
00:27:57.880 --> 00:27:58.360
in images

746
00:27:58.360 --> 00:28:00.420
and that can be

747
00:28:00.420 --> 00:28:00.940
an issue

748
00:28:00.940 --> 00:28:01.940
for the appearance

749
00:28:01.940 --> 00:28:02.860
of our images

750
00:28:02.860 --> 00:28:04.700
but also sometimes

751
00:28:04.700 --> 00:28:05.940
for analysis routines

752
00:28:05.940 --> 00:28:06.740
that can get thrown

753
00:28:06.740 --> 00:28:07.840
off by artifacts.

754
00:28:09.360 --> 00:28:10.620
Some common artifacts

755
00:28:10.620 --> 00:28:11.280
that you might come

756
00:28:11.280 --> 00:28:12.020
across in imaging

757
00:28:12.020 --> 00:28:13.060
are first of all

758
00:28:13.060 --> 00:28:14.360
fixed pattern column

759
00:28:14.360 --> 00:28:15.340
noise on the left

760
00:28:15.340 --> 00:28:16.180
hand side here

761
00:28:16.180 --> 00:28:19.100
and this is a problem

762
00:28:19.100 --> 00:28:20.260
that CMOS cameras

763
00:28:20.260 --> 00:28:21.580
can sometimes exhibit

764
00:28:21.580 --> 00:28:23.660
where as we mentioned

765
00:28:23.660 --> 00:28:25.560
in the readout section

766
00:28:25.560 --> 00:28:26.920
CMOS cameras

767
00:28:26.920 --> 00:28:27.880
have a different

768
00:28:27.880 --> 00:28:29.340
analog to digital converter

769
00:28:29.340 --> 00:28:30.540
on every column

770
00:28:30.540 --> 00:28:31.960
of the sensor.

771
00:28:32.960 --> 00:28:34.420
These analog to digital

772
00:28:34.420 --> 00:28:35.840
converters can sometimes

773
00:28:35.840 --> 00:28:37.140
if they're not

774
00:28:37.140 --> 00:28:38.700
adequately calibrated

775
00:28:38.700 --> 00:28:40.860
which is quite

776
00:28:40.860 --> 00:28:41.900
an intensive process

777
00:28:41.900 --> 00:28:42.420
if they're not

778
00:28:42.420 --> 00:28:43.740
adequately calibrated

779
00:28:43.740 --> 00:28:45.720
by the camera manufacturer

780
00:28:45.720 --> 00:28:46.660
they can have

781
00:28:46.660 --> 00:28:49.460
slight offset variations

782
00:28:49.460 --> 00:28:51.000
this value that

783
00:28:51.000 --> 00:28:51.960
the camera exhibits

784
00:28:51.960 --> 00:28:52.740
at no signal

785
00:28:52.740 --> 00:28:54.000
and these slight

786
00:28:54.000 --> 00:28:54.980
differences in offset

787
00:28:54.980 --> 00:28:56.540
can transmit

788
00:28:56.540 --> 00:28:57.800
in the form

789
00:28:57.800 --> 00:28:58.860
of a pattern

790
00:28:58.860 --> 00:29:00.540
on which low light

791
00:29:00.540 --> 00:29:01.520
signals will be

792
00:29:01.520 --> 00:29:02.320
overlaid

793
00:29:02.320 --> 00:29:03.240
and this can sometimes

794
00:29:03.240 --> 00:29:03.880
be problematic

795
00:29:03.880 --> 00:29:05.740
and at the very least

796
00:29:05.740 --> 00:29:06.900
be unsightly

797
00:29:06.900 --> 00:29:08.400
and not nice

798
00:29:08.400 --> 00:29:08.980
to look at.

799
00:29:11.000 --> 00:29:12.080
We can also have

800
00:29:12.080 --> 00:29:13.040
hot pixels

801
00:29:13.040 --> 00:29:14.680
where individual pixels

802
00:29:14.680 --> 00:29:15.760
have particularly

803
00:29:15.760 --> 00:29:17.260
high dark currents

804
00:29:17.260 --> 00:29:18.000
or otherwise

805
00:29:18.000 --> 00:29:19.340
have higher values

806
00:29:19.340 --> 00:29:19.960
than they should

807
00:29:19.960 --> 00:29:21.620
and by their

808
00:29:21.620 --> 00:29:22.540
higher values

809
00:29:22.540 --> 00:29:23.300
than their neighbours.

810
00:29:23.960 --> 00:29:24.580
We can see this

811
00:29:24.580 --> 00:29:25.340
on the right hand

812
00:29:25.340 --> 00:29:26.380
side image

813
00:29:26.380 --> 00:29:27.220
with these little

814
00:29:27.220 --> 00:29:28.360
sort of starry night

815
00:29:28.360 --> 00:29:29.140
sky like

816
00:29:29.140 --> 00:29:30.940
white pinpricks

817
00:29:30.940 --> 00:29:31.500
that we have

818
00:29:31.500 --> 00:29:32.020
on the image.

819
00:29:32.400 --> 00:29:33.180
This can sometimes

820
00:29:33.180 --> 00:29:34.300
throw off image scaling

821
00:29:34.300 --> 00:29:34.880
and throw off

822
00:29:34.880 --> 00:29:35.920
analysis routines

823
00:29:35.920 --> 00:29:37.300
and it just again

824
00:29:37.300 --> 00:29:38.220
generally doesn't look

825
00:29:38.220 --> 00:29:38.700
very good.

826
00:29:39.420 --> 00:29:40.800
In both cases though

827
00:29:40.800 --> 00:29:42.060
these are problems

828
00:29:42.060 --> 00:29:43.660
that can be avoided

829
00:29:43.660 --> 00:29:44.900
by camera manufacturers

830
00:29:44.900 --> 00:29:45.960
or indeed

831
00:29:45.960 --> 00:29:46.920
they might simply

832
00:29:46.920 --> 00:29:47.780
not be issues

833
00:29:47.780 --> 00:29:48.720
for the type of imaging

834
00:29:48.720 --> 00:29:49.440
that you're doing.

835
00:29:52.230 --> 00:29:53.330
One specific

836
00:29:53.330 --> 00:29:56.010
measure of image quality

837
00:29:56.010 --> 00:29:56.670
that's sometimes

838
00:29:56.670 --> 00:29:57.790
offered by camera

839
00:29:57.790 --> 00:29:58.450
manufacturers

840
00:29:58.450 --> 00:30:00.110
is DSNU

841
00:30:00.110 --> 00:30:01.310
and PRNU

842
00:30:01.310 --> 00:30:02.810
and this is

843
00:30:02.810 --> 00:30:03.770
one attempted

844
00:30:03.770 --> 00:30:04.790
solution

845
00:30:04.790 --> 00:30:05.870
to the problem

846
00:30:05.870 --> 00:30:06.970
of representing image

847
00:30:06.970 --> 00:30:08.090
quality on a

848
00:30:08.090 --> 00:30:09.090
specification sheet

849
00:30:09.090 --> 00:30:09.690
for a camera

850
00:30:09.690 --> 00:30:10.950
with simple

851
00:30:10.950 --> 00:30:11.930
numeric values.

852
00:30:12.450 --> 00:30:12.930
Unfortunately

853
00:30:12.930 --> 00:30:13.730
it's not

854
00:30:13.730 --> 00:30:15.250
particularly effective

855
00:30:15.250 --> 00:30:18.050
but this is

856
00:30:18.050 --> 00:30:18.470
one attempt

857
00:30:18.470 --> 00:30:18.990
to do it

858
00:30:18.990 --> 00:30:19.910
and

859
00:30:19.910 --> 00:30:22.170
one thing

860
00:30:22.170 --> 00:30:22.930
to bear in mind

861
00:30:22.930 --> 00:30:23.550
is that

862
00:30:23.550 --> 00:30:24.830
the DSNU

863
00:30:24.830 --> 00:30:25.570
and PRNU

864
00:30:25.570 --> 00:30:26.190
which I'll define

865
00:30:26.190 --> 00:30:26.770
in a second

866
00:30:26.770 --> 00:30:28.230
are simple

867
00:30:28.230 --> 00:30:29.350
numbers

868
00:30:29.350 --> 00:30:30.210
which attempt

869
00:30:30.210 --> 00:30:30.870
to tell

870
00:30:30.870 --> 00:30:33.450
a story

871
00:30:33.450 --> 00:30:34.170
about a far

872
00:30:34.170 --> 00:30:34.990
more complicated

873
00:30:34.990 --> 00:30:37.730
and multifaceted

874
00:30:37.730 --> 00:30:38.270
issue

875
00:30:38.270 --> 00:30:39.150
of patterns

876
00:30:39.150 --> 00:30:39.810
and artifacts

877
00:30:39.810 --> 00:30:42.630
and they can only

878
00:30:42.630 --> 00:30:43.510
go so far

879
00:30:43.510 --> 00:30:45.190
but DSNU

880
00:30:45.190 --> 00:30:45.970
is called

881
00:30:45.970 --> 00:30:47.010
the dark signal

882
00:30:47.010 --> 00:30:48.410
non-uniformity

883
00:30:48.410 --> 00:30:49.690
and this is an attempt

884
00:30:49.690 --> 00:30:50.290
to represent

885
00:30:50.290 --> 00:30:51.710
that offset variation

886
00:30:51.710 --> 00:30:52.550
of fixed pattern

887
00:30:52.550 --> 00:30:53.190
column noise

888
00:30:53.190 --> 00:30:54.190
amongst other issues

889
00:30:54.190 --> 00:30:55.250
that I talked about

890
00:30:55.250 --> 00:30:56.190
on the previous slide.

891
00:30:57.050 --> 00:30:58.190
So this is a numerical

892
00:30:58.190 --> 00:30:58.970
representation

893
00:30:58.970 --> 00:31:00.150
of the variation

894
00:31:00.150 --> 00:31:01.210
of pixel offset

895
00:31:01.210 --> 00:31:03.350
and it's calculated

896
00:31:03.350 --> 00:31:04.630
by taking an average

897
00:31:04.630 --> 00:31:06.730
of tens of thousands

898
00:31:06.730 --> 00:31:07.570
of frames

899
00:31:07.570 --> 00:31:08.970
with no light

900
00:31:08.970 --> 00:31:09.930
hitting the camera

901
00:31:09.930 --> 00:31:11.430
and once we take

902
00:31:11.430 --> 00:31:12.610
that average frame

903
00:31:12.610 --> 00:31:13.710
one frame

904
00:31:13.710 --> 00:31:14.270
representing

905
00:31:14.270 --> 00:31:15.370
the average value

906
00:31:15.370 --> 00:31:16.010
of each pixel

907
00:31:16.010 --> 00:31:16.890
in that entire

908
00:31:16.890 --> 00:31:18.010
stack of images

909
00:31:18.010 --> 00:31:19.230
we take the standard

910
00:31:19.230 --> 00:31:19.810
deviation

911
00:31:19.810 --> 00:31:20.990
of that frame

912
00:31:20.990 --> 00:31:22.430
and that represents

913
00:31:22.430 --> 00:31:23.370
our dark signal

914
00:31:23.370 --> 00:31:24.610
non-uniformity.

915
00:31:25.070 --> 00:31:25.810
This is typically

916
00:31:25.810 --> 00:31:27.070
represented in units

917
00:31:27.070 --> 00:31:27.970
of electrons

918
00:31:27.970 --> 00:31:29.050
which allows us

919
00:31:29.050 --> 00:31:30.090
to easily compare it

920
00:31:30.090 --> 00:31:31.190
to camera read noise

921
00:31:31.890 --> 00:31:33.290
which is also given

922
00:31:33.890 --> 00:31:35.190
and also represents

923
00:31:35.190 --> 00:31:36.050
a variation

924
00:31:36.050 --> 00:31:36.690
in our pixels

925
00:31:36.690 --> 00:31:38.010
so it makes sense

926
00:31:38.010 --> 00:31:39.010
to compare these two.

927
00:31:39.790 --> 00:31:41.290
DSNU is often lower

928
00:31:41.290 --> 00:31:42.730
than camera read noise

929
00:31:42.730 --> 00:31:43.850
and if it's lower

930
00:31:43.850 --> 00:31:44.430
by much

931
00:31:44.430 --> 00:31:45.670
then it's unlikely

932
00:31:45.670 --> 00:31:46.830
to be playing a role

933
00:31:46.830 --> 00:31:47.710
in our imaging

934
00:31:47.710 --> 00:31:48.830
or unlikely to see

935
00:31:48.830 --> 00:31:49.550
it very much.

936
00:31:50.430 --> 00:31:50.950
However

937
00:31:50.950 --> 00:31:52.630
there is one case

938
00:31:52.630 --> 00:31:54.050
in which even small

939
00:31:54.050 --> 00:31:54.910
DSNU

940
00:31:54.910 --> 00:31:56.550
or small variations

941
00:31:56.550 --> 00:31:57.270
in offsets

942
00:31:57.270 --> 00:31:59.330
are likely to stay visible

943
00:31:59.330 --> 00:32:00.330
and that's

944
00:32:00.330 --> 00:32:01.130
the example

945
00:32:01.130 --> 00:32:01.950
of fixed pattern

946
00:32:01.950 --> 00:32:02.530
column noise

947
00:32:02.530 --> 00:32:03.030
that we saw

948
00:32:03.030 --> 00:32:03.970
in the last slide.

949
00:32:04.810 --> 00:32:05.630
As we can see

950
00:32:05.630 --> 00:32:06.570
for this image

951
00:32:06.570 --> 00:32:07.510
before corrections

952
00:32:07.510 --> 00:32:09.630
for pixel offsets

953
00:32:09.630 --> 00:32:10.150
are applied

954
00:32:10.150 --> 00:32:11.190
there's quite a lot

955
00:32:11.190 --> 00:32:12.170
of vertical striping

956
00:32:12.170 --> 00:32:12.610
in the image

957
00:32:12.610 --> 00:32:13.190
there's quite a lot

958
00:32:14.290 --> 00:32:15.530
but our DSNU

959
00:32:15.530 --> 00:32:16.630
is still really low

960
00:32:16.630 --> 00:32:17.890
it's still well below

961
00:32:17.890 --> 00:32:18.710
what a read noise

962
00:32:18.710 --> 00:32:19.490
value might be

963
00:32:19.490 --> 00:32:20.430
of at least

964
00:32:20.430 --> 00:32:21.190
one electron.

965
00:32:22.030 --> 00:32:22.890
So this low

966
00:32:22.890 --> 00:32:23.830
DSNU value

967
00:32:23.830 --> 00:32:25.330
isn't really representing

968
00:32:25.330 --> 00:32:26.030
the quality

969
00:32:26.030 --> 00:32:26.750
of this image

970
00:32:26.750 --> 00:32:27.730
and this is the primary

971
00:32:27.730 --> 00:32:29.110
problem with DSNU

972
00:32:29.110 --> 00:32:29.970
measurements.

973
00:32:32.240 --> 00:32:32.880
PRNU

974
00:32:32.880 --> 00:32:34.560
is similar to DSNU

975
00:32:34.560 --> 00:32:35.760
in that it's a numerical

976
00:32:35.760 --> 00:32:37.140
representation of variation

977
00:32:37.140 --> 00:32:37.960
but this time

978
00:32:37.960 --> 00:32:39.620
it's of the gain values

979
00:32:39.620 --> 00:32:40.540
of pixels

980
00:32:40.540 --> 00:32:41.800
which can be slightly

981
00:32:41.800 --> 00:32:42.440
different

982
00:32:42.440 --> 00:32:44.100
for CMOS cameras

983
00:32:44.100 --> 00:32:45.320
from pixel to pixel

984
00:32:45.320 --> 00:32:47.400
but it's only a representation

985
00:32:47.400 --> 00:32:48.760
at one specific

986
00:32:48.760 --> 00:32:49.900
intensity level

987
00:32:49.900 --> 00:32:51.100
which is one of the

988
00:32:51.100 --> 00:32:53.260
limitations of PRNU

989
00:32:53.260 --> 00:32:54.520
as a measurement.

990
00:32:55.420 --> 00:32:57.880
The variation

991
00:32:57.880 --> 00:32:58.980
of gain

992
00:32:58.980 --> 00:33:00.360
across different

993
00:33:00.360 --> 00:33:02.520
intensity levels

994
00:33:02.520 --> 00:33:03.500
is called

995
00:33:03.500 --> 00:33:04.580
non-linearity

996
00:33:04.580 --> 00:33:05.820
and in general

997
00:33:05.820 --> 00:33:08.140
all non-scientific cameras

998
00:33:08.140 --> 00:33:09.600
are highly non-linear

999
00:33:09.600 --> 00:33:10.180
they actually

1000
00:33:10.180 --> 00:33:11.380
don't respond linearly

1001
00:33:11.380 --> 00:33:12.780
to lights

1002
00:33:12.780 --> 00:33:14.500
with more signal

1003
00:33:14.500 --> 00:33:15.440
directly meaning

1004
00:33:15.440 --> 00:33:17.220
higher outputted values

1005
00:33:17.220 --> 00:33:19.160
in the case

1006
00:33:19.160 --> 00:33:20.480
of non-scientific cameras.

1007
00:33:20.960 --> 00:33:21.640
Scientific cameras

1008
00:33:21.640 --> 00:33:22.920
are deliberately designed

1009
00:33:22.920 --> 00:33:24.180
to be as linear

1010
00:33:24.180 --> 00:33:25.100
as possible

1011
00:33:25.100 --> 00:33:25.920
and they are

1012
00:33:25.920 --> 00:33:27.060
significantly more linear

1013
00:33:27.060 --> 00:33:28.380
than non-scientific cameras

1014
00:33:28.380 --> 00:33:30.540
but there still might be

1015
00:33:30.540 --> 00:33:31.840
some small variations

1016
00:33:33.480 --> 00:33:34.700
won't really capture that

1017
00:33:34.700 --> 00:33:35.760
because it's only choosing

1018
00:33:35.760 --> 00:33:37.440
one specific intensity level

1019
00:33:37.440 --> 00:33:38.540
to represent things at.

1020
00:33:39.400 --> 00:33:40.200
But once again

1021
00:33:40.200 --> 00:33:41.420
it's a standard deviation

1022
00:33:41.420 --> 00:33:43.080
of tens of thousands

1023
00:33:43.080 --> 00:33:43.800
of images

1024
00:33:43.800 --> 00:33:45.520
or I should say

1025
00:33:45.520 --> 00:33:46.440
of the average image

1026
00:33:46.440 --> 00:33:47.660
formed from tens of thousands

1027
00:33:48.200 --> 00:33:49.200
this time

1028
00:33:49.200 --> 00:33:50.180
at one fixed

1029
00:33:50.180 --> 00:33:51.420
illumination intensity

1030
00:33:51.420 --> 00:33:53.520
and it's typically shown

1031
00:33:53.520 --> 00:33:54.120
as a percentage

1032
00:33:54.120 --> 00:33:55.840
of the chosen signal

1033
00:33:55.840 --> 00:33:57.680
which is typically chosen

1034
00:33:57.680 --> 00:33:58.980
as half the camera's

1035
00:33:58.980 --> 00:33:59.980
full well capacity.

1036
00:34:00.660 --> 00:34:01.420
So in this case

1037
00:34:01.420 --> 00:34:02.100
if we have a look

1038
00:34:02.100 --> 00:34:03.020
at an image

1039
00:34:03.020 --> 00:34:04.020
that the PRNU

1040
00:34:04.020 --> 00:34:05.280
is formed based on

1041
00:34:05.280 --> 00:34:06.140
this average image

1042
00:34:06.140 --> 00:34:06.900
of all these frames

1043
00:34:06.900 --> 00:34:07.860
we can see

1044
00:34:07.860 --> 00:34:09.000
that there's some slight

1045
00:34:09.000 --> 00:34:09.840
sort of glow

1046
00:34:09.840 --> 00:34:10.960
in the centre of the image

1047
00:34:10.960 --> 00:34:13.500
and that our PRNU

1048
00:34:13.500 --> 00:34:15.340
is around 1.6%.

1049
00:34:15.340 --> 00:34:16.820
This is maybe going

1050
00:34:16.820 --> 00:34:17.320
some way

1051
00:34:17.320 --> 00:34:17.900
to represent

1052
00:34:17.900 --> 00:34:18.860
that there's

1053
00:34:18.860 --> 00:34:19.800
a slight issue

1054
00:34:19.800 --> 00:34:21.100
with this image

1055
00:34:21.100 --> 00:34:21.960
before correction.

1056
00:34:26.370 --> 00:34:29.310
We've now added

1057
00:34:29.310 --> 00:34:29.870
in the images

1058
00:34:29.870 --> 00:34:31.110
after correction

1059
00:34:31.110 --> 00:34:32.350
and after calibration

1060
00:34:32.350 --> 00:34:33.710
for these issues

1061
00:34:33.710 --> 00:34:34.970
and as we can see

1062
00:34:34.970 --> 00:34:36.750
the DSNU image

1063
00:34:36.750 --> 00:34:37.970
is now clean

1064
00:34:37.970 --> 00:34:39.070
of that fixed pattern

1065
00:34:39.810 --> 00:34:41.310
and there's some

1066
00:34:41.310 --> 00:34:42.630
improvement too

1067
00:34:42.630 --> 00:34:43.510
in the sort of

1068
00:34:43.510 --> 00:34:44.990
general noisy appearance

1069
00:34:44.990 --> 00:34:47.110
of the zoomed in area

1070
00:34:47.110 --> 00:34:48.570
but as you can see

1071
00:34:48.570 --> 00:34:50.230
our DSNU value

1072
00:34:50.230 --> 00:34:51.550
hasn't actually changed

1073
00:34:51.550 --> 00:34:52.230
all that much

1074
00:34:52.230 --> 00:34:53.670
from 0.3%

1075
00:34:53.670 --> 00:34:55.330
to 0.2 electrons

1076
00:34:55.330 --> 00:34:56.450
isn't really

1077
00:34:56.450 --> 00:34:57.350
a large enough change

1078
00:34:57.990 --> 00:35:00.310
the quite large change

1079
00:35:00.310 --> 00:35:01.170
in image quality

1080
00:35:01.170 --> 00:35:01.870
that we have

1081
00:35:01.870 --> 00:35:02.770
between these two

1082
00:35:02.770 --> 00:35:03.710
background images.

1083
00:35:04.950 --> 00:35:06.650
With PRNU however

1084
00:35:06.650 --> 00:35:08.190
we've now got a value

1085
00:35:08.190 --> 00:35:09.490
of 0.3%

1086
00:35:09.490 --> 00:35:10.550
and our image

1087
00:35:10.550 --> 00:35:11.830
does look significantly better

1088
00:35:11.830 --> 00:35:13.450
so PRNU might be

1089
00:35:13.450 --> 00:35:15.050
a better representation

1090
00:35:15.050 --> 00:35:16.810
but still we're likely

1091
00:35:16.810 --> 00:35:18.030
to have this same issue

1092
00:35:18.030 --> 00:35:18.670
of patterns

1093
00:35:18.670 --> 00:35:19.470
not being truly

1094
00:35:19.470 --> 00:35:21.130
represented by PRNU.

1095
00:35:21.130 --> 00:35:24.720
Another factor

1096
00:35:24.720 --> 00:35:26.480
is that for low light

1097
00:35:26.480 --> 00:35:27.020
levels

1098
00:35:27.020 --> 00:35:28.940
PRNU is not going

1099
00:35:28.940 --> 00:35:29.780
to be at all

1100
00:35:29.780 --> 00:35:30.360
significant

1101
00:35:30.360 --> 00:35:31.280
compared to other

1102
00:35:31.280 --> 00:35:32.100
noise sources

1103
00:35:32.100 --> 00:35:34.400
and for many

1104
00:35:34.400 --> 00:35:35.620
imaging situations

1105
00:35:35.620 --> 00:35:36.440
we're not going

1106
00:35:36.440 --> 00:35:37.340
to be working

1107
00:35:37.340 --> 00:35:38.100
with exactly

1108
00:35:38.100 --> 00:35:39.080
half the cameras

1109
00:35:39.080 --> 00:35:39.640
full well

1110
00:35:39.640 --> 00:35:41.180
and then the PRNU

1111
00:35:41.180 --> 00:35:42.180
might even be different

1112
00:35:42.180 --> 00:35:43.340
at higher or lower

1113
00:35:43.340 --> 00:35:43.860
signals

1114
00:35:43.860 --> 00:35:45.420
so it's quite difficult

1115
00:35:46.040 --> 00:35:47.140
the entire response

1116
00:35:47.140 --> 00:35:47.640
of a camera

1117
00:35:47.640 --> 00:35:49.040
with PRNU

1118
00:35:49.040 --> 00:35:50.040
so in general

1119
00:35:50.040 --> 00:35:51.260
PRNU should be treated

1120
00:35:51.260 --> 00:35:52.020
with a little bit

1121
00:35:52.020 --> 00:35:52.800
of scepticism

1122
00:35:52.800 --> 00:35:54.340
as should DSNU

1123
00:35:54.340 --> 00:35:55.780
and seeing the actual

1124
00:35:55.780 --> 00:35:56.760
images that the camera

1125
00:35:56.760 --> 00:35:57.260
produces

1126
00:35:57.260 --> 00:35:58.760
especially at low

1127
00:35:58.760 --> 00:35:59.360
light levels

1128
00:35:59.360 --> 00:36:00.640
should be the measure

1129
00:36:00.640 --> 00:36:01.640
of image quality.

1130
00:36:02.860 --> 00:36:04.080
All of that to say

1131
00:36:04.080 --> 00:36:04.300
though

1132
00:36:04.300 --> 00:36:05.360
this is only when

1133
00:36:05.360 --> 00:36:06.120
image quality

1134
00:36:06.120 --> 00:36:07.320
at the low end

1135
00:36:07.320 --> 00:36:08.080
of the spectrum

1136
00:36:08.080 --> 00:36:09.080
especially in the case

1137
00:36:09.080 --> 00:36:09.820
of DSNU

1138
00:36:09.820 --> 00:36:11.500
is really really important

1139
00:36:11.500 --> 00:36:12.720
and for many

1140
00:36:12.720 --> 00:36:13.620
imaging applications

1141
00:36:13.620 --> 00:36:14.860
these variations

1142
00:36:14.860 --> 00:36:15.500
are going to be

1143
00:36:15.500 --> 00:36:16.340
so small

1144
00:36:16.340 --> 00:36:17.420
that there's not

1145
00:36:17.420 --> 00:36:17.780
going to be

1146
00:36:17.780 --> 00:36:18.800
any visual effects

1147
00:36:18.800 --> 00:36:19.600
on our image

1148
00:36:19.600 --> 00:36:20.340
we're going to talk

1149
00:36:20.340 --> 00:36:20.720
about this

1150
00:36:20.720 --> 00:36:22.200
a little bit more later

1151
00:36:22.200 --> 00:36:25.240
so finally

1152
00:36:25.240 --> 00:36:26.140
to have a look

1153
00:36:26.140 --> 00:36:26.840
at some image

1154
00:36:26.840 --> 00:36:28.380
patterns and artifacts

1155
00:36:28.380 --> 00:36:29.440
that DSNU

1156
00:36:30.460 --> 00:36:31.500
don't represent

1157
00:36:31.500 --> 00:36:33.340
neither can represent

1158
00:36:33.340 --> 00:36:34.820
dynamic artifacts

1159
00:36:34.820 --> 00:36:35.560
that change

1160
00:36:35.560 --> 00:36:36.520
from frame to frame

1161
00:36:36.520 --> 00:36:37.940
because both of these

1162
00:36:37.940 --> 00:36:38.640
are acquired

1163
00:36:38.640 --> 00:36:39.540
through averaging

1164
00:36:39.540 --> 00:36:41.000
over multiple frames

1165
00:36:41.000 --> 00:36:43.000
also neither

1166
00:36:43.000 --> 00:36:43.700
can represent

1167
00:36:43.700 --> 00:36:44.700
structured noise

1168
00:36:44.700 --> 00:36:45.580
which has a

1169
00:36:45.580 --> 00:36:46.560
disproportionate effect

1170
00:36:46.560 --> 00:36:47.560
on image quality

1171
00:36:47.560 --> 00:36:48.900
versus the standard

1172
00:36:48.900 --> 00:36:49.440
deviation

1173
00:36:49.440 --> 00:36:50.100
of the image

1174
00:36:50.100 --> 00:36:52.460
pixels that are

1175
00:36:52.460 --> 00:36:53.100
too similar

1176
00:36:53.100 --> 00:36:53.980
to each other

1177
00:36:53.980 --> 00:36:54.720
as in the case

1178
00:36:54.720 --> 00:36:55.680
of a structured noise

1179
00:36:55.680 --> 00:36:56.900
that's not really

1180
00:36:56.900 --> 00:36:57.860
going to change

1181
00:36:57.860 --> 00:36:58.780
the standard deviation

1182
00:36:58.780 --> 00:36:59.520
all that much

1183
00:36:59.520 --> 00:37:01.660
and this is a problem

1184
00:37:01.660 --> 00:37:03.900
with measuring

1185
00:37:03.900 --> 00:37:04.680
things in this way

1186
00:37:04.680 --> 00:37:05.340
and representing

1187
00:37:05.340 --> 00:37:06.360
an entire image

1188
00:37:06.360 --> 00:37:07.600
as one single value

1189
00:37:07.600 --> 00:37:10.510
on the right here

1190
00:37:10.510 --> 00:37:11.330
we have an example

1191
00:37:11.330 --> 00:37:12.590
of a dynamic

1192
00:37:12.590 --> 00:37:13.170
artifact

1193
00:37:13.170 --> 00:37:13.790
where we can

1194
00:37:13.790 --> 00:37:14.550
sometimes get

1195
00:37:14.550 --> 00:37:15.950
a scrolling pattern

1196
00:37:15.950 --> 00:37:17.670
of bright or dark

1197
00:37:17.670 --> 00:37:18.970
rows of the camera

1198
00:37:18.970 --> 00:37:20.290
this is quite a common

1199
00:37:20.290 --> 00:37:21.050
issue that you might

1200
00:37:21.050 --> 00:37:22.090
come across sometimes

1201
00:37:22.090 --> 00:37:25.980
so in summary

1202
00:37:25.980 --> 00:37:27.340
in this section

1203
00:37:27.340 --> 00:37:28.240
we looked at the

1204
00:37:29.460 --> 00:37:32.140
first off we examined

1205
00:37:32.140 --> 00:37:32.660
the histogram

1206
00:37:32.660 --> 00:37:33.800
and scaling settings

1207
00:37:33.800 --> 00:37:35.220
and this is important

1208
00:37:35.220 --> 00:37:36.020
to make sure that

1209
00:37:36.020 --> 00:37:36.720
your image scaling

1210
00:37:36.720 --> 00:37:37.700
settings are set

1211
00:37:37.700 --> 00:37:38.360
appropriately

1212
00:37:38.360 --> 00:37:39.680
for your imaging

1213
00:37:39.680 --> 00:37:40.240
application

1214
00:37:40.240 --> 00:37:41.940
these might sometimes

1215
00:37:41.940 --> 00:37:43.420
require manually

1216
00:37:43.420 --> 00:37:44.000
setting

1217
00:37:44.000 --> 00:37:46.920
in low light imaging

1218
00:37:46.920 --> 00:37:47.780
it's more important

1219
00:37:47.780 --> 00:37:48.920
to set them

1220
00:37:48.920 --> 00:37:49.500
appropriately

1221
00:37:49.500 --> 00:37:50.680
than in higher

1222
00:37:50.680 --> 00:37:51.740
light settings

1223
00:37:51.740 --> 00:37:54.380
our signal to noise

1224
00:37:54.380 --> 00:37:55.320
ratio is one of the

1225
00:37:55.320 --> 00:37:56.500
most important factors

1226
00:37:56.500 --> 00:37:57.200
in imaging

1227
00:37:57.200 --> 00:37:58.900
especially at low light

1228
00:37:58.900 --> 00:37:59.560
where it might be

1229
00:37:59.560 --> 00:38:00.320
the primary barrier

1230
00:38:00.320 --> 00:38:01.520
to our image quality

1231
00:38:01.520 --> 00:38:02.800
and we can improve it

1232
00:38:02.800 --> 00:38:03.780
either by increasing

1233
00:38:03.780 --> 00:38:04.320
the signal

1234
00:38:04.320 --> 00:38:05.880
or by reducing noise

1235
00:38:05.880 --> 00:38:08.540
and we can calculate

1236
00:38:09.700 --> 00:38:10.720
there's only one

1237
00:38:10.720 --> 00:38:11.880
correct way to do it

1238
00:38:11.880 --> 00:38:13.200
and you do need to know

1239
00:38:13.200 --> 00:38:14.040
some properties of the

1240
00:38:14.040 --> 00:38:15.200
camera such as the gain

1241
00:38:15.200 --> 00:38:16.680
and the offset

1242
00:38:16.680 --> 00:38:17.800
and those noise

1243
00:38:17.800 --> 00:38:18.560
characteristics

1244
00:38:18.560 --> 00:38:21.560
next we had a more

1245
00:38:21.560 --> 00:38:22.500
qualitative look at

1246
00:38:22.500 --> 00:38:23.140
image quality

1247
00:38:23.140 --> 00:38:24.880
looking at DSNU

1248
00:38:25.700 --> 00:38:26.460
which are attempts

1249
00:38:26.460 --> 00:38:27.660
to represent image

1250
00:38:27.660 --> 00:38:29.180
quality numerically

1251
00:38:29.180 --> 00:38:30.760
they can play some role

1252
00:38:30.760 --> 00:38:31.600
they can give some

1253
00:38:31.600 --> 00:38:32.460
indication of what's

1254
00:38:32.460 --> 00:38:32.980
going on

1255
00:38:32.980 --> 00:38:34.280
but what they won't do

1256
00:38:34.280 --> 00:38:35.540
is tell the whole story

1257
00:38:35.540 --> 00:38:38.760
we also looked at

1258
00:38:39.640 --> 00:38:42.300
qualitatively

1259
00:38:42.300 --> 00:38:43.080
with patterns

1260
00:38:43.080 --> 00:38:43.740
and artifacts

1261
00:38:43.740 --> 00:38:44.420
both dynamic

1262
00:38:44.420 --> 00:38:47.420
and static

1263
00:38:47.420 --> 00:38:48.520
both structured

1264
00:38:48.520 --> 00:38:49.200
and random

1265
00:38:49.200 --> 00:38:50.320
and all of these

1266
00:38:50.320 --> 00:38:51.960
can affect your image

1267
00:38:51.960 --> 00:38:53.480
in ways not captured

1268
00:38:53.480 --> 00:38:55.220
by the signal to noise ratio

1269
00:38:55.220 --> 00:38:59.130
so on to some examples

1270
00:38:59.130 --> 00:38:59.990
and applications

1271
00:38:59.990 --> 00:39:01.010
for this section

1272
00:39:01.010 --> 00:39:02.550
first of all

1273
00:39:02.550 --> 00:39:03.970
exploring what histogram

1274
00:39:03.970 --> 00:39:05.050
and scaling settings

1275
00:39:05.050 --> 00:39:05.810
might be appropriate

1276
00:39:05.810 --> 00:39:07.210
for different situations

1277
00:39:07.210 --> 00:39:09.890
one thing to say

1278
00:39:09.890 --> 00:39:10.830
is that if you're using

1279
00:39:10.830 --> 00:39:11.830
a high bit depth

1280
00:39:11.830 --> 00:39:12.850
i.e. it's more than

1281
00:39:12.850 --> 00:39:14.090
an 8-bit camera

1282
00:39:14.090 --> 00:39:15.510
typically software

1283
00:39:15.510 --> 00:39:16.790
can handle image scaling

1284
00:39:16.790 --> 00:39:17.390
for you

1285
00:39:17.390 --> 00:39:18.890
if your image values

1286
00:39:18.890 --> 00:39:19.710
are way above

1287
00:39:19.710 --> 00:39:21.970
this sort of 256 level

1288
00:39:21.970 --> 00:39:23.250
if they're

1289
00:39:23.250 --> 00:39:23.750
if they're

1290
00:39:23.750 --> 00:39:24.010
you know

1291
00:39:24.010 --> 00:39:25.530
intensity values

1292
00:39:25.530 --> 00:39:26.130
in the thousands

1293
00:39:26.130 --> 00:39:27.350
then it's very

1294
00:39:27.350 --> 00:39:29.010
it's much less likely

1295
00:39:29.010 --> 00:39:29.770
that you're going to need

1296
00:39:29.770 --> 00:39:30.430
to worry about

1297
00:39:30.430 --> 00:39:31.810
setting your image scaling

1298
00:39:31.810 --> 00:39:33.570
to particular values

1299
00:39:33.570 --> 00:39:35.050
or particular settings

1300
00:39:35.050 --> 00:39:37.030
if however you're working

1301
00:39:37.030 --> 00:39:38.670
in low light conditions

1302
00:39:38.670 --> 00:39:40.510
sometimes scaling

1303
00:39:40.510 --> 00:39:41.350
can be really important

1304
00:39:41.350 --> 00:39:41.870
to manage

1305
00:39:41.870 --> 00:39:43.350
to give you the best contrast

1306
00:39:43.350 --> 00:39:44.810
for seeing what's going on

1307
00:39:44.810 --> 00:39:46.790
if your maximum signal

1308
00:39:46.790 --> 00:39:48.650
just as a rule of thumb

1309
00:39:48.650 --> 00:39:50.350
if your maximum signal

1310
00:39:50.350 --> 00:39:52.070
minus your minimum signal

1311
00:39:52.070 --> 00:39:52.890
which is usually

1312
00:39:52.890 --> 00:39:53.850
the offset value

1313
00:39:53.850 --> 00:39:56.430
if that's less than 256

1314
00:39:56.430 --> 00:39:58.830
so less than our

1315
00:39:58.830 --> 00:39:59.870
number of monitor

1316
00:39:59.870 --> 00:40:01.070
intensity values

1317
00:40:01.070 --> 00:40:01.710
that we're going to be

1318
00:40:01.710 --> 00:40:02.430
scaling against

1319
00:40:02.430 --> 00:40:04.570
it might be really important

1320
00:40:04.570 --> 00:40:05.590
to maximize

1321
00:40:05.590 --> 00:40:07.010
our contrast

1322
00:40:07.010 --> 00:40:08.030
via setting

1323
00:40:08.030 --> 00:40:08.870
the appropriate

1324
00:40:08.870 --> 00:40:09.950
image scaling settings

1325
00:40:09.950 --> 00:40:12.050
and this might not always

1326
00:40:12.050 --> 00:40:13.450
be very well set

1327
00:40:13.450 --> 00:40:14.690
by automatic

1328
00:40:14.690 --> 00:40:16.350
image scaling

1329
00:40:16.350 --> 00:40:17.170
adjustments

1330
00:40:17.170 --> 00:40:17.930
in software

1331
00:40:17.930 --> 00:40:19.010
sometimes you might have

1332
00:40:19.010 --> 00:40:19.930
to do this by hand

1333
00:40:19.930 --> 00:40:21.130
and you might have

1334
00:40:21.130 --> 00:40:22.810
a benefit in contrast

1335
00:40:22.810 --> 00:40:24.190
by setting the image scaling

1336
00:40:24.190 --> 00:40:24.930
by hand

1337
00:40:24.930 --> 00:40:26.510
in these low light situations

1338
00:40:26.510 --> 00:40:29.450
a good rule of thumb

1339
00:40:29.450 --> 00:40:30.490
in low light imaging

1340
00:40:30.490 --> 00:40:32.150
is to set the lower bound

1341
00:40:32.150 --> 00:40:33.490
to that image offset

1342
00:40:33.490 --> 00:40:34.750
which is often 100

1343
00:40:34.750 --> 00:40:36.210
this means that

1344
00:40:36.210 --> 00:40:37.050
at the very least

1345
00:40:37.050 --> 00:40:37.930
you're not going to be

1346
00:40:37.930 --> 00:40:40.830
including noisy areas

1347
00:40:40.830 --> 00:40:43.370
of the histogram

1348
00:40:43.370 --> 00:40:44.850
where you can sometimes

1349
00:40:44.850 --> 00:40:46.050
get values below

1350
00:40:47.190 --> 00:40:49.190
due to the presence

1351
00:40:49.190 --> 00:40:50.230
of noise in the image

1352
00:40:50.230 --> 00:40:51.070
which is both plus

1353
00:40:51.070 --> 00:40:51.730
and minus

1354
00:40:51.730 --> 00:40:54.410
in its effect on values

1355
00:40:54.410 --> 00:40:55.510
we can sometimes get

1356
00:40:55.510 --> 00:40:56.510
many pixels below

1357
00:40:57.270 --> 00:40:58.750
but all of that

1358
00:40:58.750 --> 00:40:59.670
is going to be noise

1359
00:40:59.670 --> 00:41:00.890
so if we set the offset

1360
00:41:00.890 --> 00:41:02.650
if we set the lower bound

1361
00:41:02.650 --> 00:41:03.510
of our image scaling

1362
00:41:03.510 --> 00:41:04.250
to the offset

1363
00:41:04.250 --> 00:41:05.830
then we're going to

1364
00:41:05.830 --> 00:41:07.630
maximize our contrast

1365
00:41:07.630 --> 00:41:08.510
through that

1366
00:41:08.510 --> 00:41:10.980
sometimes

1367
00:41:10.980 --> 00:41:12.760
if we're using a fixed

1368
00:41:12.760 --> 00:41:13.740
histogram scaling

1369
00:41:13.740 --> 00:41:14.500
that can help

1370
00:41:14.500 --> 00:41:15.260
if we're attempting

1371
00:41:15.260 --> 00:41:15.800
to judge

1372
00:41:15.800 --> 00:41:17.220
the change in signal

1373
00:41:17.220 --> 00:41:18.340
from image to image

1374
00:41:18.340 --> 00:41:19.480
or from different parts

1375
00:41:19.480 --> 00:41:20.780
of a sample

1376
00:41:20.780 --> 00:41:22.560
as we move around

1377
00:41:22.560 --> 00:41:23.780
or over time

1378
00:41:23.780 --> 00:41:25.640
it will help us

1379
00:41:25.640 --> 00:41:27.240
assess relative intensities

1380
00:41:27.240 --> 00:41:28.840
or intensity changes

1381
00:41:28.840 --> 00:41:29.520
by eye

1382
00:41:29.520 --> 00:41:30.700
because if we have

1383
00:41:30.700 --> 00:41:32.080
automatic image scaling

1384
00:41:32.080 --> 00:41:34.020
and the entire image

1385
00:41:34.460 --> 00:41:35.900
changes in its intensity

1386
00:41:35.900 --> 00:41:37.760
maybe through photo bleaching

1387
00:41:37.760 --> 00:41:38.500
through the reduction

1388
00:41:38.500 --> 00:41:39.780
in fluorescent signal

1389
00:41:39.780 --> 00:41:41.720
we might not notice that

1390
00:41:41.720 --> 00:41:42.960
because the image scaling

1391
00:41:42.960 --> 00:41:43.940
will simply adapt

1392
00:41:43.940 --> 00:41:45.460
to the new brightness settings

1393
00:41:45.460 --> 00:41:46.540
and our monitor

1394
00:41:46.540 --> 00:41:47.340
will display it

1395
00:41:47.340 --> 00:41:48.640
with just the same brightness

1396
00:41:48.640 --> 00:41:50.160
if we want to avoid

1397
00:41:50.160 --> 00:41:51.140
this kind of

1398
00:41:51.140 --> 00:41:53.440
loss of information

1399
00:41:53.440 --> 00:41:55.860
we can fix

1400
00:41:55.860 --> 00:41:56.880
the histogram scaling

1401
00:41:56.880 --> 00:41:57.760
and then

1402
00:41:57.760 --> 00:41:59.040
if the image gets darker

1403
00:41:59.040 --> 00:41:59.540
or brighter

1404
00:41:59.540 --> 00:42:01.180
we'll see it getting darker

1405
00:42:01.180 --> 00:42:01.920
or brighter

1406
00:42:01.920 --> 00:42:05.690
to summarize

1407
00:42:05.690 --> 00:42:06.970
and give some examples

1408
00:42:06.970 --> 00:42:08.570
for signal to noise ratio

1409
00:42:08.570 --> 00:42:09.830
once again

1410
00:42:09.830 --> 00:42:11.170
your signal to noise ratio

1411
00:42:11.170 --> 00:42:11.810
requirements

1412
00:42:11.810 --> 00:42:13.170
will vary massively

1413
00:42:13.170 --> 00:42:14.750
depending on the application

1414
00:42:14.750 --> 00:42:15.950
and depending on

1415
00:42:15.950 --> 00:42:17.470
the scientific questions

1416
00:42:17.470 --> 00:42:18.490
you're attempting to answer

1417
00:42:18.490 --> 00:42:19.230
with your images

1418
00:42:19.230 --> 00:42:20.990
very few applications

1419
00:42:20.990 --> 00:42:22.930
only require detection

1420
00:42:22.930 --> 00:42:24.510
with a signal to noise ratio

1421
00:42:24.510 --> 00:42:26.510
of 2 to 3 to 1

1422
00:42:26.510 --> 00:42:30.070
in almost all cases

1423
00:42:30.070 --> 00:42:30.870
we need a better

1424
00:42:31.830 --> 00:42:32.630
than that

1425
00:42:32.630 --> 00:42:34.430
but it again depends

1426
00:42:34.430 --> 00:42:35.150
on what you're doing

1427
00:42:35.150 --> 00:42:36.690
many applications

1428
00:42:36.690 --> 00:42:37.450
will require

1429
00:42:37.450 --> 00:42:38.590
simply visually

1430
00:42:38.590 --> 00:42:39.750
high quality images

1431
00:42:39.750 --> 00:42:40.690
such as in

1432
00:42:40.690 --> 00:42:41.730
documentation imaging

1433
00:42:41.730 --> 00:42:42.930
this is achieved

1434
00:42:42.930 --> 00:42:44.270
around a signal to noise ratio

1435
00:42:44.270 --> 00:42:45.030
of around 20

1436
00:42:45.030 --> 00:42:45.950
as we saw before

1437
00:42:45.950 --> 00:42:47.630
and there's not going to be

1438
00:42:47.630 --> 00:42:48.730
a huge difference

1439
00:42:48.730 --> 00:42:49.170
visually

1440
00:42:49.170 --> 00:42:49.850
between say

1441
00:42:49.850 --> 00:42:50.930
20 and 22

1442
00:42:50.930 --> 00:42:53.110
or even 20 and 40

1443
00:42:53.110 --> 00:42:54.010
we might not

1444
00:42:54.010 --> 00:42:54.630
by eye

1445
00:42:54.630 --> 00:42:55.330
be able to see

1446
00:42:55.330 --> 00:42:56.690
a huge amount of difference

1447
00:42:56.690 --> 00:42:57.990
that said

1448
00:42:57.990 --> 00:42:59.510
there are some applications

1449
00:42:59.510 --> 00:43:00.210
that require

1450
00:43:00.210 --> 00:43:01.570
incredibly precise

1451
00:43:01.570 --> 00:43:03.530
intensity change measurements

1452
00:43:03.530 --> 00:43:04.570
and here

1453
00:43:04.570 --> 00:43:05.490
there's effectively

1454
00:43:05.490 --> 00:43:06.130
no limit

1455
00:43:06.130 --> 00:43:06.790
to the amount

1456
00:43:06.790 --> 00:43:07.970
of signal to noise ratio

1457
00:43:07.970 --> 00:43:08.450
improvement

1458
00:43:08.450 --> 00:43:09.330
that can be beneficial

1459
00:43:09.330 --> 00:43:09.890
to us

1460
00:43:09.890 --> 00:43:10.630
sometimes

1461
00:43:10.630 --> 00:43:11.650
signal to noise ratios

1462
00:43:11.650 --> 00:43:12.170
of a hundred

1463
00:43:12.170 --> 00:43:12.990
or more

1464
00:43:12.990 --> 00:43:14.030
maybe several hundred

1465
00:43:14.030 --> 00:43:15.370
can help measure

1466
00:43:15.370 --> 00:43:16.450
the tiniest

1467
00:43:16.450 --> 00:43:17.510
and most precise

1468
00:43:17.510 --> 00:43:18.730
of intensity changes

1469
00:43:18.730 --> 00:43:20.530
what high signal to noise

1470
00:43:20.530 --> 00:43:21.790
ratio allows us to do

1471
00:43:21.790 --> 00:43:24.250
when comparing to signals

1472
00:43:24.250 --> 00:43:25.150
is be confident

1473
00:43:25.150 --> 00:43:26.610
that any change

1474
00:43:26.610 --> 00:43:27.830
is down to a change

1475
00:43:27.830 --> 00:43:28.690
in that signal

1476
00:43:28.690 --> 00:43:29.770
and not simply

1477
00:43:29.770 --> 00:43:30.950
a change in the

1478
00:43:30.950 --> 00:43:31.470
manifestation

1479
00:43:31.470 --> 00:43:32.770
of the noise

1480
00:43:32.770 --> 00:43:33.790
in that camera

1481
00:43:33.790 --> 00:43:36.840
but remember

1482
00:43:36.840 --> 00:43:37.840
with all of this

1483
00:43:37.840 --> 00:43:38.980
sort of numerical

1484
00:43:38.980 --> 00:43:40.600
examining

1485
00:43:40.600 --> 00:43:42.420
and really focusing

1486
00:43:42.420 --> 00:43:43.080
on the details

1487
00:43:43.080 --> 00:43:43.860
of signal to noise

1488
00:43:43.860 --> 00:43:45.380
the fundamental question

1489
00:43:45.380 --> 00:43:45.640
is

1490
00:43:45.640 --> 00:43:46.420
if your image

1491
00:43:46.420 --> 00:43:47.080
looks good

1492
00:43:47.080 --> 00:43:48.700
and meets your requirements

1493
00:43:48.700 --> 00:43:49.820
for your analysis

1494
00:43:49.820 --> 00:43:51.560
that's the most important thing

1495
00:43:51.560 --> 00:43:53.240
and you don't necessarily

1496
00:43:53.240 --> 00:43:54.400
always need to worry

1497
00:43:54.400 --> 00:43:55.540
about such details

1498
00:43:55.540 --> 00:43:56.640
if your image

1499
00:43:56.640 --> 00:43:57.360
is good enough

1500
00:43:57.360 --> 00:43:58.300
if you're trying

1501
00:43:58.300 --> 00:43:59.320
to push things further

1502
00:43:59.320 --> 00:44:00.280
maybe it can be

1503
00:44:00.280 --> 00:44:00.900
very beneficial

1504
00:44:00.900 --> 00:44:01.560
to calculate

1505
00:44:02.540 --> 00:44:03.440
but it might not be

1506
00:44:03.440 --> 00:44:04.040
beneficial

1507
00:44:04.040 --> 00:44:04.960
or necessary

1508
00:44:04.960 --> 00:44:06.500
for every imaging application

1509
00:44:06.500 --> 00:44:09.670
as a summary

1510
00:44:09.670 --> 00:44:10.650
for DSNU

1511
00:44:10.650 --> 00:44:11.490
PRNU

1512
00:44:11.490 --> 00:44:12.370
and in general

1513
00:44:12.370 --> 00:44:13.450
patterns in our image

1514
00:44:13.450 --> 00:44:14.610
when are these likely

1515
00:44:14.610 --> 00:44:15.470
to be significant

1516
00:44:15.470 --> 00:44:16.070
for imaging

1517
00:44:16.070 --> 00:44:17.990
the answer is

1518
00:44:17.990 --> 00:44:18.550
mostly

1519
00:44:18.550 --> 00:44:19.470
if you're imaging

1520
00:44:19.470 --> 00:44:20.930
in low light conditions

1521
00:44:20.930 --> 00:44:22.570
as a rough rule of thumb

1522
00:44:22.570 --> 00:44:24.010
if you have less than

1523
00:44:24.010 --> 00:44:25.570
100 photons per pixel

1524
00:44:25.570 --> 00:44:26.090
at peak

1525
00:44:26.090 --> 00:44:27.250
we might have

1526
00:44:27.250 --> 00:44:28.250
a more significant

1527
00:44:28.250 --> 00:44:28.950
contribution

1528
00:44:30.110 --> 00:44:31.110
than DSNU

1529
00:44:31.110 --> 00:44:32.850
if these are unmanaged

1530
00:44:32.850 --> 00:44:34.170
as we saw the difference

1531
00:44:34.170 --> 00:44:35.590
between the calibrated

1532
00:44:35.590 --> 00:44:36.590
and uncalibrated

1533
00:44:36.590 --> 00:44:38.470
images earlier

1534
00:44:38.470 --> 00:44:39.150
when we were talking

1535
00:44:39.150 --> 00:44:40.110
about DSNU

1536
00:44:40.110 --> 00:44:42.290
a well managed

1537
00:44:42.290 --> 00:44:43.130
scientific camera

1538
00:44:43.130 --> 00:44:43.810
might have

1539
00:44:43.810 --> 00:44:45.150
very low contributions

1540
00:44:45.150 --> 00:44:46.990
from any form

1541
00:44:47.510 --> 00:44:48.130
in which case

1542
00:44:48.130 --> 00:44:48.710
it might never

1543
00:44:48.710 --> 00:44:49.950
really be visible

1544
00:44:49.950 --> 00:44:51.570
but if they're less managed

1545
00:44:51.570 --> 00:44:52.870
then if you're trying

1546
00:44:52.870 --> 00:44:53.950
to do low light work

1547
00:44:53.950 --> 00:44:55.370
they can sometimes

1548
00:44:55.370 --> 00:44:56.090
become an issue

1549
00:44:56.090 --> 00:44:57.930
similarly

1550
00:44:57.930 --> 00:44:59.830
if you're working

1551
00:44:59.830 --> 00:45:02.190
with very exact

1552
00:45:02.190 --> 00:45:03.130
intensity measurements

1553
00:45:03.130 --> 00:45:04.050
so you really care

1554
00:45:04.050 --> 00:45:05.710
precisely what the values

1555
00:45:05.710 --> 00:45:06.210
are

1556
00:45:06.210 --> 00:45:08.130
at very high light levels

1557
00:45:08.130 --> 00:45:09.410
i.e. close to the camera's

1558
00:45:09.410 --> 00:45:10.230
full well capacity

1559
00:45:10.230 --> 00:45:11.690
then PRNU

1560
00:45:11.690 --> 00:45:12.330
might become

1561
00:45:12.330 --> 00:45:13.570
a significant factor

1562
00:45:13.570 --> 00:45:15.030
for you to be aware of

1563
00:45:15.030 --> 00:45:16.170
and to try

1564
00:45:16.170 --> 00:45:17.850
and minimize

1565
00:45:17.850 --> 00:45:22.010
but in other circumstances

1566
00:45:22.010 --> 00:45:22.750
than these

1567
00:45:22.750 --> 00:45:23.870
these patterns

1568
00:45:23.870 --> 00:45:25.310
and issues

1569
00:45:25.310 --> 00:45:26.310
with image quality

1570
00:45:26.310 --> 00:45:27.410
might not be visible

1571
00:45:27.410 --> 00:45:28.090
at all

1572
00:45:28.090 --> 00:45:29.310
for your imaging conditions

1573
00:45:29.310 --> 00:45:30.450
this might simply

1574
00:45:30.450 --> 00:45:31.170
not be something

1575
00:45:31.170 --> 00:45:32.030
that you have to worry

1576
00:45:32.030 --> 00:45:32.610
about at all

1577
00:45:32.610 --> 00:45:33.710
with your imaging application

1578
00:45:33.710 --> 00:45:34.850
it really depends

1579
00:45:34.850 --> 00:45:35.630
on what you're doing
