Lines Matching refs:write
32 f.write('// Generated by DistortionMapperComp.py\n');
33 f.write('// for use by DistortionMapperTest.cpp\n\n');
35 f.write('namespace openCvData {\n')
36 f.write('std::array<int32_t, %d> rawCoords = {\n' % (rawCoords.shape[0] * rawCoords.shape[1]))
38 f.write(' %d, %d,\n' % (rawCoords[i][0], rawCoords[i][1]))
39 f.write('};\n')
41 f.write('std::array<int32_t, %d> expCoords = {\n' % (expCoords.shape[0] * expCoords.shape[2]))
43 f.write(' %d, %d,\n' % (expCoords[i][0][0], expCoords[i][0][1]))
44 f.write('};\n')
45 f.write('} // namespace openCvData\n')