{"id":6,"date":"2024-04-03T23:31:26","date_gmt":"2024-04-03T20:31:26","guid":{"rendered":"https:\/\/sisu.ut.ee\/imageprocessing\/2-2\/"},"modified":"2024-04-03T23:31:31","modified_gmt":"2024-04-03T20:31:31","slug":"2-2","status":"publish","type":"page","link":"https:\/\/sisu.ut.ee\/imageprocessing\/2-2\/","title":{"rendered":"2. Sampling and quantization"},"content":{"rendered":"<p><span style=\"color: #000000\">In order to become suitable for digital processing, an image function f(x,y) must be digitized both spatially and in amplitude. Typically, a frame grabber or digitizer is used to sample and quantize the analogue video signal. Hence in order to create an image which is digital, we need to covert continuous data into digital form. There are two steps in which it is done:<\/span><\/p><ul><li><span style=\"font-size: 14px;color: #000000\">Sampling<\/span><\/li><li><span style=\"font-size: 14px;color: #000000\">Quantization<\/span><\/li><\/ul><p><span style=\"color: #000000\">The sampling rate determines the spatial resolution of the digitized image, while the quantization level determines the number of grey levels in the digitized image. A magnitude of the sampled image is expressed as a digital value in image processing. The transition between continuous values of the image function and its digital equivalent is called quantization.<\/span><\/p><p><span style=\"color: #000000\">The number of quantization levels should be high enough for human perception of fine shading details in the image. The occurrence of false contours is the main problem in image which has been quantized with insufficient brightness levels.\u00a0<\/span><\/p><p><span style=\"color: #000000\">In this lecture we will talk about two key stages in digital image processing. Sampling and quantization will be defined properly. Spatial and grey-level resolutions will be introduced and examples will be provided. An introduction on implementing the shown examples in MATLAB will be also given in this lecture. <\/span><\/p><p><\/p><div class=\"ratio ratio-16x9 mb-3\"><div class=\"video-placeholder-wrapper video-placeholder-wrapper--16x9\">\n\t\t\t    <div class=\"video-placeholder d-flex justify-content-center align-items-center\">\n\t\t\t        <div class=\"overlay text-white p-2 w-100 text-center d-block justify-content-center align-items-center\">\n\t\t\t            <div>To view third-party content, please accept cookies.<\/div>\n\t\t\t            <button class=\"btn btn-secondary btn-sm mt-1 consent-change\">Change consent<\/button>\n\t\t\t        <\/div>\n\t\t\t    <\/div>\n\t\t\t<\/div>\n<\/div><p style=\"text-align: center\"><a href=\"http:\/\/www.uttv.ee\/naita?id=20082\" target=\"_blank\" rel=\"noopener\">http:\/\/www.uttv.ee\/naita?id=20082<\/a>\u00a0<\/p><p style=\"text-align: center\"><a href=\"http:\/\/youtu.be\/KL6-GJH5ou4?list=UU-ETlxdihAaw8Pn6_Zz10lg\" target=\"_blank\" rel=\"noopener\">http:\/\/youtu.be\/KL6-GJH5ou4?list=UU-ETlxdihAaw8Pn6_Zz10lg<\/a><\/p><p style=\"text-align: justify\"><span style=\"color: #000000\">Extra materials on sampling and quantization \u00a0is available as the attachment (Prof. Paul Cuff, Princeton University).<\/span><\/p><br><div class=\"wp-block-group attached-files-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-file\"><a href=\"https:\/\/sisu.ut.ee\/wp-content\/uploads\/sites\/105\/digitizn.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">digitizn.pdf<\/a><\/div><div class=\"wp-block-file\"><a href=\"https:\/\/sisu.ut.ee\/wp-content\/uploads\/sites\/105\/vid_lecture02fin.ppt\" target=\"_blank\" rel=\"noreferrer noopener\">Lecture_02.ppt<\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>In order to become suitable for digital processing, an image function f(x,y) must be digitized both spatially and in amplitude. Typically, a frame grabber or digitizer is used to sample and quantize the analogue video signal. Hence in order to &#8230;<\/p>\n","protected":false},"author":40,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-6","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":2,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":75,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/6\/revisions\/75"}],"wp:attachment":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}