Thank you. Is this approach working for 3D images? Or should I iterate slice by slice? -- View this message in context: http://itk-users.7.n7.nabble.com/Counting-the-number-of-pixels-with-specific-color-tp37028p37030.html Sent from the ITK - Users mailing list archive at Nabble.com.