curve_filter#

omnipose.utils.curve_filter(im, filterWidth=1.5)[source]#

curveFilter : calculates the curvatures of an image.

INPUT :

im : image to be filtered filterWidth : filter width

OUTPUT :

M_ : Mean curvature of the image without negative values G_ : Gaussian curvature of the image without negative values C1_ : Principal curvature 1 of the image without negative values C2_ : Principal curvature 2 of the image without negative values M : Mean curvature of the ima ge G : Gaussian curvature of the image C1 : Principal curvature 1 of the image C2 : Principal curvature 2 of the image im_xx : del^2 x / del x^2 im_yy : del^2 x / del y^2 im_xy : del^2 x / del x del y