Hello, I’m trying to access the image data from the Frame Buffer using paraview.simple so that I can analyze (calculate various metrics) the image developed in paraview.simple without utilizing the disk. Does anybody know how to do this? Thanks, John Patchett and Soumya Dutta
patchett2002 (John Patchett) #1
utkarsh.ayachit (Utkarsh Ayachit) #2
view = GetActiveView() # or however you get your view img = view.CaptureWindow(1) # argument is magnification factor >= 1 assert img.IsA("vtkImageData")
you can now use the
vtkImageData for processing.