(img, img_path)
| 201 | # matlab's imwrite |
| 202 | # -------------------------------------------- |
| 203 | def imsave(img, img_path): |
| 204 | img = np.squeeze(img) |
| 205 | if img.ndim == 3: |
| 206 | img = img[:, :, [2, 1, 0]] |
| 207 | cv2.imwrite(img_path, img) |
| 208 | |
| 209 | def imwrite(img, img_path): |
| 210 | img = np.squeeze(img) |
nothing calls this directly
no outgoing calls
no test coverage detected