def METHOD_NAME(self):
    g4.GateDigitizerProjectionActor.METHOD_NAME(self)
    # retrieve the image
    self.output_image = gate.get_cpp_image(self.fImage)
    # put back the origin
    self.output_image.SetOrigin(self.start_output_origin)
    info = gate.get_info_from_image(self.output_image)
    # change the spacing / origin for the third dimension
    spacing = self.output_image.GetSpacing()
    origin = self.output_image.GetOrigin()
    # should we center the projection ?
    if self.user_info.origin_as_image_center:
        origin = -info.size * info.spacing / 2.0 + info.spacing / 2.0
    spacing[2] = 1
    origin[2] = 0
    self.output_image.SetSpacing(spacing)
    self.output_image.SetOrigin(origin)
    if self.user_info.output:
        itk.imwrite(
            self.output_image, gate.check_filename_type(self.user_info.output)
        )