Method of image conversion operation for panorama dynamic IP camera

Information

  • Patent Grant
  • 9609211
  • Patent Number
    9,609,211
  • Date Filed
    Monday, April 6, 2015
    9 years ago
  • Date Issued
    Tuesday, March 28, 2017
    7 years ago
Abstract
The present invention provides a method of image conversion operation for panorama dynamic IP camera. Three wide-angle cameras are used for obtaining a panorama dynamic image, and then to be compressed and transferred through Internet to a PC/smartphone/tablet for being decompressed and image conversion operation, so that a user can use the PC/smart phone/tablet to slide a touch screen thereof for viewing the desired dynamic image.
Description
FIELD OF THE INVENTION

The present invention relates to a method of image conversion operation for panorama dynamic IP (Internet Protocol) camera, and more particularly to a method of image conversion operation for IP camera to obtain panorama dynamic image by using three wide-angle cameras.


BACKGROUND OF THE INVENTION

Referring to FIG. 1, by using a PC (Personal Computer)/smartphone/tablet 1 to connect with a rotatable camera 3 via Internet 2, a user 4 can slide a touchscreen of the PC/smartphone/tablet 1 to control the rotatable camera 3 to rotate 120° up and down and rotate 360° left and right for viewing the scenery on-site. This is a prior art. The rotatable camera 3 has only one lens, and cannot rotate 360° up and down, so a real panoramagram is unable to get.


Referring to FIG. 2, which shows schematically a pluralitry of cameras are used for a Google Street View. Twelve cameras are arranged in a circle, and there is another camera directed upward. The images captured by the thirteen cameras are combined to form a street map at the fixed point of the Google Street View. As the Google Street View moves forward, the street maps captured by the thirteen cameras continuously are connected in series to form a street maps continually. The street maps are stored in a map-site of Google, a user uses the PC/smartphone/tablet 1 to log into the map-site of Google for viewing the desired street map, having the feeling of being personally on the scene. But the street map is not a dynamic scene on-site, it was a static scene at the time that the Google Street View captured the street map.


SUMMARY OF THE INVENTION

The object of the present invention is to provide a method of image conversion operation for panorama dynamic IP (Internet Protocol) camera. Three wide-angle cameras are used for obtaining a panorama dynamic image, and then to be compressed and transferred through Internet to a PC/smart phone/tablet for being decompressed and image conversion operation, so that a user can use the PC/smart phone/tablet to slide a touch screen thereof for viewing the desired dynamic image.


In the method of image conversion operation, a dynamic image captured by three wide-angle cameras panoramically is divided equally into an upper block, a middle block and a bottom block, when a browser frame of a PC (Personal Computer)/smartphone/tablet is moved by a user by sliding a touchscreen of the PC/smartphone/tablet for reading a desired dynamic image, the method comprises steps as below:

    • a. if the browser frame is moved along the middle block, the dynamic image covered by the browser frame is displayed on the touchscreen of the PC/smartphone/tablet directly;
    • b. if the browser frame is moved along the upper block or the bottom block, a horizontal length of the upper block or the bottom block is w, for any point (x, y) in the browser frame, a radius r and an angle θ are calculated from the coordinates x and y as below:

      r√{square root over ( )}(x2+y2)
      θ=arctan(y/x)
    •  a pixel corresponding to the point (r, θ) has a distance r away from an upper edge of the upper block or an bottom edge of the bottom block, and has a distance w*(θ/360) away from a left edge of the upper block or the bottom block; the pixel is filled to the point (x, y) in the browser frame; in the same way, each point in the browser frame can be filled by a pixel in the upper block or the bottom block so that a real top dynamic image or a bottom dynamic image captured by the three wide-angle cameras is displayed in the browser frame without distortion.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 shows schematically a rotatable camera can be controlled via Internet to rotate for taking pictures in the prior art.



FIG. 2 shows schematically a pluralitry of cameras are on a Google Street View.



FIG. 3 shows schematically a system of panorama dynamic IP camera according to the present invention.



FIG. 4 shows schematically the panorama dynamic image is divided equally into an upper block, a middle block and a bottom block according to the present invention.



FIG. 5 shows schematically the method of image conversion operation according to the present invention when the browser frame is moved along the upper block or the bottom block.





DETAILED DESCRIPTIONS OF THE PREFERRED EMBODIMENTS

Referring to FIG. 3, a system of panorama dynamic IP (Internet Protocol) camera according to the present invention is described clockwise. Three wide-angle cameras are assembled together for capturing a panorama dynamic image on-site. Three fish-eye-pictures A, B, C are therefore obtained for combining into a panorama dynamic image 5 on-site, and then to be compressed and transferred through Internet 2 to a PC/smartphone/tablet 1 of the user 4 for being decompressed and image conversion operation, so that the user 4 can use the PC/smartphone/tablet 1 to slide the touch screen thereof for viewing the desired dynamic image.


The steps in FIG. 3 are prior arts except the “image conversion operation”. The “image conversion operation” is the key point of the present invention. After the image decompression in FIG. 3, the “image conversion operation” is performed as described in FIG. 4 and FIG. 5.


Referring to FIG. 4, after the PC/smartphone/tablet 1 of the user 4 receives the decompressed panorama dynamic image 5, the decompressed panorama dynamic image 5 is divided equally into an upper block 6, a middle block 7 and a bottom block 8. A browser frame 9 of the PC/smartphone/tablet 1 is moved by the user 4 for sliding a touchscreen of the PC/smartphone/tablet 1 so as to read the panorama dynamic image 5 of the desired angle.


If the browser frame 9 is moved along the middle block 7, it means that the user 4 adopts a horizontal view angle to view the horizontal dynamic image captured by the three wide-angle cameras. The horizontal dynamic image is not distorted, so there is no need to perform any operation, the dynamic image covered by the browser frame 9 is displayed on the browser frame 9 of the PC/smartphone/tablet 1 directly.


If the browser frame 9 is moved along the upper block 6, it means that the user 4 adopts a bottom view angle to view the top dynamic image captured by the three wide-angle cameras. The top dynamic image is distorted, so an operation is needed for displaying the original real image.


Similarly, if the browser frame 9 is moved along the bottom block 8, it means that the user 4 adopts a top view angle to view the bottom dynamic image captured by the three wide-angle cameras. The bottom dynamic image is distorted, so an operation is needed for displaying the original real image.


The upper block 6 is rectangular in FIG. 4, but actually the line O is the centre O of a circle formed by the three wide-angle cameras. The rectangular area of the upper block 6 is formed by an upper circle 6′; the width R of the upper block 6 is actually the radius R formed by the three wide-angle cameras, as shown at right of FIG. 4.


The bottom block 8 is rectangular in FIG. 4, but actually the line Q is the centre Q of a circle formed by the three wide-angle cameras. The rectangular area of the bottom block 8 is formed by a bottom circle 8′; the width R of the bottom block 6 is actually the radius R formed by the three wide-angle cameras, as shown at right of FIG. 4.


If the browser frame 9 is moved along the upper block 6 or the bottom block 8, the dynamic image covered by the browser frame 9 cannot be displayed directly on the touchscreen, an operation is needed to find the corresponding pixels to recover the real image so that the picture displayed on the browser frame 9 of the PC/smartphone/tablet 1 is not distorted.


Referring to FIG. 5, the method of image conversion operation according to the present invention when the browser frame 9 is moved along the upper block 6 or the bottom block 8 is described, take the upper block 6 as an example to describe, and the horizontal length of the upper block 6 is w.


For any point (x, y) in the browser frame 9, a radius r and an angle θ are calculated from the coordinates x and y as below:

r√{square root over ( )}(x2+y2)   (1)
θ=arctan(y/x)   (2)


The pixel corresponding to the point (r, θ) is shown at a black point 10 in the upper block 6 at right of FIG. 5, the distance between the black point 10 and the upper edge of the upper block 6 is r, the distance between the black point 10 and the left edge of the upper block 6 is w*(θ/360). The pixel at the black point 10 is filled to the point (x, y) in the browser frame 9. In the same way, each point in the browser frame 9 can be filled by a pixel in the upper block 6 so that the real top dynamic image captured by the three wide-angle cameras is displayed in the browser frame 9 without distortion.


The method of image conversion operation for the bottom block 8 is the same as that of the upper block 6, but r is the distance between the black point 10 and the bottom edge of the bottom block 8, the black point 10 is in the bottom block 8.


If the browser frame 9 is moved between the upper block 6 and the middle block 7, the area ratio between the upper block 6 and the middle block 7 is a factor. If the area ratio for the upper block 6 to the middle block 7 is ≦1, no operation is needed, the dynamic image covered by the browser frame 9 is displayed on the touchscreen of the PC/smartphone/tablet 1 directly. If the area ratio for the upper block 6 to the middle block 7 is >1, then the method of image conversion operation according to the present invention when the browser frame 9 is moved along the upper block 6 is employed to find the corresponding pixels for filling.


Similarly, if the browser frame 9 is moved between the bottom block 8 and the middle block 7, the area ratio between the bottom block 8 and the middle block 7 is a factor. If the area ratio for the bottom block 8 to the middle block 7 is ≦1, no operation is needed, the dynamic image covered by the browser frame 9 is displayed on the touchscreen of the PC/smartphone/tablet 1 directly. If the area ratio for the bottom block 8 to the middle block 7 is >1, then the method of image conversion operation according to the present invention when the browser frame 9 is moved along the bottom block 8 is employed to find the corresponding pixels for filling.


The key points of the present invention are: only three wide-angle cameras are used to obtain the panorama dynamic image 5; and the panorama dynamic image 5 is only divided equally into an upper block 6, a middle block 7 and a bottom block 8; and then the formulas (1) and (2) are employed to perform an operation on the upper block 6 and the bottom block 8, so a relatively small amount of calculation is achieved; and a real 360° panoramagram is able to get for viewing the dynamic image on-site, not just a static image at the past time.


The scope of the present invention depends upon the following claims, and is not limited by the above embodiments.

Claims
  • 1. A method of image conversion operation for panorama dynamic IP (Internet Protocol) camera, a dynamic image captured by three wide-angle cameras panoramically and received by a PC(Personal Computer)/smartphone/tablet via Internet is divided equally into an upper block, a middle block and a bottom block, when a browser frame of the PC/smartphone/tablet is moved by a user by sliding a touchscreen of the PC/smartphone/tablet for reading a desired dynamic image, the method comprises steps as below: (a) if the browser frame is moved along the middle block, the dynamic image covered by the browser frame is displayed on the touchscreen of the PC/smartphone/tablet directly;(b) if the browser frame is moved along the upper block or the bottom block, a horizontal length of the upper block or the bottom block is w, for any point (x, y) in the browser frame, a radius r and an angle θ are calculated from the coordinates x and y as below: r√{square root over ( )}(x2+y2)θ=arctan(y/x) a pixel corresponding to the point (r, θ) has a distance r away from an upper edge of the upper block or an bottom edge of the bottom block, and has a distance w* (θ/360) away from a left edge of the upper block or the bottom block; the pixel is filled to the point (x, y) in the browser frame; in the same way, each point in the browser frame can be filled by a pixel in the upper block or the bottom block so that a real top dynamic image or a bottom dynamic image captured by the three wide-angle cameras is displayed in the browser frame without distortion.
  • 2. The method of image conversion operation for panorama dynamic IP camera according to claim 1, wherein if the browser frame is moved between the upper block and the middle block, an area ratio between the upper block and the middle block is a factor; if the area ratio for the upper block to the middle block is ≦1, no operation is needed, the dynamic image covered by the browser frame is displayed on the touchscreen of the PC/smartphone/tablet directly; if the area ratio for the upper block to the middle block is >1, then the method of image conversion operation according to claim 1 when the browser frame is moved along the upper block is employed to find the corresponding pixels for filling.
  • 3. The method of image conversion operation for panorama dynamic IP camera according to claim 1, wherein if the browser frame is moved between the bottom block and the middle block, an area ratio between the bottom block and the middle block is a factor; if the area ratio for the bottom block to the middle block is ≦1, no operation is needed, the dynamic image covered by the browser frame is displayed on the touchscreen of the PC/smartphone/tablet directly; if the area ratio for the bottom block to the middle block is >1, then the method of image conversion operation according to claim 1 when the browser frame is moved along the bottom block is employed to find the corresponding pixels for filling.
Priority Claims (1)
Number Date Country Kind
104109875 A Mar 2015 TW national
US Referenced Citations (10)
Number Name Date Kind
5990941 Jackson Nov 1999 A
9360671 Zhou Jun 2016 B1
9547883 Stepanenko Jan 2017 B1
20070109398 Teo May 2007 A1
20090138233 Kludas May 2009 A1
20110202834 Mandryk Aug 2011 A1
20120249741 Maciocci Oct 2012 A1
20120307001 Osako et al. Dec 2012 A1
20160050360 Fisher Feb 2016 A1
20160078593 Mesguich Havilio Mar 2016 A1
Related Publications (1)
Number Date Country
20160286123 A1 Sep 2016 US