<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.6" -->
<rss version="0.92">
<channel>
	<title>Kristou.com</title>
	<link>http://www.kristou.com</link>
	<description>I share my experience</description>
	<lastBuildDate>Mon, 07 Dec 2009 07:46:02 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Edge orientation</title>
		<description>This is a sample code for getting the edges orientation in an image.


CvMat *filter_x=cvCreateMat(1,3,CV_32FC1); filter_x->data.fl[0]=-1;
filter_x->data.fl[1]=0; filter_x->data.fl[2]=1;
CvMat *filter_y=cvCreateMat(3,1,CV_32FC1); filter_y->data.fl[0]=-1;
filter_y->data.fl[1]=0; filter_y->data.fl[2]=1;

IplImage *img_src=cvLoadImage("name",0);

IplImage *img_diff_x=cvCreateImage(cvGetSize(img_src),IPL_DEPTH_32F,1);
IplImage *img_diff_y=cvCreateImage(cvGetSize(img_src),IPL_DEPTH_32F,1);

IplImage *img_32f=cvCreateImage(cvGetSize(img_src),IPL_DEPTH_32F,1);

cvConvert(img_src,img_32f);

cvFilter2D(img_32f,filter_x,img_diff_x);
cvFilter2D(img_32f,filter_y,img_diff_y);

IplImage *magnitude=cvCreateImage(cvGetSize(img_src),IPL_DEPTH_32F,1);
IplImage *orientation=cvCreateImage(cvGetSize(img_src),IPL_DEPTH_32F,1);

cvCartToPolar(img_diff_x, img_diff_y, magnitude, orientation, 1);
 </description>
		<link>http://www.kristou.com/archives/1258</link>
			</item>
	<item>
		<title>Online service to convert files type</title>
		<description>

Convert any media file format (Documents, Images, Audio, Video & Archives) without buying or installing anything on your PC </description>
		<link>http://www.kristou.com/archives/1254</link>
			</item>
	<item>
		<title>Hirai Ken, Pop star</title>
		<description>I like this song because of many reasons. First it is easy to understand. Also it is very moving. I leave the appreciation for you to judge about it. Please share with me your comments.

httpvh://www.youtube.com/watch?v=oNxk_6JHIfw



wanna be a pop star kimi wo motto muchuu ni sasete ageru kara ne
kirakira no pop ...</description>
		<link>http://www.kristou.com/archives/1237</link>
			</item>
	<item>
		<title>Tsukuba Mountain Hike</title>
		<description>Today I had a trip to Mountain Tsukuba with TWMC Club.
I did not catch them in the beginning. I reached つつじヶ丘(Tsutsujigaoka) station. I got the rope way. It is really scaring view.







As you may know, Tsukuba mountain has two picks: One pick is associated with a girl. The second is ...</description>
		<link>http://www.kristou.com/archives/1212</link>
			</item>
	<item>
		<title>Remove items from deque, list or vector in a loop</title>
		<description>Recently I needed to delete items from a sequence like a deque , list or vector from a for loop, I figured out that I have to do something like this:


for(iter = list.begin(); iter != list.end(); ++iter)
{
// your code
iter = list.erase(iter);
--iter;
// your code
}


It looks basic but it took me a ...</description>
		<link>http://www.kristou.com/archives/1207</link>
			</item>
</channel>
</rss>
