Package omero :: Package util :: Module script_utils
[hide private]
[frames] | no frames]

Module script_utils

source code

Functions [hide private]
 
drawTextOverlay(draw, x, y, text, colour='0xffffff') source code
 
drawLineOverlay(draw, x0, y0, text, colour='0xffffff') source code
 
rgbToRGBInt(red, green, blue) source code
 
RGBToPIL(RGB) source code
 
rangeToStr(range) source code
 
rmdir_recursive(dir) source code
 
calcSha1(filename) source code
 
getFormat(queryService, format) source code
 
createFile(updateService, filename, format) source code
 
uploadFile(rawFileStore, file) source code
 
attachFileToImage(updateService, image, file, nameSpace) source code
 
addAnnotationToImage(updateService, image, annotation) source code
 
readFromOriginalFile(fileId) source code
 
readImageFile(gateway, pixels, pixelsId, channel, x, y) source code
 
readFile(session, fileId, row, col) source code
 
calcSha1FromData(data) source code
 
createFileFromData(session, filename, data, format) source code
 
attachArrayToImage(session, image, file, nameSpace) source code
 
uploadArray(session, image, filename, data, format) source code
 
arrayToCSV(data) source code
 
downloadPlane(rawPixelStore, pixels, z, c, t) source code
 
uploadPlane(rawPixelStore, plane, z, c, t) source code
 
getRenderingEngine(session, pixelsId) source code
 
createPlaneDef(z, t) source code
 
getPlaneAsPackedInt(renderingEngine, z, t) source code
 
getRawPixelsStore(session, pixelsId) source code
 
getRawFileStore(session, fileId) source code
 
getPlaneInfo(iQuery, pixelsId, asOrderedList=0) source code
 
IdentityFn(commandArgs) source code
 
parseInputs(client, session, processFn=IdentityFn) source code
Variables [hide private]
  hash_sha1 = sha.new

Imports: getopt, sys, os, subprocess, numpy, PIL, Image, ImageDraw, omero, omero_Constants_ice, pixelstopython, hashlib, sha