|
Re: How to preform a convex Hull operation in C++
The manual will explain it better, but the 4 versus 8 connectivity determines whether the diagonals on the pixels are considered as part of the particle. I think 8 is the better choice typically.
The usage is
int imaqConvexHull(Image* dest, Image* source, int connectivity8);
where Image* is the NI Image type. You need to convert or access inner buffer pointers or whatever the Image class is that you were using.
Greg McKaskle
|