VIDEO DISPLAY SYSTEMS

Abstract: A method for transmission of a sequence of high quality images for display on a visual display unit is described. It has particular application in the field of telepathology, where magnified images obtained by scanning a medical specimen on the stage of an optical microscope are transmitted from a local pathologist to a remote consultant for diagnosis. The method consists of the steps of advancing the field of view of the camera in discrete steps across the object being viewed to capture a sequence of contiguous images, temporarily storing a digital representation of a first of the images in a first buffer store and a digital representation of at least part of the next succeeding image in a second buffer store, controlling the data in the two buffer stores such that the data follows the leading edge of the advancing viewport and data in the first store representing a trailing incremental strip of the first stored image is progressively discarded while data in the second store representing a trailing incremental strip of the next contiguous image is transferred to a location in the first store occupied by the data representing leading incremental strip of the first stored image, and reading out the contents of the first buffer store to the display unit.

Description: VIPEQ DISPLAY SYSTEMS This invention relates to the transmission of a sequence of high quality images for display on a visual display unit, it has particular application in the field of telepathology where magnified images obtained by scanning a medical specimen on the stage of an optical microscope are transmitted from a local pathologist to a remote consultant for diagnosis. For general diagnostic practice in tumour histopathology and cytopathoiogy, because of the potentially serious consequences of misdiagnosis, it is hardly ever acceptable to examine just one or a few static images from the microscope, no matter how high their individual quality may be. Instead, it is accepted that the diagnostician must be free to examine any part of the specimen, at any of the magnification factors which the microscope allows. Thus the remote consultant should have die ability to 'scan' the field of view across the specimen on the microscope stage; both along the left- right (-x) axis and the top-bottom (-y) axis of the field of view. The consultant should also be able to move the stage in the longitudinal (-z) axis of the microscope to adjust the focus. Controlling the microscope stage through verbal instructions to a local pathologist is unacceptably slow and unreliable. Transmitting a complete set of images which together cover the whole specimen could be done automatically using a motorised stage and suitable camera control software, but would require the transmission of around 4000 images for a histopathology section of 15mm by 10mm. This again is unacceptable. Accordingly, remote control of the sender's microscope is virtually essential for a practical system. One such system is described, for example, in US-A-5 ,216,596 and US-A-5 ,297,034. In this known system, the magnified image of the specimen is recorded by a video camera and converted to an electronic video signal which is then transmitted over a communication link to a remote video display monitor. Control signals are generated by a computer processing unit at the remote workstation for remotely controlling the functions of the microscope, including motorised stage movement, magnification, focus and illumination control. The main problem with this known system is that the quality of die image viewed by the remote consultant on the display monitor is well below the quality that would be seen by viewing the specimen directly through the microscope. There is an emerging consensus that 1024 x 768 is the minimum acceptable pixel format for display of diagnostic-quality images on a high-resolution colour monitor. This rules out the use of all analog video cameras, monitors and image compression/decompression devices (codecs) which are based on broadcast standards such as PAL or NTSC. The bandwidth limitation imposed by the broadcast standards reduces the effective pixel number in each image to about a quarter of the number required for diagnostic resolution; in addition, in composite TV equipment, the colour resolution of the signal is further reduced by the chrominance subsampling. Although digital videocameras with CCD chips are now available which are suitable for capturing high-resolution microscope images, these cannot be used to directly display images on composite video monitors. Instead they are designed to work with image digitisers (frame grabbers) by means of which a digital representation of the image is stored in RAM, or on storage medium such as magnetic disc or CD ROM. To visually display such an image, it must be written to an 'RGB' colour monitor with a display driver capable of handling images of at least 1024 x 768 pixels at 8 or more bits colour channel. The overriding problem in the use of digital cameras in a telepathology diagnostic system is that, unlike analog video cameras, digital cameras cannot provide images at video rate: in fact a maximum rgb frame rate of about 1/25 of video rate (2/ sec), is typical, and in several cases the frame rate is less than 1/sec. Although standard analog TV videocodec technology can be used to compress the video images such that the required bandwidth is reduced to a practical level (say 384 kbit sec), if 50 images must be transmitted per second, this allows 384/50 or about 8 kbits per image. Since the final image is normally reduced to a size of (512 x 384) 24 bit pixels (or about 4 Mbit), this requires the codec to perform (lossy) image compression of 500: 1. This can only be achieved at the expense of significant image degradation. To achieve smooth scrolling of the field of view of a digital videocamera across a specimen, the image refresh rate in the viewport must be comparable to the flicker fusion frequency of normal human vision, say 30/sec. But because the maximum image capture rate of the digital camera is much less than this (of the order of lframe/sec), it is not possible to simply grab, transmit, and display a stream of complete high-resolution images as the specimen is scanned under the objective. To overcome this fundamental difficulty without loss of image resolution, the present invention makes use of the fact that during scrolling, between one screen refresh and the next, although the rgb values of every pixel will in general be changed, die bulk of the display is simply shifted slightly in a vertical or horizontal direction so that the information content of the image as a whole remains almost constant. According to the present invention there is provided a method of displaying a sequence of images from a digital videocamera on a video display unit, the method comprising advancing the field of view of die camera in discrete steps across the object being viewed to capture a sequence of contiguous images, temporarily storing a digital representation of a first of the images in a first buffer store and a digital representation of at least part of the next succeeding image in a second buffer store, controlling the data in the two buffer stores such that the data follows the leading edge of the advancing viewport and data in the first store representing a trailing incremental strip of the first stored image is progressively discarded while data in the second store representing a trailing incremental strip of die next contiguous image is transferred to a location in the first store occupied by the data representing a leading incremental strip of the first stored image, and reading out the contents of the first buffer store to the display unit. The second buffer may either hold data representing a complete new image in the camera viewport, or data representing an increment or 'scroll quanta' of the image. Where the second buffer holds an entire image, an intermediate or 'scroll' buffer containing the 'scroll quanta' may be inserted between the first and second buffers. Where the second store contains an entire image, the incrementing is continued until the entire contents of the first buffer store representing the original image stored therein have been discarded, and a new image is then grabbed into the second buffer store and the process is repeated. Alternatively, d e new image is stored in a third buffer store and the contents of the second buffer store are then replenished continuously with increments from the third buffer store. In either case, the specimen appears to be scrolling smoothly across the field of view while in reality it is moved in a scries of quick steps followed by capture of contiguous images. The data entered into the first buffer representing the trailing incremental strip of the image stored in the second buffer store can be entered directly from the second buffer store or through an intermediate scroll buffer containing only the incremental portion of the image being transferred. When scrolling in the y-direction, the progressive replenishment of the image in the first store is performed line by line or in multiples of one complete line, whereas during x-scrolling each line of the displayed image is created as a composite of the corresponding lines in the image buffers. For a colour rgb image, first and second buffers can be provided for each of the three colour components, and the readout is to a single common display buffer. By way of example only, an embodiment of the invention will now be described with reference to the accompanying drawings in which: Fig. 1 is a schematic block diagram of a remote control telepathology system; and Fig. 2 is a diagram illustrating d e y- scrolling of die image in the system of Fig. 1. Referring to these figures, the pathological specimen to be viewed is placed on a microscope stage 10 beneath an objective lens 11 of the microscope 17 and illuminated by a light source 16. A digital video camera 12 with a CCD chip suitable for capturing high-resolution microscope images is fitted to die microscope. A ditital interface card (frame grabber) 13 retrieves and stores a digital representation of the image viewed by the camera 12, and this digital representation is processed by a local computer 14 and transmitted to a remote computer 15 operated by a consultant. The remote computer 15 is linked through a display driver 18 to a video display unit 19. The microscope stage 10 is remotely controlled by the consultant through a stepper motor unit 20. A similar situation holds in d e case where the consultant wishes to use d e computer 15 to control a local microscope (not shown). As the consultant drives the microscope stage in discrete steps under die (fixed) objective 11 of the microscope 17, it appears as though a viewport of fixed size is being moved (scrolled) smoothly across a single very large image of the specimen (referred to herein as a "virtual digital image'). The manner in which apparent scrolling of the viewport across die virtual digital image is achieved is illustrated in Fig. 2. Scrolling can take place in both directions along trajectories parallel to eidier the 'y'-axis or to the Y-axis. For simplicity we will first describe d e method used for downward scrolling across a 'virtual digital image' made of uncompressed monochrome or interleaved-colour images. This method can be easily extended to scrolling in any direction across any type of digital image, including compressed and non-interleaved colour images, and including images with any number of bits per pixel. In the following description, the number of bits/pixel in each uncompressed image is called 'obits'. The number of horizontal 'lines' in each image will be denoted by 'ymax', and the number of pixels within each of these horizontal 'lines' by 'xmax' . Thus xmax, ymax are the digital width and height of die images respectively and die buffer size required to hold a single image is given by the product (xmax. ymax. nbits). Fig. 2 schematically represents two contiguous digital images, continuous in die specimen's 'y' -direction which have been acquired into buffer stores buf_0 and buf. 1. The data buffers are continuous blocks of RAM, allocated at start-up by die operating system of the computer at the request of the controlling program. The individual (x) scan-lines in the images are denoted a, b, c. and A, B, C... in bufβ and bufj respectively. Scanning commences at a point in time when the image in bufβ is already being displayed. Scrolling nn the local w rir g rati^n Each elemental downward 'scroll event' can be achieved through the following series of steps: (1) left-shift the contents of buf.O by N(nbits.xmax) bits, where N represents the number of lines in each scroll event. (Note that N should be chosen such that ymax is an integer multiple of N.) (2) copy die first N(nbits.xmax) from buf.l into a temporary 'scroll quantum' buffer (not shown). (3) write the contents of the scroll quantum buffer into buf.O, starting at an offset in buf.O given by (xmax(ymax-N))nbits, (3a) write die contents of die scroll quantum buffer to die output comms port. (4) left-shift the contents of buf_ l by N(nbits.xmax) (5) display the contents of buf_0 If it is not necessary to transmit the scrolling viewport to another workstation over a LAN or WAN connection, then step 3a will be omitted. In this case the scroll quantum buffer can also be dispensed with since the scroll quantum can be copied directly from buf_ I to buf_ 0. Steps 1-5 can be repeated to continue scrolling until (ymax N) scroll events have been completed. At this point there is no more useful daia in buf_ 1 and die scroll process must pause while a new image is acquired into buf_ 1 . Scrolling can then resume as before until a further (ymax/N) scroll events have occurred, etc. If ir is desired to reduce the slight irregularity which accompanies this type of scrolling, it is a simple matter to use three buffers instead of two, at the cost of more memory allocation and slightly greater complexity in programming. In practice, by writing directly to die display hardware, this process can be accomplished witiiin 15 msec, easily meeting die need to refresh the display at 30 frames sec to create die impression of smooth scrolling. To scroll across a full viewport dimension in this way takes approximately 12 sec. using compiled Visual C++ code, a standard rgb display board and an Intel P166 cpu. If two complete new lines (β b, c d,....) are copied to bufj) in each 'scroll event', tiien die time taken to scan one complete frame height is halved without noticeable loss of smoothness in scrolling. Fuπher incrementing the 'line quantum' gives a slight but noticeable jerkiness to the scrolling, which may be acceptable as the price to pay for faster scrolling. For a colour image, six image buffers would be required to accommodate d e colour image planes received from die camera, the display buffer bufj holding the composite image to be displayed on the monitor at any instant. Scrolling on the remote workstation. Examination of the five steps which make up a single local scroll event shows that a similar sequence can be carried out on a remote host, but here instead of holding an entire image, bufj is replaced by the input buffer provided by d e communications software layer which holds die 'scroll quanta' of size N(xmax.nbits) bits. Starting from the same point as before, with both computers displaying die same initial image from their respective bufj) memories, die sequence on the remote host for a parallel downward scroll event then becomes (1) left-shift die contents of the remote bufj) by N(nbits.xπ___x) bits, where N represents the number of lines in each scroll event. (2) read a 'scroll quantum' of N(nbits.xmax) bits from die comms input data stream into the remote bufj), starting at an offset in the remote bufj) given by (xmax(ymax-N)nbits. (3) display the contents of bufβ . In this way the communications link is used to transmit a stream of successive 'scroll quanta' . While not essential to the concept of viewport scrolling presented here, this method has two advantages compared with the alternative strategy of transmitting a succession of entire images to the remote host: a) following initiation of the scrolling process via the local host's gui, scrolling begins earlier on the remote host. This is because there is no need to wait for an entire image to be transmitted before beginning scrolling on d e remote host. b) because die image is transmitted in small 'chunks' rather than as one long bitstream, buffer management and error handling are made easier on die remote host. Movement of the specimen under the objective lens 11 in all three orthogonal axes is brought about through activation of one or more of three stepper-motors provided with the motorised stage. The tiiree stepper-motors are driven directly from the proprietary stage controller hardware which in turn receives appropriate control signals in the form of ASCII strings via an RS232 port of the local computer 14. The microscope stage 10 is controlled by die consultant using a mouse to activate one of die four arrow symbols which die gui provides ('scroll forward, scroll back, scroll left, scroll right'). The key feature of this type of control is that the microscope does not move smoothly at constant speed: on the contrary, the stage is made to move in steps corresponding to the absolute height (VQ) or width (X Q ) of the region in the viewport frame as appropriate to die selected direction of trawl. For example, suppose that die camera/ftamegrabber in use provides an image (viewport) of height 768 pixels, and that calibration of the system with stage micrometer while using a specific objective lens shows that 1mm in the focal plane corresponds to 218 pixels. It follows that y 0 = 3.52mm, and this will be programmed into d e startup script during the initial calibration. If now (he mouse is used to select the 'scroll forward' arrow, the stage will be made to move forward in steps of 3.52mm. Immediately that each step is completed (approx 1 sec), an image is grabbed and compressed to RAM (0.5 sec). Once an initial static image has been transferred to the remote display buffer, all that is required is that this buffer is treated in the same way as bufj) in Fig. 2, ie it must be updated by incorporation of the 'scroll quanta* which it gets from die local computer. When one of the 'arrow keys' is activated, then die stage immediately moves by one viewport height (or width) in the appropriate direction and an image is grabbed to bμfj. No further movement of the stage occurs until die viewport is scrolled completely out of bufj), whereupon the stage is made to jump ahead again. When scrolling in the -direction, it is no longer possible to simply shift die entire contents of the store to the right or left when incrementing the stored data. Instead, the data representing an incremental strip in the x-direction must be retrieved from each of d e ymax lines in die appropriate store and eidier discarded or combined with the data in die corresponding ymax lines in the other store to form an up-dated image. Other applications of the described system will exist wherever readout of data from a videocamera is slow compared to die movement of a fixed scene across die field of view. In the present example, d e image of me specimen is moved across the CCD camera chip in a 'saltatory' or 'jumping' motion so that a smooth, continuous motion can be accurately displayed on the VDU. The same principle might be used to move the camera itself in this way across a static object to produce a similar effec For example, if the camera were made to perform a series of rotations through a fixed angular distance about a static axis, pausing on the way to take a series of static images of a panoramic scene, then these images could be processed in d e way described above to reconstruct die visual effect of a smooth panning motion across the scene at almost any desired speed. A similar process could be used to make smooth images in aerial photography, virtual reality constructions etc., provided that the object in view is not changing appreciably during the period in which the images are acquired.

Claims: 1. Method of displaying a sequence of images from a digital videocamera on a video display unit, the method being characterized by the steps of advancing the field of view of the camera in discrete steps across the object being viewed to capture a sequence of contiguous images, temporarily storing a digital representation of a first of the images in a first buffer store and a digital representation of at least part of the next succeeding image in a second buffer store, controlling the data in the two buffer stores such that the data follows the leading edge of the advancing viewport and data in the first store representing a trailing incremental strip of the first stored image is progressively discarded while data in the second store representing a trailing incremental strip of the next contiguous image is transferred to a location in the first store occupied by the data representing a leading incremental strip of the first stored image, and reading out the contents of the first buffer store to the display unit. 2. Method according to claim 1, characterized in that where the second buffer holds an entire image, an intermediate 'scroll' buffer containing the 'scroll quanta' is inserted between the first and the second buffers. 3. Method according to claim 1, characterized in that the second buffer contains an entire image, that the incrementation is continued until the entire contents of the first buffer store representing the original image stored therein have been discarded, and that a new image is then grabbed into the second buffer store and the process is repeated. 4. Method according to claim 1, characterized in that the new image is stored in a third image store and that the contents of the second buffer store are then replenished continuously with increments from the third buffer store. 5. Method according to any of the preceding claims, in which the image is a colour RGB image, characterized in that the first and second buffers are provided for each of the three colour components, and that the readout is to a single common display buffer. 6. Use of a method according to any of the preceding claims in a system for transferring pathological information, such as scanned images, from a local to a remote location.

Inventors: CLINCH NOAH, CLINCH, NOAH
Applicants: CLINCH NOAH, SECOND OPINION SOLUTIONS AS, CLINCH, NOAH
Application year: 1997
Main classification: H04N7
IPC codes: G02B21, H04N1