Sample for getting number of groups and levels:Įxt.getGroupCount(path, groupNum) // Get total count of groupsĮxt.getLevelCount(path, groupNum-1, levelNum) // Get total count of levelsĮxt.You can use programming interface by using OVMacro command.Įxt.openFile("D:/image/test/test.vsi", 1, 2) // Open Group 2, Level 3Įxt.openFolder("D:/image/test") // You can specify group and level like as openFile SaveAs("Tiff", "D:/image/test/out_" + i + ".tif") It appears that instances of ShapeRoi are not handled properly by anslate().The attached example creates an overlay containing two identical lines, one created as an instance of 2D, the other is a ij. the entire overlay by (0.5, 0.5) only affects the latter, while the first line remains unchanged. Sample for opening images in a directory:.Run("Viewer", "open=D:/image/test/test.vsi group1_level1") Sample for opening an image which has multiple groups or levels:. Run("Viewer", "open=D:/image/test/test.oir")
0 Comments
Leave a Reply. |