JP5769783B2 - Information processing apparatus, control method therefor, program, and storage medium - Google Patents

Information processing apparatus, control method therefor, program, and storage medium Download PDF

Info

Publication number
JP5769783B2
JP5769783B2 JP2013231573A JP2013231573A JP5769783B2 JP 5769783 B2 JP5769783 B2 JP 5769783B2 JP 2013231573 A JP2013231573 A JP 2013231573A JP 2013231573 A JP2013231573 A JP 2013231573A JP 5769783 B2 JP5769783 B2 JP 5769783B2
Authority
JP
Japan
Prior art keywords
touch
display
display item
processing apparatus
information processing
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2013231573A
Other languages
Japanese (ja)
Other versions
JP2014089716A (en
Inventor
泰史 小山
泰史 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013231573A priority Critical patent/JP5769783B2/en
Publication of JP2014089716A publication Critical patent/JP2014089716A/en
Application granted granted Critical
Publication of JP5769783B2 publication Critical patent/JP5769783B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、タッチパネルに対する誤操作を防止するための情報処理装置とその制御方法に関する。   The present invention relates to an information processing apparatus and a control method thereof for preventing erroneous operation on a touch panel.

近年、表示部にタッチパネルを備え、直感的な操作が可能となったデジタル機器が登場している。このような機器では、タッチパネルで構成される表示画面上に置かれているボタンアイコンに対するタップと呼ばれる操作で、ボタンアイコンに割り当てられた機能を実行させるものが一般的に用いられている。ボタンアイコンに対するタップとは、ボタンアイコンにタッチ(接触)した後に離す操作で、離した時点で操作が確定して機能が実行される。   In recent years, digital devices having a touch panel in a display unit and capable of intuitive operation have appeared. In such a device, a device that executes a function assigned to a button icon by an operation called tap on a button icon placed on a display screen constituted by a touch panel is generally used. The tap on the button icon is an operation of releasing after touching (contacting) the button icon. When the button icon is released, the operation is confirmed and the function is executed.

また、タッチパネルを備えたデジタル機器は、タッチパネルの搭載によって物理的な操作部材の部品点数を減らせるメリットから機器本体の小型化が進む一方で、視認性の向上を目的にタッチパネル部の大型化が進んでいる。このように、機器本体の大きさに占めるタッチパネルの面積の割合が増加すると、機器本体を持つ手が意図せずにタッチパネル面に触れてしまい、誤操作の原因になってしまう場合があった。   In addition, digital devices equipped with touch panels are becoming smaller in size due to the merit of reducing the number of physical operation member parts by mounting touch panels, while the size of the touch panel is increased for the purpose of improving visibility. Progressing. As described above, when the ratio of the area of the touch panel to the size of the device main body increases, a hand holding the device main body may unintentionally touch the touch panel surface, which may cause an erroneous operation.

そこで、タッチパネルの誤操作、誤動作への対策として、従来、以下のようなものが提案されている。   Thus, the following have been proposed as countermeasures against erroneous operation and malfunction of the touch panel.

特許文献1では、タッチパネル上に操作禁止エリアを設け、そこに触れた際はアイコンを消す、或いは誤入力である旨を表示するようにして、ユーザに対して誤った状況を認識させ、誤設定や誤操作等を未然に防止する方法が開示されている。   In Patent Document 1, an operation prohibition area is provided on the touch panel, and when touched there, the icon is erased or an error input is displayed to allow the user to recognize an incorrect situation and to make an incorrect setting. And a method for preventing misoperation or the like in advance.

また特許文献2では、所定時間連続して同じ位置がタッチされていると、その位置のタッチを検出する素子が故障しているとみなし、以後その位置のタッチ入力は無効とする方法が開示されている。   Further, Patent Document 2 discloses a method in which if the same position is touched continuously for a predetermined time, an element for detecting the touch at that position is regarded as a failure, and the touch input at that position is invalidated thereafter. ing.

特開2009−009424号公報JP 2009-009424 A 特開平5−298027号公報JP-A-5-298027

しかしながら、特許文献1の方法では、操作禁止エリアを設けてしまうため、そのエリアに操作可能なボタンアイコン等のタッチ操作部材を配置する事が不可能となる。すなわち、タッチパネル上の領域を有効に活用できず、タッチ操作部材の配置レイアウトに制約を受ける事となる。   However, in the method of Patent Document 1, since an operation prohibition area is provided, it becomes impossible to arrange a touch operation member such as a button icon operable in the area. That is, the area on the touch panel cannot be used effectively, and the layout of the touch operation members is restricted.

また、特許文献2の方法は、タッチ位置の検出素子が正常であるにも関わらず、ユーザが実際に所定時間以上連続して同じ位置をタッチしていた場合にも故障とみなして無効としてしまう。そして、以後その位置へのタッチは無効とされてしまうために、以後その位置にボタンアイコン等のタッチ操作部材を配置することができない。すなわち、特許文献1と同様に、タッチパネル上の領域を有効に活用できず、タッチ操作部材の配置レイアウトに制約を受ける事となる。   Further, the method of Patent Document 2 is regarded as a failure and invalidated even when the user actually touches the same position continuously for a predetermined time or more despite the fact that the touch position detection element is normal. . Since the touch at that position is invalidated thereafter, a touch operation member such as a button icon cannot be disposed at that position thereafter. That is, similarly to Patent Document 1, the area on the touch panel cannot be effectively used, and the layout of the touch operation members is restricted.

本発明は、タッチアップして機能が発動されなかった際のユーザの誤認の可能性を低減する情報処理装置を提供することを目的とする。 An object of this invention is to provide the information processing apparatus which reduces the possibility of a user's misidentification when a function is not activated by touching up .

上記課題を解決するために、本発明の情報処理装置は、
表示手段上へのタッチを検出するタッチ検出手段と、
前記表示手段に表示された、機能を割り当てられた特定の表示アイテムへのタッチの継続時間を計時する計時手段と、
前記特定の表示アイテムに対するタッチ操作に応じて前記特定の表示アイテムに割り当てられた機能を実行するように制御する制御手段と、
前記表示手段上に第1の表示態様で表示された前記特定の表示アイテムに対するタッチの開始に応じて、該特定の表示アイテムの表示態様を第2の表示態様に変更し、前記計時手段によって計時された前記特定の表示アイテムへのタッチの継続時間が所定時間に達したことに応じて、タッチされている前記特定の表示アイテムの表示形態を前記第1の表示態様に変更するように制御する表示制御手段と
を有することを特徴とする。
In order to solve the above problems, an information processing apparatus of the present invention provides:
Touch detection means for detecting a touch on the display means;
Clocking means for clocking the duration of a touch on a specific display item assigned a function, displayed on the display means;
Control means for controlling to execute a function assigned to the specific display item in response to a touch operation on the specific display item;
In response to the start of touching the specific display item displayed in the first display mode on the display unit, the display mode of the specific display item is changed to the second display mode, and the time measuring unit measures the time. The display mode of the specific display item being touched is controlled to be changed to the first display mode in response to the continuation time of touching the specific display item being reached a predetermined time. And a display control means .

本発明によれば、タッチアップして機能が発動されなかった際のユーザの誤認の可能性を低減することができる。 ADVANTAGE OF THE INVENTION According to this invention, the possibility of a user's misidentification when a function is not activated by touching up can be reduced.

デジタルカメラ100の外観構成の一例を示す図である。1 is a diagram illustrating an example of an external configuration of a digital camera 100. FIG. デジタルカメラ100のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a digital camera 100. FIG. デジタルカメラ100の持ち方の例である。This is an example of how to hold the digital camera 100. 撮影モード処理の例を示すフローチャートである。It is a flowchart which shows the example of imaging | photography mode processing. 表示部28に表示される撮影待機画面の表示例である。4 is a display example of a photographing standby screen displayed on the display unit 28. SW1が操作された場合の処理のフローチャートである。It is a flowchart of a process when SW1 is operated. (a)表示部28に表示される警告1の表示例である。(b)表示部28に表示される警告2の表示例である。(A) A display example of warning 1 displayed on the display unit 28. (B) A display example of warning 2 displayed on the display unit 28. (a)抵抗膜方式のタッチパネルにおける単一のタッチ位置の検出を説明する図である。(b)抵抗膜方式のタッチパネルにおける単一のタッチ位置の検出を説明する図である。(c)抵抗膜方式のタッチパネルにおける複数のタッチ位置の検出を説明する図である。(A) It is a figure explaining the detection of the single touch position in a resistive film type touch panel. (B) It is a figure explaining the detection of the single touch position in a resistive film type touch panel. (C) It is a figure explaining the detection of the several touch position in a resistive film type touch panel.

以下、図面を参照して本発明の好適な実施形態を説明する。   Preferred embodiments of the present invention will be described below with reference to the drawings.

図1に本発明の情報処理装置の一例としてのデジタルカメラの外観図を示す。表示部28は画像や各種情報を表示する表示部である。また、表示部28の表面には後述する操作部70の一種としてのタッチパネルが配されており、表示部28への接触を検知可能である(タッチ検出手段)。シャッターボタン61は撮影指示を行うための操作部である(シャッター操作部材)。操作部70はユーザーからの各種操作を受け付ける各種スイッチ、ボタン、パネル等の操作部材より成る操作部である。操作部70に含まれるコントローラーホイール73は回転操作可能な操作部材である。操作部70に含まれるズーム操作部71は撮影モードにおいて光学ズームや電子ズームを、再生モードにおいて電子ズームや表示画像枚数切り替え等を行うための操作部である。コネクタ112は接続ケーブルとデジタルカメラ100とのコネクタである。72は電源スイッチであり、電源オン、電源オフを切り替える。記録媒体200はメモリカードやハードディスク等の記録媒体である。記録媒体スロット201は記録媒体200を格納するためのスロットである。記録媒体スロット201に格納された記録媒体200は、デジタルカメラ100との通信が可能となる。蓋203は記録媒体スロット201の蓋である。   FIG. 1 shows an external view of a digital camera as an example of an information processing apparatus of the present invention. The display unit 28 is a display unit that displays images and various types of information. In addition, a touch panel as a kind of an operation unit 70 described later is disposed on the surface of the display unit 28 and can detect contact with the display unit 28 (touch detection means). The shutter button 61 is an operation unit for giving a shooting instruction (shutter operation member). The operation unit 70 is an operation unit including operation members such as various switches, buttons, and panels that receive various operations from the user. The controller wheel 73 included in the operation unit 70 is an operation member that can be rotated. A zoom operation unit 71 included in the operation unit 70 is an operation unit for performing optical zoom and electronic zoom in the shooting mode, and performing electronic zoom and switching of the number of displayed images in the reproduction mode. The connector 112 is a connector between the connection cable and the digital camera 100. Reference numeral 72 denotes a power switch that switches between power on and power off. The recording medium 200 is a recording medium such as a memory card or a hard disk. The recording medium slot 201 is a slot for storing the recording medium 200. The recording medium 200 stored in the recording medium slot 201 can communicate with the digital camera 100. A lid 203 is a lid of the recording medium slot 201.

図2は、本実施形態によるデジタルカメラ100の構成例を示すブロック図である。   FIG. 2 is a block diagram illustrating a configuration example of the digital camera 100 according to the present embodiment.

図2において、103はフォーカスレンズを含む撮影レンズ、101は絞り機能を備えるシャッター、22は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像部である。23はA/D変換器であり、アナログ信号をデジタル信号に変換する。A/D変換器23は、撮像部22から出力されるアナログ信号をデジタル信号に変換するために用いられる。102はバリアであり、デジタルカメラ100の、撮影レンズ103を含む撮像部を覆うことにより、撮影レンズ103、シャッター101、撮像部22を含む撮像系の汚れや破損を防止する。   In FIG. 2, reference numeral 103 denotes a photographing lens including a focus lens, 101 denotes a shutter having a diaphragm function, and 22 denotes an imaging unit including a CCD, a CMOS element, or the like that converts an optical image into an electrical signal. Reference numeral 23 denotes an A / D converter that converts an analog signal into a digital signal. The A / D converter 23 is used to convert an analog signal output from the imaging unit 22 into a digital signal. A barrier 102 covers the imaging unit including the imaging lens 103 of the digital camera 100 to prevent the imaging system including the imaging lens 103, the shutter 101, and the imaging unit 22 from becoming dirty or damaged.

24は画像処理部であり、A/D変換器23からのデータ、又は、メモリ制御部15からのデータに対し所定の画素補間、縮小といったリサイズ処理や色変換処理を行う。また、画像処理部24では、撮像した画像データを用いて所定の演算処理が行われ、得られた演算結果に基づいてシステム制御回路50が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理が行われる。画像処理部24では更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   An image processing unit 24 performs resize processing such as predetermined pixel interpolation and reduction and color conversion processing on the data from the A / D converter 23 or the data from the memory control unit 15. In the image processing unit 24, predetermined arithmetic processing is performed using the captured image data, and the system control circuit 50 performs exposure control and distance measurement control based on the obtained arithmetic result. Thereby, AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-emission) processing of the TTL (through-the-lens) method are performed. The image processing unit 24 further performs predetermined calculation processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained calculation result.

A/D変換器23からの出力データは、画像処理部24及びメモリ制御部15を介して、或いは、メモリ制御部15を介してメモリ32に直接書き込まれる。メモリ32は、撮像部22によって得られA/D変換器23によりデジタルデータに変換された画像データや、表示部28に表示するための画像データを格納する。メモリ32は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。   Output data from the A / D converter 23 is directly written into the memory 32 via the image processing unit 24 and the memory control unit 15 or via the memory control unit 15. The memory 32 stores image data obtained by the imaging unit 22 and converted into digital data by the A / D converter 23 and image data to be displayed on the display unit 28. The memory 32 has a storage capacity sufficient to store a predetermined number of still images, a moving image and sound for a predetermined time.

また、メモリ32は画像表示用のメモリ(ビデオメモリ)を兼ねている。13はD/A変換器であり、メモリ32に格納されている画像表示用のデータをアナログ信号に変換して表示部28に供給する。こうして、メモリ32に書き込まれた表示用の画像データはD/A変換器13を介して表示部28により表示される。表示部28は、LCD等の表示器上に、D/A変換器13からのアナログ信号に応じた表示を行う。   The memory 32 also serves as an image display memory (video memory). A D / A converter 13 converts image display data stored in the memory 32 into an analog signal and supplies the analog signal to the display unit 28. Thus, the display image data written in the memory 32 is displayed on the display unit 28 via the D / A converter 13. The display unit 28 performs display according to the analog signal from the D / A converter 13 on a display such as an LCD.

不揮発性メモリ56は、電気的に消去・記録可能なメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ56には、システム制御回路50の動作用の定数、プログラム等が記憶される。ここでいう、プログラムとは、本実施形態にて後述する各種フローチャートを実行するためのプログラムのことである。   The nonvolatile memory 56 is an electrically erasable / recordable memory, and for example, an EEPROM or the like is used. The nonvolatile memory 56 stores constants, programs, and the like for operating the system control circuit 50. Here, the program is a program for executing various flowcharts described later in the present embodiment.

50はシステム制御部であり、デジタルカメラ100全体を制御する。前述した不揮発性メモリ56に記録されたプログラムを実行することで、後述する本実施形態の各処理を実現する。52はシステムメモリであり、RAMが用いられる。システムメモリ52には、システム制御回路50の動作用の定数、変数、不揮発性メモリ56から読み出したプログラム等を展開する。また、システム制御部はメモリ32、D/A変換器13、表示部28等を制御することにより表示制御も行う。   Reference numeral 50 denotes a system control unit that controls the entire digital camera 100. By executing the program recorded in the non-volatile memory 56 described above, each process of the present embodiment to be described later is realized. A system memory 52 is a RAM. In the system memory 52, constants and variables for operating the system control circuit 50, programs read from the nonvolatile memory 56, and the like are expanded. The system control unit also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28, and the like.

第1シャッタースイッチ62、第2シャッタースイッチ64、操作部70はシステム制御回路50に各種の動作指示を入力するための操作手段である。   The first shutter switch 62, the second shutter switch 64, and the operation unit 70 are operation means for inputting various operation instructions to the system control circuit 50.

第1シャッタースイッチ62(SW1)は、デジタルカメラ100に設けられたシャッターボタン61の操作途中、いわゆる半押し(撮影準備指示)でONとなり第1シャッタースイッチ信号を発生する。第1シャッタースイッチ信号により、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作を開始する。   The first shutter switch 62 (SW1) is turned on when the shutter button 61 provided in the digital camera 100 is being operated, so-called half-press (shooting preparation instruction), and generates a first shutter switch signal. In response to the first shutter switch signal, operations such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-emission) processing are started.

第2シャッタースイッチ64(SW2)は、シャッターボタン61の操作完了、いわゆる全押し(撮影指示)でONとなり、第2シャッタースイッチ信号を発生する。システム制御回路50は、第2シャッタースイッチ信号により、撮像部22からの信号読み出しから記録媒体200に画像データを書き込むまでの一連の撮影処理の動作を開始する。   The second shutter switch 64 (SW2) is turned on when the operation of the shutter button 61 is completed, so-called full press (shooting instruction), and a second shutter switch signal is generated. In response to the second shutter switch signal, the system control circuit 50 starts a series of shooting processing operations from reading a signal from the imaging unit 22 to writing image data on the recording medium 200.

モード切替スイッチ60は、操作部70に含まれる操作部であり、システム制御回路50の動作モードを撮影モード、再生モード等のいずれかに切り替える。撮影モードには、以下の複数のモードが含まれる。計測された露出値に基づいてデジタルカメラ100に組み込まれたプログラムにより自動的にカメラの各種パラメータが決定されるオート撮影モード。カメラの各種パラメータをユーザが自由に変更可能なマニュアルモード。撮影シーンに適したシャッター速度や絞り値、ストロボ発光状態、感度設定等の組み合わせが自動で設定されるシーンモード。尚、シーンモードには以下のようなモードが含まれる。ポートレートモード、夜景モード、風景モード、ナイト&スナップモード、キッズ&ペットモード、新緑&紅葉モード、パーティーモード、スノーモード、ビーチモード、花火モード、水族館モード、水中モード等。   The mode change switch 60 is an operation unit included in the operation unit 70, and switches the operation mode of the system control circuit 50 to one of a shooting mode, a reproduction mode, and the like. The shooting mode includes the following plurality of modes. An auto shooting mode in which various parameters of the camera are automatically determined by a program incorporated in the digital camera 100 based on the measured exposure value. Manual mode that allows users to freely change various camera parameters. A scene mode in which a combination of shutter speed, aperture value, flash firing status, sensitivity setting, etc., suitable for the shooting scene is set automatically. The scene mode includes the following modes. Portrait mode, night view mode, landscape mode, night & snap mode, kids & pet mode, fresh green & autumn leaves mode, party mode, snow mode, beach mode, fireworks mode, aquarium mode, underwater mode, etc.

操作部70の各操作部材は、表示部28に表示される種々の機能アイコンを選択操作することなどにより、場面ごとに適宜機能が割り当てられ、各種機能ボタンとして作用する。機能ボタンとしては、例えば終了ボタン、戻るボタン、画像送りボタン、ジャンプボタン、絞込みボタン、属性変更ボタン等がある。例えば、メニューボタンが押されると各種の設定可能なメニュー画面が表示部28に表示される。利用者は、表示部28に表示されたメニュー画面と、物理ボタンである4方向ボタンやSETボタンとを用いて直感的に各種設定を行うことができる。   Each operation member of the operation unit 70 is appropriately assigned a function for each scene by selecting and operating various function icons displayed on the display unit 28, and functions as various function buttons. Examples of the function buttons include an end button, a return button, an image advance button, a jump button, a narrowing button, and an attribute change button. For example, when a menu button is pressed, various setting menu screens are displayed on the display unit 28. The user can make various settings intuitively by using the menu screen displayed on the display unit 28 and the four-way buttons and the SET buttons which are physical buttons.

コントローラーホイール73は、操作部70に含まれる回転操作可能な操作部材であり、方向ボタンと共に選択項目を指示する際などに使用される。コントローラーホイール73を回転操作すると、操作量に応じて電気的なパルス信号が発生し、このパルス信号に基づいてシステム制御回路50はデジタルカメラ100の各部を制御する。このパルス信号によって、コントローラーホイール73が回転操作された角度や、何回転したかなどを判定することができる。なお、コントローラーホイール73は回転操作が検出できる操作部材であればどのようなものでもよい。例えば、ユーザの回転操作に応じてコントローラーホイール73自体が回転してパルス信号を発生するダイヤル操作部材であってもよい。また、タッチセンサよりなる操作部材で、コントローラーホイール73自体は回転せず、コントローラーホイール73上でのユーザの指の回転動作などを検出するものであってもよい(いわゆる、タッチホイール)。   The controller wheel 73 is a rotatable operation member included in the operation unit 70, and is used when a selection item is instructed together with a direction button. When the controller wheel 73 is rotated, an electrical pulse signal is generated according to the operation amount, and the system control circuit 50 controls each part of the digital camera 100 based on this pulse signal. From this pulse signal, it is possible to determine the angle at which the controller wheel 73 is rotated, how many rotations, and the like. The controller wheel 73 may be any operation member that can detect a rotation operation. For example, a dial operation member that generates a pulse signal by rotating the controller wheel 73 in accordance with a user's rotation operation may be used. Further, an operation member made of a touch sensor may be used to detect the rotation operation of the user's finger on the controller wheel 73 without rotating the controller wheel 73 itself (so-called touch wheel).

80は電源制御部であり、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路等により構成され、電池の装着の有無、電池の種類、電池残量の検出を行う。また、電源制御部80は、その検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体200を含む各部へ供給する。   A power control unit 80 includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, and detects whether or not a battery is attached, the type of battery, and the remaining battery level. Further, the power supply control unit 80 controls the DC-DC converter based on the detection result and an instruction from the system control circuit 50, and supplies a necessary voltage to each unit including the recording medium 200 for a necessary period.

30は電源部であり、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる。18はメモリカードやハードディスク等の記録媒体200とのインターフェースである。記録媒体200は、メモリカード等の記録媒体であり、半導体メモリや磁気ディスク等から構成される。   A power supply unit 30 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like. Reference numeral 18 denotes an interface with a recording medium 200 such as a memory card or a hard disk. The recording medium 200 is a recording medium such as a memory card, and includes a semiconductor memory or a magnetic disk.

なお操作部70の一つとして、表示部28に対する接触を検知可能なタッチパネルを有する。システム制御回路50はタッチパネルへの以下の操作を検出できる。タッチパネルを指やペンで触れたこと(以下、タッチダウンと称する)。タッチパネルを指やペンで触れている状態であること(以下、タッチオンと称する)。タッチパネルを指やペンで触れたまま移動していること(以下、ムーブと称する)。タッチパネルへ触れていた指やペンを離したこと(以下、タッチアップと称する)。タッチパネルに何も触れていない状態(以下、タッチオフと称する)。これらの操作や、タッチパネル上に指やペンが触れている位置座標は内部バス111を通じてシステム制御回路50に通知され、システム制御回路50は通知された情報に基づいてタッチパネル上にどのような操作が行なわれたかを判定する。ムーブについてはタッチパネル上で移動する指やペンの移動方向についても、位置座標の変化に基づいて、タッチパネル上の垂直成分・水平成分毎に判定できる。またタッチパネル上をタッチダウンから一定のムーブを経てタッチアップをしたとき、ストロークを描いたこととする。素早くストロークを描く操作をフリックと呼ぶ。フリックは、タッチパネル上に指を触れたままある程度の距離だけ素早く動かして、そのまま離すといった操作であり、言い換えればタッチパネル上を指ではじくように素早くなぞる操作である。所定距離以上を、所定速度以上でムーブしたことが検出され、そのままタッチアップが検出されるとフリックが行なわれたと判定できる。また、所定距離以上を、所定速度未満でムーブしたことが検出された場合はドラッグが行なわれたと判定するものとする。   As one of the operation units 70, a touch panel capable of detecting contact with the display unit 28 is provided. The system control circuit 50 can detect the following operations on the touch panel. Touching the touch panel with a finger or a pen (hereinafter referred to as touchdown). The touch panel is touched with a finger or a pen (hereinafter referred to as touch-on). The touch panel is moved while being touched with a finger or a pen (hereinafter referred to as a move). The finger or pen that was touching the touch panel is released (hereinafter referred to as touch-up). A state where nothing is touched on the touch panel (hereinafter referred to as touch-off). These operations and the position coordinates where the finger or pen touches the touch panel are notified to the system control circuit 50 through the internal bus 111, and the system control circuit 50 performs any operation on the touch panel based on the notified information. Determine if it was done. Regarding the move, the moving direction of the finger or pen moving on the touch panel can also be determined for each vertical component / horizontal component on the touch panel based on the change of the position coordinates. It is also assumed that a stroke is drawn when touch-up is performed on the touch panel through a certain move from touch-down. The operation of drawing a stroke quickly is called a flick. A flick is an operation of quickly moving a certain distance while touching a finger on the touch panel and then releasing it, in other words, an operation of quickly tracing a finger on the touch panel. If it is detected that the moving is performed at a predetermined speed or more over a predetermined distance, and a touch-up is detected as it is, it can be determined that a flick has been performed. In addition, when it is detected that the movement is performed at a predetermined distance or more and less than a predetermined speed, it is determined that the drag has been performed.

以下、図3〜図8を参照して、本実施形態の動作を説明する。   Hereinafter, the operation of the present embodiment will be described with reference to FIGS.

本実施形態では、タッチパネル上のボタンアイコン領域で所定時間以上タッチオンを検出していた場合は、タッチアップしても接触していたボタンアイコンの機能を発動(実行)しないように制御する例を述べる。このような制御をするのは、ボタンアイコン上で所定時間以上タッチオンを検出していた場合は、ユーザにボタンアイコンを操作する意図はないとみなすためである。   In this embodiment, when touch-on has been detected in a button icon area on the touch panel for a predetermined time or longer, an example is described in which control is performed so as not to activate (execute) the function of the touched button icon even if touched up. . Such control is performed because it is assumed that the user does not intend to operate the button icon when the touch-on is detected on the button icon for a predetermined time or more.

図3に、デジタルカメラ100を片手で保持した場合の例を図示する。撮影モードで撮影を行おうとした場合、シャッターボタン61やズーム操作部71をユーザの右手(利き手)人差し指301で操作するために、右手人差し指301をシャッターボタン61やズーム操作部71の傍に置いて図3のように保持することが多い。その場合、右手の親指302が、タッチパネルである表示部28の上に自然に置かれる場合がある。これはユーザがタッチパネルを操作しようと意図的に表示部28に触れたわけではない。この際、タッチパネル上の親指302が接触している位置にボタンアイコンが配されていると、ユーザがボタンアイコンを操作する意図がなかったとしても、親指302を離したときにボタンアイコンの機能が発動されてしまう。すなわち誤動作してしまう可能性がある。そこで本実施形態では、ボタンアイコンの位置で所定時間以上のタッチオンを検出した場合は、図3のようにユーザが意図せずにタッチパネルをタッチして保持してしまった場合等であるとみなしてタッチアップがあってもボタンアイコンの機能を発動しない。   FIG. 3 shows an example in which the digital camera 100 is held with one hand. When shooting in the shooting mode, in order to operate the shutter button 61 and the zoom operation unit 71 with the user's right hand (dominant hand) index finger 301, the right hand index finger 301 is placed near the shutter button 61 and the zoom operation unit 71. It is often held as shown in FIG. In that case, the thumb 302 of the right hand may be naturally placed on the display unit 28 that is a touch panel. This is not because the user intentionally touches the display unit 28 to operate the touch panel. At this time, if a button icon is arranged at a position where the thumb 302 is in contact with the touch panel, even if the user does not intend to operate the button icon, the function of the button icon is performed when the thumb 302 is released. It will be triggered. That is, there is a possibility of malfunction. Therefore, in this embodiment, when a touch-on for a predetermined time or more is detected at the position of the button icon, it is assumed that the user touches and holds the touch panel unintentionally as shown in FIG. Even if there is a touch-up, the button icon function is not activated.

図4は、撮影モードにおけるシステム制御回路50の処理の流れを示したフローチャートである。このフローチャートおける各処理は、システム制御回路50が不揮発性メモリ56に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。   FIG. 4 is a flowchart showing the flow of processing of the system control circuit 50 in the photographing mode. Each process in this flowchart is realized by the system control circuit 50 expanding and executing a program stored in the nonvolatile memory 56 in the system memory 52.

デジタルカメラが撮影モードで起動するか、再生モード等の他のモードで起動していた場合に操作部70に含まれるモード切替スイッチ60の操作により撮影モードに切り替えられると、図4の処理を開始する。   When the digital camera is activated in the shooting mode or is activated in another mode such as a playback mode, when the mode is switched to the shooting mode by operating the mode switch 60 included in the operation unit 70, the process of FIG. 4 is started. To do.

S401ではまず、撮影待機画面を表示する。図5に表示部28に表示される撮影待機画面の表示例を示す。表示部28には、撮像部22でリアルタイムに撮像された画像であるスルー画像500が表示される。ボタンアイコン501〜503はタップすることで各種機能が発動するボタンアイコンであるとともに、現在のデジタルカメラ100の撮像に関する設定内容を表している。ボタンアイコン501はモード切替ボタンであり、タップすることで複数の撮影モードの中から所望の撮影モードに設定を変更することが可能である。また、図5の例では、複数の撮影モードのうちのポートレートモード(シーンモードのうちの1つ)に設定されていることを表している。ボタンアイコン502はフラッシュ設定ボタンであり、タップすることでフラッシュの設定を切り替えることができる。また、図4の例では、現在はフラッシュ発光禁止に設定されていることを表している。ボタンアイコン503は、露出補正ボタンであり、タップすることで露出補正が可能である。また、図4の例では、現在は露出補正が±0に設定されていることを表している。アイコン504はデジタルカメラの現在の姿勢を表すアイコンである。アイコン505は現在の電池残量を表すアイコンである。アイコン506は、記録媒体200に現在の設定で残り何枚の静止画を記録可能であるかを示すアイコンである。アイコン507は、現在の記録画素数の設定と現在の圧縮率の設定を表すアイコンである。   In S401, first, a shooting standby screen is displayed. FIG. 5 shows a display example of the shooting standby screen displayed on the display unit 28. On the display unit 28, a through image 500 that is an image captured in real time by the imaging unit 22 is displayed. Button icons 501 to 503 are button icons for activating various functions when tapped, and represent setting contents related to the current imaging of the digital camera 100. A button icon 501 is a mode switching button, and the setting can be changed from a plurality of shooting modes to a desired shooting mode by tapping. In the example of FIG. 5, the portrait mode (one of the scene modes) among the plurality of shooting modes is set. A button icon 502 is a flash setting button, and the setting of the flash can be switched by tapping. Further, the example of FIG. 4 indicates that the flash emission prohibition is currently set. A button icon 503 is an exposure correction button, and exposure correction can be performed by tapping. In the example of FIG. 4, the exposure correction is currently set to ± 0. An icon 504 is an icon representing the current posture of the digital camera. An icon 505 is an icon representing the current remaining battery level. The icon 506 is an icon indicating how many still images can be recorded on the recording medium 200 with the current settings. The icon 507 is an icon representing the current setting of the number of recorded pixels and the current setting of the compression rate.

S401で撮影待機次画面を表示すると、続くS402にて、ボタンアイコン501がタッチされているか否かを判定する。ボタンアイコン501の位置で指をタッチダウンするか、他の位置で接触していた指が移動してきて、ボタンアイコン501の位置でタッチオンの状態となっていると、ボタンアイコン501がタッチされていると判定する。ボタンアイコン501がタッチされていると判定するとS408へ進み、タッチされていないと判定するとS403へ進む。   When the shooting standby next screen is displayed in S401, it is determined in S402 whether or not the button icon 501 is touched. When the finger is touched down at the position of the button icon 501 or when the finger touched at another position is moved and is in a touch-on state at the position of the button icon 501, the button icon 501 is touched. Is determined. If it is determined that the button icon 501 is touched, the process proceeds to S408, and if it is determined that the button icon 501 is not touched, the process proceeds to S403.

S403では、ボタンアイコン502がタッチされているか否かを判定する。ボタンアイコン502の位置で指をタッチダウンするか、他の位置で接触していた指が移動してきて、ボタンアイコン502の位置でタッチオンの状態となっていると、ボタンアイコン502がタッチされていると判定する。ボタンアイコン502がタッチされていると判定するとS404へ進み、タッチされていないと判定するとS436へ進む。   In S403, it is determined whether or not the button icon 502 is touched. When the finger is touched down at the position of the button icon 502, or the finger touched at another position is moved and the touch-on state is reached at the position of the button icon 502, the button icon 502 is touched. Is determined. If it is determined that the button icon 502 is touched, the process proceeds to S404. If it is determined that the button icon 502 is not touched, the process proceeds to S436.

S404は、タッチ位置がボタンアイコン502の領域外へ移動(ムーブ)したか否かを判定する。移動したと判定するとS436へ進み、移動していないと判定するとS405へ進む。S405ではSW1がオンとなったか否かを判定する。SW1がオンとなったと判定すると図6のS601に進む。図6の処理については後述する。SW1がオンとなっていないと判定するとS406へ進む。   In S <b> 404, it is determined whether or not the touch position has moved (moved) outside the area of the button icon 502. If it determines with having moved, it will progress to S436, and if it determines with having not moved, it will progress to S405. In S405, it is determined whether or not SW1 is turned on. If it is determined that SW1 is turned on, the process proceeds to S601 in FIG. The process of FIG. 6 will be described later. If it is determined that SW1 is not turned on, the process proceeds to S406.

S406ではボタンアイコン502からのタッチアップがあったか否かを判定する。ボタンアイコン502からのタッチアップがあったと判定するとS407へ進み、タッチアップがなかったと判定するとS404へ処理を戻す。   In S406, it is determined whether or not there is a touch-up from the button icon 502. If it is determined that there is a touch-up from the button icon 502, the process proceeds to S407, and if it is determined that there is no touch-up, the process returns to S404.

S407では、ボタンアイコン502に割り当てられた機能を実行する。図5の例では、ボタンアイコン502にはフラッシュの設定の切り替えが割り当てられているため、フラッシュの設定の切り替えを実行するように制御する。ボタンアイコン502の機能を実行するとS436へ進む。   In S407, the function assigned to the button icon 502 is executed. In the example of FIG. 5, since flash setting switching is assigned to the button icon 502, control is performed to execute flash setting switching. When the function of the button icon 502 is executed, the process proceeds to S436.

一方S408では、ボタンアイコン501に対するタッチを検出したため、ボタンアイコン501がタッチオンとなっている期間を計時するためのタイマーをスタートする。   On the other hand, in S408, since a touch on the button icon 501 is detected, a timer for counting the period during which the button icon 501 is touched is started.

S409では、タッチ位置がボタンアイコン501の領域外へ移動(ムーブ)したか否かを判定する。移動したと判定するとS410へ進み、S408でスタートしたタイマーをストップし、クリアしてS402の処理へ戻る。移動していないと判定するとS411へ進む。   In S409, it is determined whether or not the touch position has moved (moved) outside the area of the button icon 501. If it determines with having moved, it will progress to S410, will stop the timer started by S408, will clear, and will return to the process of S402. If it determines with not moving, it will progress to S411.

S411では、S408でスタートしたタイマーが所定時間に達したか否かを判定する。これは、ボタンアイコン501に対するタッチが所定時間以上継続したか否かの判定である。この所定時間は、ユーザがボタンアイコン501に対してタップ(タッチダウンしてすぐにタッチアップする操作)をする意図があったか否かを判定するための時間であり、例として300msec程度である。所定時間に達したと判定するとS416に進み、所定時間に達していないと判定するとS412に進む。   In S411, it is determined whether or not the timer started in S408 has reached a predetermined time. This is a determination as to whether or not the touch on the button icon 501 has continued for a predetermined time. The predetermined time is a time for determining whether or not the user intends to tap the button icon 501 (an operation to touch up immediately after touching down), and is about 300 msec as an example. If it is determined that the predetermined time has been reached, the process proceeds to S416, and if it is determined that the predetermined time has not been reached, the process proceeds to S412.

S412ではSW1がオンとなったか否かを判定する。SW1がオンとなったと判定すると図6のS601に進む。図6の処理については後述する。SW1がオンとなっていないと判定するとS413へ進む。   In S412, it is determined whether or not SW1 is turned on. If it is determined that SW1 is turned on, the process proceeds to S601 in FIG. The process of FIG. 6 will be described later. If it is determined that SW1 is not turned on, the process proceeds to S413.

S413では、タッチアップがあったか否かを判定する(タッチアップ検出手段)。ここでタッチアップがあった場合とは、ボタンアイコン501に接触開始してから所定時間以内に、ボタンアイコン501からタッチアップした場合である。タッチアップがあったと判定するとS414に進み、タッチアップがないと判定するとS409へ処理を戻す。   In S413, it is determined whether or not there has been a touch-up (touch-up detection means). Here, the case where there is a touch-up is a case where touch-up is performed from the button icon 501 within a predetermined time after the start of contact with the button icon 501. If it is determined that there is a touch-up, the process proceeds to S414. If it is determined that there is no touch-up, the process returns to S409.

S414では、S408でスタートしたタイマーをストップしてクリアし、S415でボタンアイコン501に割り当てられた機能を実行する。図5の例では、ボタンアイコン501には撮影モードの切替が割り当てられているため、複数の撮影モードの中から所望の撮影モードに設定を変更するための機能を実行する。ボタンアイコン501に割り当てられた機能を実行するとS436へ進む。   In S414, the timer started in S408 is stopped and cleared, and the function assigned to the button icon 501 is executed in S415. In the example of FIG. 5, since switching of the shooting mode is assigned to the button icon 501, a function for changing the setting from a plurality of shooting modes to a desired shooting mode is executed. When the function assigned to the button icon 501 is executed, the process proceeds to S436.

一方S416では、ステップS408でスタートしたタイマーをストップしてクリアする。続くS417では、ボタンアイコン501に対するタッチの継続時間が所定時間に達したため、ユーザにはボタンアイコン501対するタップの操作をする意図が無かったとみなし、警告1(第1の警告表示)を表示する。   On the other hand, in S416, the timer started in step S408 is stopped and cleared. In subsequent S417, since the duration of the touch on the button icon 501 has reached a predetermined time, it is assumed that the user has no intention to perform a tap operation on the button icon 501, and warning 1 (first warning display) is displayed.

図7(a)に警告1の表示例を示す。図7(a)は、図5の撮影待機画面を表示していたデジタルカメラ100を、図3で説明したように保持した場合の、表示部28の右上周辺の様子を示している。ユーザの親指が、意図せずにボタンアイコン501に触れてしまっており、S411で所定時間を越えてボタンアイコン501がタッチオン状態であると判定されたため、警告1(701)を表示している。警告1(701)は、ボタンアイコン501にタッチし続けている旨を表しているとともに、後述するように、この状態から指を離してもボタンアイコン501の機能は発動しない旨をユーザに示している。これによって、タッチアップして機能が発動されなかった際に、それが装置の故障のためであるとユーザが誤認することを防げる。なお、S402でボタンアイコン501へのタッチを検出した時点で、ボタンアイコン501が押下されていることを示すボタンダウン表示にボタンアイコン501の表示形態を変更し、警告1を表示するタイミングでボタンダウン表示を解除しても良い。また、S411で所定時間を越えてボタンアイコン501がタッチオン状態であると判定されると、警告1を表示せずに、ボタンアイコン501のボタンダウン表示を解除してもとの表示形態に戻すのみであってもよい。ボタンダウン表示の解除のみでも、この状態から指を離してもボタンアイコン501の機能は発動しない旨をユーザに示すことが可能である。   FIG. 7A shows a display example of warning 1. FIG. 7A shows a state around the upper right of the display unit 28 when the digital camera 100 displaying the shooting standby screen of FIG. 5 is held as described in FIG. Since the user's thumb has unintentionally touched the button icon 501 and it is determined in S411 that the button icon 501 is in the touch-on state after a predetermined time, a warning 1 (701) is displayed. Warning 1 (701) indicates that the button icon 501 is continuously touched, and indicates that the function of the button icon 501 does not activate even when the finger is released from this state, as will be described later. Yes. Thus, when the function is not activated by touching up, it is possible to prevent the user from misidentifying that it is due to the failure of the apparatus. Note that when the touch to the button icon 501 is detected in S402, the display form of the button icon 501 is changed to a button-down display indicating that the button icon 501 is pressed, and the button is down at the timing when warning 1 is displayed. The display may be canceled. If it is determined in S411 that the button icon 501 is in the touch-on state after a predetermined time, the warning icon 1 is not displayed and the button icon 501 is only returned to the original display form even if the button down display is canceled. It may be. It is possible to indicate to the user that the function of the button icon 501 is not activated even if the button-down display is only released or the finger is released from this state.

図4のステップS417に続いて、S418では、SW1がオンとなったか否かを判定する。SW1がオンとなったと判定するとS419に進み、警告1を消去(警告1の表示を終了)してから図6のS601に進む。図6の処理については後述する。SW1がオンとなっていないと判定するとS420へ進む。   Subsequent to step S417 in FIG. 4, in S418, it is determined whether or not SW1 is turned on. If it is determined that SW1 is turned on, the process proceeds to S419, where the warning 1 is deleted (the display of the warning 1 is terminated), and then the process proceeds to S601 in FIG. The process of FIG. 6 will be described later. If it is determined that SW1 is not turned on, the process proceeds to S420.

S420では、物理ボタン等、操作部70に含まれるタッチパネル以外の操作部に対する操作があったか否かを判定する。タッチパネル以外の操作部に対する操作があったと判定するとS421に進み、タッチパネル以外の操作部に対する操作がなかったと判定するとS423へ進む。S421では、警告1を消去(警告1の表示を終了)する。続いてS422では、S420で操作されたと判定した操作部の操作に応じた処理を実行する。すなわち、ボタンアイコン501にタッチしたままの状態で他の操作部材が操作されれば、他の操作部材への操作が優先され、ボタンアイコン501に関する警告である警告1は消去する。S422の処理を終えるとS402に処理を戻す。   In S420, it is determined whether or not there is an operation on an operation unit other than the touch panel included in the operation unit 70, such as a physical button. If it is determined that there is an operation on the operation unit other than the touch panel, the process proceeds to S421, and if it is determined that there is no operation on the operation unit other than the touch panel, the process proceeds to S423. In S421, warning 1 is deleted (display of warning 1 ends). Subsequently, in S422, processing according to the operation of the operation unit determined to have been operated in S420 is executed. That is, if another operation member is operated while the button icon 501 is still touched, the operation on the other operation member is given priority, and the warning 1 that is a warning regarding the button icon 501 is deleted. When the process of S422 is completed, the process returns to S402.

S423では、ボタンアイコン501がタッチされたまま、他の指等により別の位置がタッチされたか否かを判定する(多点タッチ判定手段)。ここでの判定の詳細については、図8を用いて後述する。別の位置がタッチされたと判定するとS426へ進み、別の位置がタッチされていないと判定するとS424へ進む。   In S423, it is determined whether another position is touched by another finger or the like while the button icon 501 is touched (multi-point touch determination unit). Details of this determination will be described later with reference to FIG. If it is determined that another position is touched, the process proceeds to S426, and if it is determined that another position is not touched, the process proceeds to S424.

S424では、タッチ位置がボタンアイコン501の領域外へ移動(ムーブ)したか否かを判定する。移動したと判定するとS435へ進み、移動していないと判定するとS425へ進む。   In S424, it is determined whether or not the touch position has moved (moved) outside the area of the button icon 501. If it determines with having moved, it will progress to S435, and if it determines with having not moved, it will progress to S425.

S425では、タッチアップがあったか否かを判定する(タッチアップ検出手段)。タッチアップがあった場合はS435へ進み、タッチアップがなかった場合はS418へ処理を戻す。ここでタッチアップがあった場合とは、ボタンアイコン501上で所定時間以上タッチオンを検知した後に、ボタンアイコン501からタッチアップした場合である。この場合にタッチアップがあったと判定すると、ボタンアイコン501に割り当てられた機能は実行しない。すなわち、ボタンアイコン501をタッチしたまま所定時間が経過するとボタンアイコン501が一時的に無効となり、ボタンアイコン501上でタッチアップしても、ボタンアイコン501に割り当てられた機能(撮影モードの切り替え)を実行しない。   In S425, it is determined whether or not there has been a touch-up (touch-up detection means). If there is a touch-up, the process proceeds to S435, and if there is no touch-up, the process returns to S418. Here, the case where there is a touch-up is a case where touch-up is detected from the button icon 501 after detecting touch-on on the button icon 501 for a predetermined time or more. In this case, if it is determined that there is a touch-up, the function assigned to the button icon 501 is not executed. That is, when a predetermined time elapses while the button icon 501 is touched, the button icon 501 is temporarily invalidated, and even if the button icon 501 is touched up, the function assigned to the button icon 501 (switching of the shooting mode) is performed. Do not execute.

一方、S426では警告1に加えて警告2(第2の警告表示)を表示する。警告2の表示例を図7(b)に示す。図7(b)は、図5の撮影待機画面を表示していたデジタルカメラ100を、図3で説明したように保持し、かつ他の指によってタッチパネル上の別の位置がタッチされた様子を示している。この場合、ユーザは右手の親指でボタンアイコン501をタッチしてしまっていることに気づかずに、他の指によってタッチパネルに対して操作しようとしている可能性がある。しかし、先にボタンアイコン501へのタッチを検出しているために、システム制御回路50は他の指によるタッチでの操作を受け付けることができない。そのため、警告2(702)のように、他の指による操作は不可能である旨を表示する。ボタンアイコン501に対する操作以外のタッチ操作としては、ボタンアイコン502〜503に対するタップの他に、例えばタッチAFがある。タッチAFとは、表示部28に表示されているスルー画像500のうち任意の被写体をタッチすることで、タッチした被写体に合わせてフォーカスを調整する機能である。このタッチAFは、ボタンアイコン501がタッチされた状態行うことはできないため、図7(b)の警告2(702)では、タッチAFが実行不可能である旨を表示している。なお、警告2(702)は、表示部28に表示された図5の撮影待機画面に警告1(701)が重畳表示された表示状態に加えて重畳表示されるものとする。すなわち、図7(b)に図示が無いが、アイコン504〜507と、側部の黒帯も表示されているものとする。   On the other hand, in S426, warning 2 (second warning display) is displayed in addition to warning 1. A display example of warning 2 is shown in FIG. FIG. 7B shows a state where the digital camera 100 displaying the shooting standby screen of FIG. 5 is held as described in FIG. 3 and another position on the touch panel is touched by another finger. Show. In this case, the user may be trying to operate the touch panel with another finger without noticing that the button icon 501 has been touched with the thumb of the right hand. However, since the touch on the button icon 501 is detected first, the system control circuit 50 cannot accept an operation with a touch by another finger. Therefore, as in warning 2 (702), it is displayed that an operation with another finger is impossible. As a touch operation other than the operation on the button icon 501, in addition to the tap on the button icons 502 to 503, for example, there is a touch AF. Touch AF is a function that adjusts the focus according to the touched subject by touching an arbitrary subject in the through image 500 displayed on the display unit 28. Since this touch AF cannot be performed while the button icon 501 is touched, the warning 2 (702) in FIG. 7B indicates that the touch AF cannot be performed. It is assumed that warning 2 (702) is superimposed and displayed in addition to the display state in which warning 1 (701) is superimposed and displayed on the photographing standby screen of FIG. That is, although not shown in FIG. 7B, it is assumed that icons 504 to 507 and a black belt on the side are also displayed.

図4のステップS426に続いて、S427では、SW1がオンとなったか否かを判定する。SW1がオンとなったと判定するとS428に進み、警告1と警告2を消去(警告1と警告2の表示を終了)してから図6のS601に進む。図6の処理については後述する。SW1がオンとなっていないと判定するとS429へ進む。S429では、物理ボタン等、操作部70に含まれるタッチパネル以外の操作部に対する操作があったか否かを判定する。タッチパネル以外の操作部に対する操作があったと判定するとS430に進み、タッチパネル以外の操作部に対する操作がなかったと判定するとS432へ進む。S430では、警告1と警告2を消去(警告1と警告2の表示を終了)する。続いてS431では、S429で操作されたと判定した操作部の操作に応じた処理を実行する。S431の処理を終えるとS402に処理を戻す。S432では、S423でタッチされていると判定した別の位置でのタッチがタッチアップされたか否かを判定する。タッチアップされていないと判定するとS427に処理を戻し、タッチアップされたと判定するとS433へ進む。   Subsequent to step S426 in FIG. 4, in S427, it is determined whether or not SW1 is turned on. If it is determined that SW1 is turned on, the process proceeds to S428, where the warning 1 and the warning 2 are deleted (the display of the warning 1 and the warning 2 is terminated), and then the process proceeds to S601 in FIG. The process of FIG. 6 will be described later. If it is determined that SW1 is not turned on, the process proceeds to S429. In S429, it is determined whether or not there is an operation on an operation unit other than the touch panel included in the operation unit 70, such as a physical button. If it is determined that there is an operation on the operation unit other than the touch panel, the process proceeds to S430, and if it is determined that there is no operation on the operation unit other than the touch panel, the process proceeds to S432. In S430, warning 1 and warning 2 are deleted (display of warning 1 and warning 2 ends). Subsequently, in S431, processing corresponding to the operation of the operation unit determined to be operated in S429 is executed. When the process of S431 is completed, the process returns to S402. In S432, it is determined whether or not a touch at another position determined to be touched in S423 has been touched up. If it is determined that the touch-up is not performed, the process returns to S427. If it is determined that the touch-up is performed, the process proceeds to S433.

S433では警告1の表示は保持したまま、警告2の表示のみ消去する。S434では、ボタンアイコン501が引き続きタッチオンされているか否かを判定し、タッチされたままであると判定するとS418へ処理を戻し、タッチされていないと判定するとS434へ進む。タッチされていない場合とは、他の指等によって別の位置がタッチされている間に、ボタンアイコン501へのタッチがボタンアイコン501の領域外へ移動したか、タッチアップが行われた場合である。しかしこの場合もS425でのタッチアップと同様に、ボタンアイコン501へのタッチオンが所定時間以上継続した後なので、ボタンアイコン501は一時的に無効となっており、ボタンアイコン501の機能は実行しない。   In S433, only the warning 2 display is deleted while the warning 1 display is maintained. In S434, it is determined whether or not the button icon 501 is continuously touched on. If it is determined that the button icon 501 is still touched, the process returns to S418, and if it is determined that the button icon 501 is not touched, the process proceeds to S434. The case of not being touched is a case where the touch on the button icon 501 moves out of the area of the button icon 501 or a touch-up is performed while another position is touched by another finger or the like. is there. However, in this case as well as the touch-up in S425, since the touch-on to the button icon 501 has continued for a predetermined time or longer, the button icon 501 is temporarily disabled and the function of the button icon 501 is not executed.

ステップS435では、警告1を消去する。   In step S435, warning 1 is deleted.

ステップS436では、SW1がオンとなったか否かを判定する。SW1がオンとなったと判定すると図6のS601に進む。図6の処理については後述する。SW1がオンとなっていないと判定するとS437に進む。S437では、その他の操作があったか否かを判定する。その他の操作とは、操作部70のうちタッチパネル以外の操作部に対する操作や、ボタンアイコン501とボタンアイコン502以外に対する操作(例えばボタンアイコン503に対する操作や前述したタッチAF等)がある。その他の操作があったと判定するとS438に進んでその他の操作に応じた処理を実行し、S439に進む。その他の操作が無かったと判定するとそのままS439へ進む。   In step S436, it is determined whether SW1 is turned on. If it is determined that SW1 is turned on, the process proceeds to S601 in FIG. The process of FIG. 6 will be described later. If it is determined that SW1 is not turned on, the process proceeds to S437. In S437, it is determined whether or not another operation has been performed. The other operations include operations on an operation unit other than the touch panel in the operation unit 70 and operations other than the button icon 501 and the button icon 502 (for example, an operation on the button icon 503 and the touch AF described above). If it is determined that there is another operation, the process proceeds to S438, a process corresponding to the other operation is executed, and the process proceeds to S439. If it is determined that there is no other operation, the process proceeds to S439 as it is.

S439では、撮影モードの終了操作があったか否かを判定する。撮影モードの終了操作とは、モード切替スイッチ60の操作により撮影モード以外のモード(例えば再生モード)に切り替える操作や、電源スイッチ72の操作によって電源がオフとされる操作等である。終了操作がなかったと判定するとS402に処理を戻し、終了操作があったと判定すると撮影モード処理を終了する。   In S439, it is determined whether or not there has been a photographing mode end operation. The shooting mode end operation is an operation of switching to a mode other than the shooting mode (for example, a playback mode) by operating the mode switch 60, an operation of turning off the power by operating the power switch 72, or the like. If it is determined that there is no end operation, the process returns to S402, and if it is determined that there is an end operation, the shooting mode process is ended.

図6に、図4で前述した撮影モード処理中にSW1がオンとなった場合の処理のフローチャートを示す。このフローチャートおける各処理は、システム制御回路50が不揮発性メモリ56に格納されたプログラムをシステムメモリ52に展開して実行することにより実現される。   FIG. 6 shows a flowchart of processing when SW1 is turned on during the shooting mode processing described above with reference to FIG. Each process in this flowchart is realized by the system control circuit 50 expanding and executing a program stored in the nonvolatile memory 56 in the system memory 52.

S601では、図5でボタンアイコン501〜503、アイコン504〜507を消去する。S602では、AF、AE等の撮影準備動作を実行する。ここで合焦した場合は、スルー画像500に重畳して合焦枠を表示する。S603では、SW2がオンとなったかを判定する。SW2がオンとなった場合はS605に進む、SW2がオンとなっていない場合はS604へ進む。S604ではSW1がオンのままであるか否かを判定する。SW1がオンのままである場合はS603へ処理を戻し、SW1がオンのままでない場合はS607に進み、撮影待機画面を表示する。この処理は図4のS401で前述した処理と同様の処理であり、S601で消去されたボタンアイコン501〜503、アイコン504〜507を再び表示する。一方、S603でSW2がオンであると判定された場合は、S605で、露光、画像処理を含む撮像処理(本撮影)行う。S606では本撮影で生成された画像ファイルを記録媒体200に記録する。続いてS607で撮影待機画面を表示し、図4のS402に処理を戻す。   In S601, the button icons 501 to 503 and the icons 504 to 507 are deleted in FIG. In S602, shooting preparation operations such as AF and AE are executed. When focused here, the focused frame is displayed superimposed on the through image 500. In S603, it is determined whether SW2 is turned on. If SW2 is turned on, the process proceeds to S605, and if SW2 is not turned on, the process proceeds to S604. In S604, it is determined whether or not SW1 remains on. If SW1 remains on, the process returns to S603, and if SW1 does not remain on, the process proceeds to S607 to display a shooting standby screen. This process is the same as the process described above in S401 of FIG. 4, and the button icons 501 to 503 and the icons 504 to 507 deleted in S601 are displayed again. On the other hand, if it is determined in step S603 that SW2 is on, in step S605, image capturing processing (exposure shooting) including exposure and image processing is performed. In step S <b> 606, the image file generated by the actual shooting is recorded on the recording medium 200. In step S607, a shooting standby screen is displayed, and the process returns to step S402 in FIG.

図8を用いて、図4のS423(多点タッチ判定手段)での、ボタンアイコン501がタッチされたまま、他の指等により別の位置がタッチされたか否かの判定方法について説明する。   With reference to FIG. 8, a method for determining whether or not another position or the like has been touched with another finger or the like while the button icon 501 is being touched in S423 (multi-point touch determination unit) in FIG. 4 will be described.

タッチパネルのデバイスの方式として、静電容量方式等の多点検知が可能なデバイスでは、図4のS423にてボタンアイコン501上でのタッチ位置(第1のタッチ位置)と、別のタッチ位置(第2のタッチ位置)とが同時に検出可能である。したがって特に工夫する必要はなく、ボタンアイコン501上でのタッチ位置と同時に、別の位置でタッチダウンを検出すると、ボタンアイコン501がタッチされたまま、他の指等により別の位置がタッチされたと判定する。   In a device capable of multipoint detection, such as a capacitance method, as a touch panel device method, the touch position (first touch position) on the button icon 501 in S423 in FIG. (Second touch position) can be detected at the same time. Therefore, it is not necessary to devise in particular. When a touchdown is detected at another position simultaneously with the touch position on the button icon 501, it is assumed that another position is touched by another finger or the like while the button icon 501 is still touched. judge.

一方、タッチパネルのデバイスの方式として、多点検知ができず単一のタッチ位置しか検出できない抵抗膜方式等のタッチパネルも広く利用されている。その場合は下記のようにして、ボタンアイコン501がタッチされたまま、他の指等によりボタンアイコン501の領域以外の別の位置がタッチされたか否かを判定する。   On the other hand, as a touch panel device system, a resistive film system touch panel that cannot detect multiple points and can detect only a single touch position is widely used. In this case, as described below, it is determined whether another position other than the area of the button icon 501 is touched with another finger or the like while the button icon 501 is being touched.

まず、抵抗膜方式のタッチパネルでのタッチ位置の検出について説明する。抵抗膜方式のタッチパネルでは、タッチされた位置が図7(a)、(b)のように一点のみの場合、表示部28上に設定されたX軸及びY軸それぞれの抵抗値が検出され、タッチされた位置が特定される。図7(a)では、タッチ位置である点801について、X軸及びY軸それぞれの抵抗値が検出され、表示部28上でのX座標、Y座標が取得され、タッチされた位置が特定される。図7(b)でも同様に、タッチ位置である点802について表示部28上でのX座標、Y座標が取得され、タッチされた位置が特定される。   First, detection of a touch position on a resistive film type touch panel will be described. In the resistive film type touch panel, when the touched position is only one point as shown in FIGS. 7A and 7B, the resistance values of the X axis and the Y axis set on the display unit 28 are detected, The touched position is specified. In FIG. 7A, for the point 801 that is the touch position, the resistance values of the X axis and the Y axis are detected, the X coordinate and the Y coordinate on the display unit 28 are acquired, and the touched position is specified. The Similarly in FIG. 7B, the X coordinate and the Y coordinate on the display unit 28 are acquired for the point 802 which is the touch position, and the touched position is specified.

しかしながら抵抗膜方式の場合、複数のポイントを同時にタッチした場合、抵抗値はX軸Y軸共に各々タッチされた複数ポイントの中点のみが検出される。例えば、図7(c)のように、表示部28上の点804と点805を同時にタッチしていたとすると、検出されるのは点804と点805の中点806の1点のみである。したがって複数のタッチ位置が同時に検出することができない。しかし、2点同時にタッチされていた場合はその中点が検出されるという性質を利用して、1点がタッチされ、そのタッチ位置を取得した後に、1点目がタッチされたまま2点目がタッチされたか否かを判定することができる。   However, in the case of the resistance film method, when a plurality of points are touched at the same time, only the midpoints of the plurality of points touched on both the X axis and the Y axis are detected. For example, as shown in FIG. 7C, if the points 804 and 805 on the display unit 28 are touched at the same time, only one point 806 and the middle point 806 of the points 805 are detected. Therefore, a plurality of touch positions cannot be detected simultaneously. However, if two points are touched at the same time, the middle point is detected, so that the first point is touched, and after the touch position is acquired, the second point remains touched. Whether or not is touched can be determined.

図4のS423の判定方法について説明する。図8においてボタンアイコン501の領域を領域803、表示部28の中心点を中心点808、表示部28のうち中心点808よりも右上の領域を右上領域807(X座標が中心点以上に右、Y座標が中心点以上に上の領域)であるものとする。この場合、領域803に含まれる1点と、他の領域との任意の1点との中点は、ほとんどの場合右上領域807内に収まる。逆に、領域807に収まらない点は領域803に含まれる1点と、他の領域との任意の1点との中点ではないとみなせる。したがって本願のS423では、領域803内の1点がタッチ位置として検出されていた状態から、タッチアップを検出せずに領域807の範囲内のタッチ位置を検出した場合は、ボタンアイコン501と同時に他の指等により別の位置がタッチされたと判定する。例えば図8(c)の例で、点804が検出された後にタッチアップを検出せずに点806が検出された場合、点806を中心として点804と点対称の位置である点805を、点804と同時にタッチしたと推測できる。そのため、点805の位置に割り当てられている、タッチAFが不可能である旨の警告2を表示する。以上の方法により、抵抗膜方式でのタッチパネルにおいても、複数の位置が同時にタッチされたことを検知する。   The determination method of S423 in FIG. 4 will be described. In FIG. 8, the area of the button icon 501 is the area 803, the center point of the display unit 28 is the center point 808, and the area on the upper right side of the center point 808 of the display unit 28 is the upper right area 807 (the X coordinate is right above the center point, It is assumed that the Y coordinate is a region above the center point). In this case, the midpoint between one point included in the region 803 and one arbitrary point with respect to another region falls within the upper right region 807 in most cases. Conversely, a point that does not fit in the region 807 can be regarded as not a midpoint between one point included in the region 803 and one arbitrary point with another region. Therefore, in S423 of the present application, when a touch position within the area 807 is detected without detecting a touch-up from a state in which one point in the area 803 is detected as a touch position, It is determined that another position is touched by the finger or the like. For example, in the example of FIG. 8C, when the point 806 is detected without detecting the touch-up after the point 804 is detected, a point 805 that is point-symmetric with the point 804 around the point 806 is It can be inferred that the user touched the point 804 at the same time. Therefore, a warning 2 assigned to the position of the point 805 and indicating that touch AF is impossible is displayed. By the above method, it is detected that a plurality of positions are touched at the same time even in the touch panel using the resistive film method.

以上説明したように、本発明によれば、タッチパネル上の特定の領域(ボタンアイコン501)が所定時間継続してタッチされた場合は、その領域に割り当てられた機能を一時的に無効とし、タッチアップしてもその領域の機能を発動しない。この無効状態は一時的であり、図4のフローチャートが示すように、タッチアップの後、再度タッチして所定時間内にタッチアップすれば機能を実行することができる。このようにすることで、ユーザが意図せずにタッチパネル上にタッチした場合の機能発動を抑制でき、誤操作を低減することができる。また、無効状態がタッチアップが行われるまでの一時的な状態であるため、ボタンアイコン501に割り当てられた機能を実行したい場合には、単にもう一度ボタンアイコン501をタップしなおせばよく、無効状態を解除するための特別な操作は必要ない。すなわち、操作性を損ねずに誤操作を防止することができる。さらに、ユーザが無意識にタッチしやすいタッチパネル上の箇所であっても、上述のボタンアイコン501のように、誤操作する可能性を低減したボタンアイコンを配置できるので、タッチパネル上でのタッチ操作部材のレイアウトの制限も緩和することができる。   As described above, according to the present invention, when a specific area (button icon 501) on the touch panel is continuously touched for a predetermined time, the function assigned to the area is temporarily invalidated and touched. Even if it is up, the function of that area is not activated. This invalid state is temporary, and as shown in the flowchart of FIG. 4, the function can be executed by touching again after touch-up and touch-up within a predetermined time. By doing in this way, function invocation when a user touches the touch panel unintentionally can be suppressed, and erroneous operation can be reduced. In addition, since the invalid state is a temporary state until the touch-up is performed, when the function assigned to the button icon 501 is to be executed, the button icon 501 may be simply tapped again, and the invalid state is changed. No special operation is required to cancel. That is, an erroneous operation can be prevented without impairing operability. Furthermore, since the button icon with reduced possibility of erroneous operation can be arranged like the above-described button icon 501 even at a location on the touch panel where the user easily touches unconsciously, the layout of the touch operation member on the touch panel This restriction can be relaxed.

図4の例では、所定時間以上タッチし続けると一時的に無効となるボタンアイコンを、ボタンアイコン501(特定の領域)のみとし、ボタンアイコン502などの他のボタンアイコン(他の領域)はタッチオンの継続時間に関わらず有効とした。ボタンアイコン501は、表示部28のうちシャッターボタン61に最も近い頂点(表示部28の右上頂点)から、最も近い位置にあるボタンアイコンである。シャッターボタンを備える撮像装置においては、図3で説明した持ち方をすることが多いため、表示部28のうちシャッターボタン61に最も近い頂点ほど、誤ってタッチしてしまう可能性が高い。逆に、表示部28のうちシャッターボタン61に近い頂点から遠い位置を誤ってタッチしてしまう可能性は低く、シャッターボタン61から遠い位置でタッチを検出したのであればユーザが意図的に行ったものである可能性が高い。したがって、所定時間以上のタッチ継続で無効とするボタンアイコンを、表示部28のうちシャッターボタン61に最も近い頂点から、最も近い位置にあるボタンアイコンのみにすることで、ユーザの無意識なタッチと意図的なタッチを的確に判別する。   In the example of FIG. 4, the button icon 501 (specific area) is the only button icon that is temporarily disabled when the touch is continued for a predetermined time or longer, and other button icons (other areas) such as the button icon 502 are touch-on. Regardless of the duration of The button icon 501 is a button icon that is closest to the apex closest to the shutter button 61 in the display unit 28 (upper right apex of the display unit 28). In an imaging apparatus including a shutter button, the holding method described with reference to FIG. 3 is often used. Therefore, the apex closest to the shutter button 61 in the display unit 28 is likely to be touched by mistake. Conversely, it is unlikely that the display unit 28 touches a position far from the apex near the shutter button 61 by mistake, and if the touch is detected at a position far from the shutter button 61, the user intentionally performed it. There is a high possibility of being. Accordingly, the button icon that is invalidated by continuing touch for a predetermined time or longer is only the button icon that is closest to the shutter button 61 from the apex closest to the shutter button 61 in the display unit 28, so that the user's unconscious touch and intention Accurate touch is accurately identified.

なお、図4の例では、所定時間以上タッチし続けると一時的に無効となるボタンアイコンを、ボタンアイコン501のみとしたが、これに限るものではなく、所定時間以上のタッチ継続で無効とするボタンアイコンは、1つでなくてもよい。すなわち、所定時間以上のタッチ継続で無効とするボタンアイコンを複数のボタンアイコンのうちのいくつか、あるいは全てのボタンアイコンとしてもよい。例えば、図3で示した例のように、表示部28のうち、Y座標がシャッターボタン61に近い位置では、表示部28の下のほうであっても右手親指の腹で誤ってタッチしてしまう可能性がある。そこで、シャッターボタン61からのY座標の距離が近い複数のボタンアイコンを所定時間以上のタッチ継続で無効とするボタンアイコンとしてもよい。また、複数のボタンアイコンを、配置されている位置に応じて異なるタッチ継続時間で無効としてもよい。この場合、誤ってタッチしてしまう可能性の位置による違いを考慮して、シャッターボタンからの距離に応じて、距離が近いほどタッチアップ時の機能発動を無効とするまでのタッチ継続時間(閾値)を短くすることが考えられる。   In the example of FIG. 4, the button icon that is temporarily disabled when the touch is continued for a predetermined time or more is only the button icon 501, but is not limited thereto, and is disabled when the touch continues for a predetermined time or longer. The button icon need not be one. That is, some or all of the plurality of button icons may be used as the button icons that are invalidated when the touch continues for a predetermined time or longer. For example, as in the example shown in FIG. 3, when the Y coordinate of the display unit 28 is close to the shutter button 61, even if it is below the display unit 28, the user touches it with the belly of the right thumb. There is a possibility. Therefore, a plurality of button icons whose Y coordinate distance from the shutter button 61 is close may be invalidated by continuing the touch for a predetermined time or longer. Further, a plurality of button icons may be invalidated with different touch durations depending on the positions where they are arranged. In this case, taking into account the difference depending on the position of the possibility of accidental touching, the touch duration (threshold value) until the function activation at the time of touch-up is invalidated as the distance is closer according to the distance from the shutter button. ) May be shortened.

例えば、ボタンアイコン502についても一定時間以上タッチし続けると一時的に無効とする場合を考える。この場合、図4のS403でボタンアイコン502(第2の領域)がタッチされたと判定(Yesと判定)されるとタイマーをスタートし、ボタンアイコン502がタッチオン状態である継続時間を計時する(第2の計時手段)。そして、ボタンアイコン502がタッチオン状態である継続時間が、ボタンアイコン501(特定の領域)の機能発動を無効とするまでのタッチ継続時間(S411での所定時間)よりも長い第2の時間以上となったか否かを判定する。そして、S406でボタンアイコン502からのタッチアップが検出された際に、タイマーで計時したボタンアイコン502へのタッチ継続時間が第2の時間に達していない場合には、ボタンアイコン502に割り当てられた機能を実行する。一方、S406でボタンアイコン502からのタッチアップが検出された際に、タイマーで計時したボタンアイコン502へのタッチ継続時間が第2の時間に達していた場合には、ボタンアイコン502に割り当てられた機能を実行しない。S411での所定時間よりも第2の時間を長くしたのは、ボタンアイコン502(第2の領域)がボタンアイコン501(特定の領域)に比べて、表示部28のうちシャッターボタン61に最も近い頂点(表示部28の右上頂点)から遠いためである。このように、シャッターボタン62に近いほど誤ってタッチしてしまう可能性が高いとみなして、シャッターボタンからの距離が近いほどタッチアップ時の機能発動を無効とするまでのタッチ継続時間を短くする。これによって、シャッターボタンからの距離が近いほど、ユーザがより明確に意図的な操作をしない限りは機能を実行しないこととして、誤操作を防止することができる。   For example, let us consider a case where the button icon 502 is temporarily invalidated if it is continuously touched for a certain period of time. In this case, when it is determined in S403 in FIG. 4 that the button icon 502 (second area) is touched (determined as Yes), a timer is started, and the duration of time that the button icon 502 is in the touch-on state is counted (first). 2 timing means). Then, the continuation time that the button icon 502 is in the touch-on state is equal to or longer than a second time longer than the touch continuation time (predetermined time in S411) until the function activation of the button icon 501 (specific area) is invalidated. It is determined whether or not. When a touch-up from the button icon 502 is detected in S406, if the touch duration time of the button icon 502 measured by the timer has not reached the second time, the touch button is assigned to the button icon 502. Perform the function. On the other hand, when a touch-up from the button icon 502 is detected in S406, if the touch duration of the button icon 502 counted by the timer has reached the second time, the button icon 502 is assigned. Do not perform the function. The reason why the second time is longer than the predetermined time in S411 is that the button icon 502 (second area) is closest to the shutter button 61 in the display unit 28 compared to the button icon 501 (specific area). This is because it is far from the vertex (upper right vertex of the display unit 28). In this way, it is considered that the closer to the shutter button 62, the higher the possibility of touching accidentally, and the shorter the distance from the shutter button, the shorter the touch duration until the function activation at the time of touch-up is invalidated. . As a result, as the distance from the shutter button is shorter, the function is not executed unless the user performs a more specific intentional operation, and an erroneous operation can be prevented.

また、誤操作の可能性として、デジタルカメラ100をカバンに入れて持ち歩いたり、タッチパネルの配されている表示部28を下向きにして置いた場合などにも、ユーザが意図せずに、なんらかの物体がタッチパネルにタッチしてしまう可能性がある。このような意図しないタッチによる誤操作を防ぐ場合にも本発明は有効である。このような場合のタッチはある程度の期間継続されることが予測される。したがって本発明のように所定時間継続するタッチを一時的に無効とすることで、意図せぬタッチによる誤操作を防ぐことが可能である。この場合は、表示部28におけるボタンアイコンの位置は誤操作の可能性とは関連がないので、全てのボタンアイコンについて一定時間以上タッチが続けば一時的に無効とするのが好ましい。   In addition, as a possibility of an erroneous operation, even when the digital camera 100 is carried around in a bag or when the display unit 28 where the touch panel is arranged is placed face down, some object may be touched without the user's intention. There is a possibility of touching. The present invention is also effective in preventing such an erroneous operation due to an unintended touch. It is predicted that the touch in such a case is continued for a certain period. Therefore, it is possible to prevent an erroneous operation due to an unintended touch by temporarily invalidating the touch that continues for a predetermined time as in the present invention. In this case, since the position of the button icon on the display unit 28 is not related to the possibility of an erroneous operation, it is preferable to temporarily invalidate all the button icons if the touch continues for a certain period of time.

さらに、図4では撮影モード処理について説明したが、再生モードでは撮影モードとは異なり、ボタンアイコン501と同じ位置あるいは少なくとも一部が重複する領域に配置されるボタンアイコンについて、タッチの継続時間に関わらず有効としてもよい。これは、再生モードでは撮影モードとは異なり、図3のようにシャッターボタンに手を掛けるような持ち方をしない可能性が高いためである。したがって、再生モードにおいては所定時間以上のタッチ継続で無効とするボタンアイコンを設けない構成とする。あるいは、再生モードにおいては、再生モードの際のデジタルカメラ100の保持の仕方を鑑みて、所定時間以上のタッチ継続で無効とするボタンアイコンを撮影モードとは異なる位置に配置する。   Further, although the shooting mode processing has been described with reference to FIG. 4, unlike the shooting mode in the playback mode, the button icon arranged at the same position as the button icon 501 or at least partially overlapped area is related to the duration of the touch. It may be effective. This is because, unlike the shooting mode, the playback mode is unlikely to hold the shutter button as shown in FIG. Therefore, in the playback mode, a button icon that is invalidated by continuing touch for a predetermined time or longer is not provided. Alternatively, in the playback mode, in consideration of how to hold the digital camera 100 in the playback mode, a button icon that is invalidated by continuing touch for a predetermined time or more is arranged at a position different from the shooting mode.

また、デジタルカメラ100は姿勢検出センサを備えるものとしてもよい。姿勢検出センサは、加速度センサや縦横検知センサ等の、重力方向に対するデジタルカメラ100の姿勢を検出可能なセンサである。姿勢検出センサによって、デジタルカメラ100が横向き(第1の姿勢)であることが検出された場合は図3で前述したように保持のされている可能性が高い。しかし、姿勢検出センサでデジタルカメラが縦向き(第2の姿勢)であることが検出された場合には、デジタルカメラ100は縦に構えられ、前述した図3とは異なる構え方をされている可能性が高い。その場合、図3の場合とは異なる位置を誤ってタッチしてしまう可能性が高い。従って、姿勢検出センサでデジタルカメラ100が縦向きであることが検出された場合には、横向きであることが検出された場合とは異なる位置のボタンアイコンを、所定時間以上タッチし続けると一時的に無効となるボタンアイコンとするのが好ましい。例えば、姿勢検出センサで横向きであることが検出された場合には図4で説明したように、ボタンアイコン501を所定時間以上タッチし続けると一時的に無効となるボタンアイコンとし、その他のボタンアイコンはタッチオンの継続時間に関わらず有効とする。一方、姿勢検出センサで縦向きであることが検出された場合には、ボタンアイコン501以外のボタンアイコン、例えばボタンアイコン503を所定時間以上タッチし続けると一時的に無効となるボタンアイコンとする。そして、ボタンアイコン503以外のボタンアイコン(ボタンアイコン501を含む)はタッチオンの継続時間に関わらず有効とする。このようにすることで、装置の姿勢に応じてより確実に誤操作を防止することができる。   In addition, the digital camera 100 may include an attitude detection sensor. The posture detection sensor is a sensor that can detect the posture of the digital camera 100 with respect to the direction of gravity, such as an acceleration sensor or a vertical / horizontal detection sensor. When the posture detection sensor detects that the digital camera 100 is in the horizontal direction (first posture), it is highly likely that the digital camera 100 is held as described above with reference to FIG. However, when the posture detection sensor detects that the digital camera is in the vertical orientation (second posture), the digital camera 100 is held vertically and is held differently from the above-described FIG. Probability is high. In that case, there is a high possibility that a position different from the case of FIG. Therefore, when the posture detection sensor detects that the digital camera 100 is in the portrait orientation, if the button icon at a position different from the case in which the orientation of the digital camera 100 is detected is kept touching for a predetermined time or longer, the digital camera 100 is temporarily touched. Preferably, the button icon is invalid. For example, when the posture detection sensor detects that the camera is in landscape orientation, as described with reference to FIG. 4, the button icon 501 is temporarily disabled when the button icon 501 is continuously touched for a predetermined time or more, and the other button icons Is valid regardless of the duration of touch-on. On the other hand, when the posture detection sensor detects that the screen is in the vertical orientation, the button icon other than the button icon 501, for example, the button icon 503 is temporarily invalidated when touched for a predetermined time or longer. The button icons other than the button icon 503 (including the button icon 501) are valid regardless of the touch-on duration. By doing so, it is possible to prevent erroneous operations more reliably according to the attitude of the apparatus.

なお、本発明を適用可能なタッチパネルの方式は、表示部への接触操作が検知可能なものであればどのようなものでもよく、上述した抵抗膜方式や静電容量方式の他にも、表面弾性波方式、赤外線方式、電磁誘導方式等にも適用可能である。   The touch panel method to which the present invention can be applied may be any method as long as the touch operation to the display unit can be detected. In addition to the resistance film method and the capacitance method described above, The present invention can also be applied to an elastic wave method, an infrared method, an electromagnetic induction method, and the like.

上述の実施形態は撮像装置に関してのものであるが、タッチパネルを搭載した表示装置を制御するものであれば撮像装置に限らず、本発明を適用可能である。例えば、タッチパネルを搭載した携帯電話、PDA、音楽プレーヤー、画像ビューワー、ゲーム機、印刷装置、カーナビゲーション等、タッチパネルを搭載したどのような装置にも適用可能である。撮像装置以外に本発明を適用する場合、それぞれの機器の保持のされ方や使用場面を鑑みて、複数のボタンアイコンを配置されている位置に応じて異なるタッチ継続時間で無効とするのがよい。   The above-described embodiment is related to the imaging device, but the present invention is not limited to the imaging device as long as it controls a display device equipped with a touch panel. For example, the present invention can be applied to any device equipped with a touch panel, such as a mobile phone equipped with a touch panel, a PDA, a music player, an image viewer, a game machine, a printing device, and a car navigation system. When the present invention is applied to a device other than an imaging device, it is preferable to invalidate a plurality of button icons at different touch durations depending on the position where each device is held and the usage scene. .

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。上述の実施形態の一部を適宜組み合わせてもよい。   Although the present invention has been described in detail based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. included. A part of the above-described embodiments may be appropriately combined.

なお、上述した制御は1つのハードウェアが行ってもよいし、複数のハードウェアが処理を分担することで、装置全体の制御を行ってもよい。   Note that the above-described control may be performed by a single piece of hardware, or the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.

(他の実施形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (18)

表示手段上へのタッチを検出するタッチ検出手段と、
前記表示手段に表示された、機能を割り当てられた特定の表示アイテムへのタッチの継続時間を計時する計時手段と、
前記特定の表示アイテムに対するタッチ操作に応じて前記特定の表示アイテムに割り当てられた機能を実行するように制御する制御手段と、
前記表示手段上に第1の表示態様で表示された前記特定の表示アイテムに対するタッチの開始に応じて、該特定の表示アイテムの表示態様を第2の表示態様に変更し、前記計時手段によって計時された前記特定の表示アイテムへのタッチの継続時間が所定時間に達したことに応じて、タッチされている前記特定の表示アイテムの表示形態を前記第1の表示態様に変更するように制御する表示制御手段と
を有することを特徴とする情報処理装置。
Touch detection means for detecting a touch on the display means;
Clocking means for clocking the duration of a touch on a specific display item assigned a function, displayed on the display means;
Control means for controlling to execute a function assigned to the specific display item in response to a touch operation on the specific display item;
In response to the start of touching the specific display item displayed in the first display mode on the display unit, the display mode of the specific display item is changed to the second display mode, and the time measuring unit measures the time. The display mode of the specific display item being touched is controlled to be changed to the first display mode in response to the continuation time of touching the specific display item being reached a predetermined time. An information processing apparatus comprising display control means.
前記制御手段は、前記特定の表示アイテムへのタッチを検出していた状態からタッチが離されたことを検出した際に、前記計時手段によって計時した継続時間が前記所定時間に達していない場合は前記特定の表示アイテムに割り当てられた機能を実行し、前記特定の表示アイテムへのタッチを検出していた状態からタッチが離されたことを検出した際に、前記計時手段によって計時した継続時間が前記所定時間に達していた場合は前記特定の表示アイテムに割り当てられた機能を実行しないように制御することを特徴とする請求項1に記載の情報処理装置。   When the control means detects that the touch is released from the state in which the touch to the specific display item has been detected, and the duration time counted by the time measuring means has not reached the predetermined time, When the function assigned to the specific display item is executed and it is detected that the touch is released from the state in which the touch to the specific display item is detected, the duration timed by the time measuring means is measured. The information processing apparatus according to claim 1, wherein when the predetermined time has been reached, control is performed so that a function assigned to the specific display item is not executed. 前記表示制御手段は、前記表示手段に表示された、前記特定の表示アイテムとは異なる第2の表示アイテムに対するタッチの開始に応じて、該第2の表示アイテムの表示態様を第1の表示態様から第2の表示態様に変更するように制御し、該第2の表示アイテムへのタッチの継続時間が前記所定時間に達しても、該第2の表示アイテムに対するタッチが継続していれば該第2の表示アイテムの表示態様を第2の表示態様から変更しないことを特徴とする請求項1または2に記載の情報処理装置。   The display control means changes the display mode of the second display item to the first display mode in response to the start of a touch on the second display item that is displayed on the display unit and is different from the specific display item. If the touch on the second display item is continued even if the duration of the touch on the second display item reaches the predetermined time, the display mode is changed to the second display mode. The information processing apparatus according to claim 1, wherein the display mode of the second display item is not changed from the second display mode. 前記制御手段は、前記タッチ検出手段によって第2の表示アイテムへのタッチを検出していた状態から前記タッチが離されたことを検出した場合には、前記第2の表示アイテムへのタッチの継続時間が前記所定時間に達していても、前記第2の表示アイテムに割り当てられた機能を実行するように制御することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。 Wherein when it is detected that the touch is released from a state in which the touch was not detected in the second display items by the touch detection unit, touch to the second display items information according to any one of claims 1 to 3 duration even reached the predetermined time, and controls to execute the function assigned to the second display items Processing equipment. 前記特定の表示アイテムに割り当てられた機能は、前記情報処理装置の備える撮像手段による撮像に関する機能であることを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。   5. The information processing apparatus according to claim 1, wherein the function assigned to the specific display item is a function related to imaging by an imaging unit included in the information processing apparatus. 前記表示制御手段は、前記計時手段によって計時した前記特定の表示アイテムへのタッチの継続時間が所定時間に達したことに応じて、第1の警告を前記表示手段に表示するように制御することを特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。   The display control means controls to display a first warning on the display means when the duration of the touch on the specific display item timed by the time measuring means reaches a predetermined time. The information processing apparatus according to claim 1, wherein: 前記第1の警告は、前記特定の表示アイテムがタッチされていることを表す警告であることを特徴とする請求項6に記載の情報処理装置。   The information processing apparatus according to claim 6, wherein the first warning is a warning indicating that the specific display item is touched. 前記情報処理装置はさらに、前記特定の表示アイテム以外の領域が前記特定の表示アイテムと同時にタッチされたか否かを判定する多点タッチ判定手段を有し、
前記表示制御手段はさらに、前記第1の警告を表示した状態で、前記多点タッチ判定手段によって前記特定の表示アイテム以外の領域が前記特定の表示アイテムと同時にタッチされたと判定された場合に、第2の警告を前記表示手段に表示するように制御することを特徴とする請求項7に記載の情報処理装置。
The information processing apparatus further includes multipoint touch determination means for determining whether an area other than the specific display item is touched simultaneously with the specific display item,
In the state where the display control unit further displays the first warning, when the multi-point touch determination unit determines that an area other than the specific display item is touched simultaneously with the specific display item, The information processing apparatus according to claim 7, wherein the second warning is controlled to be displayed on the display unit.
前記第2の警告は、前記タッチによる操作が不可能であることを表す警告であることを特徴とする請求項8に記載の情報処理装置。   The information processing apparatus according to claim 8, wherein the second warning is a warning indicating that an operation by the touch is impossible. 前記タッチ検出手段は、前記表示手段上における単一のタッチ位置のみを検出可能であり、
前記多点タッチ判定手段は、前記特定の表示アイテムへのタッチを検出していた状態から、タッチが離されたことを検出せずに、前記表示手段上の所定の範囲内に対するタッチを検出した場合には、前記特定の表示アイテム以外の位置が前記特定の表示アイテムと同時にタッチされたと判定することを特徴とする請求項8または9に記載の情報処理装置。
The touch detection means can detect only a single touch position on the display means,
The multipoint touch determination unit detects a touch within a predetermined range on the display unit without detecting that the touch is released from a state in which a touch to the specific display item is detected. In this case, it is determined that a position other than the specific display item is touched simultaneously with the specific display item.
前記第2の警告は、前記所定の範囲内に対する前記タッチの位置を中心として前記特定の表示アイテムで検出されたタッチの位置と点対称の位置に割り当てられた機能が実行不可能であることを表す警告であることを特徴とする請求項10に記載の情報処理装置。   The second warning indicates that a function assigned to a position that is point-symmetric to the position of the touch detected by the specific display item about the position of the touch within the predetermined range cannot be executed. The information processing apparatus according to claim 10, wherein the information processing apparatus represents a warning. 前記表示手段上の前記特定の表示アイテムとは異なる第2の表示アイテムへのタッチの継続時間を計時する第2の計時手段を更に有し、
前記制御手段は、前記タッチ検出手段によって前記第2の表示アイテムへのタッチを検出していた状態からタッチが離されたことを検出した際に、前記第2の計時手段によって計時した継続時間が前記所定時間よりも長い第2の時間に達していない場合は、前記第2の表示アイテムに割り当てられた機能を実行し、
前記タッチ検出手段によって前記第2の表示アイテムへのタッチを検出していた状態からタッチが離されたことを検出した際に、前記第2の計時手段によって計時した継続時間が前記第2の時間に達していた場合は、前記第2の表示アイテムに割り当てられた機能を実行しないように制御することを特徴とする請求項1ないし11のいずれか1項に記載の情報処理装置。
A second time measuring means for measuring a duration of a touch on a second display item different from the specific display item on the display means;
When the control means detects that the touch is released from the state in which the touch to the second display item is detected by the touch detection means, the duration time measured by the second time measuring means is determined. If the second time longer than the predetermined time has not been reached, the function assigned to the second display item is executed,
When it is detected that the touch is released from the state in which the touch to the second display item is detected by the touch detection unit, the duration time measured by the second time measurement unit is the second time. The information processing apparatus according to any one of claims 1 to 11, wherein the information processing apparatus performs control so as not to execute a function assigned to the second display item.
前記情報処理装置はさらに、撮像手段による撮像の指示をユーザから受け付けるためのシャッター操作部材を有し、前記特定の表示アイテムは、前記表示手段のうち前記シャッター操作部材から最も近い頂点から最も近い位置に表示されたボタンアイコンであることを特徴とする請求項1乃至12のいずれか1項に記載の情報処理装置。   The information processing apparatus further includes a shutter operation member for accepting an imaging instruction by the imaging unit from a user, and the specific display item is a position closest to the apex closest to the shutter operation member in the display unit. The information processing apparatus according to claim 1, wherein the information processing apparatus is a button icon displayed on the screen. 前記情報処理装置はさらに、撮像手段による撮像の指示をユーザから受け付けるためのシャッター操作部材を有し、前記特定の表示アイテムは、前記表示手段のうち前記シャッター操作部材から最も近い頂点に対して、前記第2の表示アイテムよりも近い位置に表示されたボタンアイコンであることを特徴とする請求項3または4に記載の情報処理装置。   The information processing apparatus further includes a shutter operation member for accepting an imaging instruction by the imaging unit from a user, and the specific display item is a vertex closest to the shutter operation member among the display units. The information processing apparatus according to claim 3, wherein the information processing apparatus is a button icon displayed at a position closer to the second display item. 当該情報処理装置の姿勢を検出する姿勢検出手段を更に有し、前記姿勢検出手段で検出された姿勢に応じて、前記表示手段上の異なる表示アイテムを前記特定の表示アイテムとして扱うことを特徴とする請求項1乃至14のいずれか1項に記載の情報処理装置。   It further comprises posture detection means for detecting the posture of the information processing apparatus, and handles different display items on the display means as the specific display item according to the posture detected by the posture detection means. The information processing apparatus according to any one of claims 1 to 14. 表示手段上へのタッチを検出するタッチ検出ステップと、
前記表示手段に表示された、機能を割り当てられた特定の表示アイテムへのタッチの継続時間を計時する計時ステップと、
前記表示手段上に第1の表示態様で表示された前記特定の表示アイテムに対するタッチの開始に応じて、該特定の表示アイテムの表示態様を第2の表示態様に変更し、前記計時ステップによって計時された前記特定の表示アイテムへのタッチの継続時間が所定時間に達したことに応じて、タッチされている前記特定の表示アイテムの表示形態を前記第1の表示態様に変更するように制御する表示制御ステップと
を有することを特徴とする情報処理装置の制御方法。
A touch detection step of detecting a touch on the display means;
A time measuring step for measuring a duration of a touch on a specific display item assigned a function, displayed on the display means;
The display mode of the specific display item is changed to the second display mode in response to the start of the touch on the specific display item displayed in the first display mode on the display means, and the time is measured by the timing step. The display mode of the specific display item being touched is controlled to be changed to the first display mode in response to the continuation time of touching the specific display item being reached a predetermined time. A control method for an information processing apparatus, comprising: a display control step.
コンピュータを、請求項1乃至15のいずれか1項に記載された情報処理装置の各手段として機能させるためのプログラム。   A program for causing a computer to function as each unit of the information processing apparatus according to any one of claims 1 to 15. コンピュータを、請求項1乃至15のいずれか1項に記載された情報処理装置の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to function as each unit of the information processing apparatus according to any one of claims 1 to 15.
JP2013231573A 2013-11-07 2013-11-07 Information processing apparatus, control method therefor, program, and storage medium Active JP5769783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013231573A JP5769783B2 (en) 2013-11-07 2013-11-07 Information processing apparatus, control method therefor, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013231573A JP5769783B2 (en) 2013-11-07 2013-11-07 Information processing apparatus, control method therefor, program, and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012232911A Division JP5409873B2 (en) 2012-10-22 2012-10-22 Information processing apparatus, control method therefor, program, and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014248482A Division JP5932953B2 (en) 2014-12-08 2014-12-08 Information processing apparatus, control method therefor, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2014089716A JP2014089716A (en) 2014-05-15
JP5769783B2 true JP5769783B2 (en) 2015-08-26

Family

ID=50791525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013231573A Active JP5769783B2 (en) 2013-11-07 2013-11-07 Information processing apparatus, control method therefor, program, and storage medium

Country Status (1)

Country Link
JP (1) JP5769783B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7309346B2 (en) * 2018-11-29 2023-07-18 キヤノン株式会社 IMAGING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM THEREOF
CN114902104A (en) * 2019-12-27 2022-08-12 佳能株式会社 Electronic device, electronic device control method, program, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4178484B2 (en) * 1998-04-06 2008-11-12 富士フイルム株式会社 Camera with monitor
JP4628178B2 (en) * 2005-05-16 2011-02-09 任天堂株式会社 Information processing apparatus and item selection processing program
JP4690272B2 (en) * 2006-08-29 2011-06-01 京セラミタ株式会社 Electronic device and program
WO2009001544A1 (en) * 2007-06-22 2008-12-31 Panasonic Corporation Cooking device
JP4370535B2 (en) * 2007-06-28 2009-11-25 ソニー株式会社 Image display device, imaging device, image display control method, and program

Also Published As

Publication number Publication date
JP2014089716A (en) 2014-05-15

Similar Documents

Publication Publication Date Title
JP5127792B2 (en) Information processing apparatus, control method therefor, program, and recording medium
JP5620947B2 (en) Electronic device, control method therefor, program, and storage medium
US10216313B2 (en) Electronic apparatus and control method of the same
JP6742730B2 (en) Electronic device and control method thereof
JP6570411B2 (en) Electronic device, control method therefor, program, and storage medium
JP5409873B2 (en) Information processing apparatus, control method therefor, program, and storage medium
US11184528B2 (en) Electronic apparatus, control method therefor, and non-transitory computer readable medium
JP5769783B2 (en) Information processing apparatus, control method therefor, program, and storage medium
JP6104338B2 (en) Electronic device, control method therefor, program, and storage medium
JP6391763B2 (en) Information processing apparatus, control method therefor, program, and recording medium
JP2018206088A (en) Electronic device and control method therefor
JP6150924B2 (en) Information processing apparatus, control method therefor, program, and recording medium
JP5932953B2 (en) Information processing apparatus, control method therefor, program, and storage medium
JP2020178232A (en) Electronic apparatus
JP6239077B2 (en) Electronic device, control method therefor, program, and storage medium
JP5840256B2 (en) Electronic device, control method therefor, program, and storage medium
JP2018055139A (en) Imaging apparatus, control method for imaging apparatus, and program and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150623

R151 Written notification of patent or utility model registration

Ref document number: 5769783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151