{"id":11,"date":"2024-04-03T23:31:27","date_gmt":"2024-04-03T20:31:27","guid":{"rendered":"https:\/\/sisu.ut.ee\/imageprocessing\/7-2\/"},"modified":"2024-04-03T23:31:31","modified_gmt":"2024-04-03T20:31:31","slug":"7-2","status":"publish","type":"page","link":"https:\/\/sisu.ut.ee\/imageprocessing\/7-2\/","title":{"rendered":"7. Arithmetic and logic operations"},"content":{"rendered":"<p style=\"text-align: justify\"><span style=\"color: #000000\">Image arithmetic applies one of the standard arithmetic operations or a logical operator to two or more images. The operators are applied in a pixel-by-pixel way, i.e. the value of a pixel in the output image depends only on the values of the corresponding pixels in the input images. Hence, the images must be of the same size. Although image arithmetic is the most simple form of image processing, there is a wide range of applications. A main advantage of arithmetic operators is that the process is very simple and therefore fast.\u00a0<\/span><\/p><p style=\"text-align: justify\"><span style=\"color: #000000\">Logical operators are often used to combine two (mostly binary) images. In the case of integer images, the logical operator is normally applied in a bitwise way.<\/span><\/p><p style=\"text-align: justify\"><span style=\"color: #000000\">In this lecture we will talk about arithmetic operations such as subtraction and averaging as well as logic operations such as Not, And, and OR. In this lecture we will see how we can remove noise from an image by using image averaging.<\/span><\/p><p style=\"text-align: center\"><span><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><\/span><\/p><p style=\"text-align: center\"><\/p><p style=\"text-align: center\"><a href=\"http:\/\/www.uttv.ee\/naita?id=20142\" target=\"_blank\" rel=\"noopener\">http:\/\/www.uttv.ee\/naita?id=20142<\/a>\u00a0<\/p><p style=\"text-align: center\"><a href=\"http:\/\/youtu.be\/ivyflyboKGc?list=UU-ETlxdihAaw8Pn6_Zz10lg\" target=\"_blank\" rel=\"noopener\">http:\/\/youtu.be\/ivyflyboKGc?list=UU-ETlxdihAaw8Pn6_Zz10lg<\/a><\/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\/vid_lecture07fin.ppt\" target=\"_blank\" rel=\"noreferrer noopener\">Lecture_07.ppt<\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Image arithmetic applies one of the standard arithmetic operations or a logical operator to two or more images. The operators are applied in a pixel-by-pixel way, i.e. the value of a pixel in the output image depends only on the &#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-11","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/11","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=11"}],"version-history":[{"count":2,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/pages\/11\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/sisu.ut.ee\/imageprocessing\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}