Generate instance data for a group of pixels