TWI578785B - Photographic device and photographic method - Google Patents

Photographic device and photographic method Download PDF

Info

Publication number
TWI578785B
TWI578785B TW105118159A TW105118159A TWI578785B TW I578785 B TWI578785 B TW I578785B TW 105118159 A TW105118159 A TW 105118159A TW 105118159 A TW105118159 A TW 105118159A TW I578785 B TWI578785 B TW I578785B
Authority
TW
Taiwan
Prior art keywords
image
moiré
picture
acquired
photographing
Prior art date
Application number
TW105118159A
Other languages
Chinese (zh)
Other versions
TW201743604A (en
Inventor
黃專殷
王玥琦
莊雅淇
Original Assignee
群邁通訊股份有限公司
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 群邁通訊股份有限公司 filed Critical 群邁通訊股份有限公司
Priority to TW105118159A priority Critical patent/TWI578785B/en
Application granted granted Critical
Publication of TWI578785B publication Critical patent/TWI578785B/en
Publication of TW201743604A publication Critical patent/TW201743604A/en

Links

Landscapes

  • Studio Devices (AREA)

Description

拍照裝置及拍照方法 Photographing device and photographing method

本發明涉及拍照裝置及拍照方法,尤其涉及一種能夠自動去除照片中的摩爾紋等多餘紋路的拍照裝置及拍照方法。 The invention relates to a photographing device and a photographing method, in particular to a photographing device and a photographing method capable of automatically removing excess lines such as moiré in a photograph.

使用者在觀看電視、電腦或者戶外LED顯示幕中顯示的內容時,經常會想要將看到的畫面分享給朋友。這時候最常用的方式就是拿出手機或相機拍下顯示幕中的內容在分享給朋友。然而,我們會發現用手機或相機拍出的顯示幕的畫面經常會出現摩爾紋等多餘的條紋,嚴重影響拍攝的效果。 When users watch content displayed on TV, computer or outdoor LED display screens, they often want to share the pictures they see to friends. The most common way to do this is to take out the contents of the display screen with your mobile phone or camera and share it with your friends. However, we will find that the screen of the display screen shot with a mobile phone or camera often has extra stripes such as moiré, which seriously affects the shooting effect.

有鑑於此,有必要提出一種新型的拍照裝置及拍照方法,以解決上述問題。 In view of this, it is necessary to propose a new type of photographing device and photographing method to solve the above problems.

一種拍照裝置,具有一攝像單元,該攝像單元以一光圈與一對焦距離獲取一畫面。該拍照裝置還包括一影像處理系統,該影像處理系統包括:偵測模組,用於偵測該攝像單元獲取的畫面中是否存在摩爾紋;調整模組,用於當該偵測模組偵測該獲取的畫面中存在摩爾紋,調整該攝像單元的光圈及快門的組合或對焦距離直至所述該獲取的畫面中不存在摩爾紋;以及拍照控制模組,用於控制該攝像單元進行拍照。 A photographing device has an image capturing unit that acquires a picture with an aperture and a focus distance. The camera device further includes an image processing system, the image processing system includes: a detection module, configured to detect whether there is a moiré in the image acquired by the camera unit; and an adjustment module, configured to detect the module Measuring a moiré in the acquired image, adjusting a combination of a diaphragm and a shutter of the camera unit or a focus distance until the moiré does not exist in the acquired image; and a photographing control module for controlling the camera unit to take a photo .

其中,當該偵測模組確定該拍照裝置獲取的畫面中沒有摩爾紋時 ,該拍照控制模組控制該攝像單元直接進行拍照。 Wherein, when the detecting module determines that there is no moiré in the picture acquired by the photographing device The camera control module controls the camera unit to directly take a picture.

一種拍照方法,應用於一拍照裝置中。該拍照裝置包括攝像單元。該拍照方法包括步驟:偵測該拍照裝置獲取的畫面中是否存在摩爾紋;在確定該獲取的畫面中存在摩爾紋時,調整該攝像單元的光圈及快門的組合或對焦距離直至所述該獲取的畫面中不存在摩爾紋;以及控制該攝像單元進行拍照。 A photographing method is applied to a photographing device. The photographing device includes an image capturing unit. The photographing method includes the steps of: detecting whether there is a moiré in the image acquired by the photographing device; and determining the combination of the aperture and the shutter or the focusing distance of the image capturing unit when determining the presence of the moiré in the acquired image until the obtaining There is no moiré in the picture; and the camera unit is controlled to take a picture.

本發明中的拍照裝置及拍照方法,能夠自動去除摩爾紋等多餘的紋路,從而取得更好的拍照效果,無需用戶手動調節,使得拍照變得更加簡單且更加人性化。 The photographing device and the photographing method in the invention can automatically remove excess lines such as moiré, thereby obtaining a better photographing effect, without requiring manual adjustment by the user, making the photographing more simple and more humanized.

100‧‧‧拍照裝置 100‧‧‧Photographing device

10‧‧‧攝像單元 10‧‧‧ camera unit

20‧‧‧存儲單元 20‧‧‧ storage unit

30‧‧‧處理器 30‧‧‧ Processor

40‧‧‧影像處理系統 40‧‧‧Image Processing System

41‧‧‧模式選擇模組 41‧‧‧ mode selection module

42‧‧‧偵測模組 42‧‧‧Detection module

43‧‧‧調整模組 43‧‧‧Adjustment module

44‧‧‧拍照控制模組 44‧‧‧Photo Control Module

S301~S303‧‧‧步驟 S301~S303‧‧‧Steps

圖1為本發明一實施方式中拍照裝置的功能模組示意圖。 FIG. 1 is a schematic diagram of functional modules of a photographing apparatus according to an embodiment of the present invention.

圖2為本發明一實施方式中拍照裝置中影像處理系統的模組示意圖。 2 is a schematic diagram of a module of an image processing system in a photographing apparatus according to an embodiment of the present invention.

圖3為本發明一實施方式中拍照方法的流程圖。 FIG. 3 is a flowchart of a photographing method according to an embodiment of the present invention.

請參閱圖1,為本發明一較佳實施方式中拍照裝置100的功能模組示意圖。在本實施方式中,該拍照裝置100包括攝像單元10、存儲單元20、處理器30以及影像處理系統40。該攝像單元10用於拍攝照片,其包括鏡頭、快門、光圈、影像感測器等通常相機中具有的結構。可以理解的是,該攝像單元10還可以包括其他結構,由於不是本發明重點,故在此不再贅述。在本實施方式中,該拍照裝置100可以是相機,也可以是手機、平板電腦等可擕式電子裝置,但並不以此為限。 Please refer to FIG. 1 , which is a schematic diagram of functional modules of a photographing apparatus 100 according to a preferred embodiment of the present invention. In the present embodiment, the photographing apparatus 100 includes an imaging unit 10, a storage unit 20, a processor 30, and an image processing system 40. The camera unit 10 is used to take a photo, which includes a lens, a shutter, an aperture, an image sensor, and the like, which are generally included in a camera. It can be understood that the camera unit 10 can also include other structures. Since it is not the focus of the present invention, it will not be described herein. In the embodiment, the camera device 100 may be a camera, or may be a portable electronic device such as a mobile phone or a tablet computer, but is not limited thereto.

該存儲單元20中存儲有多種拍照模式,適用於多種不同的拍攝情景。在本實施方式中,所述拍照模式包括一拍攝螢幕模式,該拍攝螢幕模式適用於拍攝電視螢幕、手機螢幕、戶外LED顯示幕等螢幕中顯示內容的情形。可以理解的是,所述拍照模式還可以包括現有的風景模式、夜景模式、人物模式、微距模式、運動模式等,但並不以此為限。 The storage unit 20 stores a plurality of photographing modes suitable for a plurality of different photographing scenarios. In this embodiment, the photographing mode includes a shooting screen mode, and the shooting screen mode is suitable for shooting a content displayed on a screen such as a television screen, a mobile phone screen, or an outdoor LED display screen. It can be understood that the photographing mode may also include an existing landscape mode, a night scene mode, a character mode, a macro mode, a sports mode, and the like, but is not limited thereto.

請參閱圖2,該影像處理系統40中包括有多個功能模組,這些功能模組為存儲於存儲單元20中的可被該處理器30執行的程式模組。在本實施方式中,這些功能模組包括模式選擇模組41、偵測模組42、判斷模組43、調整模組44以及拍照控制模組45。在本實施方式中,該處理器30可以是中央處理器(Central Processing Unit,CPU)、微處理器或其他資料處理晶片。 Referring to FIG. 2 , the image processing system 40 includes a plurality of function modules, which are module modules stored in the storage unit 20 and executable by the processor 30 . In this embodiment, the function modules include a mode selection module 41, a detection module 42, a determination module 43, an adjustment module 44, and a photographing control module 45. In this embodiment, the processor 30 can be a central processing unit (CPU), a microprocessor, or other data processing chip.

該模式選擇模組41用於在該拍照裝置100中的攝像單元10啟動後,回應用戶的操作控制該拍照裝置100進入使用者選擇的拍照模式。在本實施方式中,當使用者藉由觸發拍照裝置100中的模式選擇按鍵來選擇該拍攝螢幕模式時,該模式選擇模組41回應使用者的操作控制該拍照裝置100進入該拍攝螢幕模式。 The mode selection module 41 is configured to control the camera device 100 to enter a camera mode selected by the user in response to the user's operation after the camera unit 10 in the camera device 100 is activated. In the embodiment, when the user selects the shooting mode by triggering the mode selection button in the camera device 100, the mode selection module 41 controls the camera device 100 to enter the shooting mode in response to the user's operation.

在本實施方式中,使用者可以藉由觸發拍照裝置100中的模式選擇按鍵(圖未示)或觸摸顯示幕(圖未示)中的選擇圖示等方式來進入相應的拍照模式。 In this embodiment, the user can enter the corresponding photographing mode by triggering a mode selection button (not shown) in the photographing device 100 or a selection icon in a touch screen (not shown).

在其他實施方式中,該模式選擇模組41還可在該拍照裝置100中的攝像單元10啟動後,自動識別攝像單元10目前所欲拍攝物件,自動選擇拍照模式,並自動控制該拍照裝置100進入選擇的拍照模式。 In other embodiments, the mode selection module 41 can automatically recognize the object currently being photographed by the camera unit 10 after the camera unit 10 in the camera device 100 is activated, automatically select a photographing mode, and automatically control the photographing device 100. Enter the selected photo mode.

在拍攝數位元影像時,如果被拍攝的物體中有密紋的紋理,則常常會出現莫名其妙如水波一樣的條紋和不正常的色彩,這就是摩爾紋。或是當物體上的細緻圖樣例如:衣服上的紋路或影像中含有非常靠近的平行線與影像感測器上的感光元件圖樣相重迭時,皆可能會產生此現象。在數位元影像領域中,摩爾紋一直是不易解決的難題。 When shooting a digital image, if there is a dense texture in the object being photographed, there are often inexplicable stripes like water waves and abnormal colors. This is the moiré. This phenomenon may occur when a detailed pattern on an object, such as a line on a garment or an image with closely spaced parallel lines overlapping the pattern of the photosensitive element on the image sensor. In the field of digital imaging, moiré has always been a difficult problem to solve.

該偵測模組42用於在該拍照裝置100進入該拍攝螢幕模式後,偵測該拍照裝置100的鏡頭中獲取的畫面是否有摩爾紋出現。 The detecting module 42 is configured to detect whether a picture obtained in the lens of the photographing device 100 has a moiré after the photographing device 100 enters the shooting mode.

在本實施方式中,該存儲單元20中還預先存儲有一個或多個摩爾紋圖片範本,該一個或多個摩爾紋圖片範本均為黑白圖像模式,每一圖片範本中均存在各種摩爾紋的樣式。該偵測模組42偵測畫面中是否出現摩爾紋的方法為:將該拍照裝置100獲取的畫面圖像轉換為黑白圖像模式,將該轉換為黑白模式的圖像與該存儲單元20中存儲的一個或多個摩爾紋圖片範本進行比對,當該轉換為黑白模式的圖像與該存儲單元20中存儲的圖片範本相似度大於預設值時,該偵測模組42確定該鏡頭獲取到的畫面中有摩爾紋出現。當該轉換為黑白模式的圖像與該存儲單元20中存儲的圖片範本相似度小於預設值時,該偵測模組42確定該鏡頭獲取到的畫面中沒有摩爾紋出現。 In the embodiment, one or more moiré picture templates are pre-stored in the storage unit 20, and the one or more moiré picture templates are black and white image modes, and various moiré patterns exist in each picture template. Style. The detecting module 42 detects whether a moiré appears in the picture: converting the picture image acquired by the camera device 100 into a black and white image mode, converting the image into a black and white mode and the storage unit 20 The stored one or more moiré picture templates are compared. When the image converted to the black and white mode and the picture template stored in the storage unit 20 are greater than a preset value, the detecting module 42 determines the lens. Moiré appears in the captured image. When the image converted to the black and white mode and the image template stored in the storage unit 20 are less than a preset value, the detecting module 42 determines that no moiré appears in the image acquired by the lens.

在其他實施方式中,針對該拍照裝置100的鏡頭中獲取的畫面,只有部分區域可能會有摩爾紋出現時,該偵測模組42針對該拍照裝置100獲取的畫面圖像轉換為黑白圖像模式後,先分割多個圖像區域,再分別將各個分割圖像區域與該存儲單元20中存儲的一個或多個摩爾紋圖片範本進行比對,當其中一個圖像區域與該存 儲單元20中存儲的一個或多個摩爾紋圖片範本相似度大於預設值時,該偵測模組42確定該個圖像區域有摩爾紋出現,進一步確定該鏡頭獲取到的畫面中有摩爾紋出現。藉由此分割圖像區域後再比對的方式,將能夠提升偵測模組42判斷摩爾紋的精確度。 In other embodiments, the screen image acquired by the detecting module 42 for the camera device 100 is converted to a black and white image when only a part of the area may have a moiré appearing in the image captured by the camera 100. After the mode, the plurality of image regions are first divided, and each of the divided image regions is respectively compared with one or more moiré image templates stored in the storage unit 20, and one of the image regions and the save When the one or more moiré picture template similarities stored in the storage unit 20 are greater than a preset value, the detecting module 42 determines that the image area has a moiré appearing, and further determines that the image acquired by the lens has a mole. The pattern appears. By dividing the image regions and then comparing them, the detection module 42 can be improved to determine the accuracy of the moiré.

當該偵測模組42確定該鏡頭獲取到的畫面中沒有摩爾紋出現時,該拍照控制模組44控制該拍攝單元10進行正常的照片拍攝過程。 When the detecting module 42 determines that no moiré appears in the image acquired by the lens, the photographing control module 44 controls the photographing unit 10 to perform a normal photo taking process.

當該偵測模組42確定該鏡頭獲取到的畫面中有摩爾紋出現時,該調整模組43獲取該拍照裝置100當前的光圈和快門的組合而取得一個曝光值(Exposure Value),然後根據取得的曝光值,挑選出另一組光圈和快門的組合並將當前的光圈和快門組合變更為新挑選出的光圈和快門的組合。 When the detecting module 42 determines that a moiré appears in the image acquired by the lens, the adjusting module 43 acquires a combination of the current aperture and the shutter of the photographing device 100 to obtain an exposure value, and then according to The resulting exposure value is selected for another combination of aperture and shutter and the current aperture and shutter combination is changed to a newly selected combination of aperture and shutter.

當該調整模組43挑選出並變更另一組光圈和快門的組合後,該拍照裝置100的鏡頭獲取畫面後,該偵測模組42再次偵測該拍照裝置100的鏡頭中獲取的畫面是否有摩爾紋出現,若有摩爾紋出現,則該判斷模組43繼續挑選出具有所述相同曝光值的另一組光圈和快門的組合讓該拍照裝置100的鏡頭繼續獲取畫面,直到該偵測模組42偵測到獲取的畫面沒有摩爾紋出現。 After the adjustment module 43 selects and changes the combination of the other apertures and the shutters, after the lens of the camera device 100 acquires the image, the detection module 42 detects whether the image acquired in the lens of the camera device 100 is detected again. Moiré appears, if a moiré appears, the judging module 43 continues to select another combination of the aperture and the shutter having the same exposure value, so that the lens of the photographing device 100 continues to acquire the image until the detection The module 42 detects that the acquired picture has no moiré.

在一實施方式中,該調整模組43將該拍照裝置100的光圈值調整至預設值,該預設值可以是該拍照裝置100的光圈最大值。如此,拍攝照片的銳利度會降低,從而達到消除摩爾紋的目的。 In an embodiment, the adjustment module 43 adjusts the aperture value of the camera device 100 to a preset value, which may be the aperture maximum of the camera device 100. In this way, the sharpness of the photograph will be reduced, thereby achieving the purpose of eliminating moiré.

當該調整模組43在調整該拍照裝置100的光圈或快門所有組合方式後,仍然無法消除摩爾紋時,該調整模組43將該拍照裝置100的對焦位置在獲取的畫面清楚的景深範圍內,向前或向後移動一 預定值,例如將對焦位置向前移動3釐米或向後移動3釐米。如此,可以達到消除照片中摩爾紋的目的。其中,該調整模組43判斷當前獲取的畫面是否清楚可以利用現有技術中判斷圖像清晰度的方法來進行,例如,在空域中藉由Sobel運算元的演算法來判斷圖像的清晰度,或在頻域中採用FFT變換等演算法來檢測圖像的清晰度。由於藉由上述方法是本領域中檢測圖像清晰度的現有技術,故在此不再詳細描述。 When the adjustment module 43 still cannot remove the moiré after adjusting the combination of the aperture or the shutter of the photographing device 100, the adjustment module 43 sets the focus position of the photographing device 100 within a clear depth of field of the acquired image. Move forward or backward one A predetermined value, such as moving the focus position forward by 3 cm or moving backward by 3 cm. In this way, the purpose of eliminating moiré in the photo can be achieved. The adjusting module 43 determines whether the currently acquired picture is clear or not, and may perform the method for determining the image sharpness in the prior art, for example, determining the sharpness of the image by using an algorithm of the Sobel operand in the airspace. Or an algorithm such as FFT transform is used in the frequency domain to detect the sharpness of the image. Since the above method is a prior art for detecting image sharpness in the art, it will not be described in detail herein.

可以理解的是,在其他實施方式中,該調整模組43無需調整該拍照裝置100的光圈和快門,而直接將該拍照裝置100的對焦位置向前或向後移動預定值。 It can be understood that, in other embodiments, the adjustment module 43 does not need to adjust the aperture and the shutter of the photographing device 100, but directly moves the focus position of the photographing device 100 forward or backward by a predetermined value.

該拍照控制模組44用於在該調整模組43對該拍照裝置100的光圈、快門或對焦位置調整完成後,控制該攝像單元10進行拍照。 The camera control module 44 is configured to control the camera unit 10 to take a picture after the adjustment module 43 adjusts the aperture, shutter or focus position of the camera device 100.

請參閱圖3,為本發明一實施方式中拍照方法的流程圖。在本實施方式中,該拍照方法包括如下步驟: Please refer to FIG. 3 , which is a flowchart of a photographing method according to an embodiment of the present invention. In this embodiment, the photographing method includes the following steps:

S301:該偵測模組42偵測該拍照裝置100的鏡頭中獲取的畫面是否存在摩爾紋。若是,則執行步驟S302;若否,則執行步驟S303。 S301: The detecting module 42 detects whether there is a moiré in the picture acquired in the lens of the photographing device 100. If yes, go to step S302; if no, go to step S303.

在本發明一實施方式中,該偵測模組42偵測畫面中是否有摩爾紋的方法為:將該拍照裝置100獲取的畫面圖像轉換為黑白圖像模式,將該轉換為黑白模式的圖像與該存儲單元20中存儲的一個或多個摩爾紋圖片範本進行比對,當該轉換為黑白模式的圖像與該存儲單元20中存儲的圖片範本相似度大於預設值時,該偵測模組42確定該鏡頭獲取到的畫面中有摩爾紋出現。當該轉換為黑白模 式的圖像與該存儲單元20中存儲的圖片範本相似度小於預設值時,該偵測模組42確定該鏡頭獲取到的畫面中沒有摩爾紋出現。 In an embodiment of the present invention, the detecting module 42 detects whether there is a moiré in the picture: converting the picture image acquired by the camera device 100 into a black and white image mode, and converting the image into a black and white mode. Comparing the image with one or more moiré picture templates stored in the storage unit 20, when the image converted to the black and white mode and the picture template stored in the storage unit 20 are greater than a preset value, the image The detecting module 42 determines that moiré appears in the picture acquired by the lens. When the conversion is black and white When the similarity between the image and the image template stored in the storage unit 20 is less than a preset value, the detection module 42 determines that no moiré appears in the image acquired by the lens.

在其他實施方式中,針對該拍照裝置100的鏡頭中獲取的畫面,只有部分區域可能會有摩爾紋出現時,該偵測模組42可針對該拍照裝置100獲取的畫面圖像轉換為黑白圖像模式後,先分割多個圖像區域,再分別將各個分割圖像區域與該存儲單元20中存儲的一個或多個摩爾紋圖片範本進行比對,當其中一個圖像區域與該存儲單元20中存儲的一個或多個摩爾紋圖片範本相似度大於預設值時,該偵測模組42確定該個圖像區域有摩爾紋出現,進一步確定該鏡頭獲取到的畫面中有摩爾紋出現。 In other embodiments, for the picture acquired in the lens of the camera device 100, the detection module 42 may convert the picture image acquired by the camera device 100 into a black and white picture when only a part of the area may have a moiré. After the image mode, the plurality of image regions are first divided, and each of the divided image regions is respectively compared with one or more moiré image templates stored in the storage unit 20, and one of the image regions and the storage unit When the one or more moiré image templates stored in the 20 are greater than the preset value, the detecting module 42 determines that the moiré appears in the image region, and further determines that the moiré appears in the image acquired by the lens. .

S302:該調整模組43調整該攝像單元的光圈及快門的組合或對焦距離直至所述該獲取的畫面中不存在摩爾紋。 S302: The adjustment module 43 adjusts the combination or focus distance of the aperture and the shutter of the imaging unit until there is no moiré in the acquired picture.

具體地,該調整模組43獲取該拍照裝置100當前的光圈和快門的組合而取得一個曝光值(Exposure Value),然後根據取得的曝光值,挑選出另一組光圈和快門的組合並將當前的光圈和快門組合變更為新挑選出的光圈和快門的組合,直至該獲取的畫面中沒有摩爾紋出現。 Specifically, the adjustment module 43 acquires a combination of the current aperture and the shutter of the photographing device 100 to obtain an exposure value, and then selects another combination of the aperture and the shutter according to the obtained exposure value and the current The aperture and shutter combination is changed to a newly selected combination of aperture and shutter until no moiré appears in the acquired picture.

當該調整模組43在調整該拍照裝置100的光圈或快門所有組合方式後,仍然無法消除摩爾紋時,該調整模組43將該拍照裝置100的對焦位置在獲取的畫面清楚的景深範圍內,向前或向後移動一預定值。 When the adjustment module 43 still cannot remove the moiré after adjusting the combination of the aperture or the shutter of the photographing device 100, the adjustment module 43 sets the focus position of the photographing device 100 within a clear depth of field of the acquired image. Move forward or backward by a predetermined value.

S303:該拍照控制模組44控制該攝像單元10進行拍照。 S303: The camera control module 44 controls the camera unit 10 to take a photo.

在本發明一實施方式中,該拍照方法在步驟S301之前還包括: 在該拍照裝置100中的攝像單元10啟動後,該模式選擇模組41回應使用者的操作控制該拍照裝置100進入拍攝螢幕模式。 In an embodiment of the present invention, the photographing method further includes: before step S301: After the camera unit 10 in the camera device 100 is activated, the mode selection module 41 controls the camera device 100 to enter the shooting mode in response to the user's operation.

在本發明一實施方式中,該調整模組43判斷當前獲取的畫面是否清楚可以利用現有技術中判斷圖像清晰度的方法來進行,例如,在空域中藉由Sobel運算元的演算法來判斷圖像的清晰度,或在頻域中採用FFT變換等演算法來檢測圖像的清晰度。 In an embodiment of the present invention, the adjusting module 43 determines whether the currently acquired picture is clear or not, and may be performed by using a method for determining the image sharpness in the prior art, for example, by using an algorithm of the Sobel operand in the airspace. The sharpness of the image, or an algorithm such as FFT transform in the frequency domain, is used to detect the sharpness of the image.

儘管對本發明的優選實施方式進行了說明和描述,但是本領域的技術人員將領悟到,可以作出各種不同的變化和改進,這些都不超出本發明的真正範圍。因此期望,本發明並不局限於所公開的作為實現本發明所設想的最佳模式的具體實施方式,本發明包括的所有實施方式都有所附權利要求書的保護範圍內。 While the preferred embodiment of the invention has been shown and described, it will be understood Therefore, it is intended that the invention not be limited to the embodiments disclosed herein,

S301~S303‧‧‧步驟 S301~S303‧‧‧Steps

Claims (8)

一種拍照裝置,具有一攝像單元,該攝像單元以一光圈與一對焦距離獲取一畫面,其改良在於,該拍照裝置還包括一影像處理系統,該影像處理系統包括:偵測模組,用於偵測該攝像單元獲取的畫面中是否存在摩爾紋;調整模組,用於當該偵測模組偵測該獲取的畫面中存在摩爾紋,調整該攝像單元的光圈及快門的組合直至該獲取的畫面中不存在摩爾紋,其中,該調整模組將該拍照裝置的光圈調整至最大光圈並對應調整一快門,其中,調整前後的光圈快門組合具有一相同曝光值;以及拍照控制模組,用於控制該攝像單元進行拍照。 A camera device has a camera unit that acquires a picture with an aperture and a focus distance. The camera device further includes an image processing system, and the image processing system includes: a detection module, configured to: Detecting whether there is a moiré in the image acquired by the camera unit; and adjusting the module, when the detecting module detects the presence of moiré in the acquired image, adjusting the combination of the aperture and the shutter of the camera unit until the acquisition There is no moiré in the picture, wherein the adjustment module adjusts the aperture of the camera device to the maximum aperture and adjusts a shutter correspondingly, wherein the aperture shutter combination before and after adjustment has the same exposure value; and the camera control module, It is used to control the camera unit to take a picture. 如申請專利範圍第1項所述之拍照裝置,其中,該拍照裝置還包括一存儲單元,該存儲單元中存儲有一個或多個黑白模式的摩爾紋圖片範本,該偵測模組還用於將該拍照裝置獲取的畫面圖像轉換為黑白模式,並將該轉換為黑白模式的圖像與該存儲的一個或多個黑白模式的摩爾紋圖片範本進行比對,當比對相似度大於預設值時,該偵測模組確定該獲取到的畫面存在摩爾紋。 The camera device of claim 1, wherein the camera device further includes a storage unit, wherein the storage unit stores one or more black and white mode moiré image templates, and the detection module is further used for Converting the picture image acquired by the camera device into a black and white mode, and comparing the image converted to the black and white mode with the stored one or more black and white mode moiré picture templates, when the similarity is greater than the pre When the value is set, the detection module determines that there is a moiré on the acquired image. 如申請專利範圍第1項所述之拍照裝置,其中,該偵測模組針對該拍照裝置獲取的畫面圖像轉換為黑白圖像模式後,先分割多個圖像區域,再分別將各個分割圖像區域與該存儲單元中存儲的一個或多個黑白模式摩爾紋圖片範本進行比對,當其中一個圖像區域與該存儲單元中存儲的一個或多個黑白模式摩爾紋圖片範本相似度大於預設值時,該偵測模組確定該個圖像區域存在摩爾紋。 The photographing device of claim 1, wherein the detecting module converts the image image acquired by the photographing device into a black-and-white image mode, first splits the plurality of image regions, and then separately divides the image regions. The image area is compared with one or more black and white mode moiré picture templates stored in the storage unit, and one of the image areas is more similar to one or more black and white mode moiré picture templates stored in the storage unit When the preset value is used, the detection module determines that there is a moiré in the image area. 一種拍照裝置,具有一攝像單元,該攝像單元以一光圈與一對焦距離獲 取一畫面,其改良在於,該拍照裝置還包括一影像處理系統,該影像處理系統包括:偵測模組,用於偵測該攝像單元獲取的畫面中是否存在摩爾紋;調整模組,用於當該偵測模組偵測該獲取的畫面中存在摩爾紋,調整該攝像單元的對焦距離直至該獲取的畫面中不存在摩爾紋,其中,該調整模組將該拍照裝置的對焦距離在照片清楚的景深範圍內向前或向後移動一預定值;以及拍照控制模組,用於控制該攝像單元進行拍照。 A photographing device having an image capturing unit with an aperture and a focusing distance The image capturing device further includes an image processing system, the image processing system includes: a detecting module, configured to detect whether there is a moiré in the image captured by the camera unit; and adjusting the module When the detecting module detects that there is a moiré in the acquired image, adjusting the focusing distance of the camera unit until there is no moiré in the acquired image, wherein the adjusting module sets the focusing distance of the photographing device at A predetermined value is moved forward or backward within a clear depth of field of the photograph; and a photographing control module for controlling the photographing unit to take a photograph. 一種拍照方法,應用於一拍照裝置中,該拍照裝置包括攝像單元,其改良在於,該拍照方法包括步驟:偵測該拍照裝置獲取的畫面中是否存在摩爾紋;在確定該獲取的畫面中存在摩爾紋時,調整該攝像單元的光圈及快門的組合直至該獲取的畫面中不存在摩爾紋,包括:將該拍照裝置的光圈調整至最大光圈並對應調整一快門,其中,調整前後的光圈快門組合具有一相同曝光值;以及控制該攝像單元進行拍照。 A photographing method is applied to a photographing device, the photographing device includes an image capturing unit, and the improvement comprises the steps of: detecting whether there is a moiré in the image acquired by the photographing device; and determining that the acquired image exists In the case of moiré, adjusting the combination of the aperture and the shutter of the camera unit until there is no moiré in the acquired picture, including: adjusting the aperture of the camera device to the maximum aperture and correspondingly adjusting a shutter, wherein the aperture shutter is adjusted before and after The combination has an identical exposure value; and the camera unit is controlled to take a picture. 如申請專利範圍第5項所述之拍照方法,其中,該方法還包括:將該拍照裝置獲取的畫面圖像轉換為黑白模式;將該轉換為黑白模式的圖像與預先存儲的一個或多個黑白模式的摩爾紋圖片範本進行比對;以及當該轉換為黑白模式的圖像與該存儲的圖片範本相似度大於預設值時,確定該鏡頭獲取到的畫面存在摩爾紋。 The photographing method of claim 5, wherein the method further comprises: converting the image of the image acquired by the photographing device into a black and white mode; converting the image into a black and white mode with one or more pre-stored images; The black and white mode moiré picture template is compared; and when the image converted to the black and white mode and the stored picture template are greater than the preset value, it is determined that the picture acquired by the lens has a moiré. 如申請專利範圍第5項所述之拍照方法,其中,該方法還包括:當確定該拍照裝置獲取的畫面中沒有摩爾紋時,控制該攝像單元直接進行拍照。 The photographing method of claim 5, wherein the method further comprises: when it is determined that there is no moiré in the picture acquired by the photographing device, controlling the camera unit to directly take a photograph. 一種拍照方法,應用於一拍照裝置中,該拍照裝置包括攝像單元,其改良在於,該拍照方法包括步驟:偵測該拍照裝置獲取的畫面中是否存在摩爾紋;當偵測該獲取的畫面中存在摩爾紋時,調整該攝像單元的對焦距離直至該獲取的畫面中不存在摩爾紋,包括:將該拍照裝置的對焦距離在照片清楚的景深範圍內向前或向後移動一預定值;以及控制該攝像單元進行拍照。 A photographing method is applied to a photographing device, the photographing device includes an image capturing unit, and the improvement comprises the steps of: detecting whether there is a moiré in the image acquired by the photographing device; and detecting the acquired image When there is moiré, adjusting the focusing distance of the camera unit until there is no moiré in the acquired picture, including: moving the focusing distance of the photographing device forward or backward by a predetermined value within a clear depth of field of the photograph; and controlling the The camera unit takes a picture.
TW105118159A 2016-06-08 2016-06-08 Photographic device and photographic method TWI578785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105118159A TWI578785B (en) 2016-06-08 2016-06-08 Photographic device and photographic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105118159A TWI578785B (en) 2016-06-08 2016-06-08 Photographic device and photographic method

Publications (2)

Publication Number Publication Date
TWI578785B true TWI578785B (en) 2017-04-11
TW201743604A TW201743604A (en) 2017-12-16

Family

ID=59241010

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105118159A TWI578785B (en) 2016-06-08 2016-06-08 Photographic device and photographic method

Country Status (1)

Country Link
TW (1) TWI578785B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6744517B1 (en) * 1999-02-17 2004-06-01 European Community Represented By Commision Of The European Communities Combining interference fringe patterns to a moire fringe pattern
WO2012053363A1 (en) * 2010-10-20 2012-04-26 Canon Kabushiki Kaisha Image sensor and image capturing apparatus
CN104486534A (en) * 2014-12-16 2015-04-01 西安诺瓦电子科技有限公司 Moire detecting and suppression method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6744517B1 (en) * 1999-02-17 2004-06-01 European Community Represented By Commision Of The European Communities Combining interference fringe patterns to a moire fringe pattern
WO2012053363A1 (en) * 2010-10-20 2012-04-26 Canon Kabushiki Kaisha Image sensor and image capturing apparatus
CN104486534A (en) * 2014-12-16 2015-04-01 西安诺瓦电子科技有限公司 Moire detecting and suppression method and device

Also Published As

Publication number Publication date
TW201743604A (en) 2017-12-16

Similar Documents

Publication Publication Date Title
US11172133B2 (en) Zoom control device, control method of zoom control device, and recording medium
CN107493407B (en) Photographing device and photographing method
WO2018228467A1 (en) Image exposure method and device, photographing device, and storage medium
JP6512810B2 (en) Image pickup apparatus, control method and program
TWI416945B (en) Image processing apparatus, image processing method and computer readable-medium
TWI640199B (en) Image capturing apparatus and photo composition method thereof
KR20140102443A (en) Object tracking method using camera and camera system for object tracking
US8620030B2 (en) Image processing apparatus and image processing method
JP6472183B2 (en) Image processing apparatus, control method thereof, and program
US10270977B2 (en) Imaging apparatus and a method of tracking a subject in the imaging apparatus
CN106791451B (en) Photographing method of intelligent terminal
WO2016110075A1 (en) Photographing method and apparatus for mobile terminal camera
CN111246080B (en) Control apparatus, control method, image pickup apparatus, and storage medium
US11140331B2 (en) Image capturing apparatus, control method for image capturing apparatus, and control program for image capturing apparatus
JP2016072694A (en) Image processing system, control method of the same, program, and recording medium
JP2015019376A (en) Imaging control system and control method of the same
JP6516426B2 (en) Image pickup apparatus, image processing method and program
US11064135B2 (en) Image capturing apparatus, control method for image capturing apparatus, and control program for image capturing apparatus
EP2890116A1 (en) Method of displaying a photographing mode by using lens characteristics, computer-readable storage medium of recording the method and an electronic apparatus
US20200177814A1 (en) Image capturing apparatus and method of controlling image capturing apparatus
JP2008054031A (en) Digital camera and display control method
TWI578785B (en) Photographic device and photographic method
US11727716B2 (en) Information processing apparatus, imaging apparatus, which determines exposure amount with respect to face detection and human body detection
JP2010177821A (en) Imaging apparatus and imaging method
JP2005065265A (en) Frame adjustment device, image-taking device, and printing device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees