Provides an number of utilities useful in the calculation of the image ray transform (as well as other vision techniques).
Transform this array mat so that pixels with intensity target have intensity 255 and others are scaled by their distance to target.
Checks whether in_ext is an image extension (.jpg, .gif, .png, .jpeg, .pgm, .ppm, .tif, .bmp).
Normalise array mat to be between 0 and new_max.
Get value of row k and position n in pascal’s triangle
Perform Sobel edge detection with a template size of tsize.
Generate the x and y Sobel templates of size tsize.
This module is a C extension built with F2PY, implementing critical functions that are helpful in preparing the transform.
Performs an iterative convolution of mat with temp. Faster than Fourier convolution for small templates.