From IMAQ ComplexParticle, you should be able to create a list that has each particle number and what type of object it is. For example, if you have two object types (1,2) and 5 particles, they might be as follows:
1 -> 2
2 -> 1
3 -> 1
4 -> 2
5 -> 1
If you add a zero at the beginning of the second column and pad it with zeroes to get a 256 element array, you can use it as a custom lookup table. Apply it to your labeled image, and it will color code your particles by object.
Bruce
Bruce Ammons
Ammons Engineering