Ask Your Question

York's profile - activity

2020-05-03 09:45:03 -0500 received badge  Famous Question (source)
2018-11-11 09:54:02 -0500 received badge  Notable Question (source)
2017-10-15 22:32:33 -0500 received badge  Popular Question (source)
2014-03-16 23:44:03 -0500 asked a question Comparing……Freeman chain code and polygonal approximation

speaking of two kinds of method in finding contours in an image -- Freeman chain code and polygonal approximation through Comparing ……

what are the main advantages and disadvantages of each other?

2014-03-13 04:45:23 -0500 asked a question asking for an explaining of morphologyex function !

void morphologyEx( InputArray src, OutputArray dst, int op, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar& borderValue=morphologyDefaultBorderValue() );

who can explain the meaning of the following variables in morphologyex as detailed as possible

kernel;
anchor=point(-1,-1); iteration=1;
bordertype;
Scalar& borderValue=morphologyDefaultBorderValue();

a newbie so THANKS in advance for your any reply or comment!!!

2014-03-09 06:56:36 -0500 commented question code below running in VC2010 ,no error but failed,help!

ok sorry,we used to call that for a respect in Shandong…maybe have something to do with Confucius,welcome to Shandong!

2014-03-06 01:52:28 -0500 commented question code below running in VC2010 ,no error but failed,help!

请问这位老师,我可以在一段程序中同时使用c &c++ 数据结构并且相互转换吗?

2014-03-05 06:35:32 -0500 asked a question code below running in VC2010 ,no error but failed,help!

Mat src,dst,dst1; IplImage* pI; int count_black=0; char*window_name="window"; int main() { src=imread("F:\peo.jpg",1); cvtColor(src,dst,CV_BGR2GRAY); threshold(dst,dst1,10,255,0);

Mat dst1;
IplImage* pI = &dst1.operator IplImage();

int count_black=cvCountNonZero (pI);
cout<<" "<<count_black<<endl;


namedWindow("window",CV_WINDOW_AUTOSIZE);
imshow("window",dst1);

waitKey(0);
return 0;

}

============================================================ pick up my mistake please, —a newbie

2014-03-03 07:14:57 -0500 commented question ask for an explaining for the code below

good explaining! IM a shandong guy, nice to come cross U my fellow bro!

2014-03-02 00:46:15 -0500 commented answer How to save a rectangular ROI?

aoh~get it…just passing by ,sorry for my ignorance ps:credits !who care — —

2014-03-01 05:07:16 -0500 asked a question ask for an explaining for the code below

vector<vector<point> > contours_poly( contours.size() );

i want to know details of this code;double vect<> and ( contours.size() more clear will be better,im new to that,thanks in advance!

2014-03-01 04:58:05 -0500 answered a question How to save a rectangular ROI?

C++ version:

function—Mat roi(image,Rect(20,20,60,60)); that means selecting roi (20,20,60,60) a rectangle you know

2014-02-18 09:32:54 -0500 commented answer How to get length and width of a bounding box?

sorry,IM new ,so how to get karma points?and whats that ps:im a chinese unfamiliar to foreign website due to the“ great wall “

2014-02-18 05:12:44 -0500 commented answer How to get length and width of a bounding box?

the reply is exciting ! so good,so thanks!

2014-02-18 02:14:23 -0500 asked a question How to get length and width of a bounding box?

I want to identify the length and width of a bounding box in OpenCV, any functions I need in the LIB? please give me some tips,ideas~

MUCH THANKS IN ADVANCE!!!