An endoscope realized as either a borescope or a fiberscope including one or more fluid filled lenses is described. In an embodiment, the optical power of the fluid filled lenses may be adjusted to adjust the focal length associated with the endoscope. Thus, variable working distances are allowable while maintaining focus on an object in front of the endoscope. The endoscope may include a distance sensor, which is used to determine a distance between the endoscope and a sample. A processor may compare the measured distance to the current optical power of the one or more sealed fluid filled lenses. The processor may transmit signals to one or more actuators coupled to one or more sealed fluid filed lenses to change the optical power of the one or more sealed fluid filled lenses based on the comparison.하나 또는 그보다 많은 유체 충진 렌즈를 포함하는 파이버스코프 또는 보어스코프 중 하나로 인식되는 내시경이 기술된다. 실시예에서, 유체 충진 렌즈의 도수는 내시경과 연관된 초점 길이를 조절하도록 조절될 수 있다. 따라서, 가변 작동 거리는 내시경의 전방에서 객체 상의 초점을 유지하는 동안에 허용 가능하다. 내시경은 거리 센서를 포함할 수 있고, 이는 내시경과 표본 사이에서의 거리를 결정하는데 사용된다. 프로세서는 측정된 거리를 하나 또는 그보다 많은 밀봉된 유체 충진 렌즈의 현재의 도수에 비교할 수 있다. 상기 프로세서는 상기 비교에 기반하여 하나 또는 그보다 많은 밀봉된 유체 충진 렌즈의 도수를 변경하기 위해 하나 또는 그보다 많은 밀봉된 유체 충진 렌즈에 결합된 하나 또는 그보다 많은 액츄에이터에 신호를 전달할 수 있다.