Mean-shift sample code for bcb 5.0