code/WPILib/Vision/BinaryImage.cpp
/**
 * Get then number of particles for the image.
 * @returns the number of particles found for the image.
 */
Get then number of particles for the image.
@returns the number of particles found for the image.
Get then number of particles for the image . @returns the number of particles found for the image .
int BinaryImage::GetNumberParticles()
{
	int numParticles = 0;
	int success = imaqCountParticles(m_imaqImage, 1, &numParticles);
	wpi_imaqAssert(success, "IMAQ Error counting particles");
	return numParticles;
}
int BinaryImage :: GetNumberParticles ( ) { int numParticles = 0 ; int success = imaqCountParticles ( m_imaqImage , 1 , & numParticles ) ; wpi_imaqAssert ( success , " " ) ; return numParticles ; }
Get then number of particles for the image.
Get then number of particles for the image .