for the following part of the code, the VS2010 Windows platform prompts the array to cross (compile through, execute EXE prompts) but the codeblock is normal under deep Linux.
The first form of
/*vector <OutLineHand> outline (filtercontours.size () +1);
For (size_t i = 0; i < filtercontours.size (); i + +)
{
outlinehand (filtercontours[i],nframe);
Outline[i] = Outlinehand (filtercontours[i],nframe);
} *
//second form of
Vector <OutLineHand> outline;
for (int i = 0; i < (int) filtercontours.size (); i + +)
{
outline.push_back (Outlinehand (filtercontours[i), Nframe));
}
... 1.OutLineHand is a custom encapsulated contour class that contains data members and member functions. 2.filterContours is the vector< vector > type, image processing contour (a set of points). 3.OutLineHand is a custom encapsulated contour class constructor that I breakpoint debug execution to
Outline[i] = Outlinehand (filtercontours[i],nframe); This tip crosses the line.
Anyone who encounters such a problem, please advise. Thank you.