<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>Sharpness &#8211; Imatest</title>
	<atom:link href="https://www.imatest.com/tag/sharpness/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.imatest.com</link>
	<description>Image Quality Testing Software &#38; Test Charts</description>
	<lastBuildDate>Tue, 07 Apr 2020 17:26:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>Increasing the Repeatability of Your Sharpness Tests</title>
		<link>https://www.imatest.com/2018/09/increasing-repeatability-of-sharpness-tests/</link>
					<comments>https://www.imatest.com/2018/09/increasing-repeatability-of-sharpness-tests/#respond</comments>
		
		<dc:creator><![CDATA[Henry Koren]]></dc:creator>
		<pubDate>Mon, 24 Sep 2018 21:28:31 +0000</pubDate>
				<category><![CDATA[Company]]></category>
		<category><![CDATA[Imaging Science]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[image quality testing]]></category>
		<category><![CDATA[image results]]></category>
		<category><![CDATA[Repeatability]]></category>
		<category><![CDATA[Sharpness]]></category>
		<category><![CDATA[sharpness variance]]></category>
		<guid isPermaLink="false">http://www.imatest.com/?p=15905</guid>

					<description><![CDATA[<p>By Robert Sumner With contributions from Ranga Burada, Henry Koren, Brienna Rogers and Norman Koren Consistency is a fundamental aspect of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.imatest.com/2018/09/increasing-repeatability-of-sharpness-tests/">Increasing the Repeatability of Your Sharpness Tests</a> appeared first on <a rel="nofollow" href="https://www.imatest.com">Imatest</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h5>By Robert Sumner</h5>
<h6><em>With contributions from Ranga Burada, Henry Koren, Brienna Rogers and Norman Koren</em></h6>
<p><span style="font-weight: 400;">Consistency is a fundamental aspect of successful image quality testing. Each component in your system may contribute to variation in test results. For tasks such as pass/fail testing, the primary goal is to identify the variation due to </span><i><span style="font-weight: 400;">the component</span></i><span style="font-weight: 400;"> and ignore the variation due to noise. Being able to accurately replicate test results with variability limited to 1-5% will give you a more accurate description of how your product will perform. </span><span id="more-15905"></span></p>
<p><span style="font-weight: 400;">Since Imatest makes measurements directly from the image pixels, any source that adds noise to the image can affect measurements. A primary source of noise in images is electronic sensor noise. Photon shot noise also contributes significantly in low-light situations. Other systemic sources of measurement variability, such as autofocus hysteresis, will not be addressed in this post.  </span></p>
<p><span style="font-weight: 400;">In order to reduce variation in your sharpness results and increase </span><a href="https://docs.imatest.com/docs/mtf-measurement-consistency" target="_blank" rel="noopener"><span style="font-weight: 400;">test repeatability</span></a><span style="font-weight: 400;">, you should take steps to decrease the amount of </span><a href="https://www.imatest.com/testing/noise/"><span style="font-weight: 400;">noise</span></a><span style="font-weight: 400;"> in your image.</span></p>
<p><span style="font-weight: 400;">Here are 5 tips to limit noise in your test results:</span></p>
<h3>Maximize your samples</h3>
<p><span style="font-weight: 400;">Since most sources of noise are independent across both different exposures and pixel locations within an exposure, their influence can be effectively canceled by averaging multiple samples.</span></p>
<p><span style="font-weight: 400;">In order to exploit the temporal aspect of noise, you can combine multiple images of the same scene using the “Combine files for signal averaging” option when selecting multiple image files for analysis using Imatest’s Fixed Modules. This trick works for all analyses in Imatest.</span></p>
<p><span style="font-weight: 400;">Similarly, for analyses based on Regions of Interest (ROI) which are scale-invariant, such as the preferred MTF-measuring slanted edge technique, increasing the area of the ROI around the slanted edge you analyze in an image increases the number of independent random samples used. In general, you want to select as large a window around a slanted edge as possible given the chart and staying within the desired region of the image field (since MTF generally varies around the field). This trick does not work for tests that have a fixed feature size in an image, such as Siemens-stars and hyperbolic wedges. </span></p>
<h3>Ensure adequate signal level via chart contrast (but not too much)</h3>
<p><span style="font-weight: 400;">For sharpness measurements, the signal that you want to measure is related to the amount of contrast in the image. The more contrast you have, the higher the signal to noise ratio (SNR) and the less effect noise will have on results. There can be too much of a good thing, however: as the pixels in your sensor reach the point of saturation, clipping, or non-linear response regions, unrealistic increases in sharpness will occur.  The ISO 12233:2014 standard specifies a test chart edge printed at 4:1 contrast in order to prevent this saturation for most systems. </span></p>
<p><span style="font-weight: 400;">The slanted edge signal level is intimately tied to the contrast of the light and dark sides of the edge. There is an </span><a href="https://www.imatest.com/2015/02/studyse/"><span style="font-weight: 400;">optimal range</span></a><span style="font-weight: 400;"> of contrast for slanted edges that you should try to achieve in order to obtain reliable results. This partially involves choosing a chart appropriate for your test setup.</span></p>
<p><span style="font-weight: 400;">Increasing the contrast in the outer regions of a test chart, which are most impacted by </span><a href="https://www.imatest.com/testing/uniformity/"><span style="font-weight: 400;">shading</span></a><span style="font-weight: 400;">, is one technique for increasing signal level. When ordering charts from Imatest, you can request customizations such as this as appropriate.</span></p>
<h3>Be aware of the effects of processing an image</h3>
<p><span style="font-weight: 400;">Some devices tested with Imatest can produce </span><a href="https://docs.imatest.com/docs/raw" target="_blank" rel="noopener"><span style="font-weight: 400;">raw</span></a><span style="font-weight: 400;"> images that have not been processed by software after capture. In such cases, Imatest can provide accurate measurements of the combined system of lens and sensor. Whenever a camera device processes an image prior to input to Imatest the effects of that processing can be observed, studied, and understood, but cannot be ignored. </span></p>
<p><span style="font-weight: 400;">When an image is converted to an 8-bit (24-bit color) JPEG from a higher bit-depth sensor, noise increases slightly due to quantization. The noise increase can be worse (“banding” can appear) if extensive image manipulation (dodging and burning) is required. It is often best to convert to 16-bit (48-bit color) files. Processing also often includes sharpening, which can increase the relative power of noise at higher frequencies. </span></p>
<p><span style="font-weight: 400;">A final caveat on processed images is that many consumer cameras (especially mobile device cameras) use non-linear noise reduction (such as bilateral filtering), which may smooth out images noise on slanted edge targets but also reduce texture detail. (Side note: Averaging multiple images as suggested above will not work when non-linear processing such as this is involved.) In such a case, slanted edge measurements may not tell the whole story of sharpness, and a </span><a href="https://docs.imatest.com/docs/random" target="_blank" rel="noopener"><span style="font-weight: 400;">random (texture analysis)</span></a> <a href="https://www.imatest.com/product/imatest-spilled-coins-dead-leaves-test-chart/"><span style="font-weight: 400;">chart</span></a><span style="font-weight: 400;"> may be more appropriate.</span></p>
<h3>Ensure a better exposure</h3>
<p><span style="font-weight: 400;">Lower light environments often necessitate higher ISO speeds in order to get a good exposure, which leads to increased sensor noise and variation. Ensuring a good photographic exposure can reduce both photon shot noise and the relative effect of sensor noise in an image. The two primary ways of increasing exposure values (though be careful to keep the light areas below the saturation level of your sensor, as mentioned above!) are:</span></p>
<ol>
<li style="font-weight: 400;"><span style="font-weight: 400;">Increase the amount of light reflected by the chart by increasing the brightness of your light source</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Increasing the exposure time to gather more light, as long as the camera and target are both stationary</span></li>
</ol>
<h3>Select a repeatable measurement</h3>
<p><span style="font-weight: 400;">The shape of an MTF curve gets perturbed in the presence of noise. It is often impractical to compare two full MTF curves or to include one in a report, so engineers often reduce the information about the curve to one or two summary metrics. These are meant to convey the most important information about the curve in a single number. Common examples are:</span></p>
<ul>
<li style="font-weight: 400;"><b>MTF10</b><span style="font-weight: 400;">, </span><b>MTF30</b><span style="font-weight: 400;">, and </span><b>MTF50</b><span style="font-weight: 400;">: the frequency values at which the MTF curve reaches 10%, 30%, and 50% of its normalized (DC) value respectively</span></li>
<li style="font-weight: 400;"><b>MTF50P</b><span style="font-weight: 400;">: the frequency value at which the MTF curve reaches 50 of its maximum value (which can be greater than the value of 1 found in DC if sharpening is present)</span></li>
<li style="font-weight: 400;"><b>MTF at ¼ and ½ Nyquist</b><span style="font-weight: 400;">: The MTF value at one half and one quarter the Nyquist sampling rate (0.125 and 0.25 cycles/pixel, respectively).</span></li>
<li style="font-weight: 400;"><b>MTF Area</b><span style="font-weight: 400;">: The area under the MTF curve from DC to 0.5 cycles/pixel, usually with the curve normalized to peak at a value of 1. (Less common.)</span></li>
</ul>
<p><span style="font-weight: 400;">These are illustrated below on a synthetic, noise-free MTF curve example. The MTF Area value is the integral of the light red region under the curve.</span></p>
<p><img fetchpriority="high" decoding="async" class="aligncenter" src="https://www.imatest.com/wp-content/uploads/2016/08/mtf-curve-colored-1-1.png" alt="MTF Curve" width="512" height="384" /></p>
<p><span style="font-weight: 400;">The value of each of these metrics will change slightly for each different realization of noise (i.e., each photograph you take of the slanted edge), but </span><b>some metric values tend to be less stable (have more variance) in the presence of noise.</b><span style="font-weight: 400;"> It is important to make sure you are using a metric that embodies the MTF characteristic you care about but is also repeatable considering the amount of noise you might expect to encounter.</span></p>
<p><span style="font-weight: 400;">Shown below is a set of 10 different MTF curves calculated (using Imatest’s SFR module) from a set of simulated slanted-edge images. Our simulation process involved generating a slanted edge at 5 degrees (bilinear interpolation), applying a Gaussian blur kernel, adding white gaussian pixel-wise noise (a different instance per curve below), and applying sharpening using an unsharp masking technique. Overlaid on the family of MTF curves are boxplots (handy plots that succinctly represent the important statistics of an entire population, in this case, 100 simulations using the above process) corresponding to the different summary metrics.</span></p>
<p><a href="https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1.png"><img decoding="async" class="size-large wp-image-16360 aligncenter" src="https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1-1024x508.png" alt="repeatability" width="640" height="318" srcset="https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1-1024x508.png 1024w, https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1-300x149.png 300w, https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1-600x298.png 600w, https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1-768x381.png 768w, https://www.imatest.com/wp-content/uploads/2016/08/repeatability-1.png 1333w" sizes="(max-width: 640px) 100vw, 640px" /></a></p>
<p><span style="font-weight: 400;">The most important aspect of these boxes for this discussion is the length of each of them, which represents how much variance each metric shows over the population of noisy edge images. (Lengths of vertically oriented metrics have been compensated for different axis scales in this image to allow visual comparison with horizontally plotted ones.) Note that MTF50 and MTF50P have smaller amounts of variance than the similarly common MTF30, MTF10. MTF at ½ and ¼ Nyquist vary in a different scale since they have different units than the previously mentioned metrics, with the latter being significantly more affected by noise. MTF Area has the least variance, though this is also on a different scale and has a different relationship to sharpness. (We will study the suitability of MTF Area, which is a very promising though not commonly used metric, in the future post.)</span></p>
<p><span style="font-weight: 400;">The plots below further show how the different MTF metrics vary at different levels of sharpening and noise. The standard deviation of each, σ</span><sub><span style="font-weight: 400;">metric</span></sub><span style="font-weight: 400;">, is calculated for each metric at each noise level over 100 random instances. The original simulated slanted edge test image was valued between [0, 255] and with 4:1 contrast.</span></p>
<p><a href="https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph.png"><img decoding="async" class="wp-image-16357 aligncenter" src="https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph-1024x503.png" alt="no sharpening line graph" width="600" height="295" srcset="https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph-1024x503.png 1024w, https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph-300x147.png 300w, https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph-600x295.png 600w, https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph-768x378.png 768w, https://www.imatest.com/wp-content/uploads/2016/08/no-sharpening-line-graph.png 1257w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
<p><a href="https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph.png"><img loading="lazy" decoding="async" class="wp-image-16356 aligncenter" src="https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph-1024x503.png" alt="moderate sharpening line graph" width="600" height="295" srcset="https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph-1024x503.png 1024w, https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph-300x147.png 300w, https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph-600x295.png 600w, https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph-768x378.png 768w, https://www.imatest.com/wp-content/uploads/2016/08/moderate-sharpening-line-graph.png 1257w" sizes="(max-width: 600px) 100vw, 600px" /></a><a href="https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph.png"><img loading="lazy" decoding="async" class="wp-image-16358 aligncenter" src="https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph-1024x503.png" alt="Strong sharpening line graph" width="600" height="295" srcset="https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph-1024x503.png 1024w, https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph-300x147.png 300w, https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph-600x295.png 600w, https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph-768x378.png 768w, https://www.imatest.com/wp-content/uploads/2016/08/Strong-sharpening-line-graph.png 1257w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;">The above figures display the expected general trends of increasing variability for all metrics, both with increasing noise and increasing levels of sharpening. Interestingly, the ordering of the metrics by variability is essentially constant across all levels of noise and sharpening. Another interesting note is that MTF10 and MTF at ½ Nyquist are especially sensitive to sharpening- their variability jumps the most when sharpening is applied. These two metrics are also generally the most variable overall, while MTF Area is the most consistent.</span></p>
<p>
<span style="font-weight: 400;">When choosing a metric to use to report the sharpness of an imaging system, it is important to keep in mind how susceptible reported values are to variation due to random noise. By using a more stable summary metric value, you can ensure repeatability of your results in future tests.</span></p>
<p>&nbsp;</p>
<h3> </h3>
<p>The post <a rel="nofollow" href="https://www.imatest.com/2018/09/increasing-repeatability-of-sharpness-tests/">Increasing the Repeatability of Your Sharpness Tests</a> appeared first on <a rel="nofollow" href="https://www.imatest.com">Imatest</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.imatest.com/2018/09/increasing-repeatability-of-sharpness-tests/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
