{"id":846,"date":"2013-06-05T11:47:27","date_gmt":"2013-06-05T15:47:27","guid":{"rendered":"https:\/\/blogs.mathworks.com\/steve\/?p=846"},"modified":"2019-11-01T09:18:38","modified_gmt":"2019-11-01T13:18:38","slug":"r2013a-image-processing-and-computer-vision","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/steve\/2013\/06\/05\/r2013a-image-processing-and-computer-vision\/","title":{"rendered":"R2013a &#8211; image processing and computer vision"},"content":{"rendered":"\r\n<div class=\"content\"><p>I've mentioned the R2013a release in two previous posts (<a href=\"https:\/\/blogs.mathworks.com\/steve\/2013\/05\/15\/r2013a-looking-around-in-matlab\/\">15-May-2013<\/a> and <a href=\"https:\/\/blogs.mathworks.com\/steve\/2013\/03\/12\/matlab-software-testing-tools-old-and-new-r2013a\/\">12-Mar-2013<\/a>). Today I want to point out that R2013a is a pretty significant release in terms of new features related to image processing and computer vision.<\/p><p>Here's the quick summary of what's new in Image Processing Toolbox, Computer Vision System Toolbox, and Image Acquisition Toolbox.<\/p><p><b>Image Processing Toolbox version 8.2<\/b><\/p><div><ul><li>Image segmentation using active contours<\/li><li>Classes and functions for representing and applying 2-D and 3-D geometric transformations<\/li><li>Classes for defining the world coordinate system of an image<\/li><li>Code generation for <tt>conndef<\/tt>, <tt>imcomplement<\/tt>, <tt>imfill<\/tt>, <tt>imhmax<\/tt>, <tt>imhmin<\/tt>, <tt>imreconstruct<\/tt>, <tt>imregionalmax<\/tt>, <tt>imregionalmin<\/tt>, <tt>iptcheckconn<\/tt>, and <tt>padarray<\/tt> functions (using MATLAB Coder)<\/li><li>GPU acceleration for <tt>imrotate<\/tt>, <tt>imfilter<\/tt>, <tt>imdilate<\/tt>, <tt>imerode<\/tt>, <tt>imopen<\/tt>, <tt>imclose<\/tt>, <tt>imtophat<\/tt>, <tt>imbothat<\/tt>, <tt>imshow<\/tt>, <tt>padarray<\/tt>, and <tt>bwlookup<\/tt> functions (using Parallel Computing Toolbox)<\/li><li>Unsharp mask filtering<\/li><\/ul><\/div><p><b>Computer Vision System Toolbox version 5.2<\/b><\/p><div><ul><li>Cascade object detector training using Haar, Histogram of Oriented Gradients (HOG), and Local Binary Patterns (LBP) features<\/li><li>Fast Retina Keypoint (FREAK) algorithm for feature extraction<\/li><li>Hamming distance method for matching features<\/li><li>Multicore support in <tt>matchFeatures<\/tt> function and Foreground Detector System object<\/li><li>Functions for corner detection, geometric transformation estimation, and text and graphics overlay, augmenting similar System objects<\/li><\/ul><\/div><p><b>Image Acquisition Toolbox version 4.5<\/b><\/p><div><ul><li>Kinect for Windows sensor support for acquiring images, depth maps, skeleton data, and related metadata<\/li><\/ul><\/div><p>I've written extensively here in the past about geometric transformations (the <a href=\"https:\/\/blogs.mathworks.com\/steve\/category\/spatial-transforms\/\">spatial transformations category<\/a> includes 21 different posts over a three-year period). Now there is much more to say. The new geometric transformation functionality represents a ground-up redesign, based partially on customer response and feedback to the functionality (such as <tt>imtransform<\/tt>) added way back in 2001. I hope to recruit a developer on the Image Processing Toolbox team to post here soon about the changes.<\/p><p>In the meantime, here's an example from the <a href=\"https:\/\/www.mathworks.com\/help\/images\/ref\/imsharpen.html\">documentation for the new function <tt>imsharpen<\/tt><\/a>.<\/p><pre class=\"codeinput\">a = imread(<span class=\"string\">'hestain.png'<\/span>);\r\nimshow(a)\r\ntitle(<span class=\"string\">'Original Image'<\/span>);\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/steve\/2013\/r2013a_ipcv_01.jpg\" alt=\"\"> <pre class=\"codeinput\">b = imsharpen(a);\r\nimshow(b)\r\ntitle(<span class=\"string\">'Sharpened Image'<\/span>);\r\n<\/pre><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/steve\/2013\/r2013a_ipcv_02.jpg\" alt=\"\"> <script language=\"JavaScript\"> <!-- \r\n    function grabCode_4cb4eb61cc5c435a9a22c8a94c9da3c2() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='4cb4eb61cc5c435a9a22c8a94c9da3c2 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 4cb4eb61cc5c435a9a22c8a94c9da3c2';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2013 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_4cb4eb61cc5c435a9a22c8a94c9da3c2()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2013a<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2013a<br><\/p><\/div><!--\r\n4cb4eb61cc5c435a9a22c8a94c9da3c2 ##### SOURCE BEGIN #####\r\n%%\r\n% I've mentioned the R2013a release in two previous posts\r\n% (<https:\/\/blogs.mathworks.com\/steve\/2013\/05\/15\/r2013a-looking-around-in-matlab\/\r\n% 15-May-2013> and\r\n% <https:\/\/blogs.mathworks.com\/steve\/2013\/03\/12\/matlab-software-testing-tools-old-and-new-r2013a\/\r\n% 12-Mar-2013>). Today I want to point out that R2013a is a pretty\r\n% significant release in terms of new features related to image processing\r\n% and computer vision.\r\n%\r\n% Here's the quick summary of what's new in Image Processing Toolbox,\r\n% Computer Vision System Toolbox, and Image Acquisition Toolbox.\r\n%\r\n% *Image Processing Toolbox version 8.2*\r\n% \r\n% * Image segmentation using active contours\r\n% * Classes and functions for representing and applying 2-D and 3-D\r\n% geometric transformations\r\n% * Classes for defining the world coordinate system of an image\r\n% * Code generation for |conndef|, |imcomplement|, |imfill|, |imhmax|, |imhmin|,\r\n% |imreconstruct|, |imregionalmax|, |imregionalmin|, |iptcheckconn|, and\r\n% |padarray|\r\n% functions (using MATLAB Coder)\r\n% * GPU acceleration for |imrotate|, |imfilter|, |imdilate|, |imerode|, |imopen|,\r\n% |imclose|, |imtophat|, |imbothat|, |imshow|, |padarray|, and |bwlookup| functions\r\n% (using Parallel Computing Toolbox)\r\n% * Unsharp mask filtering\r\n%\r\n% *Computer Vision System Toolbox version 5.2*\r\n% \r\n% * Cascade object detector training using Haar, Histogram of Oriented\r\n% Gradients (HOG), and Local Binary Patterns (LBP) features\r\n% * Fast Retina Keypoint (FREAK) algorithm for feature extraction\r\n% * Hamming distance method for matching features\r\n% * Multicore support in |matchFeatures| function and Foreground Detector\r\n% System object\r\n% * Functions for corner detection, geometric transformation estimation,\r\n% and text and graphics overlay, augmenting similar System objects\r\n%\r\n% *Image Acquisition Toolbox version 4.5*\r\n% \r\n% * Kinect for Windows sensor support for acquiring images, depth maps,\r\n% skeleton data, and related metadata\r\n%\r\n% I've written extensively here in the past about geometric transformations\r\n% (the <https:\/\/blogs.mathworks.com\/steve\/category\/spatial-transforms\/\r\n% spatial transformations category> includes 21 different posts over a\r\n% three-year period). Now there is much more to say. The new geometric\r\n% transformation functionality represents a ground-up redesign, based\r\n% partially on customer response and feedback to the functionality (such as\r\n% |imtransform|) added way back in 2001. I hope to recruit a developer on\r\n% the Image Processing Toolbox team to post here soon about the changes.\r\n%\r\n% In the meantime, here's an example from the\r\n% <https:\/\/www.mathworks.com\/help\/images\/ref\/imsharpen.html documentation\r\n% for the new function |imsharpen|>.\r\n\r\na = imread('hestain.png');\r\nimshow(a)\r\ntitle('Original Image');\r\n\r\n%%\r\n\r\nb = imsharpen(a);\r\nimshow(b)\r\ntitle('Sharpened Image');\r\n\r\n##### SOURCE END ##### 4cb4eb61cc5c435a9a22c8a94c9da3c2\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/steve\/2013\/r2013a_ipcv_02.jpg\" onError=\"this.style.display ='none';\" \/><\/div><p>\r\nI've mentioned the R2013a release in two previous posts (15-May-2013 and 12-Mar-2013). Today I want to point out that R2013a is a pretty significant release in terms of new features related to... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/steve\/2013\/06\/05\/r2013a-image-processing-and-computer-vision\/\">read more >><\/a><\/p>","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[941,1011,955,144,146,124,136,370,448,450,108,76,438,364,366,945,1015,36,514,1013,777,344,52],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/846"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/comments?post=846"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/846\/revisions"}],"predecessor-version":[{"id":849,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/posts\/846\/revisions\/849"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/media?parent=846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/categories?post=846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/steve\/wp-json\/wp\/v2\/tags?post=846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}