SYMBOL INDEX (558 symbols across 56 files) FILE: eiseg/app.py class ModelThread (line 47) | class ModelThread(QThread): method __init__ (line 50) | def __init__(self, controller, param_path): method run (line 55) | def run(self): class APP_EISeg (line 62) | class APP_EISeg(QMainWindow, Ui_EISeg): method __init__ (line 76) | def __init__(self, parent=None): method initActions (line 249) | def initActions(self): method __setColor (line 713) | def __setColor(self, action, setting_name): method setCutoutBackground (line 726) | def setCutoutBackground(self): method setCrossColor (line 730) | def setCrossColor(self): method editShortcut (line 735) | def editShortcut(self): method updateLanguage (line 740) | def updateLanguage(self): method changeLanguage (line 757) | def changeLanguage(self, lang): method updateRecentFile (line 762) | def updateRecentFile(self): method addRecentFile (line 778) | def addRecentFile(self, path): method clearRecentFile (line 789) | def clearRecentFile(self): method updateModelMenu (line 794) | def updateModelMenu(self): method setModelParam (line 814) | def setModelParam(self, paramPath): method changeParam (line 820) | def changeParam(self, param_path: str = None): method __change_model_callback (line 853) | def __change_model_callback(self, signal_dict: dict): method chooseMode (line 875) | def chooseMode(self): method loadRecentModelParam (line 885) | def loadRecentModelParam(self): method importLabelList (line 894) | def importLabelList(self, filePath=None): method exportLabelList (line 915) | def exportLabelList(self, savePath: str = None): method addLabel (line 943) | def addLabel(self): method adjustTableSize (line 965) | def adjustTableSize(self): method clearLabelList (line 978) | def clearLabelList(self): method refreshLabelList (line 996) | def refreshLabelList(self): method labelListDoubleClick (line 1023) | def labelListDoubleClick(self, row, col): method currLabelIdx (line 1042) | def currLabelIdx(self): method labelListClicked (line 1045) | def labelListClicked(self, row, col): method labelListItemChanged (line 1062) | def labelListItemChanged(self, row, col): method createPoly (line 1072) | def createPoly(self, curr_polygon, color): method delActivePolygon (line 1094) | def delActivePolygon(self): method delPolygon (line 1105) | def delPolygon(self, polygon): method delAllPolygon (line 1115) | def delAllPolygon(self): method delActivePoint (line 1119) | def delActivePoint(self): method getMask (line 1124) | def getMask(self): method openRecentImage (line 1142) | def openRecentImage(self, file_path): method openImage (line 1149) | def openImage(self, filePath: str = None): method openFolder (line 1186) | def openFolder(self, inputDir: str = None): method loadImage (line 1252) | def loadImage(self, path): method loadLabel (line 1379) | def loadLabel(self, imgPath): method turnImg (line 1455) | def turnImg(self, delta, list_click=False): method imageListClicked (line 1477) | def imageListClicked(self): method finishObject (line 1489) | def finishObject(self): method completeLastMask (line 1513) | def completeLastMask(self): method saveImage (line 1531) | def saveImage(self, close=False): method exportLabel (line 1559) | def exportLabel(self, saveAs=False, savePath=None, lab_input=None): method chooseSavePath (line 1689) | def chooseSavePath(self): method eximgsInit (line 1712) | def eximgsInit(self): method setDirty (line 1719) | def setDirty(self, isDirty): method changeOutputDir (line 1722) | def changeOutputDir(self, outputDir=None): method maskOpacityChanged (line 1767) | def maskOpacityChanged(self): method clickRadiusChanged (line 1775) | def clickRadiusChanged(self): method threshChanged (line 1781) | def threshChanged(self): method undoClick (line 1796) | def undoClick(self): method clearAll (line 1806) | def clearAll(self): method redoClick (line 1813) | def redoClick(self): method canvasClick (line 1821) | def canvasClick(self, x, y, isLeft): method updateImage (line 1842) | def updateImage(self, reset_canvas=False): method viewZoomed (line 1856) | def viewZoomed(self, scale): method resetZoom (line 1861) | def resetZoom(self, width, height): method keyReleaseEvent (line 1880) | def keyReleaseEvent(self, event): method queueEvent (line 1888) | def queueEvent(self, function): method toggleOrigExt (line 1891) | def toggleOrigExt(self, dst=None): method toggleAutoSave (line 1898) | def toggleAutoSave(self, save): method toggleSave (line 1906) | def toggleSave(self, type): method initCoco (line 1917) | def initCoco(self, coco_path: str = None): method toggleWidget (line 1931) | def toggleWidget(self, index=None, warn=True): method rsBandSet (line 1991) | def rsBandSet(self, idx): method updateBandList (line 2017) | def updateBandList(self, clean=False): method toggleLargestCC (line 2049) | def toggleLargestCC(self, on): method initGrid (line 2056) | def initGrid(self): method changeGrid (line 2072) | def changeGrid(self, row, col): method mask2poly (line 2098) | def mask2poly(self, mask, show=True): method saveGrid (line 2133) | def saveGrid(self): method turnGrid (line 2161) | def turnGrid(self, delta): method closeGrid (line 2177) | def closeGrid(self): method saveGridLabel (line 2182) | def saveGridLabel(self): method opacity (line 2240) | def opacity(self): method clickRadius (line 2244) | def clickRadius(self): method segThresh (line 2248) | def segThresh(self): method warnException (line 2255) | def warnException(self, e): method warn (line 2260) | def warn(self, title, text, buttons=QMessageBox.Yes): method status (line 2269) | def status(self): method status (line 2281) | def status(self, status): method loadGrid (line 2289) | def loadGrid(self, img, is_rs=True): method loadLayout (line 2305) | def loadLayout(self): method saveLayout (line 2309) | def saveLayout(self): method closeEvent (line 2319) | def closeEvent(self, event): method reportBug (line 2325) | def reportBug(self): method quickStart (line 2328) | def quickStart(self): method toggleLogging (line 2333) | def toggleLogging(self, s): method toBeImplemented (line 2340) | def toBeImplemented(self): method wwChanged (line 2344) | def wwChanged(self): method wcChanged (line 2356) | def wcChanged(self): method ww (line 2369) | def ww(self): method wc (line 2373) | def wc(self): method twwChanged (line 2376) | def twwChanged(self): method swwChanged (line 2384) | def swwChanged(self): method twcChanged (line 2388) | def twcChanged(self): method swcChanged (line 2396) | def swcChanged(self): method useQtWidget (line 2400) | def useQtWidget(self, s): FILE: eiseg/controller.py class InteractiveController (line 35) | class InteractiveController: method __init__ (line 36) | def __init__( method filterLargestCC (line 72) | def filterLargestCC(self, do_filter: bool): method setModel (line 84) | def setModel(self, param_path=None, use_gpu=None): method setImage (line 121) | def setImage(self, image: np.array): method setLabelList (line 136) | def setLabelList(self, labelList: json): method addLabel (line 163) | def addLabel(self, id: int, name: str, color: list): method delLabel (line 166) | def delLabel(self, id: int): method clearLabel (line 169) | def clearLabel(self): method importLabel (line 172) | def importLabel(self, path): method exportLabel (line 175) | def exportLabel(self, path): method addClick (line 179) | def addClick(self, x: int, y: int, is_positive: bool): method undoClick (line 236) | def undoClick(self): method redoClick (line 249) | def redoClick(self): method finishObject (line 262) | def finishObject(self, building=False): method getPolygon (line 282) | def getPolygon(self): method setPolygon (line 285) | def setPolygon(self, polygon): method getMask (line 289) | def getMask(self): method setCurrLabelIdx (line 297) | def setCurrLabelIdx(self, number): method resetLastObject (line 302) | def resetLastObject(self, update_image=True): method reset_predictor (line 317) | def reset_predictor(self, predictor_params=None): method reset_init_mask (line 330) | def reset_init_mask(self): method getLargestCC (line 333) | def getLargestCC(self, mask): method get_visualization (line 340) | def get_visualization(self, alpha_blend: float, click_radius: int): method inImage (line 365) | def inImage(self, x: int, y: int): method result_mask (line 372) | def result_mask(self): method palette (line 377) | def palette(self): method current_object_prob (line 386) | def current_object_prob(self): method is_incomplete_mask (line 397) | def is_incomplete_mask(self): method imgShape (line 405) | def imgShape(self): method modelSet (line 409) | def modelSet(self): method modelName (line 413) | def modelName(self): method imageSet (line 417) | def imageSet(self): FILE: eiseg/inference/clicker.py class Clicker (line 25) | class Clicker(object): method __init__ (line 26) | def __init__( method make_next_click (line 42) | def make_next_click(self, pred_mask): method get_clicks (line 47) | def get_clicks(self, clicks_limit=None): method _get_next_click (line 50) | def _get_next_click(self, pred_mask, padding=True): method add_click (line 85) | def add_click(self, click): method _remove_last_click (line 98) | def _remove_last_click(self): method reset_clicks (line 110) | def reset_clicks(self): method get_state (line 119) | def get_state(self): method set_state (line 122) | def set_state(self, state): method __len__ (line 127) | def __len__(self): class Click (line 131) | class Click: method __init__ (line 132) | def __init__(self, is_positive, coords, indx=None): method coords_and_indx (line 138) | def coords_and_indx(self): method copy (line 141) | def copy(self, **kwargs): FILE: eiseg/inference/predictor/__init__.py function get_predictor (line 24) | def get_predictor( FILE: eiseg/inference/predictor/base.py class BasePredictor (line 29) | class BasePredictor(object): method __init__ (line 30) | def __init__( method to_tensor (line 66) | def to_tensor(self, x): method set_input_image (line 73) | def set_input_image(self, image): method get_prediction (line 85) | def get_prediction(self, clicker, prev_mask=None): method prepare_input (line 128) | def prepare_input(self, image): method get_coord_features (line 135) | def get_coord_features(self, image, prev_mask, points): method _get_prediction (line 144) | def _get_prediction(self, image_nd, clicks_lists, is_image_changed): method _get_transform_states (line 171) | def _get_transform_states(self): method _set_transform_states (line 174) | def _set_transform_states(self, states): method apply_transforms (line 179) | def apply_transforms(self, image_nd, clicks_lists): method get_points_nd (line 187) | def get_points_nd(self, clicks_lists): method get_states (line 220) | def get_states(self): method set_states (line 226) | def set_states(self, states): function split_points_by_order (line 231) | def split_points_by_order(tpoints, groups): FILE: eiseg/inference/predictor/ops.py class DistMaps (line 26) | class DistMaps(nn.Layer): method __init__ (line 27) | def __init__(self, norm_radius, spatial_scale=1.0, cpu_mode=True, use_... method get_coord_features (line 39) | def get_coord_features(self, points, batchsize, rows, cols): method forward (line 90) | def forward(self, x, coords): class ScaleLayer (line 94) | class ScaleLayer(nn.Layer): method __init__ (line 95) | def __init__(self, init_value=1.0, lr_mult=1): method forward (line 104) | def forward(self, x): class BatchImageNormalize (line 109) | class BatchImageNormalize: method __init__ (line 110) | def __init__(self, mean, std): method __call__ (line 118) | def __call__(self, tensor): FILE: eiseg/inference/transforms/base.py class BaseTransform (line 4) | class BaseTransform(object): method __init__ (line 5) | def __init__(self): method transform (line 8) | def transform(self, image_nd, clicks_lists): method inv_transform (line 11) | def inv_transform(self, prob_map): method reset (line 14) | def reset(self): method get_state (line 17) | def get_state(self): method set_state (line 20) | def set_state(self, state): class SigmoidForPred (line 24) | class SigmoidForPred(BaseTransform): method transform (line 25) | def transform(self, image_nd, clicks_lists): method inv_transform (line 28) | def inv_transform(self, prob_map): method reset (line 31) | def reset(self): method get_state (line 34) | def get_state(self): method set_state (line 37) | def set_state(self, state): FILE: eiseg/inference/transforms/crops.py class Crops (line 30) | class Crops(BaseTransform): method __init__ (line 31) | def __init__(self, crop_size=(320, 480), min_overlap=0.2): method transform (line 40) | def transform(self, image_nd, clicks_lists): method inv_transform (line 75) | def inv_transform(self, prob_map): method get_state (line 92) | def get_state(self): method set_state (line 95) | def set_state(self, state): method reset (line 98) | def reset(self): function get_offsets (line 104) | def get_offsets(length, crop_size, min_overlap_ratio=0.2): FILE: eiseg/inference/transforms/flip.py class AddHorizontalFlip (line 26) | class AddHorizontalFlip(BaseTransform): method transform (line 27) | def transform(self, image_nd, clicks_lists): method inv_transform (line 43) | def inv_transform(self, prob_map): method get_state (line 50) | def get_state(self): method set_state (line 53) | def set_state(self, state): method reset (line 56) | def reset(self): FILE: eiseg/inference/transforms/limit_longest_side.py class LimitLongestSide (line 23) | class LimitLongestSide(ZoomIn): method __init__ (line 24) | def __init__(self, max_size=800): method transform (line 27) | def transform(self, image_nd, clicks_lists): FILE: eiseg/inference/transforms/zoom_in.py class ZoomIn (line 27) | class ZoomIn(BaseTransform): method __init__ (line 28) | def __init__( method transform (line 50) | def transform(self, image_nd, clicks_lists): method inv_transform (line 96) | def inv_transform(self, prob_map): method check_possible_recalculation (line 122) | def check_possible_recalculation(self): method get_state (line 145) | def get_state(self): method set_state (line 155) | def set_state(self, state): method reset (line 164) | def reset(self): method _transform_clicks (line 171) | def _transform_clicks(self, clicks_list): function get_object_roi (line 186) | def get_object_roi(pred_mask, clicks_list, expansion_ratio, min_crop_size): function get_roi_image_nd (line 201) | def get_roi_image_nd(image_nd, object_roi, target_size): function check_object_roi (line 226) | def check_object_roi(object_roi, clicks_list): FILE: eiseg/models.py class EISegModel (line 26) | class EISegModel: method __init__ (line 28) | def __init__(self, model_path, param_path, use_gpu=False): method check_param (line 60) | def check_param(self, model_path, param_path): FILE: eiseg/plugin/medical/med.py function has_sitk (line 22) | def has_sitk(): function dcm_reader (line 35) | def dcm_reader(path): function windowlize (line 49) | def windowlize(scan, ww, wc): FILE: eiseg/plugin/n2grid/grid.py function checkOpenGrid (line 21) | def checkOpenGrid(img, thumbnail_min): class Grids (line 29) | class Grids: method __init__ (line 30) | def __init__(self, img, gridSize=(512, 512), overlap=(24, 24)): method clear (line 36) | def clear(self): method createGrids (line 45) | def createGrids(self): method getGrid (line 71) | def getGrid(self, row, col): method splicingList (line 81) | def splicingList(self, save_path): FILE: eiseg/plugin/n2grid/rs_grid.py class RSGrids (line 21) | class RSGrids: method __init__ (line 22) | def __init__(self, raset: Raster) -> None: method clear (line 35) | def clear(self) -> None: method createGrids (line 40) | def createGrids(self) -> List[int]: method getGrid (line 48) | def getGrid(self, row: int, col: int) -> Tuple[np.ndarray]: method splicingList (line 54) | def splicingList(self, save_path: str) -> np.ndarray: FILE: eiseg/plugin/remotesensing/imgtools.py function two_percentLinear (line 22) | def two_percentLinear(image: np.ndarray, function sample_norm (line 43) | def sample_norm(image: np.ndarray) -> np.ndarray: function get_thumbnail (line 57) | def get_thumbnail(image: np.ndarray, FILE: eiseg/plugin/remotesensing/raster.py function check_rasterio (line 26) | def check_rasterio() -> bool: class Raster (line 41) | class Raster: method __init__ (line 42) | def __init__(self, method __del__ (line 71) | def __del__(self) -> None: method __getRasterInfo (line 74) | def __getRasterInfo(self) -> Dict: method checkOpenGrid (line 89) | def checkOpenGrid(self, thumbnail_min: Union[int, None]) -> bool: method setBand (line 98) | def setBand(self, bands: Union[List[int], Tuple[int]]) -> None: method showGeoInfo (line 114) | def showGeoInfo(self) -> str: method getArray (line 126) | def getArray(self) -> Tuple[np.ndarray]: method getGrid (line 141) | def getGrid(self, row: int, col: int) -> Tuple[np.ndarray]: method saveMask (line 158) | def saveMask(self, img: np.array, save_path: str, method saveMaskbyGrids (line 181) | def saveMaskbyGrids(self, FILE: eiseg/plugin/remotesensing/shape.py function check_gdal (line 20) | def check_gdal() -> bool: function save_shp (line 43) | def save_shp(shp_path: str, tif_path: str, ignore_index :int=0) -> str: FILE: eiseg/run.py function main (line 29) | def main(): FILE: eiseg/ui.py class Ui_EISeg (line 32) | class Ui_EISeg(object): method __init__ (line 33) | def __init__(self): method setupUi (line 37) | def setupUi(self, MainWindow): method create_text (line 318) | def create_text(self, parent, text_name=None, text_text=None): method create_button (line 322) | def create_button(self, parent, btn_name, btn_text, ico_path=None, cur... method creat_dock (line 326) | def creat_dock(self, parent, name, text, layout): method show_logo (line 330) | def show_logo(self, logo_path): method create_slider (line 343) | def create_slider( FILE: eiseg/util/coco/coco.py function _isArrayLike (line 16) | def _isArrayLike(obj): class COCO (line 20) | class COCO: method __init__ (line 21) | def __init__(self, annotation_file=None): method hasImage (line 58) | def hasImage(self, imageName): method hasCat (line 62) | def hasCat(self, catIdx): method createIndex (line 66) | def createIndex(self): method setInfo (line 106) | def setInfo( method addCategory (line 124) | def addCategory( method updateCategory (line 140) | def updateCategory( method addImage (line 158) | def addImage( method getBB (line 190) | def getBB(self, segmentation): method getArea (line 196) | def getArea(self, segmentation): method addAnnotation (line 202) | def addAnnotation( method delAnnotation (line 233) | def delAnnotation(self, annId, imgId): method updateAnnotation (line 245) | def updateAnnotation(self, id, imgId, segmentation): method info (line 269) | def info(self): method getAnnIds (line 277) | def getAnnIds(self, imgIds=[], catIds=[], areaRng=[], iscrowd=None): method getCatIds (line 319) | def getCatIds(self, catNms=[], supNms=[], catIds=[]): method getImgIds (line 353) | def getImgIds(self, imgIds=[], catIds=[]): method loadAnns (line 374) | def loadAnns(self, ids=[]): method loadCats (line 385) | def loadCats(self, ids=[]): method loadImgs (line 396) | def loadImgs(self, ids=[]): method download (line 570) | def download(self, tarDir=None, imgIds=[]): method loadNumpyAnnotations (line 596) | def loadNumpyAnnotations(self, data): FILE: eiseg/util/coco/cocoeval.py class COCOeval (line 10) | class COCOeval: method __init__ (line 60) | def __init__(self, cocoGt=None, cocoDt=None, iouType='segm'): method _prepare (line 84) | def _prepare(self): method evaluate (line 121) | def evaluate(self): method computeIoU (line 163) | def computeIoU(self, imgId, catId): method computeOks (line 192) | def computeOks(self, imgId, catId): method evaluateImg (line 235) | def evaluateImg(self, imgId, catId, aRng, maxDet): method accumulate (line 315) | def accumulate(self, p = None): method summarize (line 422) | def summarize(self): method __str__ (line 495) | def __str__(self): class Params (line 498) | class Params: method setDetParams (line 502) | def setDetParams(self): method setKpParams (line 513) | def setKpParams(self): method __init__ (line 525) | def __init__(self, iouType='segm'): FILE: eiseg/util/coco/common/gason.cpp function isspace (line 52) | static inline bool isspace(char c) { function isdelim (line 56) | static inline bool isdelim(char c) { function isdigit (line 60) | static inline bool isdigit(char c) { function isxdigit (line 64) | static inline bool isxdigit(char c) { function char2int (line 68) | static inline int char2int(char c) { function string2double (line 74) | static double string2double(char *s, char **endptr) { function JsonNode (line 120) | static inline JsonNode *insertAfter(JsonNode *tail, JsonNode *node) { function JsonValue (line 128) | static inline JsonValue listToValue(JsonTag tag, JsonNode *tail) { function jsonParse (line 137) | int jsonParse(char *s, char **endptr, JsonValue *value, JsonAllocator &a... FILE: eiseg/util/coco/common/gason.h type JsonTag (line 8) | enum JsonTag { type JsonNode (line 18) | struct JsonNode function JsonNode (line 54) | JsonNode *toNode() const { type JsonNode (line 60) | struct JsonNode { type JsonIterator (line 66) | struct JsonIterator { function JsonIterator (line 86) | inline JsonIterator end(JsonValue) { FILE: eiseg/util/coco/common/maskApi.c function uint (line 11) | uint umin( uint a, uint b ) { return (ab) ? a : b; } function rleInit (line 14) | void rleInit( RLE *R, siz h, siz w, siz m, uint *cnts ) { function rleFree (line 19) | void rleFree( RLE *R ) { function rlesInit (line 23) | void rlesInit( RLE **R, siz n ) { function rlesFree (line 28) | void rlesFree( RLE **R, siz n ) { function rleEncode (line 32) | void rleEncode( RLE *R, const byte *M, siz h, siz w, siz n ) { function rleDecode (line 43) | void rleDecode( const RLE *R, byte *M, siz n ) { function rleMerge (line 49) | void rleMerge( const RLE *R, RLE *M, siz n, int intersect ) { function rleArea (line 72) | void rleArea( const RLE *R, siz n, uint *a ) { function rleIou (line 77) | void rleIou( RLE *dt, RLE *gt, siz m, siz n, byte *iscrowd, double *o ) { function rleNms (line 98) | void rleNms( RLE *dt, siz n, uint *keep, double thr ) { function bbIou (line 109) | void bbIou( BB dt, BB gt, siz m, siz n, byte *iscrowd, double *o ) { function bbNms (line 122) | void bbNms( BB dt, siz n, uint *keep, double thr ) { function rleToBbox (line 133) | void rleToBbox( const RLE *R, BB bb, siz n ) { function rleFrBbox (line 149) | void rleFrBbox( RLE *R, const BB bb, siz h, siz w, siz n ) { function uintCompare (line 158) | int uintCompare(const void *a, const void *b) { function rleFrPoly (line 162) | void rleFrPoly( RLE *R, const double *xy, siz k, siz h, siz w ) { function rleFrString (line 218) | void rleFrString( RLE *R, char *s, siz h, siz w ) { FILE: eiseg/util/coco/common/maskApi.h type uint (line 9) | typedef unsigned int uint; type siz (line 10) | typedef unsigned long siz; type byte (line 11) | typedef unsigned char byte; type RLE (line 13) | typedef struct { siz h, w, m; uint *cnts; } RLE; FILE: eiseg/util/coco/mask.py function encode (line 80) | def encode(bimask): function decode (line 87) | def decode(rleObjs): function area (line 93) | def area(rleObjs): function toBbox (line 99) | def toBbox(rleObjs): FILE: eiseg/util/colormap.py class ColorMap (line 21) | class ColorMap(object): method __init__ (line 22) | def __init__(self, color_path, shuffle=False): method get_color (line 32) | def get_color(self): method __len__ (line 37) | def __len__(self): FILE: eiseg/util/config.py function parse_configs (line 8) | def parse_configs(path): function save_configs (line 15) | def save_configs(path=None, config=None, actions=None): class cfgData (line 33) | class cfgData(object): method __init__ (line 34) | def __init__(self, yaml_file): method get (line 39) | def get(self, key): FILE: eiseg/util/label.py class Label (line 21) | class Label: method __init__ (line 22) | def __init__(self, idx=None, name=None, color=None): method __repr__ (line 27) | def __repr__(self): class LabelList (line 31) | class LabelList(object): method __init__ (line 32) | def __init__(self, labels: dict = None): method add (line 39) | def add(self, idx, name, color): method remove (line 42) | def remove(self, index): method clear (line 49) | def clear(self): method toint (line 52) | def toint(self, seq): method importLabel (line 63) | def importLabel(self, path): method exportLabel (line 78) | def exportLabel(self, path): method getLabelById (line 90) | def getLabelById(self, labelIdx): method __repr__ (line 95) | def __repr__(self): method __getitem__ (line 98) | def __getitem__(self, index): method __len__ (line 101) | def __len__(self): method colors (line 105) | def colors(self): FILE: eiseg/util/language.py class TransUI (line 24) | class TransUI(object): method __init__ (line 25) | def __init__(self, is_trans=False): method put (line 36) | def put(self, zh_CN): method tr (line 46) | def tr(self, zh_CN): FILE: eiseg/util/manager.py class ComponentManager (line 5) | class ComponentManager: method __init__ (line 6) | def __init__(self, name=None): method __len__ (line 10) | def __len__(self): method __repr__ (line 13) | def __repr__(self): method __getitem__ (line 17) | def __getitem__(self, item): method __iter__ (line 26) | def __iter__(self): method keys (line 30) | def keys(self): method idx (line 33) | def idx(self, item): method components_dict (line 40) | def components_dict(self): method name (line 44) | def name(self): method _add_single_component (line 47) | def _add_single_component(self, component): method add_component (line 64) | def add_component(self, components): FILE: eiseg/util/misc.py function get_dims_with_exclusion (line 6) | def get_dims_with_exclusion(dim, exclude=None): function save_checkpoint (line 14) | def save_checkpoint( function get_bbox_from_mask (line 36) | def get_bbox_from_mask(mask): function expand_bbox (line 45) | def expand_bbox(bbox, expand_ratio, min_crop_size=None): function clamp_bbox (line 63) | def clamp_bbox(bbox, rmin, rmax, cmin, cmax): function get_bbox_iou (line 72) | def get_bbox_iou(b1, b2): function get_segments_iou (line 78) | def get_segments_iou(s1, s2): function get_labels_with_sizes (line 86) | def get_labels_with_sizes(x): FILE: eiseg/util/opath.py function check_cn (line 5) | def check_cn(path): function normcase (line 11) | def normcase(path): FILE: eiseg/util/polygon.py class Instructions (line 23) | class Instructions(Enum): function get_polygon (line 28) | def get_polygon(label, sample="Dynamic", img_size=None, building=False): function __change_list (line 88) | def __change_list(polygons, idx): function __find_min_point (line 98) | def __find_min_point(i_list, o_list): function __cal_ang (line 115) | def __cal_ang(p1, p2, p3): function __cal_dist (line 127) | def __cal_dist(p1, p2): function approx_poly_DIY (line 132) | def approx_poly_DIY(contour, min_dist=10, ang_err=5): function check_size_minmax (line 178) | def check_size_minmax(polygons, img_size): FILE: eiseg/util/qt.py function newIcon (line 16) | def newIcon(icon): function newButton (line 26) | def newButton(text, icon=None, slot=None): function newAction (line 35) | def newAction( function addActions (line 71) | def addActions(widget, actions): function labelValidator (line 81) | def labelValidator(): class struct (line 85) | class struct(object): method __init__ (line 86) | def __init__(self, **kwargs): method __len__ (line 89) | def __len__(self): method append (line 92) | def append(self, action): method __iter__ (line 96) | def __iter__(self): method __getitem__ (line 99) | def __getitem__(self, idx): method get (line 102) | def get(self, name): function fmtShortcut (line 106) | def fmtShortcut(text): FILE: eiseg/util/regularization/cal_line.py function line (line 25) | def line(p1, p2): function intersection (line 33) | def intersection(L1, L2): function par_line_dist (line 46) | def par_line_dist(L1, L2): function point_in_line (line 60) | def point_in_line(m, n, x1, y1, x2, y2): FILE: eiseg/util/regularization/cal_point.py function cal_dist (line 26) | def cal_dist(point_1, point_2): function cal_ang (line 32) | def cal_ang(point_1, point_2, point_3): function cal_azimuth (line 46) | def cal_azimuth(point_0, point_1): FILE: eiseg/util/regularization/rdp_alg.py function pldist (line 33) | def pldist(x0, x1, x2): function _rdp (line 51) | def _rdp(M, epsilon, dist): function _rdp_nn (line 76) | def _rdp_nn(seq, epsilon, dist): function rdp (line 89) | def rdp(M, epsilon=0, dist=pldist): FILE: eiseg/util/regularization/rotate_ang.py function Nrotation_angle_get_coor_coordinates (line 25) | def Nrotation_angle_get_coor_coordinates(point, center, angle): function Srotation_angle_get_coor_coordinates (line 38) | def Srotation_angle_get_coor_coordinates(point, center, angle): FILE: eiseg/util/regularization/rs_regularization.py function boundary_regularization (line 30) | def boundary_regularization(contours, img_shape, epsilon=6): FILE: eiseg/util/serialization.py function serialize (line 7) | def serialize(init): function load_model (line 41) | def load_model(config, **kwargs): function get_config_repr (line 64) | def get_config_repr(config): function get_default_params (line 77) | def get_default_params(some_class): function get_classname (line 91) | def get_classname(cls): function get_class_from_str (line 99) | def get_class_from_str(class_str): FILE: eiseg/util/vis.py function visualize_instances (line 7) | def visualize_instances( function get_palette (line 27) | def get_palette(num_cls): function visualize_mask (line 31) | def visualize_mask(mask, num_cls): function visualize_proposals (line 38) | def visualize_proposals(proposals_info, point_color=(255, 0, 0), point_r... function draw_probmap (line 48) | def draw_probmap(x): function draw_points (line 52) | def draw_points(image, points, color, radius=3): function draw_instance_map (line 60) | def draw_instance_map(x, palette=None): function blend_mask (line 68) | def blend_mask(image, mask, alpha=0.6): function get_boundaries (line 77) | def get_boundaries(instances_masks, boundaries_width=1): function draw_with_blend_and_clicks (line 97) | def draw_with_blend_and_clicks( FILE: eiseg/widget/bbox.py class BBoxAnnotation (line 21) | class BBoxAnnotation(QtWidgets.QGraphicsPathItem): method __init__ (line 22) | def __init__( method scnenePoints (line 65) | def scnenePoints(self): method setAnning (line 69) | def setAnning(self, isAnning=True): method remove (line 72) | def remove(self): method create_corners (line 77) | def create_corners(self): method create_lines (line 99) | def create_lines(self): method update (line 104) | def update(self): method add_to_scene (line 124) | def add_to_scene(self): method remove_from_scene (line 129) | def remove_from_scene(self): method to_array (line 137) | def to_array(self): method _round (line 146) | def _round(self, number, ind=0): method __del__ (line 153) | def __del__(self): FILE: eiseg/widget/create.py function create_text (line 22) | def create_text(parent, text_name=None, text_text=None): function create_edit (line 32) | def create_edit(parent, text_name=None, text_text=None): function create_button (line 44) | def create_button(parent, btn_name, btn_text, ico_path=None, curt=None): function create_slider (line 66) | def create_slider( class DockWidget (line 110) | class DockWidget(QDockWidget): method __init__ (line 111) | def __init__(self, parent, name, text): method changeBackColor (line 131) | def changeBackColor(self, isFloating): function creat_dock (line 139) | def creat_dock(parent, name, text, widget): FILE: eiseg/widget/grip.py class GripItem (line 20) | class GripItem(QtWidgets.QGraphicsPathItem): method __init__ (line 24) | def __init__(self, annotation_item, index, color, img_size): method setColor (line 46) | def setColor(self, color): method setAnning (line 51) | def setAnning(self, anning=True): method size (line 57) | def size(self): method updateSize (line 71) | def updateSize(self, s=2): method hoverEnterEvent (line 79) | def hoverEnterEvent(self, ev): method hoverLeaveEvent (line 86) | def hoverLeaveEvent(self, ev): method mouseReleaseEvent (line 93) | def mouseReleaseEvent(self, ev): method itemChange (line 97) | def itemChange(self, change, value): method shape (line 117) | def shape(self): method mouseDoubleClickEvent (line 125) | def mouseDoubleClickEvent(self, ev): FILE: eiseg/widget/line.py class LineItem (line 19) | class LineItem(QtWidgets.QGraphicsLineItem): method __init__ (line 23) | def __init__(self, annotation_item, idx, color): method setColor (line 39) | def setColor(self, color): method setAnning (line 43) | def setAnning(self, anning=True): method width (line 50) | def width(self): method updateWidth (line 64) | def updateWidth(self): method hoverEnterEvent (line 67) | def hoverEnterEvent(self, ev): method hoverLeaveEvent (line 75) | def hoverLeaveEvent(self, ev): method mouseDoubleClickEvent (line 80) | def mouseDoubleClickEvent(self, ev): method shape (line 87) | def shape(self): method boundingPolygon (line 99) | def boundingPolygon(self, debug): FILE: eiseg/widget/loading.py class LoadingWidget (line 23) | class LoadingWidget(QWidget): method __init__ (line 24) | def __init__(self): FILE: eiseg/widget/polygon.py class PolygonAnnotation (line 21) | class PolygonAnnotation(QtWidgets.QGraphicsPolygonItem): method __init__ (line 22) | def __init__( method scnenePoints (line 77) | def scnenePoints(self): method setAnning (line 84) | def setAnning(self, isAnning=True): method addPointMiddle (line 118) | def addPointMiddle(self, lineIdx, point): method addPointLast (line 145) | def addPointLast(self, p): method remove (line 167) | def remove(self): method removeFocusPoint (line 182) | def removeFocusPoint(self): method removeLastPoint (line 211) | def removeLastPoint(self): method movePoint (line 221) | def movePoint(self, i, p): method moveLine (line 230) | def moveLine(self, i): method move_item (line 247) | def move_item(self, i, pos): method itemChange (line 255) | def itemChange(self, change, value): method hoverEnterEvent (line 261) | def hoverEnterEvent(self, ev): method hoverLeaveEvent (line 266) | def hoverLeaveEvent(self, ev): method focusInEvent (line 272) | def focusInEvent(self, ev): method focusOutEvent (line 276) | def focusOutEvent(self, ev): method setColor (line 280) | def setColor(self, insideColor, borderColor): method __len__ (line 296) | def __len__(self): FILE: eiseg/widget/scene.py class AnnotationScene (line 22) | class AnnotationScene(QtWidgets.QGraphicsScene): method __init__ (line 25) | def __init__(self, parent=None): method setPenColor (line 35) | def setPenColor(self, color_list): method updatePolygonSize (line 39) | def updatePolygonSize(self): method setCreating (line 46) | def setCreating(self, creating=True): method mousePressEvent (line 49) | def mousePressEvent(self, ev): method mouseMoveEvent (line 63) | def mouseMoveEvent(self, ev): method drawForeground (line 72) | def drawForeground(self, painter, rect): method onMouseChanged (line 81) | def onMouseChanged(self, pointf): method item_hovering (line 86) | def item_hovering(self): method polygon_hovering (line 93) | def polygon_hovering(self): method line_hovering (line 100) | def line_hovering(self): method hovering (line 107) | def hovering(self): FILE: eiseg/widget/shortcut.py class RecordShortcutWidget (line 39) | class RecordShortcutWidget(QKeySequenceEdit): method __init__ (line 40) | def __init__(self, finishCallback, location): method keyReleaseEvent (line 49) | def keyReleaseEvent(self, ev): class ShortcutWidget (line 53) | class ShortcutWidget(QWidget): method __init__ (line 54) | def __init__(self, actions, pjpath): method initUI (line 64) | def initUI(self): method refreshUi (line 85) | def refreshUi(self): method recordShortcut (line 96) | def recordShortcut(self, action): method setShortcut (line 106) | def setShortcut(self, key): method center (line 136) | def center(self): method moveEvent (line 143) | def moveEvent(self, event): method closeEvent (line 150) | def closeEvent(self, event): FILE: eiseg/widget/table.py class TableWidget (line 20) | class TableWidget(QtWidgets.QTableWidget): method __init__ (line 21) | def __init__(self, *args, **kwargs): method dropEvent (line 32) | def dropEvent(self, event): method drop_on (line 59) | def drop_on(self, event): method is_below (line 66) | def is_below(self, pos, index): FILE: eiseg/widget/view.py class AnnotationView (line 20) | class AnnotationView(QtWidgets.QGraphicsView): method __init__ (line 24) | def __init__(self, *args): method wheelEvent (line 38) | def wheelEvent(self, ev): method mouseMoveEvent (line 53) | def mouseMoveEvent(self, ev): method mousePressEvent (line 68) | def mousePressEvent(self, ev): method mouseReleaseEvent (line 74) | def mouseReleaseEvent(self, ev): method leaveEvent (line 79) | def leaveEvent(self, ev): FILE: tool/baidu_translate.py class BaiduTranslate (line 27) | class BaiduTranslate: method __init__ (line 28) | def __init__(self, fromLang, toLang): method trans (line 36) | def trans(self, text): function read_ts (line 67) | def read_ts(ts_path): FILE: tool/semantic2instance.py function _savePalette (line 25) | def _savePalette(label, save_path): function _segMaskB2I (line 34) | def _segMaskB2I(mask_path, save_path): FILE: tool/translateUI.py class BaiduTranslate (line 12) | class BaiduTranslate: method __init__ (line 13) | def __init__(self, fromLang, toLang): method BdTrans (line 21) | def BdTrans(self, text): function firstCharUpper (line 82) | def firstCharUpper(s):