View Single Post
  #6   Spotlight this post!  
Unread 14-01-2012, 15:22
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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