<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Image Blur Detection via Hough Transform &#8212; IV</title>
	<atom:link href="http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 08:13:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: theodore</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-188943</link>
		<dc:creator>theodore</dc:creator>
		<pubDate>Sat, 14 Jan 2012 00:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-188943</guid>
		<description>Hi Kerry,

i am working in project right now that one part of it, is related with blur detection and i have seen your article about detecting blur in images by using hough transform 

http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/

i think that your implementation is quite interesting and i would like to try it. My question are if it possible to have an archive of the code and if you will be able to give me a feedback to some questions that i have at the moments. Since right now i am trying to implement your thoughts by using the OpenCV library.

Thanks in advance. Looking forward to hearing from you.</description>
		<content:encoded><![CDATA[<p>Hi Kerry,</p>
<p>i am working in project right now that one part of it, is related with blur detection and i have seen your article about detecting blur in images by using hough transform </p>
<p><a href="http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/" rel="nofollow">http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/</a></p>
<p>i think that your implementation is quite interesting and i would like to try it. My question are if it possible to have an archive of the code and if you will be able to give me a feedback to some questions that i have at the moments. Since right now i am trying to implement your thoughts by using the OpenCV library.</p>
<p>Thanks in advance. Looking forward to hearing from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwong</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-142104</link>
		<dc:creator>kwong</dc:creator>
		<pubDate>Sat, 23 Jul 2011 22:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-142104</guid>
		<description>I wrote this code under Linux but according to Intel&#039;s documentations (http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-windows-compiling-and-linking-with-microsoft-visual-c-and-intel-c-compilers/) you should be able to compile in Visual Studio .Net as well, please refer to the URL for more information.</description>
		<content:encoded><![CDATA[<p>I wrote this code under Linux but according to Intel&#8217;s documentations (<a href="http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-windows-compiling-and-linking-with-microsoft-visual-c-and-intel-c-compilers/" rel="nofollow">http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-windows-compiling-and-linking-with-microsoft-visual-c-and-intel-c-compilers/</a>) you should be able to compile in Visual Studio .Net as well, please refer to the URL for more information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sur</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-141919</link>
		<dc:creator>sur</dc:creator>
		<pubDate>Sat, 23 Jul 2011 07:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-141919</guid>
		<description>Thank you for the headerfile. how do i make my VS 2008 support IppiPoint.</description>
		<content:encoded><![CDATA[<p>Thank you for the headerfile. how do i make my VS 2008 support IppiPoint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwong</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-141806</link>
		<dc:creator>kwong</dc:creator>
		<pubDate>Fri, 22 Jul 2011 22:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-141806</guid>
		<description>Sure thing. Here&#039;s the header file:


/* 
 * File:   lineutils.h
 * Author: kwong
 *
 * Created on June 5, 2009, 8:47 PM
 */

#ifndef _LINEUTILS_H
#define	_LINEUTILS_H

#include 

using namespace std;

namespace KDW {
    class LineUtils {
    public:

        LineUtils();
        LineUtils(const LineUtils&amp; orig);
        virtual ~LineUtils();

        void GetLineIntervalPoints(float p, float theta, float x0, float y0, int numOfPoints, IppiPoint points[]);
        void GetPerpendicularLineParameters(float p0, float theta0, float x, float y, float &amp;p, float &amp;theta);
        void GetLongestConnectedLinePoints(IppiPoint points[], int len, int threshold, IppiPoint lpoints[], int &amp;maxLen);
        bool GetMinMaxIndicies(float pixels[], int len, int &amp;minIndex, int &amp;maxIndex);
        float CalculateGradient(IppiPoint points[], float pixels[], int len, int minIndex, int maxIndex);
        float GetAverage(float gradients[], int count);
    private:
    };
}
#endif	/* _LINEUTILS_H */</description>
		<content:encoded><![CDATA[<p>Sure thing. Here&#8217;s the header file:</p>
<p>/*<br />
 * File:   lineutils.h<br />
 * Author: kwong<br />
 *<br />
 * Created on June 5, 2009, 8:47 PM<br />
 */</p>
<p>#ifndef _LINEUTILS_H<br />
#define	_LINEUTILS_H</p>
<p>#include </p>
<p>using namespace std;</p>
<p>namespace KDW {<br />
    class LineUtils {<br />
    public:</p>
<p>        LineUtils();<br />
        LineUtils(const LineUtils&amp; orig);<br />
        virtual ~LineUtils();</p>
<p>        void GetLineIntervalPoints(float p, float theta, float x0, float y0, int numOfPoints, IppiPoint points[]);<br />
        void GetPerpendicularLineParameters(float p0, float theta0, float x, float y, float &amp;p, float &amp;theta);<br />
        void GetLongestConnectedLinePoints(IppiPoint points[], int len, int threshold, IppiPoint lpoints[], int &amp;maxLen);<br />
        bool GetMinMaxIndicies(float pixels[], int len, int &amp;minIndex, int &amp;maxIndex);<br />
        float CalculateGradient(IppiPoint points[], float pixels[], int len, int minIndex, int maxIndex);<br />
        float GetAverage(float gradients[], int count);<br />
    private:<br />
    };<br />
}<br />
#endif	/* _LINEUTILS_H */</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sur</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-141601</link>
		<dc:creator>sur</dc:creator>
		<pubDate>Fri, 22 Jul 2011 05:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-141601</guid>
		<description>Hello Kwong,
I&#039;m really thankful for your article on Blur detection. As i didn&#039;t understand the code completely i would like to have a look at LineUtils.h header file. Can you post it or mail it to animatsurendra(at)gmail(dot)com

Thany you..</description>
		<content:encoded><![CDATA[<p>Hello Kwong,<br />
I&#8217;m really thankful for your article on Blur detection. As i didn&#8217;t understand the code completely i would like to have a look at LineUtils.h header file. Can you post it or mail it to animatsurendra(at)gmail(dot)com</p>
<p>Thany you..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david stone</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-97517</link>
		<dc:creator>david stone</dc:creator>
		<pubDate>Wed, 09 Feb 2011 23:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-97517</guid>
		<description>Did you ever get this working with OpenCV? I&#039;m using OpenCV for face detection and would like to be able to detect how blurry the face is as well but havn&#039;t found an implementation for it yet.</description>
		<content:encoded><![CDATA[<p>Did you ever get this working with OpenCV? I&#8217;m using OpenCV for face detection and would like to be able to detect how blurry the face is as well but havn&#8217;t found an implementation for it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nyson</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-85243</link>
		<dc:creator>Nyson</dc:creator>
		<pubDate>Tue, 21 Dec 2010 03:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-85243</guid>
		<description>Thanks for this enlightening article, it is really quite interesting, previously I would not have considered edge detection for determining blur, however it seems so obvious now. 

You also showed some situations in which this approach fails, are there any other methods that might get around these shortcomings that you are aware of?

Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Thanks for this enlightening article, it is really quite interesting, previously I would not have considered edge detection for determining blur, however it seems so obvious now. </p>
<p>You also showed some situations in which this approach fails, are there any other methods that might get around these shortcomings that you are aware of?</p>
<p>Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexis</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-73477</link>
		<dc:creator>alexis</dc:creator>
		<pubDate>Mon, 25 Oct 2010 02:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-73477</guid>
		<description>I am trying to detect blurred images. before i thought it was impossible yet i stumble with your work. is there a way i can transpose everything to C# i am using aforge.net and emgucv a wrapper class for opencv. really need your help with this one. thanks.</description>
		<content:encoded><![CDATA[<p>I am trying to detect blurred images. before i thought it was impossible yet i stumble with your work. is there a way i can transpose everything to C# i am using aforge.net and emgucv a wrapper class for opencv. really need your help with this one. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwong</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-56683</link>
		<dc:creator>kwong</dc:creator>
		<pubDate>Tue, 13 Jul 2010 01:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-56683</guid>
		<description>Hi samcal,

I just updated the article above to include the LineUtil class which contains the gradient calculation. Hope it helps.</description>
		<content:encoded><![CDATA[<p>Hi samcal,</p>
<p>I just updated the article above to include the LineUtil class which contains the gradient calculation. Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samcal</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-56667</link>
		<dc:creator>samcal</dc:creator>
		<pubDate>Mon, 12 Jul 2010 23:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-56667</guid>
		<description>I&#039;m trying to implement this using OpenCV, which also does Canny edge detection and Hough line detection.

I have my Hough-paramaterised lines but I&#039;m still unclear about how you calculate the gradient in the 10-pixel area around the line segment (in the window which is given by d.)  

Could you elaborate on how you implemented the gradient calculation element of the system?

Many thanks for your help.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to implement this using OpenCV, which also does Canny edge detection and Hough line detection.</p>
<p>I have my Hough-paramaterised lines but I&#8217;m still unclear about how you calculate the gradient in the 10-pixel area around the line segment (in the window which is given by d.)  </p>
<p>Could you elaborate on how you implemented the gradient calculation element of the system?</p>
<p>Many thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwong</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-48095</link>
		<dc:creator>kwong</dc:creator>
		<pubDate>Thu, 25 Mar 2010 11:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-48095</guid>
		<description>Thanks Andrey!</description>
		<content:encoded><![CDATA[<p>Thanks Andrey!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrey</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-48069</link>
		<dc:creator>andrey</dc:creator>
		<pubDate>Wed, 24 Mar 2010 22:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-48069</guid>
		<description>Hi from Russia!
I am author of ippiHoughLine_8u32f_C1R function.
Thank you for using Intel IPP library.
I hope is is usefull for you!</description>
		<content:encoded><![CDATA[<p>Hi from Russia!<br />
I am author of ippiHoughLine_8u32f_C1R function.<br />
Thank you for using Intel IPP library.<br />
I hope is is usefull for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwong</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-42626</link>
		<dc:creator>kwong</dc:creator>
		<pubDate>Tue, 15 Dec 2009 00:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-42626</guid>
		<description>The gradient calculation involves fitting a line through the detected edge points. After the linear equation is obtained, calculating the perpendicular line is simple. Similarly, the gradient can be calculated by modeling the intensity as a linear function (the simplest method) and the gradient would be the tangent of the linear function. Hope this helps.</description>
		<content:encoded><![CDATA[<p>The gradient calculation involves fitting a line through the detected edge points. After the linear equation is obtained, calculating the perpendicular line is simple. Similarly, the gradient can be calculated by modeling the intensity as a linear function (the simplest method) and the gradient would be the tangent of the linear function. Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonin JACQ</title>
		<link>http://www.kerrywong.com/2009/07/03/image-blur-detection-via-hough-transform-iv/comment-page-1/#comment-42625</link>
		<dc:creator>Antonin JACQ</dc:creator>
		<pubDate>Tue, 15 Dec 2009 00:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1277#comment-42625</guid>
		<description>Hi.

I am currently a student at the university of La Rochelle, France, in an image processing &amp; mathematics master.
Our teachers asked us to build several image default detector: noise(salt&amp;pepper, ccd), block artifact, color dominance, motion-blur and out-of-focus blur.

I am working since yesterday on your articles for blur detection via Hough Transform.

Working on Matlab, i succesfully reproduce almost everything, except for the final part of the algorythm: the calcul of the gradient on the line.
I didn&#039;t understand what you are doing: 
- in which image is this line? In the Hough transform? In the orignal image?
- Similarly, what is the use of the perpendicular line whom you speak of for the gradient calculation?

My principal problem lies with the definition of the gradient D of an image :
In classics way, D=[Ix,Iy] with Ix and Iy being a vector field (Ix(x,y)=I(x,y)-I(x-1,y), the same for Iy). Here i do not know what is it.

If you&#039;re willing to enlight me, i would be thankful.

Antonin.</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I am currently a student at the university of La Rochelle, France, in an image processing &amp; mathematics master.<br />
Our teachers asked us to build several image default detector: noise(salt&amp;pepper, ccd), block artifact, color dominance, motion-blur and out-of-focus blur.</p>
<p>I am working since yesterday on your articles for blur detection via Hough Transform.</p>
<p>Working on Matlab, i succesfully reproduce almost everything, except for the final part of the algorythm: the calcul of the gradient on the line.<br />
I didn&#8217;t understand what you are doing:<br />
- in which image is this line? In the Hough transform? In the orignal image?<br />
- Similarly, what is the use of the perpendicular line whom you speak of for the gradient calculation?</p>
<p>My principal problem lies with the definition of the gradient D of an image :<br />
In classics way, D=[Ix,Iy] with Ix and Iy being a vector field (Ix(x,y)=I(x,y)-I(x-1,y), the same for Iy). Here i do not know what is it.</p>
<p>If you&#8217;re willing to enlight me, i would be thankful.</p>
<p>Antonin.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

