ConstantBackground

public class ConstantBackground implements Obstructor

Constant overlay loaded from an image

Author:Marcel Stefko

Constructors

ConstantBackground

public ConstantBackground(Camera camera)

Load the background image by a file selection dialog

Parameters:
  • camera – camera settings

ConstantBackground

public ConstantBackground(Camera camera, File file)

Load background image from specified file

Parameters:
  • camera – camera settings
  • file – tiff file to be loaded

Methods

applyTo

public void applyTo(float[][] pixels)