I am wondering if
ImagePlus.updateAndDraw() is the right method to call when the underlying virtual stack is updated. According to the code at https://github.com/imagej/imagej1/blob/master/ij/ImagePlus.java#L255 the
updateAndDraw() method doesn’t update the pixels of the image when
stack.isVirtual() is true. Instead, it refreshes the UI component, but doesn’t create the image new.
What would be the correct method to update an
ImagePlus display when the underlying virtual stack has changed?