An endoscope having a longitudinal axis, a view vector angularly offset from said longitudinal axis, an accelerometer, and an image rotator effectively responsive to said accelerometer, wherein said accelerometer is arranged for measuring rotations about a measurement axis which is generally parallel to said view vector. Through the use of this apparatus, an image is maintained in an upright orientation.