Undistorted images have black borders

Its the same problem even if I start from a new project.

I’m trying to create texture in another photogrammetry program but because of the black lines, I get lines on the mesh after building the texture.  It looks like slash marks