TWM463885U - Photo automatic rotation device, system and storage device - Google Patents
Photo automatic rotation device, system and storage device Download PDFInfo
- Publication number
- TWM463885U TWM463885U TW102207668U TW102207668U TWM463885U TW M463885 U TWM463885 U TW M463885U TW 102207668 U TW102207668 U TW 102207668U TW 102207668 U TW102207668 U TW 102207668U TW M463885 U TWM463885 U TW M463885U
- Authority
- TW
- Taiwan
- Prior art keywords
- photo
- video
- erect
- information
- photos
- Prior art date
Links
Abstract
Description
本創作係有關於一種可以自動旋轉相片影像之裝置,可以不需手動操作軟體,直接透由該裝置判斷於照相時照相機是直向或橫向拍攝,透由該裝置利用影像處理方法判斷相片內容的方向,而自動將相片由橫向顯示旋轉成直向顯示或是由直向顯示旋轉成橫向顯示,以方便觀賞相片。 The present invention relates to a device capable of automatically rotating a photo image, which can be directly judged by the device to directly or laterally photograph the camera without manual operation, and the device uses the image processing method to determine the photo content. Direction, and automatically rotate the photo from the horizontal display to the straight display or from the straight display to the horizontal display for easy viewing of the photo.
近年來電腦產業迅速發展,許多照相機或攝影機都走向數位化,而且大量的電子產品都有照相、攝影功能,所以觀賞數位相片或是多媒體影像的機會就變得非常頻繁。 In recent years, the computer industry has developed rapidly. Many cameras or cameras are digital, and a large number of electronic products have camera and photography functions, so the chances of viewing digital photos or multimedia images become very frequent.
如第1圖所示,其係一種習知之數位影像擷取裝置所拍照的一連串影像或照片檔案,因為拍照時取景的關係,手持相機或拍攝裝置的方向會有橫向或直向,導致所拍攝的影像會有多種方向,觀賞者在正常狀況下所看到一連串所拍攝的相片影像,相片22之正立方向為向右,23之正立方向為向上,24之正立方向為向左。 As shown in FIG. 1 , it is a series of images or photo files taken by a conventional digital image capturing device. Because of the framing relationship when taking a photo, the direction of the handheld camera or the camera may be horizontal or straight, resulting in shooting. The images will be in a variety of directions. The viewer will see a series of photographs taken under normal conditions. The photo 22 is oriented to the right, the 23 is upright, and the 24 is oriented to the left.
由於數位科技進步,常會將拍攝的大量相片儲存於隨身碟或光碟片等輔助記憶體,或上傳至網路儲存伺服器、網路硬碟、雲端記憶體 等儲存裝置。 Due to the advancement of digital technology, a large number of photos are often stored in auxiliary memory such as a flash drive or a CD, or uploaded to a network storage server, a network hard disk, or a cloud memory. And other storage devices.
觀賞相片者可輸出至液晶顯示器(LCD)或投影機等輸出裝置觀賞,因為拍攝時有的相片是直向的,有的相片是橫向的,於是在觀賞一連串相片時,為了把相片中的景物看清楚,常需要把頭向右偏90度或是把頭向左偏90度。 The photo viewer can output to an output device such as a liquid crystal display (LCD) or a projector, because some photos are straight when shooting, and some photos are horizontal, so when viewing a series of photos, in order to view the scene in the photo See clearly, it is often necessary to tilt the head 90 degrees to the right or 90 degrees to the left.
若是觀賞時把頭向右偏或是向左偏會感到不舒適,有的使用者就需要利用影像處理軟體把全部的相片調整成人物都是成直立的方向,如第2圖所示,如此才方便觀賞。 If you look at the head to the right or to the left, you will feel uncomfortable. Some users will need to use the image processing software to adjust all the photos to the adult direction, as shown in Figure 2. Easy to watch.
透過影像處理軟體把相片順時鐘旋轉90度或是反時鐘旋轉90度不但不方便而且費時,尤其儲存數位相片記憶卡的容量愈來愈大,有時儲存數千張數萬張的相片後,要拿出來觀賞或上傳至臉書(facebook)等社群網站,要旋轉非常大量的相片或是錄影影像,非成不方便。 It is not only inconvenient and time-consuming to rotate the photo 90 degrees clockwise or 90 degrees counterclockwise through the image processing software. In particular, the capacity of the digital photo memory card is increasing, sometimes after storing thousands of tens of thousands of photos. If you want to take it out and upload it to a social networking site such as Facebook, it is not convenient to rotate a very large number of photos or video images.
本裝置或系統即可自動將相片中的人物旋轉成直立方向,如第2圖所示,32、34之正立方向均為向上,以便觀看,使用者不需手動一張張挑選相片旋轉成直立方向,增加觀賞者的便利性。 The device or system can automatically rotate the characters in the photo into an upright direction. As shown in Fig. 2, the positive directions of 32 and 34 are all upwards for viewing, and the user does not need to manually select one photo to rotate into The upright direction increases the convenience of the viewer.
本創作為一種相片自動旋轉裝置,包含:至少一處理器;至少一記憶單元;及至少一相片或視訊,該個別相片或視訊中之物體於擷取時景物的上下方向為一正立方向;若該裝置中所儲存或顯示之該些相片或視訊的正立方向非朝上,則該處理器可自動旋轉該相片或視訊,使得該正立方向朝上後儲存或顯示,以利瀏覽、觀看或後續處理。 The present invention is a photo automatic rotation device comprising: at least one processor; at least one memory unit; and at least one photo or video, wherein the object in the individual photo or video is in an upright direction when the object is up and down; If the photo or video stored or displayed in the device is not facing up, the processor may automatically rotate the photo or video so that the erect direction is upwards and then stored or displayed for viewing, Watch or follow up.
本創作之相片自動旋轉裝置更可依據該相片或視訊中儲存的方向資訊,判斷該相片或視訊之該正立方向是否朝上。 The photo auto-rotating device of the present invention can further determine whether the photo or the video is facing up according to the direction information stored in the photo or the video.
本創作之相片自動旋轉裝置更可利用一重力方向感應裝置(例如g-sensor),該相片自動旋轉裝置可於截取該相片或視訊時,偵測重力方向而得知該正立方向,並將該正立方向資訊儲存於該相片或視訊檔案中的檔頭部份。 The photo automatic rotation device of the present invention can further utilize a gravity direction sensing device (for example, g-sensor), and the photo automatic rotation device can detect the direction of gravity and intercept the photo or video, and know the direction of gravity, and The upright direction information is stored in the header portion of the photo or video file.
本創作之相片自動旋轉裝置更可利用該相片或視訊中的像素資訊決定該相片或視訊中的該正立方向。 The photo auto-rotating device of the present invention can further determine the erect direction in the photo or video by using the photo information in the photo or the video.
本創作之相片自動旋轉裝置更可利用一影像處理演算法之運算,偵測出該像素資訊的正立方向。 The photo automatic rotation device of the present invention can further detect the positive direction of the pixel information by using an image processing algorithm.
本創作之相片自動旋轉裝置更可利用亮度、地平線、車道線、色彩資訊、統計、人臉辨識、植物的伸展方向、移動向量等演算法之一或上述演算法之組合。 The photo automatic rotation device of the present invention can utilize one of the algorithms such as brightness, horizon, lane line, color information, statistics, face recognition, plant extension direction, motion vector, or a combination of the above algorithms.
本創作之相片自動旋轉裝置更可將旋轉後的相片或視訊傳輸至另一裝置中,以利後續儲存、瀏覽、觀看或處理。 The photo auto-rotating device of the present invention can also transfer the rotated photo or video to another device for subsequent storage, browsing, viewing or processing.
本創作另包含一種相片自動旋轉系統,包含相片自動旋轉裝置,可以執行上述相片自動旋轉之操作。 The creation also includes a photo automatic rotation system, including a photo automatic rotation device, which can perform the automatic rotation operation of the above photo.
本創作另包含一種儲存裝置,該儲存裝置中儲存有一程式指令,該程式指令可使上述之裝置執行一相片或視訊之自動旋轉操作。 The present invention further includes a storage device having stored therein a program command that causes the device to perform an automatic rotation operation of a photo or video.
10‧‧‧處理器 10‧‧‧ processor
11‧‧‧記憶單元 11‧‧‧ memory unit
12‧‧‧輸入單元 12‧‧‧ input unit
13‧‧‧輸出單元 13‧‧‧Output unit
14‧‧‧本創作之相片自動旋轉裝置 14‧‧‧Photo automatic rotating device
22‧‧‧非正立方向之相片(正立方向為向右) 22‧‧‧Photos in the opposite direction (right direction is right)
23‧‧‧正立方向之相片(正立方向為向上) 23‧‧‧Photos in the right direction (upright direction is upward)
24‧‧‧非正立方向之相片(正立方向為向左) 24‧‧‧Photos in the opposite direction (the vertical direction is left)
32‧‧‧正立方向之相片(經旋轉後正立方向為向上) 32‧‧‧Photos in the direction of the vertical direction (upward direction after rotation)
34‧‧‧正立方向之相片(經旋轉後正立方向為向上) 34‧‧‧Photos in the upright direction (upward direction after rotation)
41‧‧‧興趣區域(ROI) 41‧‧‧ Area of Interest (ROI)
42‧‧‧興趣區域(ROI) 42‧‧‧ Area of Interest (ROI)
43‧‧‧興趣區域(ROI) 43‧‧‧ Area of Interest (ROI)
44‧‧‧非正立方向之相片(正立方向為向右) 44‧‧‧Photos in the opposite direction (right direction is right)
第1圖係習知所拍攝的多張相片示意圖。 Fig. 1 is a schematic view of a plurality of photographs taken by a conventional one.
第2圖係旋轉後的多張相片示意圖,該正立方向為朝上。 Figure 2 is a schematic view of a plurality of photos after rotation, the upright direction being upward.
第3圖係本創作之裝置構造圖。 Figure 3 is a structural diagram of the device of the present creation.
第4圖係非正立方向之相片,該正立方向為向右。 Figure 4 is a photo of the non-positive direction, which is oriented to the right.
請參閱第3圖,本創作裝置係提供一種自動旋轉相片或多媒體影片之裝置,該裝置14包括有一處理器10及一記憶單元11,該裝置可電耦接至輸入單元12及輸出單元13。 Referring to FIG. 3, the authoring apparatus provides a device for automatically rotating a photo or multimedia movie. The device 14 includes a processor 10 and a memory unit 11 electrically coupled to the input unit 12 and the output unit 13.
該輸入單元12可為數位相機或影像擷取裝置,可將欲拍攝的物體影像擷取,並輸入至本裝置;本裝置亦可包含在該影像擷取裝置中,或是影像擷取裝置透過有線傳輸或是無線傳輸方式將影像傳輸至本裝置記憶單元11中。 The input unit 12 can be a digital camera or an image capturing device, which can capture an image of an object to be captured and input it to the device; the device can also be included in the image capturing device or the image capturing device can be transmitted through the image capturing device. The image is transmitted to the memory unit 11 of the device by wired transmission or wireless transmission.
本裝置將多媒體相片或視訊的方向轉正後,亦可透過有線傳輸或是無線傳輸方式將影像傳輸至遠端伺服器上,例如將處理好的相片或錄影影像傳輸至臉書(facebook)的儲存單元中,以方便觀看者瀏覽相片相片或視訊檔。 After the device turns the direction of the multimedia photo or video, it can also transmit the image to the remote server through wired transmission or wireless transmission, for example, transferring the processed photo or video image to the Facebook storage. In the unit, to facilitate viewers to view photo photos or video files.
本裝置第一實施例為一種數位系統或裝置,該數位系統可為數位相機或者是數位錄放影機,行車紀錄器,智慧型手機等具有照相或攝影之功能,該裝置可以將照相或攝影後的影像直接將相片或是視訊影像直接自動旋轉後儲存至裝置中的記憶單元中。 The first embodiment of the device is a digital system or device, and the digital system can be a digital camera or a digital video recorder, a driving recorder, a smart phone, etc., which has the function of photography or photography, and the device can be taken after photography or photography. The image is directly rotated directly by the photo or video image and stored in the memory unit in the device.
本裝置第二實施例可為一種數位系統或裝置,該數位系統中 可安裝一社群網站(例如:臉書facebook等),當使用者將照相或攝影後的影像上傳至本實施例之網站空間儲存後,可以透過本系統或裝置將影像先行自動旋轉後再儲存,如由第1圖的多張非正立方向的相片22、24,經由本系統裝置自動轉換成第2圖的全部都是正立方向朝上的相片32、23、34,使瀏覽觀賞者可以很方便的播放觀賞。 The second embodiment of the device may be a digital system or device in the digital system A social networking website (for example, Facebook, etc.) can be installed. After the user uploads the photographed or photographed image to the website space of the embodiment, the image can be automatically rotated and then stored through the system or device. As shown in Fig. 1, the plurality of non-positive direction photographs 22 and 24 are automatically converted into the photographs 32, 23, and 34 in the second figure, all of which are in the upright direction, so that the viewer can easily browse. Play for viewing.
本創作可於裝置中裝設一重力方向感應裝置,例如g-sensor等可偵測重力的感應器,該相片自動旋轉裝置可於截取該相片或視訊時,偵測重力方向而得知該相片或視訊的正立方向,並將該正立方向資訊儲存於該相片或視訊中的檔頭部份,以利後續要瀏覽觀賞時,可以方便的自動將相片或是視訊影像旋轉。 The creation device can be provided with a gravity direction sensing device, such as a g-sensor and the like, which can detect the gravity. The photo automatic rotation device can detect the gravity direction and intercept the photo or video to detect the photo. Or the direction of the video, and store the information in the direction of the head of the photo or video to facilitate the automatic rotation of the photo or video image.
本創作可依據該相片或是視訊影像中的像素資訊決定該相片或視訊中的該正立方向,該裝置可藉由一影像處理演算法之運算,偵測出該像素資訊的正立方向,影像處理演算法可以將彩色相片或是視訊影像轉成灰階的亮度資訊,將彩色圖片轉為灰階,若彩色圖片轉換前,每個影像在位置(x,y)的像素(pixel)RGB值像素值包含(R[x][y],G[x][y],B[x][y])等色彩資訊,而Gray[x][y]則為轉換後之灰階值,則其關係公式為:Gray[x][y]=0.299 R[x][y]+0.587 G[x][y]+0.114 B[x][y] The creation may determine the erect direction of the photo or the video according to the photo information in the photo or the video image. The device may detect the erect direction of the pixel information by an image processing algorithm. The image processing algorithm can convert color photos or video images into grayscale brightness information, and convert the color images into grayscale. If the color image is converted, each image is at the position (x, y) pixels (pixel) RGB. The value pixel value includes color information such as (R[x][y], G[x][y], B[x][y]), and Gray[x][y] is the converted grayscale value. Then the relational formula is: Gray[x][y]=0.299 R[x][y]+0.587 G[x][y]+0.114 B[x][y]
再將灰階處理後的影像轉成二值化影像,將二值化影像經由Sobel或Canny等邊緣偵測法找出邊緣線關係,例如地平線或植物伸展線,並找出相片或是視訊影像中的正立方向,並設定正立方向及將正立方向資訊儲存在影像檔案中的檔頭部份。 Then convert the grayscale processed image into a binarized image, and use the edge detection method such as Sobel or Canny to find the edge line relationship, such as the horizon or plant stretch line, and find the photo or video image. The positive direction of the middle, and set the upright direction and store the information of the upright direction in the head portion of the image file.
本創作可依據該相片或是視訊影像中的像素資訊決定該相 片或視訊中的該正立方向,該裝置可藉由一影像處理演算法之運算,偵測出該像素資訊的正立方向,影像處理演算法可以利用習知多種人臉辨識演算法找出相片或視訊中是否有人臉存在,若有人臉存在,則計算出多數人臉的方向並設定其為正立方向,若該正立方向非朝上,則將相片或是視訊中的影像自動旋轉,使其正立方向朝上,亦可將此正立方向資訊記錄於影像檔案中的檔頭部份。 This creation can determine the phase based on the photo or the pixel information in the video image. In the positive direction of the film or video, the device can detect the vertical direction of the pixel information by an image processing algorithm, and the image processing algorithm can use various conventional face recognition algorithms to find out Whether there is a face in the photo or video, if a face exists, calculate the direction of the majority face and set it to the upright direction. If the upright direction is not facing up, the image in the photo or video is automatically rotated. With the erect direction facing up, the erect direction information can also be recorded in the head portion of the image file.
利用前述影像處理的方法,可偵測出車道線或是地平線,並找出相片或是視訊影像中的正立方向,並設定正立方向及將正立方向資訊儲存在影像檔案中的檔頭部份。 Using the image processing method, the lane line or the horizon can be detected, and the erect direction of the photo or the video image can be found, and the erect direction and the erect direction information can be stored in the image file. Part.
利用習知多種人臉辨識演算法找出相片或視訊中是否有人臉存在,若有人臉存在,則計算出多數人臉的正立方向並設定其為正立方向,若該正立方向非朝上,則將相片或是視訊中的影像自動旋轉,使其正立方向朝上,亦或可將此正立方向資訊記錄於影像檔案中的檔頭部份。 Use a variety of face recognition algorithms to find out whether there is a human face in the photo or video. If a human face exists, calculate the positive direction of the majority face and set it to the upright direction. If the erect direction is not In the above, the image in the photo or the video is automatically rotated so that the erect direction is upward, or the erect direction information can be recorded in the head portion of the image file.
如第4圖所示,該圖為一大片草原及藍天白雲,本創作可預設多個興趣區域(ROI)41、42、43,興趣區域42所在位置是大草原,興趣區域43所在位置是天空;由大量的相片影像中統計出上半部天空與下半部地面的彩色資訊,求出平均值及變異量等統計資訊,並依據該相片或是視訊影像中的興趣區域(ROI),所擷取出色彩資訊,由該統計資訊決定該相片影像中的正立方向,並設定正立方向及將正立方向資訊儲存在影像檔案中的檔頭部份。 As shown in Figure 4, the picture is a large grassland and blue sky and white clouds. This creation can preset multiple interest areas (ROI) 41, 42, 43. The location of the interest area 42 is the prairie, and the location of the interest area 43 is Sky; the color information of the upper half of the sky and the lower half of the ground is counted from a large number of photo images, and statistical information such as the average value and the variation is obtained, and based on the photo or the region of interest (ROI) in the video image. The color information is extracted, and the statistical information determines the erect direction of the photo image, and sets the erect direction and the erect direction information in the head portion of the image file.
一般視訊影像遵照各種演算法及壓縮格式,例如:MPEG(Moving Picture Experts Group)、H.264、MPEG 4等等格式,本創作可依據 該視訊影像中的移動資訊而決定該正立方向,並將視訊影像中的正立方向資訊儲存在影像檔案中。 Generally, video images conform to various algorithms and compression formats, such as MPEG (Moving Picture Experts Group), H.264, MPEG 4, etc. The moving information in the video image determines the erect direction, and the erect direction information in the video image is stored in the image file.
綜上所述,本新型確已符合新型專利之要件,遂依法提出專利申請。惟,以上所述者僅為本新型之較佳實施方式,自不能以此限制本案之申請專利範圍。舉凡熟悉本案技藝之人士援依本新型之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the new model has indeed met the requirements of the new patent, and has filed a patent application in accordance with the law. However, the above is only a preferred embodiment of the present invention, and it is not possible to limit the scope of the patent application in this case. Equivalent modifications or variations made by persons familiar with the skill of the present invention in light of the spirit of the present invention are intended to be included in the scope of the following claims.
10‧‧‧處理器 10‧‧‧ processor
11‧‧‧記憶單元 11‧‧‧ memory unit
12‧‧‧輸入單元 12‧‧‧ input unit
13‧‧‧輸出單元 13‧‧‧Output unit
14‧‧‧本創作之相片自動旋轉裝置 14‧‧‧Photo automatic rotating device
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102207668U TWM463885U (en) | 2013-04-26 | 2013-04-26 | Photo automatic rotation device, system and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102207668U TWM463885U (en) | 2013-04-26 | 2013-04-26 | Photo automatic rotation device, system and storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM463885U true TWM463885U (en) | 2013-10-21 |
Family
ID=49772995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102207668U TWM463885U (en) | 2013-04-26 | 2013-04-26 | Photo automatic rotation device, system and storage device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM463885U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607835A (en) * | 2015-12-21 | 2016-05-25 | 惠州Tcl移动通信有限公司 | Mobile terminal with automatic picture direction adjusting function and display method thereof |
-
2013
- 2013-04-26 TW TW102207668U patent/TWM463885U/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105607835A (en) * | 2015-12-21 | 2016-05-25 | 惠州Tcl移动通信有限公司 | Mobile terminal with automatic picture direction adjusting function and display method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9811910B1 (en) | Cloud-based image improvement | |
US8818101B1 (en) | Apparatus and method for feature matching in distorted images | |
US9282242B2 (en) | Method and electric device for taking panoramic photograph | |
US11457157B2 (en) | High dynamic range processing based on angular rate measurements | |
CN106973228B (en) | Shooting method and electronic equipment | |
US10148875B1 (en) | Method and system for interfacing multiple channels of panoramic videos with a high-definition port of a processor | |
US10410061B2 (en) | Image capturing apparatus and method of operating the same | |
US20150237268A1 (en) | Multiple Camera Imaging | |
US20140198242A1 (en) | Image capturing apparatus and image processing method | |
CN102279515A (en) | Panoramic shooting apparatus and method thereof | |
WO2016011877A1 (en) | Method for filming light painting video, mobile terminal, and storage medium | |
US20130155280A1 (en) | Pre-setting the foreground view of a photograph | |
WO2016197734A1 (en) | Image capturing method, terminal and server | |
WO2022022633A1 (en) | Image display method and apparatus, and electronic device | |
WO2016145831A1 (en) | Image acquisition method and device | |
JP2007266902A5 (en) | ||
US20160134797A1 (en) | Self portrait image preview and capture techniques | |
US20130311940A1 (en) | System of Organizing Digital Images | |
US11212425B2 (en) | Method and apparatus for partial correction of images | |
EP2230834A1 (en) | Apparatus and method for image processing | |
TWM463885U (en) | Photo automatic rotation device, system and storage device | |
WO2017000796A1 (en) | Human-face directed display system and method | |
KR101860778B1 (en) | Apparatus and method for for editing photograph image | |
US9609211B2 (en) | Method of image conversion operation for panorama dynamic IP camera | |
US10051192B1 (en) | System and apparatus for adjusting luminance levels of multiple channels of panoramic video signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4K | Annulment or lapse of a utility model due to non-payment of fees |