<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5378278564737450642</id><updated>2024-09-10T08:38:27.637-07:00</updated><category term="matlab"/><category term="MSER"/><category term="MexOpenCV"/><category term="Robust Least Square Regression"/><category term="SRGB to LAB"/><category term="color"/><category term="color appearance"/><category term="color space conversion"/><category term="sRGB"/><category term="sRGB2LAB"/><category term="segmentation"/><category term="3D RGB color space"/><category term="Affine covariant descriptors for windows"/><category term="Affine transformation"/><category term="Apple"/><category term="Binary operation on Array"/><category term="CIE LAB"/><category term="Circles"/><category term="Data Normalize in Matlab"/><category term="EXR"/><category term="Ellipse"/><category term="Gaussian"/><category term="Greece"/><category term="Grexit"/><category term="HDR"/><category term="Intrinsic image"/><category term="Linux Binary"/><category term="Mean Shift Clustering"/><category term="Noise"/><category term="Normalization"/><category term="OPENEXR"/><category term="Outlier tolerant regression"/><category term="Patent"/><category term="Pearson Correlation Coefficient"/><category term="RANSAC"/><category term="Robust Nonlinear regression."/><category term="Robust linear regression"/><category term="SSH"/><category term="White Noise"/><category term="Windows"/><category term="Without Statistics Toolbox"/><category term="Zero-mean"/><category term="benefit"/><category term="blackbody"/><category term="brightens vs. lightness"/><category term="brightness"/><category term="chroma"/><category term="color constancy"/><category term="color in computer vision"/><category term="colorfulness"/><category term="colorspace"/><category term="data smooth"/><category term="directory in matlab"/><category term="eps"/><category term="function within function"/><category term="illuminant"/><category term="invention disclosure"/><category term="kernel"/><category term="latex"/><category term="least square matlab"/><category term="lightness"/><category term="mean"/><category term="nonlinear regression with outliers"/><category term="normal equation matlab"/><category term="openCV video"/><category term="pdf"/><category term="percentile in matlab"/><category term="picasa"/><category term="rearrange matrix by sorted vector"/><category term="remove zero vector from matrix"/><category term="remove zeros of vector"/><category term="robust nonlinear regression"/><category term="searching vector in matrix"/><category term="shape from shading"/><category term="side by side boxplot"/><category term="trimean"/><category term="vector frequency in matrix"/><category term="vector histogram"/><category term="word2007"/><title type='text'>Color, Vision, Image Processing Notes</title><subtitle type='html'>Some notes for Myself!  :-)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14934925465206481358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-616077487454259126</id><published>2015-07-26T09:23:00.000-07:00</published><updated>2015-07-26T09:23:11.922-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chroma"/><category scheme="http://www.blogger.com/atom/ns#" term="color"/><category scheme="http://www.blogger.com/atom/ns#" term="color appearance"/><category scheme="http://www.blogger.com/atom/ns#" term="colorfulness"/><title type='text'>Color Appearance Term : Colorfulness vs. Chroma</title><content type='html'>With intuitive example, in this video I have explained the what is colorfulness, what is chroma, and what are the differences between colorfulness and chroma.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/FXytqM6kvDs/0.jpg&quot; src=&quot;https://www.youtube.com/embed/FXytqM6kvDs?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/616077487454259126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/color-appearance-term-colorfulness-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/616077487454259126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/616077487454259126'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/color-appearance-term-colorfulness-vs.html' title='Color Appearance Term : Colorfulness vs. Chroma'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14934925465206481358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/FXytqM6kvDs/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-7611847401130512248</id><published>2015-07-21T12:38:00.001-07:00</published><updated>2015-07-21T12:38:36.343-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Greece"/><category scheme="http://www.blogger.com/atom/ns#" term="Grexit"/><title type='text'>Can Apple buy Greece?</title><content type='html'>&lt;span style=&quot;background-color: #f5f8fa; color: #292f33; font-size: 26px; letter-spacing: 0.259999990463257px; line-height: 32px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If you had enough money, would you buy Greece? Apple does, should Apple buy Greece? What do you think?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe width=&quot;320&quot; height=&quot;266&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/hYXhrzSoME8/0.jpg&quot; src=&quot;https://www.youtube.com/embed/hYXhrzSoME8?feature=player_embedded&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #f5f8fa; color: #292f33; font-size: 26px; letter-spacing: 0.259999990463257px; line-height: 32px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/7611847401130512248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/can-apple-buy-greece.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7611847401130512248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7611847401130512248'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/can-apple-buy-greece.html' title='Can Apple buy Greece?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14934925465206481358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/hYXhrzSoME8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-7594112276830623291</id><published>2015-07-20T15:30:00.002-07:00</published><updated>2015-07-20T15:31:05.927-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="brightens vs. lightness"/><category scheme="http://www.blogger.com/atom/ns#" term="brightness"/><category scheme="http://www.blogger.com/atom/ns#" term="color appearance"/><category scheme="http://www.blogger.com/atom/ns#" term="lightness"/><title type='text'>From Color Appearance point of view, what is the difference between &quot;Brightness&quot; and &quot;Lightness&quot;</title><content type='html'>In color science, brightness and lightness are related, but two different things. Let us discuss that in the following video!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/tq2y2BseUaE/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;266&quot; src=&quot;https://www.youtube.com/embed/tq2y2BseUaE?feature=player_embedded&quot; width=&quot;320&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/7594112276830623291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/from-color-appearance-point-of-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7594112276830623291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7594112276830623291'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2015/07/from-color-appearance-point-of-view.html' title='From Color Appearance point of view, what is the difference between &quot;Brightness&quot; and &quot;Lightness&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/14934925465206481358</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/tq2y2BseUaE/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-4413561219876566946</id><published>2014-08-27T06:25:00.002-07:00</published><updated>2015-07-21T16:41:26.378-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="color constancy"/><category scheme="http://www.blogger.com/atom/ns#" term="color in computer vision"/><title type='text'>Color Constancy Intuitively Explained !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 class=&quot;creator-editor-title&quot; style=&quot;background: rgb(255, 255, 255); border: 0px; font-family: arial, sans-serif; font-size: 18px; line-height: 1em; margin: 8px 0px; padding: 0px;&quot;&gt;
&lt;a dir=&quot;ltr&quot; href=&quot;https://www.youtube.com/watch?v=8I6Wt4gxWGw&quot; id=&quot;creator-editor-title-link&quot; style=&quot;background: transparent; border: 0px; color: #333333; cursor: pointer; display: inline-block; height: 1.1em; margin: 0px; max-width: 700px; overflow: hidden; padding: 0px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal;&quot; title=&quot;Color Constancy Intuitively Explained !&quot;&gt;Color Constancy Intuitively Explained !&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/8I6Wt4gxWGw?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/4413561219876566946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/08/color-constancy-intuitively-explained.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4413561219876566946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4413561219876566946'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/08/color-constancy-intuitively-explained.html' title='Color Constancy Intuitively Explained !'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-6666724325781416554</id><published>2014-08-07T02:47:00.000-07:00</published><updated>2014-08-07T02:47:49.601-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="benefit"/><category scheme="http://www.blogger.com/atom/ns#" term="Intrinsic image"/><category scheme="http://www.blogger.com/atom/ns#" term="segmentation"/><category scheme="http://www.blogger.com/atom/ns#" term="shape from shading"/><title type='text'>Benefit of Intrinsic Images</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Intrinsic images refers to decomposition of an image into illumination S(x), reflectance (or albedo) R(x) and specular components C(x) [1].&lt;br /&gt;
&lt;br /&gt;
I (x) = S(x) R(x) + C(x)&lt;br /&gt;
&lt;br /&gt;
But, what are benefits of such decomposition?&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
1. Shape from Shading -- Just focus on the shading effect,that is, illumination component&lt;br /&gt;
2. Segmentation -- separating cast shadows from image&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
----------&lt;br /&gt;
1. Estimating the decomposition is a ill-posed problem since for every observed pixel, we have multiple unknowns.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Reference :&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
[1] Grosse, Roger, et al. &quot;Ground truth dataset and baseline evaluations for intrinsic image algorithms.&quot; ICCV 2009.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/6666724325781416554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/08/benefit-of-intrinsic-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6666724325781416554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6666724325781416554'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/08/benefit-of-intrinsic-images.html' title='Benefit of Intrinsic Images'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-202244992986224500</id><published>2014-07-29T13:04:00.000-07:00</published><updated>2014-07-29T13:04:42.331-07:00</updated><title type='text'>Simple Boxplot where each five boxplots are clustered together</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
a=rand([20 25]);&lt;br /&gt;
positions = [1:0.5:3 4:0.5:6 7:0.5:9 10:0.5:12 13:0.5:15]; &lt;br /&gt;
boxplot(a,&#39;positions&#39;, positions)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1sKx5EzZextk8zqIui2MLTfUi6ezpgSBKjQhrvAQlSxUl_vLps33qiWYDXQoQ-gciYI9JK4ruOGMJ1Md1mOujLXXXgIJA9ht7u1156ccZHE6sTm0AQIinwCutGsYo-p6l_OuFw1ENss/s1600/a.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1sKx5EzZextk8zqIui2MLTfUi6ezpgSBKjQhrvAQlSxUl_vLps33qiWYDXQoQ-gciYI9JK4ruOGMJ1Md1mOujLXXXgIJA9ht7u1156ccZHE6sTm0AQIinwCutGsYo-p6l_OuFw1ENss/s1600/a.png&quot; height=&quot;302&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/202244992986224500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/simple-boxplot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/202244992986224500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/202244992986224500'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/simple-boxplot.html' title='Simple Boxplot where each five boxplots are clustered together'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1sKx5EzZextk8zqIui2MLTfUi6ezpgSBKjQhrvAQlSxUl_vLps33qiWYDXQoQ-gciYI9JK4ruOGMJ1Md1mOujLXXXgIJA9ht7u1156ccZHE6sTm0AQIinwCutGsYo-p6l_OuFw1ENss/s72-c/a.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-7871623174532542061</id><published>2014-07-29T02:28:00.000-07:00</published><updated>2014-07-29T03:51:08.554-07:00</updated><title type='text'>More side by side Boxplot </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Apart from my previous &lt;a href=&quot;http://machinethatsees.blogspot.fr/2014/07/side-by-side-boxplot-in-matlab.html&quot; target=&quot;_blank&quot;&gt;post &lt;/a&gt;, another approach for side by side Boxplot is the following!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikkkxc-CR6UalaonArEpljQMhQ8CxiepxEzwEOoJj5D8DtCtUFRLgKl3liN1V2j-99_RhNsOuxQYUuFyXFCXtOBlmd6kCeTwMIHmqmg_3oE4WXkzIOV-cIr6EMbxO689qdh4OPMpYmrcs/s1600/b.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikkkxc-CR6UalaonArEpljQMhQ8CxiepxEzwEOoJj5D8DtCtUFRLgKl3liN1V2j-99_RhNsOuxQYUuFyXFCXtOBlmd6kCeTwMIHmqmg_3oE4WXkzIOV-cIr6EMbxO689qdh4OPMpYmrcs/s1600/b.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/f710475a9736701caccf.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/7871623174532542061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7871623174532542061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7871623174532542061'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/blog-post.html' title='More side by side Boxplot '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikkkxc-CR6UalaonArEpljQMhQ8CxiepxEzwEOoJj5D8DtCtUFRLgKl3liN1V2j-99_RhNsOuxQYUuFyXFCXtOBlmd6kCeTwMIHmqmg_3oE4WXkzIOV-cIr6EMbxO689qdh4OPMpYmrcs/s72-c/b.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-5124941119213139025</id><published>2014-07-29T01:35:00.001-07:00</published><updated>2014-07-29T02:27:10.572-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="side by side boxplot"/><title type='text'>Side by Side boxplot in MATLAB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have found the following code somewhere in the internet but forgot to keep track of the link. Anyway, its for you!&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh6Je3oqVCTKrjZ-1WsXoBxY0v7f5s3ZPCLLUtgFaU47IYk3wwiJs9yuuCdEhX-8hr_Jqa7L90iWb5USn8oWru44PXs3FomazMwNCx1iUaFN6DYppf9Wo0bKNBtCggCGG9BHTkRNp9Dpk/s1600/sidebysideboxplot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh6Je3oqVCTKrjZ-1WsXoBxY0v7f5s3ZPCLLUtgFaU47IYk3wwiJs9yuuCdEhX-8hr_Jqa7L90iWb5USn8oWru44PXs3FomazMwNCx1iUaFN6DYppf9Wo0bKNBtCggCGG9BHTkRNp9Dpk/s1600/sidebysideboxplot.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;See below the MATLAB code that generates this figure!&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/anonymous/3b010dce63bb1e2c914d.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/5124941119213139025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/side-by-side-boxplot-in-matlab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5124941119213139025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5124941119213139025'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/side-by-side-boxplot-in-matlab.html' title='Side by Side boxplot in MATLAB'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh6Je3oqVCTKrjZ-1WsXoBxY0v7f5s3ZPCLLUtgFaU47IYk3wwiJs9yuuCdEhX-8hr_Jqa7L90iWb5USn8oWru44PXs3FomazMwNCx1iUaFN6DYppf9Wo0bKNBtCggCGG9BHTkRNp9Dpk/s72-c/sidebysideboxplot.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-8295507741778438504</id><published>2014-07-26T04:50:00.000-07:00</published><updated>2014-07-26T04:50:09.957-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CIE LAB"/><category scheme="http://www.blogger.com/atom/ns#" term="colorspace"/><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="sRGB"/><category scheme="http://www.blogger.com/atom/ns#" term="sRGB2LAB"/><title type='text'>Convert RGB to CIE LAB with explanation, MATLAB example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
In this tutorial. I have explained what is RGB and CIE LAB color space. Then, I have shown an example in MATLAB where I converted an image from sRGB to LAB&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://youtu.be/kB2q0thrCTw&quot;&gt;http://youtu.be/kB2q0thrCTw&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/kB2q0thrCTw?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/8295507741778438504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/convert-rgb-to-cie-lab-with-explanation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/8295507741778438504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/8295507741778438504'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/convert-rgb-to-cie-lab-with-explanation.html' title='Convert RGB to CIE LAB with explanation, MATLAB example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-2517448266406434575</id><published>2014-07-22T16:25:00.000-07:00</published><updated>2014-07-26T04:48:09.731-07:00</updated><title type='text'>Excel/Powerpoint Figure to EPS(ultimately Figure in PDF) for LATEX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;This video shows how to convert a figure in Excel/OpenOffice into a eps format (vector graphics) so that you may use it in latex&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/I4ZXTieTiAc?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-1d5bd6c4-6063-4976-42d1-2417b220589d&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/2517448266406434575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/excelpowerpoint-figure-to-epsultimately.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/2517448266406434575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/2517448266406434575'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/excelpowerpoint-figure-to-epsultimately.html' title='Excel/Powerpoint Figure to EPS(ultimately Figure in PDF) for LATEX'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-3183828513008265562</id><published>2014-07-18T06:27:00.002-07:00</published><updated>2014-07-18T06:27:45.509-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Pearson Correlation Coefficient"/><category scheme="http://www.blogger.com/atom/ns#" term="Without Statistics Toolbox"/><title type='text'>Calculating : Pearson Correlation Coefficient (without Statistics toolbox)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.socscistatistics.com/images/pearson.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.socscistatistics.com/images/pearson.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
This is the equation to compute&amp;nbsp;&amp;nbsp;Pearson Correlation Coefficient between x and y variable. In other words, if x and y are column vector and we want to know how much they are correlated, we can use the above formula find our r. If r is close to 1, its positively correlated if negative 1 its negatively correlated so on and so forth. See the MATLAB code snippet below. You can compare the result with matlabs implementation if you have&amp;nbsp;Statistics Toolbox&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/anonymous/4e64c2a4542ef5caf09d.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/3183828513008265562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/calculating-pearson-correlation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/3183828513008265562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/3183828513008265562'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/calculating-pearson-correlation.html' title='Calculating : Pearson Correlation Coefficient (without Statistics toolbox)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-6358256435796859525</id><published>2014-07-15T02:35:00.001-07:00</published><updated>2014-07-15T02:35:16.193-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gaussian"/><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="Noise"/><category scheme="http://www.blogger.com/atom/ns#" term="White Noise"/><category scheme="http://www.blogger.com/atom/ns#" term="Zero-mean"/><title type='text'>How to Create Zero Mean white Gaussian Noise in MATLAB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can create zero mean Gaussian Noise using the randn function. It is also known as white noise.&lt;br /&gt;
See the following script.&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/anonymous/d42eafc07a6156bd3a79.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/6358256435796859525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/how-to-create-zero-mean-white-gaussian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6358256435796859525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6358256435796859525'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2014/07/how-to-create-zero-mean-white-gaussian.html' title='How to Create Zero Mean white Gaussian Noise in MATLAB'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-8664810556701380149</id><published>2013-07-24T02:04:00.001-07:00</published><updated>2013-07-24T02:04:14.947-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blackbody"/><category scheme="http://www.blogger.com/atom/ns#" term="illuminant"/><title type='text'>Compute Black body illuminants</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Using the black body radiation concept, we can compute XYZ of all black-body illuminant. Prediction of this illuminants seems to be very close to CIE recommended illuminants such as CIE illuminant A&lt;br /&gt;
&lt;br /&gt;
Let&#39;s show a quick example. We know illuminant A 2856K has 10 degree observer based X =111.144, Y=100, &amp;nbsp;Z=35.200&lt;br /&gt;
&lt;br /&gt;
Now, lets compute using our black body illuminant formula&lt;br /&gt;
&lt;br /&gt;
get_XYZ_of_blackbody(2856).*100&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; 111.1385 &amp;nbsp;100.0000 &amp;nbsp; 35.2127&lt;br /&gt;
&lt;br /&gt;
Pretty close! :)&lt;br /&gt;
&lt;br /&gt;
Have fun!&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/6069027.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/8664810556701380149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/compute-black-body-illuminants.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/8664810556701380149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/8664810556701380149'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/compute-black-body-illuminants.html' title='Compute Black body illuminants'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-6213862862975892685</id><published>2013-07-14T09:54:00.001-07:00</published><updated>2013-08-02T09:39:21.929-07:00</updated><title type='text'>How to convert RGB to XYZ or vice versa</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
How to convert RGB to XYZ or vice versa?&lt;br /&gt;
&lt;br /&gt;
Conversion matrices can be found here&lt;br /&gt;
&lt;a href=&quot;http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html&quot;&gt;http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/OmPPnGSlf2Q?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;% You need MATLAB or Octave to run this&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;% Let say you have one color and its pure red&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;red=[255;0;0]&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;% now, you can convert it to XYZ assuming rec 709 display and D65 white&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;% point using the following matrix&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;RGB2XYZ=[0.4124564 0.3575761 0.1804375 0.2126729 0.7151522 0.0721750 0.0193339 0.1191920 0.9503041]; redXYZ=RGB2XYZ*red; ﻿&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;&amp;nbsp;%now, you can normalize it further so that Y=100 r&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;edXYZ=redXYZ/redXYZ(2)*100;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;% this is the final result&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: arial, sans-serif; font-size: 13px; line-height: 17px; text-align: left;&quot;&gt;redXYZ = 193.9393 100.0000 9.0909&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/6213862862975892685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/how-to-convert-rgb-to-xyz-or-vice-versa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6213862862975892685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/6213862862975892685'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/how-to-convert-rgb-to-xyz-or-vice-versa.html' title='How to convert RGB to XYZ or vice versa'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-5131619301753399086</id><published>2013-07-11T02:30:00.001-07:00</published><updated>2013-07-11T02:30:07.732-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="mean"/><category scheme="http://www.blogger.com/atom/ns#" term="trimean"/><title type='text'>Compute Trimean from Quantile in Matlab</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Since, Trimean is robust to outliers, it is recommended as summary statistics instead of simple mean. Let us give an example.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;x = [2 5 6 10 11 13 200];&lt;br /&gt;
&lt;br /&gt;
In this example, taking a mean is heavily influenced by outlier value 200&lt;br /&gt;
&lt;br /&gt;
mean(x)&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 35.2857&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;But is there any better summary statistics than taking just direct mean?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Q = quantile(x,[0.25, 0.5, 0.75])&lt;br /&gt;
&lt;br /&gt;
Q =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 5.2500 &amp;nbsp; 10.0000 &amp;nbsp; 12.5000&lt;br /&gt;
&lt;br /&gt;
Note that here Q(2) is the median. And, Q(1) and Q(3) are first and third quantile respectively.&lt;br /&gt;
&lt;br /&gt;
Now, we can compute the trimean by the weighted sum of quantiles. Median gets the higher weight since its the most robust quantile among three.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;0.25*Q(1)+0.5*Q(2)+0.25*Q(3)&lt;br /&gt;
&lt;br /&gt;
ans =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 9.4375&lt;br /&gt;
&lt;br /&gt;
This trimean represent x which is a better summary statistics than simple mean.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/5131619301753399086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/compute-trimean-from-quantile-in-matlab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5131619301753399086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5131619301753399086'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/compute-trimean-from-quantile-in-matlab.html' title='Compute Trimean from Quantile in Matlab'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-5832166348236817773</id><published>2013-07-02T15:45:00.000-07:00</published><updated>2013-07-02T15:45:55.614-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Affine transformation"/><category scheme="http://www.blogger.com/atom/ns#" term="Circles"/><category scheme="http://www.blogger.com/atom/ns#" term="Ellipse"/><category scheme="http://www.blogger.com/atom/ns#" term="MexOpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="Normalization"/><title type='text'>Normalize Ellipse into Circles by Affine transformation </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The following code requires MexOpenCV to be installed in your system&lt;br /&gt;
&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiPnVbtyUdfw0Qaaf7ItFK2oXP2ITEqWAebW7DFRmQn435HBjKiiZNowyHq8sOESSo2ijIRxujMAWc6zCca7gh6u5wEr-b25BHusAnJIcwUpseIRZpLG5Bahb4p_Il2scidEGzyI3O9nw/s676/peppers.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiPnVbtyUdfw0Qaaf7ItFK2oXP2ITEqWAebW7DFRmQn435HBjKiiZNowyHq8sOESSo2ijIRxujMAWc6zCca7gh6u5wEr-b25BHusAnJIcwUpseIRZpLG5Bahb4p_Il2scidEGzyI3O9nw/s320/peppers.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Original Image&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZCm1R-iNPz5FaK40BgOmFqaYDH1tZgruCmNcphmWayaoIfjZ5Q9f20Zq-C409Erg6uab45gqFQqijFxiKlD31qag5WLJbd38RC3V02b9vgw5tYXO9mM0wodAJYoVGyRUED9Y-XMRh_AU/s676/rotated.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZCm1R-iNPz5FaK40BgOmFqaYDH1tZgruCmNcphmWayaoIfjZ5Q9f20Zq-C409Erg6uab45gqFQqijFxiKlD31qag5WLJbd38RC3V02b9vgw5tYXO9mM0wodAJYoVGyRUED9Y-XMRh_AU/s320/rotated.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;One example of&amp;nbsp;warpedIgray&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/5913933.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
After one pass (when i=1)&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqnoLi1kcQwdVJrkhBLWbIUDhg1sic6bkzyseuQaSbjgyv-542iJzwGqQHpvyISwB-meBafNFajCbnRSAF9lic-PgXFVBhovgfZUnZk3ImhJvXRGgG3cn7aqO8MFCggrWvmQmsdpIXq0Y/s235/ellipse.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqnoLi1kcQwdVJrkhBLWbIUDhg1sic6bkzyseuQaSbjgyv-542iJzwGqQHpvyISwB-meBafNFajCbnRSAF9lic-PgXFVBhovgfZUnZk3ImhJvXRGgG3cn7aqO8MFCggrWvmQmsdpIXq0Y/s235/ellipse.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Captured Ellipse from&amp;nbsp;warpedIgray&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Hibf9gFgXwthBeDjYjHikOAwXX9bjYfLspxLzevkYSUdE3_AKKnuHBQZFkhs7s3W11lKOtupwfH3EkiSvNorDGtWLE0HH1JWKmfmrMMeis-Bd_ivcToH1s2Vbwzvw8C2j0zChtPs0gg/s236/circle.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Hibf9gFgXwthBeDjYjHikOAwXX9bjYfLspxLzevkYSUdE3_AKKnuHBQZFkhs7s3W11lKOtupwfH3EkiSvNorDGtWLE0HH1JWKmfmrMMeis-Bd_ivcToH1s2Vbwzvw8C2j0zChtPs0gg/s236/circle.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Normalized to circles by affine transformation&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZCm1R-iNPz5FaK40BgOmFqaYDH1tZgruCmNcphmWayaoIfjZ5Q9f20Zq-C409Erg6uab45gqFQqijFxiKlD31qag5WLJbd38RC3V02b9vgw5tYXO9mM0wodAJYoVGyRUED9Y-XMRh_AU/s676/rotated.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/5832166348236817773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/normalize-ellipse-into-circles-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5832166348236817773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/5832166348236817773'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/normalize-ellipse-into-circles-by.html' title='Normalize Ellipse into Circles by Affine transformation '/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiPnVbtyUdfw0Qaaf7ItFK2oXP2ITEqWAebW7DFRmQn435HBjKiiZNowyHq8sOESSo2ijIRxujMAWc6zCca7gh6u5wEr-b25BHusAnJIcwUpseIRZpLG5Bahb4p_Il2scidEGzyI3O9nw/s72-c/peppers.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-419580024916684858</id><published>2013-07-01T13:40:00.004-07:00</published><updated>2013-07-02T08:16:06.465-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MexOpenCV"/><category scheme="http://www.blogger.com/atom/ns#" term="MSER"/><title type='text'>Extract MSER and Fit ellipses using OpenCV (MexOpenCV)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
For this small tutorial make sure you have &lt;a href=&quot;http://www.cs.stonybrook.edu/~kyamagu/mexopencv/&quot; target=&quot;_blank&quot;&gt;MexOpenCV &lt;/a&gt;installed in your system.&lt;br /&gt;
&lt;br /&gt;
We will first extract&amp;nbsp;maximally stable extremal regions (MSER). Second, for each MSER we will fit an ellipse. Finally, we will draw those ellipses on the image.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ngci6yFttwpFX9HsOwPpbH8Wt0eLSq6CWjPJoDkmrmYFjPxzUA6LdkpIFM9YRIoZqFlsvLIC2fGwfT_HJr0v-UmxE2Sbj-4f59iZ7TDx9LMdwK_cS-YV7kxYz7P9lLykBmNTIqF64Tk/s676/peppers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ngci6yFttwpFX9HsOwPpbH8Wt0eLSq6CWjPJoDkmrmYFjPxzUA6LdkpIFM9YRIoZqFlsvLIC2fGwfT_HJr0v-UmxE2Sbj-4f59iZ7TDx9LMdwK_cS-YV7kxYz7P9lLykBmNTIqF64Tk/s400/peppers.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/5909162.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
All MSERs are fitted to ellipses!&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnE2K8MA_g6ivHkrnzTqDXAN-1A5oLGQTlyb_-ZCv9nLL80ey-NKkXDBWIfhwDqWftYic7lYSIxPOzVz1XaeMUDGw771KKD6xQobnVvLPR39nNV91HPo2qRrpnDhLha2_2g0p4n-XTG-k/s676/peppers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnE2K8MA_g6ivHkrnzTqDXAN-1A5oLGQTlyb_-ZCv9nLL80ey-NKkXDBWIfhwDqWftYic7lYSIxPOzVz1XaeMUDGw771KKD6xQobnVvLPR39nNV91HPo2qRrpnDhLha2_2g0p4n-XTG-k/s400/peppers.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Fitted Ellipses are drawn on the source image&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
To view a particular ellipse captured from the image after positioning in a up right situation&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/5909567.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZSv3b_DRS3nblMP_AY11NW9-qYW8rvQJKlJVLO4cfp20dyZkDpVvcm-gKO6qeTbSO_ja8I4Ut22mRKC7j-vbOauV5Z1masARucYKrV1RkXZZCBiRDPgEQyHsJq44tyMF9fbbTBxgWdb0/s676/rotated.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZSv3b_DRS3nblMP_AY11NW9-qYW8rvQJKlJVLO4cfp20dyZkDpVvcm-gKO6qeTbSO_ja8I4Ut22mRKC7j-vbOauV5Z1masARucYKrV1RkXZZCBiRDPgEQyHsJq44tyMF9fbbTBxgWdb0/s320/rotated.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Rotated according to angle of rectangle covering the ellipse. Please see the above code&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4n9Z9K44DDcuegkLm2ACALODXADcEqwZyXzZlE3qh9qWxbnKibRm-fjhaCDoCS-iLG2NZxRm-W2mynRSwkeSpNaapR5T4ABGGVVJXrysxTx2Z3mtXNwrC7zQB2DUAVs1wxw-YW1lfz3o/s185/patch.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;281&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4n9Z9K44DDcuegkLm2ACALODXADcEqwZyXzZlE3qh9qWxbnKibRm-fjhaCDoCS-iLG2NZxRm-W2mynRSwkeSpNaapR5T4ABGGVVJXrysxTx2Z3mtXNwrC7zQB2DUAVs1wxw-YW1lfz3o/s400/patch.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;After rotation, image patch is extracted using &amp;nbsp;getRectSubPix&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
now, resize the above patch into a fixed size patch such as 30x30 square&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;https://gist.github.com/ratuliut/5910164.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6iI9N_BsJgAfvm8nMBSmx2w0VyalipcPliK6TitwGs073-nHsYq2kFI_UEwEzZ4p8uQWSNjXNrsddjYHt49-yxk-HeUQ492r8gN0tFAd3BNvRdHU43Fl-8fHrgbCn72cq9ccMVHWNzKY/s194/resized.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;263&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6iI9N_BsJgAfvm8nMBSmx2w0VyalipcPliK6TitwGs073-nHsYq2kFI_UEwEzZ4p8uQWSNjXNrsddjYHt49-yxk-HeUQ492r8gN0tFAd3BNvRdHU43Fl-8fHrgbCn72cq9ccMVHWNzKY/s400/resized.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;resized to 30x30 square using cubic interpolation&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
cv.fitEllipse calculates the ellipse that fits (in a least-squares sense) a set of 2D points best of all. It returns the rotated rectangle in which the ellipse is inscribed. The algorithm [Fitzgibbon95] is used.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
[Fitzgibbon95]&amp;nbsp;&lt;a href=&quot;https://homepages.inf.ed.ac.uk/rbf/MY_DAI_OLD_FTP/rp810.pdf&quot;&gt;https://homepages.inf.ed.ac.uk/rbf/MY_DAI_OLD_FTP/rp810.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;http://answers.opencv.org/question/497/extract-a-rotatedrect-area/&quot;&gt;http://answers.opencv.org/question/497/extract-a-rotatedrect-area/&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/419580024916684858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/extract-mser-and-fit-ellipses-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/419580024916684858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/419580024916684858'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/extract-mser-and-fit-ellipses-using.html' title='Extract MSER and Fit ellipses using OpenCV (MexOpenCV)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8ngci6yFttwpFX9HsOwPpbH8Wt0eLSq6CWjPJoDkmrmYFjPxzUA6LdkpIFM9YRIoZqFlsvLIC2fGwfT_HJr0v-UmxE2Sbj-4f59iZ7TDx9LMdwK_cS-YV7kxYz7P9lLykBmNTIqF64Tk/s72-c/peppers.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-7964858047378402003</id><published>2013-07-01T06:11:00.002-07:00</published><updated>2013-07-01T06:11:47.001-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="picasa"/><title type='text'>Image Bulk resizing using Picasa</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Click the Folder to select (Containing images to be resized)&lt;br /&gt;
&lt;br /&gt;
FIle-&amp;gt;Export Picture to Folder&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/7964858047378402003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/image-bulk-resizing-using-picasa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7964858047378402003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/7964858047378402003'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/image-bulk-resizing-using-picasa.html' title='Image Bulk resizing using Picasa'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-473156203317114319</id><published>2013-07-01T03:16:00.001-07:00</published><updated>2013-07-01T03:16:30.887-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="word2007"/><title type='text'>In word 2007 how to fixate a text box?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Select the text box (or drawing canvas)&lt;br /&gt;
Format-&amp;gt;position-&amp;gt;More Layout Position&lt;br /&gt;
&lt;br /&gt;
Uncheck Move object with text&lt;br /&gt;
Check Lock anchor&lt;br /&gt;
Uncheck Allow overlap&lt;br /&gt;
Check layout in table cell&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/473156203317114319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/in-word-2007-how-to-fixate-text-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/473156203317114319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/473156203317114319'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/07/in-word-2007-how-to-fixate-text-box.html' title='In word 2007 how to fixate a text box?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-468653980192796183</id><published>2013-06-19T09:38:00.000-07:00</published><updated>2013-06-19T09:38:06.614-07:00</updated><title type='text'>Excel figure into Word</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Copy the figure and paste it as Microsoft Office Graphic Object (it works like EPS!)&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/468653980192796183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/excel-figure-into-word.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/468653980192796183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/468653980192796183'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/excel-figure-into-word.html' title='Excel figure into Word'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-4855306548873096126</id><published>2013-06-13T15:07:00.002-07:00</published><updated>2013-06-13T15:09:34.041-07:00</updated><title type='text'>Convert PDF to EPS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1. Open the PDF by GSview (Download if not installed already in your system)&lt;br /&gt;
2. In GSView: File-&amp;gt;Print-&amp;gt;Post Script Printer-&amp;gt;OK, Make sure that Print to File is checked&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/4855306548873096126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/convert-pdf-to-eps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4855306548873096126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4855306548873096126'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/convert-pdf-to-eps.html' title='Convert PDF to EPS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-324224871528553344</id><published>2013-06-13T13:50:00.001-07:00</published><updated>2013-06-13T14:46:01.115-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="eps"/><category scheme="http://www.blogger.com/atom/ns#" term="latex"/><category scheme="http://www.blogger.com/atom/ns#" term="pdf"/><title type='text'>PowerPoint to PDF or EPS to CROP to ......</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I was on my way to become crazy in order to convert my power point figure into a cropped version of eps or pdf!&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Probably Simpler option is to install foxit and do the following&lt;br /&gt;
1. Home-&amp;gt;Snapshot-&amp;gt;&lt;br /&gt;
2. File-&amp;gt;Create from Clip Board-&amp;gt; Save PDF&lt;br /&gt;
&amp;nbsp;Use in latex \includegraphics[height=1.5in]{images/top_cropped}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another Approach:&lt;br /&gt;
&lt;br /&gt;
Here is what you should do step by step&lt;br /&gt;
&lt;br /&gt;
1. Make sure Ghost Script, GIMP is installed in your system!&lt;br /&gt;
2. First convert your powerpoint (or whatever it is) into PDF. Now, the problem is its too big and there might be unnecessary part in the pdf/eps which you would like to discard.&lt;br /&gt;
3. Open the PDF using GIMP. Then Image--&amp;gt;Zealous Crop (or Crop Manually using select tool)&lt;br /&gt;
4. File-&amp;gt;Export (Choose your format like EPS/PDF etc)&lt;br /&gt;
&lt;br /&gt;
Good luck future me!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/324224871528553344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/powerpoint-to-pdf-or-eps-to-crop-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/324224871528553344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/324224871528553344'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/06/powerpoint-to-pdf-or-eps-to-crop-to.html' title='PowerPoint to PDF or EPS to CROP to ......'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-568826391442245162</id><published>2013-03-12T14:36:00.000-07:00</published><updated>2013-03-12T14:36:20.621-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sRGB"/><category scheme="http://www.blogger.com/atom/ns#" term="SRGB to LAB"/><title type='text'>watch out while using sRGB2lab</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Imagine you have a 8 bit/color channel (24bit image) and you want to convert RGB values (assuming in sRGB color space) into LAB color space. SO you do the following&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
rgb=imread(&#39;peppers.png&#39;);&lt;br /&gt;
lab = applycform(rgb,makecform(&#39;srgb2lab&#39;));&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Where rgb is a NxMx3 matrix of unint8 type and so does the lab. Everything seems fine! But try the following:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Lmax= max(max(lab(:,:,1))) % maximum L of LAB should be within 100&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
but is it the case? NO?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
You will notice that Lmax is beyond 100 and the reason is lab is in uint8 type&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Therefore, if you want a normalized L value from LAB do the following&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
lab_d=lab2double(lab); % normalization !!!&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now try&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
max(max(lab_d(:,:,1))) &amp;nbsp;% L should be &amp;nbsp;&amp;lt;=100&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Therefore, watch out! But, color your life! :)&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/568826391442245162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/03/watch-out-while-using-srgb2lab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/568826391442245162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/568826391442245162'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/03/watch-out-while-using-srgb2lab.html' title='watch out while using sRGB2lab'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-517701200939856540</id><published>2013-01-29T03:00:00.001-08:00</published><updated>2013-01-29T03:00:56.146-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EXR"/><category scheme="http://www.blogger.com/atom/ns#" term="HDR"/><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="OPENEXR"/><title type='text'>simplest way to use EXR in MATLAB</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
How to read/write EXR images in MATLAB?&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;1.&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;You
can Install HDRITOOLS from here (&lt;a href=&quot;https://bitbucket.org/edgarv/hdritools/downloads&quot;&gt;https://bitbucket.org/edgarv/hdritools/downloads&lt;/a&gt;);
Choose *x64.msi or *.x86.msi based on your current MATLAB installation&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;!--[if !supportLists]--&gt;2.&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;Say
install location of HDRITOOLS is ~Documents\MATLAB\HDRIToolsx64\matlab, here
please try reading a EXR file using following command&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;PL&quot;&gt;info=exrinfo(&#39;A003C001_120626W700021.exr&#39;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;info.channels&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
info.channels(1) % prints out the name of the first channel&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
info.channels(2) % prints out the name of the second channel&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
info.channels(3) % prints out the name of the third channel&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
c1=exrreadchannels(
&#39;A003C001_120626W700021.exr&#39;,info.channels(1) ); % reading first channel&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/517701200939856540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/01/simplest-way-to-use-exr-in-matlab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/517701200939856540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/517701200939856540'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/01/simplest-way-to-use-exr-in-matlab.html' title='simplest way to use EXR in MATLAB'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5378278564737450642.post-4143252935691625336</id><published>2013-01-23T08:45:00.000-08:00</published><updated>2013-01-23T08:45:23.135-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><category scheme="http://www.blogger.com/atom/ns#" term="searching vector in matrix"/><title type='text'>Finding a vector within a matrix</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Imagine, I have a matrix called RGB (list of some colors) like the following&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;RGB=[1 2 3; 4 5 6; 7 8 9; 10 11 12; 0 0 0; 1 2 5]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;RGB =&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; 3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; 5 &amp;nbsp; &amp;nbsp; 6&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp; 8 &amp;nbsp; &amp;nbsp; 9&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp;11 &amp;nbsp; &amp;nbsp;12&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; 5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;I would like to find whether vector [ 1 2 5] is available in RGB or not?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The fastest way is to do some logical operation.&lt;br /&gt;
&lt;br /&gt;
loc = &amp;nbsp;(RGB(:,1)==1 &amp;amp; RGB(:,2)==2 &amp;amp; RGB(:,3)==5 )&lt;br /&gt;
&lt;br /&gt;
loc =&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br /&gt;
&lt;br /&gt;
So now we know where is the vector [1 2 5] is located. We can find its index or even how many times it occurs by manipulating above loc vector&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://machinethatsees.blogspot.com/feeds/4143252935691625336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://machinethatsees.blogspot.com/2013/01/finding-vector-within-matrix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4143252935691625336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5378278564737450642/posts/default/4143252935691625336'/><link rel='alternate' type='text/html' href='http://machinethatsees.blogspot.com/2013/01/finding-vector-within-matrix.html' title='Finding a vector within a matrix'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>