I tried to do camera calibration using opencv but i kept getting a memory error halfway through so I have decided to use matlab instead. I have managed to get the parameters and i was wondering if I could use those parameters directly in opencv instead of using the opencv calibration. The parameters from Matlab i got are on the image attached.