An endoscopic system comprising: an endoscope, wherein the endoscope comprises: a hand-piece ; a proximal portion and a distal portion comprising a tip; an endoscope tube having a lumen, the endoscope tube rotatably attached to the hand-piece ; an image sensor disposed within the lumen of the endoscope tube for providing visualization of an area, wherein the image sensor is positioned at the distal portion near the tip of the endoscope tube ,; an angle sensor for detecting an angle of rotation of the endoscope tube with respect to the hand-piece ; wherein the endoscope tube is rotatable about an axis of the endoscope tube and with respect to the hand-piece , such that the rotation of the hand-piece relative to the endoscope tube creates an image horizon that changes depending upon the user's orientation of the hand-piece ; and an image signal processing pipeline for performing rotation transformations upon images that are captured by the image sensor based on the angle of rotation detected by the angle sensor, wherein a digital representation of the angle of the endoscope tube with respect to the hand-piece is continuously available during operation to the image signal processing pipeline, wherein the digital representation of the angle is made available to and sampled periodically by the image processing pipeline, wherein the digital representation of the angle is quantized in units, wherein an image transformation is performed only if the same quantized angle has been observed consistently within the previous "n" samples, where "n" is tunable by a user, and wherein the image signal processing pipeline is configured to inversely rotate the images with respect to the angle of rotation detected by the angle sensor to maintain a constant image horizon for a user on a display. a hand-piece ; a proximal portion and a distal portion comprising a tip; an endoscope tube having a lumen, the endoscope tube rotatably attached to the hand-piece ; an image sensor disposed within the lumen of the endoscope tube for providing visualization of an area, wherein the image sensor is positioned at the distal portion near the tip of the endoscope tube ,; an angle sensor for detecting an angle of rotation of the endoscope tube with respect to the hand-piece ; wherein the endoscope tube is rotatable about an axis of the endoscope tube and with respect to the hand-piece , such that the rotation of the hand-piece relative to the endoscope tube creates an image horizon that changes depending upon the user's orientation of the hand-piece ; and an image signal processing pipeline for performing rotation transformations upon images that are captured by the image sensor based on the angle of rotation detected by the angle sensor, wherein a digital representation of the angle of the endoscope tube with respect to the hand-piece is continuously available during operation to the image signal processing pipeline, wherein the digital representation of the angle is made available to and sampled periodically by the image processing pipeline, wherein the digital representation of the angle is quantized in units, wherein an image transformation is performed only if the same quantized angle has been observed consistently within the previous "n" samples, where "n" is tunable by a user, and wherein the image signal processing pipeline is configured to inversely rotate the images with respect to the angle of rotation detected by the angle sensor to maintain a constant image horizon for a user on a display. <EOS>