METHOD AND APPARATUS FOR DIGITALLY PROCESSING FREQUENTLY UPDATED IMAGES FROM A CAMERA

Abstract: The invention relates to a method and a system for digitally processing of frequently updated images from a camera. The system comprises at least one camera (2), at least one display unit, a network (6) for connecting the at least one camera with at least one display unit, and an image processing means (30). The image processing means comprises means for defining a first scaling area and a peripheral scaling aera, which is enclosing the first scaling area, within an acquired digitised image, and means for scaling the peripheral scaling area differently than the first scaling area so that the peripheral scaling area is downscaled in relation to the first scaling area, wherein the first scaling area is uniformly scaled in both a vertical and a horizontal direction.

Description: METHOD AND APPARATUS FOR DIGITALLY PROCESSING FREQUENTLY UPDATED IMAGES FROM A CAMERA Technical Field of the Invention The present invention relates to a method of digitally processing frequently updated images from a camera. Further, the present invention relates to a system, a camera, and a presentation unit performing digital processing of frequently updated images. Background Art Systems for distributing and presenting images from cameras are often used in applications for surveillance, inspection, security, and/or remote sensing. Processing of images in such systems is known. For example, in US 5 185 667 and US 5 359 363, there is described a device for omnidirectional image viewing. The imaging device is based on mathematical correction of a circular image obtained from a fisheye lens . The device is preferably used to provide a wide viewing angle without having to rotate the camera that is acquiring the images. In some situations the distributed images does not fit into the presentation application and then have to be adapted to the size allowed by the application. Currently, the normal way of making images from a camera suit such an application is to scale down or crop the images to suitable size. However, by scaling down or cropping the images important visual information will be reduced or erased from the presentation of the images. In US 4 605 952 there is described means and a method for providing a television signal format where the increased vertical resolution and the wider aspect ratio of a High Definition Television service can be achieved and where the signal format still is compatible with existing standard receivers. The patent document discloses a television studio camera provided with processing equipment for changing the aspect ratio of the image from the camera and for transforming it to a standard definition television image. The change of aspect ratio is achieved by compressing the central part of each line and compressing the beginning and the end of each line nonlinearly. Then samples from alternate lines are selected and combined to make up the standard television image. Summary of the invention One object of the present invention is to reduce the height and width of frequently updated images, which are acquired by means of a camera, and simultaneously preserve important visual information. The object of the present invention is achieved by means of a method of digitally processing frequently updated images according to claim 1, by means of a system according to claim 13, by means of a camera according to claim 17, by means of a presentation unit according to claim 21, and by means of a computer program product according to claim 26. Preferred embodiments of the present invention are defined in the dependent claims. More particularly, according to one aspect of the invention, a method of digitally processing frequently updated images from a camera, comprises the steps of defining a first scaling area and a peripheral scaling area, which encloses the first scaling area, receiving an updated image, scaling the peripheral scaling area differently than the first scaling area so that the peripheral scaling area is downscaled in relation to the first scaling area, wherein the first scaling area is uniformly scaled in both a vertical and a horizontal direction. An advantage of the method of the present invention is that the quality of the images are preserved in an area of interest, i.e. the first scaling area, while the height and the width of the images are decreased. OJ co t t l- 1 LΠ o C71 o Ul o Ul least one display unit, a network for connecting the at least one camera to at least one display unit, and an image processing means. The image processing means of said system comprises means for defining a first scaling area and a peripheral scaling area, which is enclosing the first scaling area, within an acquired digitised image, and means for scaling the peripheral scaling area differently than the first scaling area so that the peripheral scaling area is downscaled in relation to the first scaling area, wherein the first scaling area is uniformly scaled in both a vertical and a horizontal direction. An advantage of having the image processing means positioned in a device for distributing the images to at least one display unit is that such arrangement saves bandwidth in the network connecting the device for distributing images with the at least one display unit. A further advantage of this arrangement is that it makes it possible to store non-processed images for later use at a device for distributing the images. The advantage of saving bandwidth also applies to an embodiment where the scaling method is implemented in an image processing means in the camera. In a preferred embodiment the invention is part of a system for surveillance, inspection, security, and/or remote sensing. In the context of the invention, downscaling of an image means that the size of the image is decreased. A downscale in the direction of X by a downscale factor sx corresponds to a multiplication of the size of the image in said direction with a scale factor 1/ sx. Further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. Brief Description of the Drawings The invention will now be described in more detail with reference to the accompanying drawings, in which Fig. 1, is a schematic view of a system in which preferred embodiment of the invention is to operate, Fig. 2, is a schematic view of a camera according to the invention, 'Fig. 3, is showing the defined scaling areas, according to one embodiment of the invention, in an image not yet processed, Fig. 4, is showing the scaling areas of Fig. 5 when the image has been processed in accordance with the invention, Fig. 5, is showing an image in the form of a line pattern before it has been processed in accordance with an embodiment of the invention, Fig. 6, is showing the image of Fig. 5 when it has been processed in accordance with an embodiment of the invention, Fig. 7, represents an image from a camera that is used for monitoring an entrance zone of a room, Fig. 8, is showing the image of Fig. 7 when it has been processed in accordance with an embodiment of the invention, Fig. 9, is a schematic view of a scaling means in a preferred embodiment of the invention, Fig. 10, is a flowchart of a process of the scale factor selector in Fig. 9, Fig. 11, is a flowchart of a process of a preferred embodiment of the scaling means, which process manages the output signals from the scaling unit of Fig. 9 and compiles the pixels to a complete image for transfer, Fig. 12, is schematic view of the scaling unit of Fig. 9, Fig. 13, is a schematic view of the x-direction scaling unit of Fig. 12, Fig. 14, is a schematic view of the y-direction scaling unit of Fig. 12, Fig. 15, is a flowchart of a preferred process in the scale factor controller of Fig. 13 and Fig. 14, Fig. 16, is a flowchart of a preferred process in the Pixel in/out controller of Fig. 13 and Fig. 14, Fig. 17, is a schematic view of a system having a video server comprising processing means for processing an image according to the invention, Fig. 18, is showing an image comprising the images from four different cameras and their scaling areas before scaling, Fig. 19, is showing an image comprising the images from four different cameras and their scaling areas after scaling, Detailed Description of Preferred Embodiments of the Invention Fig. 1 illustrates a system utilising an embodiment of the invention. In the figure there is shown four cameras 2a-d being connected to a presentation unit 4 via a network 6. In a preferred embodiment of the system the cameras 2a-d are sending frequently updated digital images over the computer network 6 to at least one computer functioning as a presentation unit 4. The digital images are preferably coded and could for example be coded by using the JPEG standard or any other suitable coding. In the preferred embodiment the images are either sent as separate files or by means of streaming. At the site of the computer 4 there is provided a control means 8. The control means is preferably arranged for controlling pan and tilt functions of the images. In the preferred embodiment four digital images are presented simultaneously on the display device 10 of the computer 4. Thus, saving both space and equipment in comparison with having the images presented on four separate display devices. Depending on the purpose of the presentation of the image and/or features of a presentation application it could be advantageous to present just one image on the display 10. There could also be reasons to present any number of images simultaneously on the display 10. In Fig. 2, there is presented a schematic view of a camera 2 according to a preferred embodiment of the invention. The camera produces an image stream in which each image is processed. The camera 2 comprises a lens 20 for projecting an image of the environment onto an image sensor 22, which, for example, could be of CCD- or CMOS- type. The output of the image sensor 22 is then processed in an analogue processing means 24 in a way that is known to a person skilled in the art. The output of the analogue processing means 24 is then forwarded to a digital processing means 26. In the digital processing means 26 the image is processed by an image DSP 28 (Digital Signal Processor) , a scaling means 30, and a JPEG compression means 32. The image DSP 28 creates an image from received raw sensor data and processes the image to enhance the quality by eliminating various types of noise, filtering etc. The DSP 28 could for example be a SAA8110G DSP from Philips Semiconductors . ' The scaling means 30 processes the image from the DSP 28 in a manner that will be described later in this document. The image processed by the scaling means 30 is then processed in a JPEG compression means 32 for converting the image to the JPEG format. Then the output from the digital processing means 26 is passed to a network controller 36, in which the image is handled by a network protocol stack and sent over the computer network 6 via a network interface in the camera 2. The network controller 36 preferably acts as a network server. Further the network controller 36 is arranged to receive control commands from the computer network 6 for controlling the function of the camera 2 and the image processing functions. One of the control commands is a command for moving. an area of interest used in the scaling means, the area of interest is further explained below. Other control commands could for instance be commands for changing the scale factors of the scaling areas . 'Now referring to Fig. 3 and Fig. 4, the scaling means is arranged to process the digital image it receives as input as follows. In the received image there is defined logical scaling areas. These scaling areas are an area of interest 101, called a first scaling area, and a peripheral scaling area 102, 103, 104, 105, including a second scaling area 102 defined as the area above line 112, a third scaling area 103 defined as the area below line 113, a fourth scaling area 104 defined as the area to- the left of line 114, and a fifth scaling area 105 defined as the area to the right of line 115. The lines 112 and 113 are extending in a horizontal direction and the lines 114 and 115 are extending in a vertical direction. The peripheral scaling areas 102, 103, 104, 105 of the image is then downscaled in relation to the first scaling area. The downscaling of the peripheral area 101 is preferably performed by downscaling the second scaling area 102, the third scaling area 103, the fourth scaling area 104, and the fifth scaling area 105. The second and the third scaling areas 102, 103 are only downscaled in the vertical direction, thus maintaining the size in the horizontal direction, and the fourth and fifth scaling areas 104, 105 are only downscaled in the horizontal direction, thus maintaining the size in the vertical direction. Further, the scaling areas 102, 103, 104, 105, of the peripheral scaling area is arranged so that the second scaling area 102 is overlapping the fourth 104 and the fifth 105 scaling areas, thus the areas of overlap 116, 119, is scaled in both the horizontal direction and the vertical direction. The same applies to the third scaling area 103 which also is overlapping the fourth 104 and the fifth 105 scaling areas. In a preferred embodiment the second and the third scaling areas 102,103 are downscaled by means of a factor 5 (scaled by means of a factor 1/5) in the vertical direction and the fourth and the fifth scaling areas 104, 105 are downscaled by means of a factor 5 in the horizontal direction. Further, the first scaling area is not scaled at all . When using these scale factors and the scaling areas defined according to Fig. 3 the resulting image will have scaling areas of the size showed in Fig. 4. The values of the scale factors for scaling the scaling areas can vary and be of virtually any value. In some applications it could be interesting to indicate the area of interest in the processed image. This could be made by positioning a frame, e.g. a red line, at the boundaries of the first scaling area or by removing the colour information in the peripheral areas, thus resulting in an area of interest presented in colour surrounded by a black-and-white peripheral area. In Figs 5 and 6 the image before and after, respectively, scaling, by using the scaling parameters of above, is shown. The peripheral areas are scaled by means of a scale factor that is constant during the scaling of each of the peripheral scaling areas. In another embodiment the downscale factor is changed linearly and increasingly from the boundary of the first scaling area to the boundary of the image. By using the above mentioned technique for downscaling an image, the portion of the image within the first scaling area is presenting an image in which objects are fully identifiable, while the peripheral scaling area is presenting an image in which it could be difficult to identify objects, but where it at least is possible to recognise a movement of a object. This is illustrated by Fig. 7 and Fig. 8, wherein Fig. 7 shows a view from a surveillance camera before image processing and Fig. 8 shows the same view after image processing. The interesting area of the view is the door 180 and, as clearly can be seen in the figures, the quality of this part of the image is preserved, thus the objects in this part is not distorted and is clearly identifiable. The peripheral area is distorted and objects within this area could be hard to identify, however it would be easy to visually detect a movement in this area. In a preferred embodiment of the present invention the user is able to change the position of the area of interest (the first scaling area) , e.g. for identifying objects in the downscaled and distorted peripheral area. To control the change of position the user utilises an input means, such as a keyboard, mouse, joystick etc. The signals from the input means are transferred to the scaling means were they are interpreted. Preferably, a signal indicating a movement of the position to the right results in a movement of the positions of lines 114 and 115 in Fig. 3 to the right and a signal indicating movement to the left results in a movement of said lines to the left. Accordingly, a signal indicating a movement of the position upward result in an upward movement of the positions of lines 112 and 113 in Fig. 3 and a signal indicating, movement to downward results in a downward movement of said lines. Now referring to Fig. 9, the scaling means 30 comprises a scaling unit 310 and a scale factor selector 3i2. The image source- 314, which could be the image DSP 28 of Fig.2, a video camera equipped with some interface circuitry, etc, generates a stream of pixels from an acquired image. The pixels are sent to the scaling means 30 where the scale factor selector 312 and the scaling unit 310 process them. The pixels are sent from the image source 314 to the scale factor selector 312 via the PIXEL IN signal line and when a pixel is available it is signalled to the scale factor selector 312 by means of the PIXIN_AVAIL signal line. The scale factor selector 312 checks the position of the present pixel and provides the scaling unit 310 with the data of the present pixel, PIXEL, a signal indicating that a pixel is available, PIXEL_AVAIL, and the scale factors, SCALE FACTOR x and SCALE FACTOR y, to be used for said pixel . The process of the scale factor selector 312 is further described below and in Fig. 10. Then the scaling unit 310 processes the input values PIXEL, PIXEL_AVAIL, SCALE FACTOR x, and SCALE FACTOR y and produces an output pixel, sent over PIXEL OUT, and a signal indicating that a processed pixel is available, sent over PIXOUT_AVAIL. The resulting pixel stream is then compiled to an output image, e.g. by means of a process as described in the flowchart of Fig. 11, and is forwarded to an image destination 316, e.g. the JPEG compression means 32 in Fig. 2. In Fig. 10 the processing of the image in the scale factor selector is described by means of a flowchart. The processing of a new image is initiated by setting the pixel position variables, XPOS and YPOS, to zero, step 401. Thereafter, the process checks, step 402, if the present pixel is above line 112 in Fig. 3, defining a boundary between scaling areas, or beneath line 113 in Fig. 3, defining another boundary between scaling areas. If the present pixel is above line 112 or beneath line 113 then a scale factor for the y-direction, SCALE FACTOR y, of the present pixel is set to 1/5, step 403. If the pixel is not above line 112 and not beneath line 113 then the scale factor for the y-direction is set to one, step 404. Thus, the input SCALE FACTOR y to the scaling μ- Ω rt μ- i rt μ- μ- X Φ Ω O rt 0 ► d c-r rt TJ TJ rt CQ rt h- 1 μ- rt SD rt rt TJ Hi d 3 0 ω φ a 4 a Q T Λ a 4 Hi 0 a H a 4 a 4 Φ μ- a 4 Ω Ω 0 μ- CQ a 4 0 a 4 Hi Φ SD SD a ϋ Φ Hi φ μ- o 0 Φ Φ <! SD φ ii X Φ SD SD a Φ CQ Φ φ rf Ω μ- CQ ϋ hj μ- rt hj CQ SD Ω rt tr .. M rt hh φ h-" h- 1 O φ a Ω rt CQ Φ rf rt Φ Φ T φ a a μ- φ a" Φ f <! 0 X- 1 CQ Φ μ- a- O TJ SD a 4 Hi φ ϋ o - CQ ϋ rt φ 0 H SD Hi μ- Φ Φ CQ rf 3 SD H Ω ≤ a Φ μ> rt Hj μ- 1 Φ μ- a 3 > hj TJ Φ ø CQ Hi h- 1 Φ CQ rt Pi rt rf a 4 P 4 3 μ- SD a 4 Hi CQ - μ> φ φ Q rf μ- Hi 1 μ- 0 CQ ii £ " hi 0 TJ a 4 Φ Φ Φ 0 φ ω X- 1 Φ SD σi rt CQ X- 1 a 4 a rt Hi o . a Φ a SD Φ X <! hi φ μ- Φ T hi a Φ P. φ a Ω d 01 O φ Hi Φ rf TJ Φ Φ o φ Pi a Φ hi TJ D μ- Λ rt IQ X H Φ TJ rt a rt rt a SD Hi μ- Pi Hi hj o . μ- rt ϋ Ω O x- 1 a ø a 4 rt φ TJ ►^ f rf 0 μ- SD Hi cr 0 μ- Φ a 4 rt rt Ω rt 0 X Hi a o 0 CQ ø CQ SD Φ Φ μ- μ> μ- a 1 Hi a CQ SD 0 Hi rt TJ φ a 4 rt Hi Φ rt rt X CQ TJ rt Hi Φ T X o 0 Q Φ CQ Ω rt a φ T 0 0 -> rf a 4 a 4 ^ TJ μ- 0 d Pi rt a φ • a rt 01 φ rt a 4 Hi ω .P> μ- H Hi h- 1 a 4 φ φ μ- o rt X TJ 0 0 0 rt 0 0 μ- 1 Ω SD TJ a 4 rt P. 0 0 H o rf X μ- μ- φ iQ CQ 0 φ CQ a μ- φ Hi 0 μ> CQ SD Φ ii φ Φ w rf ii o l a 4 φ φ Hi h- 1 a CQ CQ ^ • rt X CQ SD § ■ μ> rt T a • TJ 0 TJ rf a 4 . φ Ml O μ- Φ TJ Ω 1 Pi rt . Φ 3 φ X rt Φ •» 0 Pi μ- Ω TJ 0 Mi Φ rt 0 rf ii a TJ hj SD & VD φ a 4 TJ μ- a TJ TJ a- ii TJ m h3 X φ M it- 0 a 4 Ml ι-3 CQ μ- φ X- 1 o 0 H-" μ- Hi Φ H rt o O O φ Hi ϋ μ- rt a 4 φ CQ φ o rt ϋ CQ Φ a 4 Ω 0 CQ rt μ> 01 Ω Φ H μ- μ- Mi > a- Ω rt CQ CQ 0 0 0 rf a 4 Φ X- 1 CQ CQ oo a 4 Ω ^ d SD Hi a 4 μ» σi μ- Φ Φ CQ a a o μ- 0 μ- a hh hj Ω μ- Φ a φ rt SD X μ- CQ h- 1 CQ φ μ> -. rt CQ Hi Ω φ d X σi a h- 1 Ω ≤ rt 0 Φ 0 hj SD rt a if a 4 h- 1 1 CQ • * φ H-" Φ μ- CQ SD rt 0. CQ TJ d 0 SD μ- Ω Ω CQ o Ω μ- Φ O Hi rt a CQ 0 _f a φ rt <! Φ rt Q 1 "< CQ Φ Φ α μ- rf X 03 0 O CQ Φ cr a 4 SD Ω μ- rt Ml a 0 rf a Ω rf 0 rt SD φ O 0 a 4 a rt a Φ a Φ & "< Φ μ- -" TJ CQ SD X Hi ii VD a 4 SD Φ rf Pi Hj Φ φ 0 o a hi H φ CQ SD CQ ii 0 rt Pi h- 1 CQ μ- Φ 1 SD φ Φ Ω O μ- TJ Pi - a Hi rt Ω i μ Φ o j SD rt J SD X rf μ- Pi Ω Ω μ- rf M hj rt rt o O _ 0 O o Ω μ- μ- a rt d 0 0 Pi a 4 SD r rf φ rt a μ- rt rt Q μ-- 0 μ> M Φ 0 ι4 rt μ- o Hi Hi φ a 4 a a rt Hi CQ h- 1 Φ f- 1 a 4 h- 1 μ- CQ H 0 μ- a H iti ^-» Ω O 0 a Hi rt t 0 CQ Φ TJ SD rt CQ a 4 SD 0 φ φ a Φ hj 0 CQ TJ σi rt rf σi ø rt a 4 Ω Ω 0 rt 0 μ- Ω 0 μ- φ Ω TJ Φ - CQ d Ω a φ d Mi o - μ- a 4 • rt Φ rt a 4 Φ 0 Ω K rt a 4 <! Pi 0 Hi a Φ ii CQ ϋ a rt Hi rt rt o ii O Φ if CQ a 4 Φ M O μ- Φ SD N Φ CQ a a φ 0 CQ Ω Φ rt μ- μ- 0 0 K ω a H Φ Φ <! o 0 a a μ- μ- 1 Φ d rt Φ rt CQ Hi rt SD H a 4 rt 0 hj Ml rt CQ a rt Hi Mi tr T SD d rt CQ 3 μ- ø ii rt a 4 3 S φ φ μ- Φ a 0 Q rt 0 φ μ- * : *<; Hi rf p SD SD a Φ 0 a 4 a Φ a 4 rf a X TJ μ- P 0 rf rt a 4 rt TJ CQ CQ rt Φ 1 Φ 0 CQ CQ μ- rt Q TJ • Φ m φ <! 0 rt TJ a Φ <! Hi μ- a 4 a 1 rt f φ o a 4 a 4 Hi Ω Pi CQ Φ μ- a a 4 φ d Ω μ- rt TJ O . CQ P. SD Q Φ φ a 4 t? rt Φ- > rt φ rt a 4 μ- Φ Pi s- Φ •« rt 0 μ- 0 3 a 4 O SD TJ CQ o ^ Φ X 0 o f Φ Hj a 0 Φ μ- SD H 3 Hi SD Φ CQ a μ- VD d SD d μ- CQ • : TJ * ] 1 en K 0 T 0 Ω φ rt hh rr X rt μ- Hj SD CQ i P X μ- » a IQ Φ CQ φ 1 Hi <! P rt • Hi ii Hi ? Ω rt a 4 <i 1 a 4 3 Φ CQ rt φ φ CQ μ- rt so. φ SD o μ- a 4 *$ Φ μ- rf TJ rt a 4 μ- (D TJ Φ SD CQ Φ a 4 rf SD rt cr rt TJ o -. μ- CQ H ii φ H H- 1 CQ H-" a μ- μ- a 4 Φ a H- 1 O a CQ TJ -. Φ O a 4 X- 1 o μ- "< H Hi D K φ d O φ Hi n μ- Φ μ- CQ o X φ 0 CQ Φ O hj Φ 0 a 4 a 0 • rt Φ a Φ ?d Ω hj H a a a a φ μ- rt ω μ- rt ^ a tr μ- φ rt SD Ω SD Ml t TJ a 4 O rt rt μ- rf o Φ rt φ μ- CQ 3 a 4 rt a 4 Pi Φ 3 a <! a 4 CQ H Ω t H 3 Φ rf 0 X μ- CQ a 4 fϋ Hi a 4 • Ω SD φ μ- Φ μ- μ- Ω SD 0 SD μ- Φ φ rt ^l X a 4 μ- TJ Hi 0 a 4 φ μ> TJ H- 1 SD SD CQ O . a SD CQ rt ω Ω SD μ- μ- t? μ- TJ o μ- rt a rt X μ 1 μ- μ> rt CQ φ μ- a TJ φ CQ 0 Φ . 0 ii a 4 CQ <! CQ f Q ii a X rt O TJ oi X > a 4 Φ *. a hj * CQ φ rt μ- SD φ SD Φ φ a 4 μ- O μ- φ φ tr T 0 0 rt φ H a 4 cQ a i rt rt μ- CQ SD X- 1 Φ rt CQ Ml X O rt o Φ rt 0 Hi Ω IX 0 X Hi μ- φ a 4 CQ μ- VD 0 CQ φ a • a 4 φ hh a 4 H5 Φ a 4 rt φ TJ rt TJ CQ a rt Φ D 4 a a P. Φ CQ φ μ- a Φ CQ o a 4 o ^ Q rt Φ a m rf a CQ CQ Φ CQ rt o the value of XPOS is set to zero, step 412. Thereafter the value of YPOS is increased by one, step 413. The new YPOS value is checked in step 414. If YPOS does not contain a value corresponding to the number of pixel rows in the input image, i.e. YPOS defines a row within the input image, then the process is returned to step 402 for checking the y-position of the present pixel and the process continues processing the new row. If YPOS does contain a value corresponding to the number of rows within the input image, i.e. YPOS defines a row outside the image, then the entire image has been processed and the process is terminated. Fig. 11 presents a flowchart describing a possible way to compile the pixel stream from the scaling unit to an output image. Initially pixel identifiers XP0S_0 and YPOS_0 is set to zero, step 420. Then the process enters a loop, step 422, where the process checks for a signal indicating that a pixel is available. When a pixel is available the pixel, PIXEL_OUT, is stored in an image object, OUTPUTIMAGE, at the position indicated by XPOS_0 and YPOS_0, step 424. Then the next pixel is to be handled, but first the process has to know whether the next pixel is the next pixel in the present row or if the next pixel is the first pixel in the next row. This is achieved by increasing XP0S_0 with one, step 426, and check if the new value of XPOS_0 is equal to the number of columns in the prospective output image, step 428. If XPOS_0 is not equal to the number of columns in the prospective image the value of XPOS_0 still is within the boundaries of the image and therefore the process returns to the loop 422 waiting for the next pixel to be available . If XPOS_0 is equal to the number of rows then the process has processed the last pixel of the present row and prepares to process the first pixel of the next row ιo to t μ > μ 1 tπ o υι σ cπ o LΠ tr Φ 3 SD a SD CQ Φ P. tr ^ Mi μ- Hj 03 rt TJ Hj 0 Ω φ CQ CQ μ- a i TJ μ- X Φ O cr • 3 φ SD a CQ 0 Hh SD X 1 CO CO to t I- 1 X- 1 cπ o LΠ o LΠ o Jl Ω TJ O Hj a H Mi μ- O rt Ω Hj rt T rt ta CQ 03 rt Ω H Ω 03 if rt SD 3 μ- t 03 Si Mi TJ 03 0 μ- 0 Φ Φ — ' H a Hi a 4 O Φ a 4 μ- 0 SD if Ω O O X rt CQ s "< 0 TJ ro Φ CQ SD X Ω μ- SD a 0 μ- SD a 4 φ a a 4 μ- Φ 0 hj μ- Φ a ^ φ LQ H- 1 φ 03 3 ro CQ 03 Hj 0 CQ Hh ro TJ μ- 3 0 O H μ- rt Φ rt if hh rt 03 Hh a rt 03 rt o o a Ω rt Ω Hi a ø 03 TJ TJ rt TJ 03 Hi 03 (- ■ a 4 rf μ- if rt SD Hh SD Φ. 0 hj d Q SD Hj if Φ (D μ- ta ^ ^ rf rt μ- μ- Φ -• Φ SD μ- rt rt 03 φ CQ a φ li ≥l (D X Φ X X SD Hj 3 Ω φ if if Hi CQ ø O a μ- rt Hj "< rt Ω μ- 1 μ- φ CQ Ω i Ω if CQ SD SD tr a 4 Hj 03 μ- Ω + μ- hj Φ φ Ω TJ SD φ μ- Hj φ SD a μ- φ 0 Ω £ μ- SD Φ rt (Q O Ω CQ Φ Φ TJ φ a 4 μ> a 03 H-" if H rt φ 03 Hi ø Hi CQ d T rt Si φ a Φ Φ co O ro o ϋ ϋ O H a . X μ- Ω T Φ rt μ- J a a φ μ- Hi Jd a Q, T T φ. a > CQ φ Mi X rt T •<! φ to X ta a o rt LO μ- j* 03 μ- hj O Φ H rt μ- CQ SD rt Hi tr 4 tr Ω 03 o μ- 1 SD Φ> • Φ O if CQ H-" Φ> X CQ Φ Hj rt rt SD a Hh H rt X Si Hj SD ta Φ SD Ω rt ci μ- X to Ω o . S - d Hi DO φ if Hi Φ Φ rt Φ ta 3 0 φ rt Pi μ- O Ω H-" H-" Hj if i CQ φ — if SD CQ 1 1 0 Hj SD M μ- CQ Hj μ- 0 Hi φ if hj rt X- 1 rt *a o Φ μ- Φ 1 to μ- a p O 1 ω Hh O μ- 03 hi 0 hh Hj 3 CQ Φ φ if H-" O 3 tr £ rt 03 Ω — * 0 03 3 Ω rt Hh 03 if a μ- 0 rt μ- 03 Φ Ω Hi φ TJ a 4 μ- JD if : a < TJ - Hi 0 rt Φ rt Φ rt a Hj O a 03 03 Ω Hj hi μ- SD Si μ- > Φ a a μ- SD , μ- CQ TJ O Hh rt S. if P- TJ Φ φ. SD if CQ ■ ^ H Ω O Ω o a Ω X H a i Hti Hj X SD μ- ø if if SD μ- H to ■ : a φ Φ 0 SD 0 Φ LO O HJ rt r Φ if TJ rt Φ • Φ a CQ X Hj rt φ Φ rt μ- X SD rt O 0 Ml hh to a Ω O Φ H TJ 0 T μ- 1 p. a 4 φ a 4 Hj a Φ ω I P • . O ω 0 rt φ Hi -J rf X 0 Hi Z Hi 03 μ- Hj 03 - — , μ- H- 1 TJ Φ Ω ro SD rf Φ- Ω μ- Ω 1 φ- H{ rt μ- - H a 0 μ- if 0 H- X φ if X TJ Hi ,— - μ- 0 Hj 0 03 to Hj 0 •a a Hi if Ω O a Ω ≤: a Φ Ω rt ro CQ μ- + μ- rt X X μ- φ rt Φ (D φ μ- < μ- μ- h- 1 a μ- 0 SD Φ μ- SD H- J a Φ O a Φ μ- hh μ> X φ 3 Mi a 4 rt μ- 1 £, Ω 03 hj CQ μ- a a Ω φ a ϋ Ω a μ- 0 03 0 ω rt *> φ Hj S .— - CQ i D hh Φ μ- a 4 a Ω if rt rt φ • (D o. rt rt Pi a ϋ ro rt rt a 0 SD 03 a X rt φ •^ H- 1 φ 03 C μ- *< a Φ μ- μ- hj Ω μ- Hi O Φ rt H μ- H rt φ + Φ Pi φ Ω O if Ω O 0 rt μ» rt Ω O HJ 03 03 μ- if o O Ω <! Pi hh μ> hj -. X μ- rt SD μ- SD SD CQ a SD if a Ω μ- Φ. a 4 SD μ- 1 μ- rt ιo Φ a H-" o Ω SD H 0 03 a 4 a TJ Φ Hj if Φ < rt 0 φ rt \- > Ω hj SD LO a a 0 μ- H *< LO rf μ- rt φ Si Hj a Φ TJ μ- μ- μ- 03 μ- a ro Φ 0 φ a TJ 00 ^ Φ a a μ- a 1 Φ. a 4 03 1 φ a 0 rt 0 hti Hi a 03 Ω O 1 rt CQ H{ a Pi Si Hj rt μ- Hi Φ rt Pi 3 to Φ CO H μ- Ω rt 03 rt 0 CQ SD a 03 a 4 μ- a rt O μ- if rt Ω hj rt ø — (D μ- • — rt Hi Φ 3 O μ- s TJ H- 1 Ω Φ CQ ro LO ϋ Ω SD <i a Φ if LO rt 0 TJ a- - 1 TJ a LO if 03 φ rt hj (D SD μ- 0 SD a S LO O 0 a μ- rf LO μ- μ- 1 μ- Φ rt Ω μ- TJ φ. Φ rt 03 3 tr μ- Φ 0 hj a Hi μ- 1 o SD -J X-> φ P. Φ CQ •rl OO 0 X H- Hi X d Hj t if Φ O ro 0 CQ Hi rt CQ μ- TJ Ω x-> hh SD ro H Ω μ- * * a Φ φ 03 TJ CD SD Φ : rt Φ (D TJ Φ Pi Hi a μ- φ rt a φ 0 tr Φ Hi ϋ 03 Hj SD CQ Hi SD H- 1 CQ Hi H-" rt CQ 1 μ- 3 CQ rt a O d if CQ Hi CD • : Hi μ- ϋ 0 H-" € 3 μ- T Φ 03 Φ TJ Ω X 0 μ- rt if CQ Hh a φ SD μ- Hi Ω Hi rt TJ Φ a 4 μ- > μ- φ Ω CD α Φ φ SD Φ LO a ro Φ rt μ- 0 rt Ω T μ- Ω SD H-" rt φ. rt H i $D rt a Hi 3 LO μ- Φ a 4 rf μ» μ- rt LO 03 (D X a μ- Φ μ- Φ LO ro 03 ro W hh XJ\ Ω 4 -J S ft rf μ- a . SD rf Hj 03 Φ CQ φ- μ- rt 03 μ- 1 μ- O CQ Ω SD 00 a 03 SD a 4 SD SD H- μ- X a μ- ro CQ T a 4 3 n •xl Ω rt a μ- a rt Ω rt Ω •a < • : 0 < φ TJ i < 0 rt SD Φ O SD 0 H 0 μ- § ro CQ μ- CQ Hj 0 if rt Hj μ- μ- μ- SD a CD o Φ TJ 0 μ- μ- 1 μ- Φ- CQ Hj π 3 hj μ- SD a 03 . φ ro Φ 0 Φ 03 CQ H μ- SD X-> — ^ rt H μ- rt TJ a ro CQ to φ Hj 1 TJ φ 03 a α rt O TJ Hi Hi Ω • μ- 1 03 3 *< X μ- if •<: X TJ μ- ϋ a 4 SD • Φ Hi Hi Ω Pi w 03 hh SD H Hj hh TJ Φ Hi SD H- + rt Φ φ ø X rt SD μ- 1 02 μ- μ- rt 03 σ 0 Φ μ- μ- Ω μ- ø H tr tr rt rt μ» μ- rt φ a 4 hj 3 hh Ω ι-3 TJ Q μ- μ- rt μ- rt CQ Ω X a 4 . <i hj σ\ Φ H- 1 if a 4 - O 03 Si ^ --. rt H-" Φ Φ μ- rt if 0 rt Φ O 3 if α a if Φ 3 Φ μ- φ SD φ rt . Φ φ *< a if if X Φ rt 03 φ a Φ 03 a μ- Φ > Φ SD a ro H- 1 1 μ- Φ Pi Ω Hh if O i Hi a 03 if . SD H- 1 H r rt a rt a CQ φ μ> Hh Hi a •<: SD hj μ- SD > ■ a- CQ O SD μ- rt Φ rt Hj 3 — O rt 1 03 0 SD a Hi φ H3 CQ a 03 if if hj SD φ 3 CQ O φ LQ ro Φ TJ ω O to to H 1 μ> LΠ O LΠ o LΠ o cn T Hj Φ Ω SD Ω 0 h- 1 SD rt Φ ϋ Ω 0 Φ Ml Mi μ- Ω μ- φ a rt CQ • H if Φ a rt if φ CQ Ω SD H Φ Hi SD Ω rt 0 hj controller releases the pixel in/out controller and the processing of the pixels is resumed, step 510. In Fig. 16 the process of the pixel in/out controller is described. The process in the figure relates to the process of the controller of the x- direction-scaling unit. However the differences between the controllers of the different scaling units are small and will be indicated in the following description when such differences arises. The pixel in/out controller continuously checks if a new pixel has arrived, step 522. If a new pixel arrives then 'it is shifted into the shift register 332 of the x- direction scaling unit in Fig. 13, or the row-long shift register 342a of the y-direction scaling unit in Fig. 14, step 524. In the y-direction scaling unit the shift operation also shifts the foremost pixel of row-long shift register 342a into the row-long shift register 342b and the foremost pixel of row-long shift register 342b into the row-long shift register 342c, see Fig. 14. Then an input pixel counter is updated, step 526. When the counter is updated the process makes a decision regarding whether a pixel shall be outputted or not, step 528. The decision is based on the value of the counter and the value of the scale factor indicated by the input signal SCALE FACTOR X in the x-direction scaling unit or SCALE FACTOR Y in the y-direction-scaling unit. In the y-direction scaling unit the counter has ' to keep track of both the present row being processed and how many pixels of said row that have been processed. Thus, if the scale factor for example is 1/5, i.e. the area where the present pixel is positioned is to be downscaled using a factor five, then the pixel in/out controller of the x-direction scaling unit makes sure that only every fifth pixel is outputted. If we use the same example on the pixel in/out controller of the y- direction scaling unit then the pixel in/out controller makes sure that only every fifth row of pixels is outputted. If no output shall be made the process returns to checking if a new pixel has arrived at step 522. However, if an output shall be made the signal PIXOUT AVAIL/Y SCALED AVAIL is activated, step 530, and the pixel counter is updated, step 532. Then the coefficient memory address is updated, step 534, and the process is returned to step 528 for checking if a pixel shall be outputted. Note that for the y-direction-scaling unit the coefficient memory address is only changed when a new line' is to be outputted, i.e. during processing of one line only one set of coefficients is used. Now referring to Fig. 17, according to another aspect of the system, one or a plurality of ordinary surveillance cameras 3a-c is connected to a video server 38. The video server is connected to a computer network 6 for transmission of the processed digital image stream to a presentation unit. Said video server 38 comprises digital processing means 26 including scaling means 30, which corresponds to the above mentioned scaling means, for scaling of the view from the one or the plurality of the surveillance cameras 3a-c. The digital processing means 26 also includes a DSP 40. The DSP 40 of this embodiment operates essentially in the same way as the DSP 32 of Fig. 2. However, one great difference is that the DSP 40 is converting analogue video signals to digital signals. An example of a DSP that could be used as DSP 40 in this embodiment is SAA7111 from Philips Semiconductors. The reference numerals in Fig. 17 that correspond to reference numerals in Fig. 1 and 2 indicate means of essentially the same functionality and therefore the functions of these means are not repeated. According to another aspect of the invention a presentation unit, e.g. the presentation unit 4 in Fig. 1, is provided with a scaling means according to the invention. Thus the scaling of the image will be performed at the destination of an image. Now referring to Fig. 18, in one preferred embodiment of the invention four images is presented on the same display simultaneously. In an embodiment of the invention, e.g. the one described in Fig. 17 or if the scaling is performed within a receiving equipment for monitoring four images, the four images lOOa-d is compiled to one new image comprising all four images as shown in Fig. 18. In the new image the scaling areas of each individual image are defined. It is then possible to use the same scaling process as described above. The only significant difference is that the process has a greater number of boundaries to pay attention to during the scaling operation. The resulting image of such scaling operation is presented in Fig. 19. When the images, i.e. the new image, have been processed it can be transformed to single images again for presentation as separate images or they can be kept grouped together for presentation as one image .

Claims: CLAIMS 1. Method for digitally processing f equently updated images from a camera (2) , said method comprising the steps of: defining a first scaling area (101) and a peripheral scaling area (102-105) , which encloses the first scaling area (101) , receiving an updated image, 'scaling the peripheral scaling area (102-105) differently than the first scaling area (101) so that the peripheral scaling area (102-105) is downscaled in relation to the first scaling area (101) , wherein the first scaling area (101) is uniformly scaled in both a vertical and a horizontal direction. 2. The method according to claim 1, wherein the peripheral scaling area (102-105) includes a second scaling area (102) positioned above the first scaling area (101) , a third scaling area (103) positioned below the first scaling area (101) , a fourth scaling area (104) positioned to the left of the first scaling area (101) , and a fifth scaling area (105) positioned to the right of the first scaling area (101) . 3. The method according to claim 2, wherein the step of downscaling the peripheral scaling areas (102-105) further comprises the steps of: scaling the second and the third scaling areas (102, 103) in the horizontal direction using a downscale factor equal to the downscale factor used in the horizontal direction in the first scaling area (101) , and scaling the fourth and the fifth scaling areas (104, 105) in the vertical direction using a downscale factor equal to the downscale factor used in the vertical direction in the first scaling area (101) . 4. The method according to claim 2 or claim 3 , wherein the step of downscaling the peripheral scaling areas (102-105) further comprises the steps of: scaling the second and the third scaling areas (102, 103) in the vertical direction using a downscale factor that is varying from the value of the downscale factor of the vertical direction in the first scaling area (101) to a greater downscale value, and scaling the fourth and the fifth scaling areas (104, 105) in the horizontal direction using a downscale factor that is varying from the value of the downscale factor of the horizontal direction in the first scaling area (101) to a greater value . 5. The method according to claim 2 or 3 , wherein the step of downscaling the peripheral scaling areas (102- 105) further comprises the steps of: scaling the second and the third scaling areas (102, 103) in the vertical direction using a downscale factor that is constant and greater than the downscale factor of the vertical direction of the first scaling area (101) , and scaling the fourth and the fifth scaling areas (104, 105) in the horizontal direction using a downscale factor that is constant and greater than the downscale factor of the horizontal direction of the first scaling area (101) . 6. The method according to claim 2 or 3 , wherein the downscale factors of the areas (102-105) of the peripheral area are selected so that the aspect ratio of the image is preserved. 7. The method according to claim 1, further comprising the step of dynamically changing the appearance of said peripheral scaling (102-105) area in response to instructions for moving the position of the first scaling area (101) within the image boundaries. 8. The method according to claim 7, wherein the step of dynamically changing the appearance of said peripheral scaling area (102-105) comprises the step of redefining the position of the boundary (112-115) between the first scaling area (101) and the peripheral scaling area (102- 105) . 9. The method according to claim 7, wherein the peripheral scaling area (102-105) includes a second scaling area (102) positioned above the first scaling area (101), a third scaling area (103) positioned below the first scaling area (101) , a fourth scaling area (104) positioned to the left of the first scaling area (101) , and a fifth scaling area (105) positioned to the right of the first scaling area (101) , wherein the step of dynamically changing the appearance comprises the step of redefining the position of the boundaries (112-115) of the second, third, fourth, and fifth scaling areas that are adjacent to the first scaling area (101) . 10. The method according to any one of the preceding claims, wherein the downscaling of the scaling areas (101-105) is performed by means of multirate digital signal processing. 11. The method according to any one of the preceding claims, wherein the camera (2) is a surveillance camera. 12. The method according to any one of the preceding claims, further comprising the step of sending the images as JPEG images. 13. System for acquiring and presenting images of a specific environment for a user, comprising at least one camera (2) , at least one display unit (10) , a network (6) for connecting the at least one camera (2) to at least one display unit (10) , and an image processing means (30) , the image processing means comprising: means for defining a first scaling area (101) and a peripheral scaling area (102-105) , which is enclosing the first scaling area (101) , within an acquired digitised image, and means for scaling the peripheral scaling area (102- 105) differently than the first scaling area (101) so that the peripheral scaling area (102-105) is downscaled in relation to the first scaling area (101) , wherein the first scaling area (101) is uniformly scaled in both a vertical and a horizontal direction. 14. The system according to claim 13, wherein the peripheral scaling area (102-105) includes ' a second scaling area (102) positioned above the first scaling area (101) , a third scaling area (103) positioned below the first scaling area (101) , a fourth scaling area (104) positioned to the left of the first scaling area (101) , and a fifth scaling area (105) positioned to the right of the first scaling area (101) , and -wherein the means for scaling the peripheral scaling area (102-105) comprises: means for scaling the second and the third scaling areas (102, 103) in the horizontal direction using a downscale factor equal to the downscale factor used in the horizontal direction in the first scaling area (101) , and means for scaling the fourth and the fifth scaling areas (104, 105) in the vertical direction using a downscale factor equal to the downscale factor used in the vertical direction in the first scaling area (101) . 15. The system according to claim 13, wherein the image processing means (30) further comprises: means for receiving instructions from a control means (8) that at least is used for moving said first scaling area within the boundaries of the image, means for dynamically changing the position of the boundaries (112-115) of the first scaling area within the image . 16. The system according to any one of claim 13-15, wherein the system is a surveillance system. 17. A camera (2) comprising a network interface and an image processing means (30) , the image processing means (30) comprises: means for defining a first scaling area (101) and a peripheral scaling area (102-105) , which is enclosing the first scaling area (101) , within an acquired digitised image, means for scaling the peripheral scaling area (102- 105) differently than the first scaling area (101) so that the peripheral scaling area (102-105) is downscaled in relation to the first scaling area (101) , wherein the first scaling area (101) is uniformly scaled in both a vertical and a horizontal direction. 18. The camera according to claim 17, wherein the peripheral scaling area (102-105) includes a second scaling area (102) positioned above the first scaling area' (101) , a third scaling area (103) positioned below the first scaling area (101) , a fourth scaling area (104) positioned to the left of the first scaling area (101) , and a fifth scaling area (105) positioned to the right of the first scaling area (101) , and wherein the means for scaling the peripheral scaling area (102-105) comprises: means for scaling the second and the third scaling areas (102, 103) in the horizontal direction using a downscale factor equal to the downscale factor used in the horizontal direction in the first scaling area (101) , and means for scaling the fourth and the fifth scaling areas (104, 105) in the vertical direction using a downscale factor equal to the downscale factor used in the vertical direction in the first scaling area (101) . 19. The camera (2) according to claim 17, wherein the image processing means further comprises: " means for receiving instructions from a control means (8) that at least is used for moving said first scaling area (101) within the boundaries of the image, means for dynamically changing the position of the boundaries (112-115) of the first scaling area (101) within the image. 20. The camera (2) according to any one of claim 17- 19, wherein the camera is a surveillance camera. 21. A presentation unit (4) comprising a display unit (10) , a network interface, and digital image processing means, the image processing means comprises: means for defining a first scaling area (101) and a peripheral scaling area (102-105) , which is enclosing the first scaling area (101) , within an acquired digitised image, means for scaling the peripheral scaling area (102- 105) differently than the first scaling area (101) so that the peripheral scaling area (102-105) is downscaled in relation to the first scaling area (101) , wherein the first' scaling area (101) is uniformly scaled in both a vertical and a horizontal direction. 22. The presentation unit (4) according to claim 21, wherein the peripheral scaling area (102-105) includes a second scaling area (102) positioned above the first scaling area (101) , a third scaling area (103) positioned below the first scaling area (101) , a fourth scaling area (104) positioned to the left of the first scaling area (101) , and a fifth scaling area (105) positioned to the right of the first scaling area (101) . 23. The presentation unit (4) according to claim 21, wherein the image processing means further comprises: means for receiving instructions from a control means (8) that at least is used for moving said first scaling area (101) within the boundaries of the image, means for dynamically changing the position of the boundaries (112-115) of the first scaling area (101) within the image. 24. The presentation unit (4) according to any one of claim 21-23, wherein the image processing means is arranged to present at least two images simultaneous on the display unit . 25. The presentation unit (4) according to any one of claim 21-23, wherein the presentation unit (4) is part of a surveillance system. 26. A computer program product directly loadable into the internal memory of a digital computer, comprising software code portions for performing the step of claim 1 when said product is run on a computer.

Inventors: ALM CARL-AXEL, DAHLGREN GUNNAR, KANNERMARK PER, LUNDBERG STEFAN, ALM, CARL-AXEL, DAHLGREN, GUNNAR, KANNERMARK, PER, LUNDBERG, STEFAN
Applicants: ALM CARL AXEL, AXIS AB, DAHLGREN GUNNAR, KANNERMARK PER, LUNDBERG STEFAN, ALM, CARL-AXEL, DAHLGREN, GUNNAR, KANNERMARK, PER, LUNDBERG, STEFAN
Application year: 2001
Main classification: H04N7
IPC codes: G06T3, H04N5, H04N7