Interlacing widget not interlacing correctly
Carrying on from where you started off, I saved a copy of the interlaced widget contents, and then used
detinerlace_to_new function in surgeryimage to split to left and right views.
import cv2 from sksurgeryimage.processing import interlace interlaced = cv2.imread("C://Users//SmartLiver//testing_stereo.png") left, right = interlace.deinterlace_to_new(interlaced) cv2.imwrite('C://Users/SmartLiver//left.png', left) cv2.imwrite('C://Users/SmartLiver//right.png', right)
Files included below - there is definitely something going on as you can see both the left and right camera view in the deinterlaced images.