grim module

class grim.ScorpionClipboard(clpconstructor)

Bases: object

Text
Clear()
GetAsList()
MinMax(l)
class grim.Roi(r, c, w, h)

roi=Roi(row,col,width,height)

class grim.Grim(GetImageMatr, SetImageMatr, pltServer=None)

Bases: object

myGrim=Grim(GetImageMatr,SetImageMatr[,pltServer])

Roi

property get method for Roi

Stack
Storage
AutoUpdate
Reference
RefToPix
getpix(im, r, c)

pix=getpix(image,row,col)

setpix(im, r, c, v)

setpix(row,col,pisx

subimage(im, Roi)
copy(image)
save(image, name)
load(name)
push(image)
pop()
Threshold(image[, threshold])
Threshold2(image[, threshold1, threshold2])
Histogram(image, show=1)

hist,min,max=Histogram(image)

ContrastStretch(image, r1=70, r2=200, s1=10, s2=240)

ContrastStretch(image[,r1=70,r2=200,s1=10,s2=240]

ContrastStretchAuto(image, percentlevel=0.0, mindist=128)
HistogramEqualize(image)
Sobel(image, add=0)
Smooth(image, kernelsize=9)
Unsharp(image, kernelsize=9)
Max(image)
Lift(image)
Offset(image, b=1)
Linscale(image, a=1, b=0)
Add(a, b)
Subtract(a, b)
SubtractEx(a, b)
ShowHistogram(caption, histogram, min, max)
PolarUnwrap(image, rx, ry, width, height, rmin, rmax, sectorstart, sectorend) → new image
Op(ima, imb, operation) → image
slow_ColFilter(image, perc=0.95)
slow_ColHistogram(image, c, show=1)

hist,min,max=Histogram(image)

slow_Convolution(image, kernel, smooth=0)