Implementation of the ImageSynthetizer kernel