TWI501650B - Monitor the image processing method - Google Patents

Monitor the image processing method Download PDF

Info

Publication number
TWI501650B
TWI501650B TW098117418A TW98117418A TWI501650B TW I501650 B TWI501650 B TW I501650B TW 098117418 A TW098117418 A TW 098117418A TW 98117418 A TW98117418 A TW 98117418A TW I501650 B TWI501650 B TW I501650B
Authority
TW
Taiwan
Prior art keywords
image
resolution
display
processing method
set value
Prior art date
Application number
TW098117418A
Other languages
Chinese (zh)
Other versions
TW201043040A (en
Original Assignee
Hunt Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunt Electronic Co Ltd filed Critical Hunt Electronic Co Ltd
Priority to TW098117418A priority Critical patent/TWI501650B/en
Publication of TW201043040A publication Critical patent/TW201043040A/en
Application granted granted Critical
Publication of TWI501650B publication Critical patent/TWI501650B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

監視影像處理方法Surveillance image processing method

本發明係關於一種監視影像處理方法,主要係在接收解碼端建置一動態選取解析度的技術,以大幅提升監視影像處理效率之方法。The invention relates to a monitoring image processing method, which mainly relates to a technology for constructing a dynamic selection resolution at a receiving decoding end, so as to greatly improve the method for monitoring image processing efficiency.

由於網路傳輸與視訊壓縮技術的快速發展,使其運用對象與領域均日益寬廣,而監視系統亦已充分運用該等漸臻成熟的技術,其中視訊壓縮技術可用以攝影機拍攝的影像壓縮成特定的格式(例如H.264、MPEG 4、JPEG等),再轉換成視訊串流在網路上傳輸。Due to the rapid development of network transmission and video compression technology, its application objects and fields are becoming wider and wider, and the surveillance system has fully utilized these mature technologies. Video compression technology can compress images captured by cameras into specific ones. The format (such as H.264, MPEG 4, JPEG, etc.) is then converted to a video stream for transmission over the network.

一般監視系統的影像傳送方式係如前述般,在網路上以影像串流方式傳送,在接收端方面,係將影像串流進行解碼,而將特定壓縮格式的影像訊號還原成原始的格式後送至視框暫存器(Frame Buffer)進行播放。而接收端在不考慮其顯示器解析度的狀況下,係對接收的影像串流進行解碼,並將解碼完成的資料完整地送至視框暫存器。當傳送影像的解析度與接收端顯示器的解析度一致時,前述的影像處理方式自無可厚非,但傳送影像的解析度與接收端顯示器的解析度不一致,特別是傳送影像解析度遠大於接收端顯示器的解析度時,例如:傳送影像串流的解析度為百萬像素(M-Pixel)影像(如1280x1024),而接收端的顯示器解析度為720x480(DVD等級),在此狀況下,即使接收端將解碼完成的所有資料完全傳送至視框暫存器,亦無法 在顯示器產生1280x1024的解析度,而徒增搬移資料的時間,並影響其處理效能。The image transmission mode of the general monitoring system is transmitted by video stream on the network as described above. In the receiving end, the video stream is decoded, and the image signal of a specific compression format is restored to the original format. Play to the Frame Buffer. The receiving end decodes the received video stream without considering the resolution of the display, and sends the decoded data to the view box. When the resolution of the transmitted image is consistent with the resolution of the display at the receiving end, the image processing method described above is self-explanatory, but the resolution of the transmitted image is inconsistent with the resolution of the display at the receiving end, especially the resolution of the transmitted image is much larger than that of the receiving end display. For resolution, for example, the resolution of the transmitted video stream is megapixel (M-Pixel) image (such as 1280x1024), and the resolution of the receiving end is 720x480 (DVD level). In this case, even the receiving end All the decoded data is completely transferred to the view box, and it cannot be The display produces a resolution of 1280x1024, which increases the time it takes to move data and affects its processing performance.

由上述可知,既有監視影像處理方法未考慮傳送影像與顯示器之解析度差異,造成處理資源的浪費,並影響其效能,故有進一步檢討,並謀求可行解決方案之必要。It can be seen from the above that the existing monitoring image processing method does not consider the difference in resolution between the transmitted image and the display, which causes waste of processing resources and affects its performance, so it is necessary to further review and seek a feasible solution.

因此,本發明主要目的在提供一種監視影像處理方法,其可在接收端動態選取傳送影像的顯示範圍,並只對顯示範圍進行解碼,再將解碼完成的資料送至視框暫存器,藉此可大幅減少傳送到視框暫存器的資料量,並縮短搬移資料的時間,進而提升影像處理的效能。Therefore, the main purpose of the present invention is to provide a monitoring image processing method, which can dynamically select the display range of the transmitted image at the receiving end, and only decode the display range, and then send the decoded data to the view box temporary register. This greatly reduces the amount of data transferred to the frame buffer and shortens the time it takes to move the data, thereby improving the efficiency of image processing.

為達成前述目的採取的主要技術手段係令前述方法包括:接收壓縮影像串流;根據該壓縮影像的表頭內容判斷該影像解析度之是否大於一設定值;當影像解析度不大於設定值,即直接對壓縮影像進行解碼,並將解碼完成的資料傳送至視框暫存器;若影像解析度大於設定值,即重新選取一顯示區塊;對壓縮影像進行解碼;判斷解碼位置是否在顯示區塊內;將顯示區塊內解碼完成的資料送至視框暫存器;由於前述方法只將所選取顯示區塊內解碼完成的資料送至視框暫存器,故可大幅節省搬移資料的時間,例如設 定值為百萬像素以上,若接收端不需該等高精度畫質,或顯示器解析度低於百萬像素,則可利用前述方法動態選取符合需要或與顯示器畫面大小匹配的顯示區塊,藉此即可大幅減少搬移資料的時間、提高影像處理效能。The main technical means for achieving the foregoing objective is that the method includes: receiving a compressed video stream; determining, according to a header content of the compressed image, whether the image resolution is greater than a set value; and when the image resolution is not greater than a set value, That is, the compressed image is directly decoded, and the decoded data is transmitted to the view box register; if the image resolution is greater than the set value, a display block is reselected; the compressed image is decoded; and the decoded position is displayed. In the block, the decoded data in the display block is sent to the view box register; since the above method only sends the decoded data in the selected display block to the view frame register, the data can be saved greatly. Time, for example The value is megapixel or more. If the receiving end does not need such high-precision image quality, or the display resolution is less than megapixels, the above method can be used to dynamically select a display block that meets the needs or matches the size of the display screen. This can greatly reduce the time to move data and improve image processing performance.

關於本發明一較佳實施例之流程圖,請參閱第一圖所示,其包括:接收影像串流(101),於本實施例中,係透過網路接收網路攝影機(IP CAM)所攝取並壓縮成特定格式的影像串流,其壓縮格式可為MPEG 4、H.264或JPEG等;經轉換成封包形式在網路上傳送;判斷所接收影像的解析度是否大於一設定值(102),本實施例中,係令該設定值為百萬像素(M-Pixel)以上,意即以百萬像素作為是否針對影像進行特殊處理的門檻值;當接收端由壓縮影像檔案的表頭內容得知,該影像非百萬像素以上時,即直接對壓縮影像進行解碼(103),以還原成該影像原始的格式,再送至一視框暫存器(104),進行現場(Live)播放(105);當接收端由壓縮影像檔案的表頭內容得知該影像為百萬像素時,即對該影像動態選取一顯示區塊(106),請參閱第二圖所示,假設一影像原始的解析度為1280(水平)x1024(垂直),而接收端顯示器(20)之解析度為720x480時,則吾人可定義一720x480的選取範圍(10)作為顯示區塊,該選取範圍(10)並可在影像上移動,以選取影像上的不 同位置作為顯示區塊。For a flowchart of a preferred embodiment of the present invention, refer to the first figure, which includes: receiving a video stream (101). In this embodiment, the network camera (IP CAM) is received through the network. The video stream is ingested and compressed into a specific format, and the compression format may be MPEG 4, H.264 or JPEG, etc.; converted into a packet form for transmission on the network; and it is determined whether the resolution of the received image is greater than a set value (102) In this embodiment, the setting value is megapixel (M-Pixel) or more, that is, megapixel is used as a threshold for special processing of the image; when the receiving end is compressed by the header of the compressed image file It is known that when the image is not more than megapixels, the compressed image is directly decoded (103) to be restored to the original format of the image, and then sent to a view box temporary register (104) for live (Live). Playback (105); when the receiving end knows that the image is megapixel by the header content of the compressed image file, a display block (106) is dynamically selected for the image, as shown in the second figure, assuming one The original resolution of the image is 1280 (horizontal) x1024 (vertical) The display and the receiver (20) of the resolution is 720x480, you define the selection range (10) as a 720x480 display area, the selection region (10) and movable on the image, not to select the image The same position is used as the display block.

在以選取範圍(10)確定顯示區塊後,即對壓縮影像開始進行解碼及傳送資料(107)。After the display block is determined by the selected range (10), the compressed image is initially decoded and transmitted (107).

關於前述解碼及傳送資料步驟的詳細內容請參閱第三圖所示,其包括:設定顯示區塊的起始點及範圍(107A),如第二圖所示,由使用移動一選取範圍(10)以決定一顯示區塊後,隨即取得其起始點(crop_x,crop_y);對壓縮影像進行解碼(Decode)(107B);判斷解碼位置是否在顯示區塊內(107C);若不在顯示區塊內,即回到步驟(107B);若解碼位置係在顯示區塊內,將解碼完成的資料送至視框暫存器(107D);接著判斷壓縮影像是否解碼完成(107E);若未完成,即回到步驟(107B);若完成解碼,即告結束。For details of the steps of decoding and transmitting data, please refer to the third figure, which includes: setting the starting point and range (107A) of the display block, as shown in the second figure, by using the moving one to select the range (10) After determining a display block, the starting point (crop_x, crop_y) is obtained; the compressed image is decoded (Decode) (107B); whether the decoding position is within the display block (107C); if not in the display area Within the block, returning to step (107B); if the decoding position is within the display block, the decoded data is sent to the view box register (107D); then it is determined whether the compressed image is decoded (107E); Upon completion, the process returns to step (107B); if the decoding is completed, it ends.

由上述流程可以看出,本發明由網路接收的壓縮影像後係先判斷其解析度是否大於一設定值(如百萬像素以上),若小於設定值,即依傳統方式處理,若大於設定值,則可由使用者重新定義影像的顯示區塊,而在進行解碼時,只將顯示區塊內解碼完成的資料送至視框暫存器,藉此可大幅節省資料搬移的時間,進而有效增進影像處理的效能;利用前述方法可配合接收端顯示器的解析度,或配合實際使用時對於解析度的不同要求而運用之。It can be seen from the above process that after the compressed image received by the network is first determined whether the resolution is greater than a set value (for example, more than megapixels), if it is smaller than the set value, it is processed according to the traditional method, if it is greater than the setting. The value can be used by the user to redefine the display block of the image. When decoding, only the decoded data in the display block is sent to the view box register, thereby greatly saving the time for data transfer, thereby effectively Improve the efficiency of image processing; use the above method to match the resolution of the receiver display, or to meet the different requirements of the resolution in actual use.

(10)‧‧‧選取範圍(10) ‧‧‧Selection range

(20)‧‧‧顯示器(20)‧‧‧ Display

第一圖:係本發明之一流程圖。First Figure: A flow chart of the present invention.

第二圖:係本發明在影像上選取顯示區塊之示意圖。The second figure is a schematic diagram of selecting a display block on an image according to the present invention.

第三圖:係本發明對重新定義的顯示區塊進行解碼及傳送資料之流程圖。The third figure is a flow chart of decoding and transmitting data of the redefined display block by the present invention.

Claims (4)

一種監視影像處理方法,包括下列步驟:接收壓縮影像;根據該壓縮影像的表頭內容判斷該影像解析度之是否大於一設定值;當影像解析度不大於設定值,即直接對壓縮影像進行解碼,並將解碼完成的資料傳送至視框暫存器;若影像解析度大於設定值,即重新選取一顯示區塊;對壓縮影像進行解碼;判斷解碼位置是否在顯示區塊內;將顯示區塊內解碼完成的資料送至視框暫存器。 A monitoring image processing method includes the following steps: receiving a compressed image; determining whether the image resolution is greater than a set value according to a header content of the compressed image; and directly decoding the compressed image when the image resolution is not greater than a set value And transmitting the decoded data to the view box register; if the image resolution is greater than the set value, re-selecting a display block; decoding the compressed image; determining whether the decoded position is in the display block; The data decoded in the block is sent to the view box register. 如申請專利範圍第1項所述之監視影像處理方法,該壓縮影像係以串流形式透過傳送。 The method for processing a surveillance image according to claim 1, wherein the compressed image is transmitted in a stream form. 如申請專利範圍第1項所述之監視影像處理方法,該影像的壓縮格式為MPEG 4、H.264或JPEG。 The surveillance image processing method according to claim 1, wherein the compression format of the image is MPEG 4, H.264 or JPEG. 如申請專利範圍第1至3項中任一項所述之監視影像處理方法,該設定值是百萬像素以上。 The monitoring image processing method according to any one of claims 1 to 3, wherein the set value is megapixel or more.
TW098117418A 2009-05-26 2009-05-26 Monitor the image processing method TWI501650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098117418A TWI501650B (en) 2009-05-26 2009-05-26 Monitor the image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098117418A TWI501650B (en) 2009-05-26 2009-05-26 Monitor the image processing method

Publications (2)

Publication Number Publication Date
TW201043040A TW201043040A (en) 2010-12-01
TWI501650B true TWI501650B (en) 2015-09-21

Family

ID=45000783

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098117418A TWI501650B (en) 2009-05-26 2009-05-26 Monitor the image processing method

Country Status (1)

Country Link
TW (1) TWI501650B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200713141A (en) * 2005-09-23 2007-04-01 Compal Electronics Inc Method and apparatus for automatically adjusting monitoring frame based on image change
TW200718218A (en) * 2005-10-26 2007-05-01 Mediatek Inc Video apparatus, video processing system and the method thereof
EP1793581A1 (en) * 2005-12-05 2007-06-06 Microsoft Corporation Automatic selection of images for transfer depending on connection characteristics
TW200746837A (en) * 2006-04-17 2007-12-16 Mediatek Inc Systems and methods for decoding large images
TW200906197A (en) * 2007-07-26 2009-02-01 Coretronic Corp Video decoding method and video processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200713141A (en) * 2005-09-23 2007-04-01 Compal Electronics Inc Method and apparatus for automatically adjusting monitoring frame based on image change
TW200718218A (en) * 2005-10-26 2007-05-01 Mediatek Inc Video apparatus, video processing system and the method thereof
EP1793581A1 (en) * 2005-12-05 2007-06-06 Microsoft Corporation Automatic selection of images for transfer depending on connection characteristics
TW200746837A (en) * 2006-04-17 2007-12-16 Mediatek Inc Systems and methods for decoding large images
TW200906197A (en) * 2007-07-26 2009-02-01 Coretronic Corp Video decoding method and video processing system

Also Published As

Publication number Publication date
TW201043040A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
US9918062B2 (en) Image capturing apparatus, control method of image capturing apparatus, and image processing method
JP6406949B2 (en) Image processing apparatus and image processing method
TW201501075A (en) Graphics server and method for streaming rendered content via a remote graphics processing service
TWI590653B (en) Image frame processing method
CN103686077A (en) Double buffering method applied to realtime audio-video data transmission of 3G wireless network
Kavitha Mamindla et al. Embedded real time video monitoring system using ARM
TWI501650B (en) Monitor the image processing method
RU2655662C1 (en) Image processing apparatus and image processing method
WO2021007742A1 (en) Compression method for obtaining video file, decompression method, system, and storage medium
JP6245819B2 (en) Image processing apparatus and image processing method
WO2019076156A1 (en) Data transmission method, camera and electronic device
JP6741532B2 (en) Imaging device and recording method
JP2010011287A (en) Image transmission method and terminal device
JP2008141326A (en) Imaging system and camera unit
JP6452362B2 (en) Imaging apparatus and imaging method
WO2015153723A1 (en) A method and system for real-time cloud storage of video content
JP6245818B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2015119403A (en) Image recording apparatus, image recording method, program, and imaging apparatus
JP6192319B2 (en) Image processing apparatus and image processing method
WO2021140768A1 (en) Transmission device and transmission method
JP2016063252A (en) Image processing device and image processing method
JP5853142B2 (en) Video transmission system
JP2007300386A (en) Network decoding apparatus
CN117459768A (en) Nondestructive preview method and system based on ultra-high definition camera on intelligent television
JP2014179851A (en) Imaging apparatus and control method of the same