I replaced CV_IMWRITE_PXM_BINARY with IMWRITE_PXM_BINARY because it is no longer present in opencv.
Please note I don't actually know if this is the right fix but it seemed logical. It seems to be the same enum as before but with a different variable name which sort of makes sense. Also, note I don't have a Boson IR camera YET. I will be receiving one soon which I can use to test the code.
I replaced CV_IMWRITE_PXM_BINARY with IMWRITE_PXM_BINARY because it is no longer present in opencv.
Please note I don't actually know if this is the right fix but it seemed logical. It seems to be the same enum as before but with a different variable name which sort of makes sense. Also, note I don't have a Boson IR camera YET. I will be receiving one soon which I can use to test the code.