Instanciate a new ProcessingImage canvas
id concerned canvas
Transform a 1 dimension array image into a 2 dimensions array image It is much easier to work with a 2d array image
binary image as a 1D array
width of image
height of image
Image in a 2D array representation
Adapt canvas' appearance (width/height) according to image
to keep aspect ratio and dimensions
Clear context's canvas
Set of point to check for each window detection
current row to check in image
image height
current col to check in image
image width
image in a 2D representation
number of correct pixels for circle window
Detect cells and mark them on image
image width
image height
set of point to check for each window detection
binary image in a 2D representation to analyse
array of center cells detected
counter of detected cells
number of detected cells
Draw a black and white image from an original source
Array
HTML Canvas element
Context 2d of canvas
Get image processing option from User view
Get scaled dimensions of canvas
width of image
height of image
aspect ratio object {ratio, width, height}
Make a circle matrix
width of square matrix containing circle
set of points that forms the circle
Mark all cells on canvas with a 'x' character
array of cells center points
number of cells
Generated using TypeDoc
ProcessingImage class to define a canvas drawing a grayscale image
Lucas Fridez lucas.fridez@he-arc.ch