def METHOD_NAME(self, parameters, initialization = False):
    size_x = parameters.get("x_end") - parameters.get("x_start") + 1
    size_y = parameters.get("y_end") - parameters.get("y_start") + 1
    parameters.setv("x_pixels", size_x)
    parameters.setv("y_pixels", size_y)
    parameters.setv("bytes_per_frame", 2 * size_x * size_y)
    super().METHOD_NAME(parameters)
    self.camera_working = True
    # Update the parameter values, only the supported ones
    # and only if they are different.
    to_change = []
    for pname in self.pvcam_props:
        if (self.parameters.get(pname) != parameters.get(pname)) or initialization:
            to_change.append(pname)
    if (len(to_change) > 0):
        running = self.running
        if running:
            self.stopCamera()
        # Reconfigure the camera.
        for pname in to_change:
            if pname.startswith("param_"):
                self.camera.setParameter(pname, parameters.get(pname))
        # HAL uses seconds, PVCAM uses milliseconds (as integers).
        exposure_time = int(1000.0 * parameters.get("exposure_time"))
        # The camera is zero indexed, but the HAL parameters are
        # one indexed.
        self.camera.captureSetup(parameters.get("x_start")-1,
                                 parameters.get("x_end")-1,
                                 parameters.get("x_bin"),
                                 parameters.get("y_start")-1,
                                 parameters.get("y_end")-1,
                                 parameters.get("y_bin"),
                                 exposure_time)
        # Copy changed parameter values.
        for pname in to_change:
            self.parameters.setv(pname, parameters.get(pname))
        # Estimate FPS.
        #
        # FIXME: How to get the actual value for this? For reasons that are
        #        very hard for me to understand Photometrics does not provide
        #        an API function that does this.
        cycle_time = self.parameters.get("exposure_time")
        self.parameters.setv("fps", 1.0/cycle_time)
        # Update bit depth.
        #bit_depth = self.camera.getParameterCurrent("param_bit_depth")
        #self.parameters.setv("max_intensity", 2**bit_depth)
        if running:
            self.startCamera()
        self.camera_functionality.parametersChanged.emit()