Update
This commit is contained in:
@@ -4,8 +4,6 @@ from ijutils import *
|
||||
from ch.psi.pshell.imaging.Overlays import *
|
||||
from ch.psi.pshell.imaging.Utils import *
|
||||
import ch.psi.pshell.imaging.Pen as Pen
|
||||
import java.awt.Rectangle as Rectangle
|
||||
import ch.psi.pshell.imaging.Data as Data
|
||||
|
||||
|
||||
def integrate(ips, as_float=True):
|
||||
@@ -51,7 +49,7 @@ def get_image_array(ip):
|
||||
return ip.getProcessor().getIntArray()
|
||||
|
||||
def open_image(file_name):
|
||||
file_name = get_context().setup.expandPath(file_name)
|
||||
file_name = expand_path(file_name)
|
||||
return Opener().openTiff(file_name, 1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user