.. java:import:: java.awt.geom Point2D .. java:import:: java.util ArrayList Camera ====== .. java:package:: ch.epfl.leb.sass.models.legacy :noindex: .. java:type:: @Deprecated public class Camera Represents the parameters of the camera. :author: Marcel Stefko, Kyle M. Douglass Fields ------ ADU_per_electron ^^^^^^^^^^^^^^^^ .. java:field:: public final double ADU_per_electron :outertype: Camera Conversion factor between camera's analog-to-digital units (ADU) and electrons. [-] EM_gain ^^^^^^^ .. java:field:: public final int EM_gain :outertype: Camera Electron multiplication (EM) gain of the camera. This may be set to zero for sensors without EM gain, such as CMOS sensors. NA ^^ .. java:field:: public final double NA :outertype: Camera numerical aperture [-] acq_speed ^^^^^^^^^ .. java:field:: public final int acq_speed :outertype: Camera frame rate [frames/second] baseline ^^^^^^^^ .. java:field:: public final int baseline :outertype: Camera Camera pixel baseline (zero signal mean) [ADU] dark_current ^^^^^^^^^^^^ .. java:field:: public final double dark_current :outertype: Camera dark current [electrons/second/pixel] fwhm_digital ^^^^^^^^^^^^ .. java:field:: public final double fwhm_digital :outertype: Camera digital representation of the FWHM magnification ^^^^^^^^^^^^^ .. java:field:: public final double magnification :outertype: Camera magnification of camera [-] pixel_size ^^^^^^^^^^ .. java:field:: public final double pixel_size :outertype: Camera physical size of pixel [m] quantum_efficiency ^^^^^^^^^^^^^^^^^^ .. java:field:: public final double quantum_efficiency :outertype: Camera quantum efficiency [0.0-1.0] readout_noise ^^^^^^^^^^^^^ .. java:field:: public final double readout_noise :outertype: Camera readout noise of camera [RMS] res_x ^^^^^ .. java:field:: public final int res_x :outertype: Camera horizontal image size [pixels] res_y ^^^^^ .. java:field:: public final int res_y :outertype: Camera vertical image size [pixels] stagePosition ^^^^^^^^^^^^^ .. java:field:: public double stagePosition :outertype: Camera Displacement of the coverslip surface from the objective's focal plane. This value assumes that the microscope objective is inverted (facing up) and that the axial direction is positive going upwards. A negative value therefore implies that the coverslip has been moved down towards the objective bringing objects located above the coverslip into focus. thermal_noise ^^^^^^^^^^^^^ .. java:field:: public final double thermal_noise :outertype: Camera noise in frame caused by dark current [electrons/frame/pixel] wavelength ^^^^^^^^^^ .. java:field:: public final double wavelength :outertype: Camera light wavelength [m] Constructors ------------ Camera ^^^^^^ .. java:constructor:: public Camera(int res_x, int res_y, int acq_speed, double readout_noise, double dark_current, double quantum_efficiency, double ADU_per_electron, int EM_gain, int baseline, double pixel_size, double NA, double wavelength, double magnification) :outertype: Camera Initialize camera with parameters. :param res_x: horizontal resolution [pixels] :param res_y: vertical resolution [pixels] :param acq_speed: frame rate [frames/second] :param readout_noise: readout noise of camera [RMS] :param dark_current: dark current [electrons/second/pixel] :param quantum_efficiency: quantum efficiency [0.0-1.0] :param ADU_per_electron: conversion between camera units and electrons [-] :param EM_gain: electron multiplication gain [-] :param baseline: zero-signal average of pixel values [ADU] :param pixel_size: physical size of pixel [m] :param NA: numerical aperture [-] :param wavelength: light wavelength [m] :param magnification: magnification of camera [-] Methods ------- getRes_X ^^^^^^^^ .. java:method:: public int getRes_X() :outertype: Camera getRes_Y ^^^^^^^^ .. java:method:: public int getRes_Y() :outertype: Camera