Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/tests/test_identifysecondaryobjects.py   CellProfiler(Download)
        module.objects_name.value=OUTPUT_OBJECTS_NAME
        module.image_name.value = IMAGE_NAME
        module.method.value = cpmi2.M_WATERSHED_I
        module.module_num = 1
        p.add_module(module)
        module.objects_name.value=OUTPUT_OBJECTS_NAME
        module.image_name.value = IMAGE_NAME
        module.method.value = cpmi2.M_WATERSHED_I
        workspace = cpw.Workspace(p,module,i_s,o_s,m,i_l)
        module.threshold_scope.value = cpmi.TS_GLOBAL
        module.objects_name.value=OUTPUT_OBJECTS_NAME
        module.image_name.value = IMAGE_NAME
        module.method.value = cpmi2.M_WATERSHED_I
        module.threshold_scope.value = cpmi.TM_MANUAL
        module.manual_threshold.value = .01
        labels[3:6,3:6] = 1
        workspace, module = self.make_workspace(img, labels)
        module.method.value = cpmi2.M_WATERSHED_I
        module.threshold_scope.value = cpmi.TS_GLOBAL
        module.threshold_method.value = cpmi.TM_OTSU
        module.use_outlines.value = True
        module.outlines_name.value = "my_outlines"
        module.method.value = cpmi2.M_WATERSHED_I
        module.threshold_scope.value = cpmi.TS_GLOBAL
        module.threshold_method.value = cpmi.TM_OTSU