An imaging device, including a first longitudinal body which is configured to be inserted into a cavity, and a first linear imaging element having a first linear proximal end and a first linear distal end, which is rotatably connected at the first linear proximal end to the first longitudinal body. The imaging device further includes a second linear imaging element having a second linear proximal end and a second linear distal end, which is rotatably connected at the second linear proximal end to the first linear distal end. The device also has a second longitudinal body, slidably positioned with respect to the first longitudinal body and rotatably connected to the second linear distal end. There is a rotatable shaft that is connected to at least one of the first longitudinal body and the second longitudinal body.