Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7809575B2 - Electronic device, electronic device control method, and program - Google Patents
[go: Go Back, main page]

JP7809575B2 - Electronic device, electronic device control method, and program - Google Patents

Electronic device, electronic device control method, and program

Info

Publication number
JP7809575B2
JP7809575B2 JP2022060773A JP2022060773A JP7809575B2 JP 7809575 B2 JP7809575 B2 JP 7809575B2 JP 2022060773 A JP2022060773 A JP 2022060773A JP 2022060773 A JP2022060773 A JP 2022060773A JP 7809575 B2 JP7809575 B2 JP 7809575B2
Authority
JP
Japan
Prior art keywords
display
image
area
frame
electronic device
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
JP2022060773A
Other languages
Japanese (ja)
Other versions
JP2023151258A (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 JP2022060773A priority Critical patent/JP7809575B2/en
Publication of JP2023151258A publication Critical patent/JP2023151258A/en
Application granted granted Critical
Publication of JP7809575B2 publication Critical patent/JP7809575B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は、電子機器、電子機器の制御方法、及びプログラムに関する。 The present invention relates to an electronic device, a control method for an electronic device, and a program.

ユーザーはデジタルカメラなどによって記録された画像をディスプレイに表示し、その画像に対してトリミング処理を行うことが可能である。ユーザーはディスプレイに表示された画像を見ながら切り出す領域を指定してトリミング処理を実行する。このとき、トリミングする領域を明確にするために、枠表示などを用いて画像の切り出し領域を示すことが望ましい。特許文献1には、トリミング領域とその他の領域を区別するため、トリミング領域の境界を表示画像の色とは異なる色で表示する画像表示技術が開示されている。 A user can display an image recorded by a digital camera or other device on a display and perform a cropping process on that image. While viewing the image displayed on the display, the user specifies the area to be cropped and then performs the cropping process. At this time, it is desirable to indicate the cropping area of the image using a frame or other display to clearly indicate the area to be cropped. Patent Document 1 discloses an image display technology that displays the border of the cropping area in a color different from the color of the displayed image in order to distinguish the cropping area from other areas.

特開2002-196745号公報Japanese Patent Application Laid-Open No. 2002-196745

画像の確認をしやすくするために、トリミング処理を行う画像をできるだけ大きく表示する場合、ディスプレイにおける表示領域の上下2辺又は左右2辺、もしくは上下左右の4辺すべてに接するように画像を表示する必要がある。また、表示するトリミング枠が切り出し領域に被ってしまわないようにトリミング枠の内側を切り出し領域に設定する。この場合、ディスプレイにおける表示領域の上下左右に接している画像の端を含むように切り出し領域を指定すると、図11に示すようにトリミング枠1101のうち破線1102で示した部分が表示領域1103の外に出てしまう。そのため、トリミング枠がディスプレイ上に表示されなくなり、どの部分までトリミングされるのか分かりにくくなってしまう。 When displaying an image to be cropped as large as possible to make it easier to check the image, it is necessary to display the image so that it touches two top and bottom edges, two left and right edges, or all four edges (top, bottom, left, right) of the display area on the display. Furthermore, the crop area is set to the inside of the cropping frame so that the displayed cropping frame does not overlap the crop area. In this case, if the crop area is specified to include the edges of the image that touch the top, bottom, left, and right edges of the display area on the display, the portion of the cropping frame 1101 indicated by dashed line 1102 will fall outside the display area 1103, as shown in Figure 11. As a result, the cropping frame will no longer be displayed on the display, making it difficult to tell how much of the image will be cropped.

特許文献1では、このようなディスプレイにおける表示領域の上下2辺又は左右2辺、もしくは上下左右の4辺すべてに接するようにトリミング処理の対象の画像を表示する場合について考慮されていない。したがって、指定する切り出し領域によっては、トリミング枠がディスプレイ上に表示されなくなる可能性がある。 Patent Document 1 does not take into consideration cases where the image to be cropped is displayed so that it touches two top and bottom edges, two left and right edges, or all four edges of the display area on such a display. Therefore, depending on the crop area specified, the cropping frame may not be displayed on the display.

本発明は、このような事情に鑑みてなされたものであり、トリミング処理での切り出し領域を明確に示すことができるようにすることを目的とする。 The present invention was made in consideration of these circumstances, and aims to make it possible to clearly indicate the cut-out area during trimming processing.

本発明に係る電子機器は、画像を表示する表示手段と、前記画像の切り出し領域を指定する指定手段と、前記指定手段により指定された前記切り出し領域を示す枠を、前記表示手段に前記画像と共に表示するよう制御する制御手段とを有し、前記制御手段は、前記枠の内縁が前記切り出し領域の境界となるように前記枠を表示するように制御し、前記指定手段により指定された前記切り出し領域と前記表示手段に表示された前記画像の辺が接する場合、前記枠の表示形態を変更することを特徴とする。 The electronic device of the present invention comprises a display means for displaying an image, a designation means for designating a cutout area of the image, and a control means for controlling the display means to display a frame indicating the cutout area designated by the designation means together with the image, the control means controlling the display of the frame so that the inner edge of the frame becomes the boundary of the cutout area, and changing the display format of the frame when the cutout area designated by the designation means abuts a side of the image displayed on the display means.

本発明によれば、トリミング処理での切り出し領域を明確に示すことができる。 This invention makes it possible to clearly indicate the cropping area used in the trimming process.

電子機器の構成例を示す図である。FIG. 1 is a diagram illustrating an example of the configuration of an electronic device. 電子機器のトリミング処理を示すフローチャートである。10 is a flowchart showing a trimming process of the electronic device. 実施形態1における表示例を説明する図である。FIG. 2 is a diagram illustrating a display example in the first embodiment. 実施形態1におけるトリミング枠の更新処理を示すフローチャートである。10 is a flowchart showing a process of updating a trimming frame according to the first embodiment. 実施形態2におけるトリミング枠の更新処理を示すフローチャートである。10 is a flowchart showing a process of updating a trimming frame according to the second embodiment. 実施形態2における表示例を説明する図である。FIG. 10 is a diagram illustrating a display example in the second embodiment. 実施形態3におけるトリミング枠の更新処理を示すフローチャートである。13 is a flowchart showing a process of updating a trimming frame according to the third embodiment. 実施形態3における表示例を説明する図である。13A and 13B are diagrams illustrating display examples in the third embodiment. 実施形態4におけるトリミング枠の更新処理を示すフローチャートである。13 is a flowchart showing a process of updating a trimming frame according to the fourth embodiment. 実施形態4における表示例を説明する図である。13A and 13B are diagrams illustrating display examples in the fourth embodiment. トリミング範囲を指定する際の表示画面を説明する図である。FIG. 10 is a diagram illustrating a display screen when a trimming range is specified.

以下、本発明の実施形態を図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

(実施形態1)
図1は、本発明を適用可能な装置の一例としての電子機器100の構成例を示す図である。電子機器100は、例えばパーソナルコンピュータなどを用いて構成可能である。
(Embodiment 1)
1 is a diagram showing an example of the configuration of an electronic device 100 as an example of a device to which the present invention can be applied. The electronic device 100 can be configured using, for example, a personal computer.

電子機器100は、CPU101、メモリ102、不揮発性メモリ103、画像処理部104、ディスプレイ105、操作部106、記録媒体インターフェース(I/F)107、外部I/F109、通信I/F110、及び内部バス150を有する。内部バス150に対して、CPU101、メモリ102、不揮発性メモリ103、画像処理部104、ディスプレイ105、操作部106、記録媒体I/F107、外部I/F109、及び通信I/F110が接続されている。内部バス150に接続される各部は、内部バス150を介して互いにデータのやりとりを行うことが可能である。 Electronic device 100 has a CPU 101, memory 102, non-volatile memory 103, image processing unit 104, display 105, operation unit 106, recording medium interface (I/F) 107, external I/F 109, communication I/F 110, and internal bus 150. CPU 101, memory 102, non-volatile memory 103, image processing unit 104, display 105, operation unit 106, recording medium I/F 107, external I/F 109, and communication I/F 110 are connected to internal bus 150. Each unit connected to internal bus 150 can exchange data with each other via internal bus 150.

CPU101は、電子機器100の各部を制御する。CPU101は、制御手段、画像処理手段の一例である。メモリ102は、例えばRAM(半導体素子を利用した揮発性のメモリ等)である。不揮発性メモリ103には、画像データや音声データ、その他のデータ、CPU101が動作するための各種プログラム等が格納される。不揮発性メモリ103は、例えばハードディスクドライブ(HDD)やソリッドステートドライブ(SSD)やROM等である。CPU101は、例えば不揮発性メモリ103に格納されるプログラムに従い、メモリ102をワークメモリとして用いて、電子機器100の各部を制御する。 CPU 101 controls each part of electronic device 100. CPU 101 is an example of control means or image processing means. Memory 102 is, for example, RAM (volatile memory using semiconductor elements, etc.). Non-volatile memory 103 stores image data, audio data, other data, and various programs for CPU 101 to operate. Non-volatile memory 103 is, for example, a hard disk drive (HDD), solid state drive (SSD), ROM, etc. CPU 101 controls each part of electronic device 100 using memory 102 as work memory in accordance with programs stored in non-volatile memory 103, for example.

画像処理部104は、CPU101の制御に基づいて、不揮発性メモリ103や記録媒体108に格納された画像データや、外部I/F109を介して取得した映像信号、通信I/F110を介して取得した画像データ等に対して各種画像処理を施す。画像処理部104が行う画像処理には、A/D変換処理、D/A変換処理、画像データの符号化処理、圧縮処理、デコード処理、拡大/縮小処理(リサイズ)、ノイズ低減処理、色変換処理、トリミング処理等が含まれる。画像処理部104は、特定の画像処理を施すための専用の回路ブロックで構成しても良い。また、画像処理の種別によっては、画像処理部104を用いずに、CPU101がプログラムに従って画像処理を施すことも可能である。 Under the control of the CPU 101, the image processing unit 104 performs various image processing operations on image data stored in the non-volatile memory 103 or recording medium 108, video signals acquired via the external I/F 109, image data acquired via the communication I/F 110, etc. The image processing operations performed by the image processing unit 104 include A/D conversion, D/A conversion, image data encoding, compression, decoding, enlargement/reduction (resizing), noise reduction, color conversion, and trimming. The image processing unit 104 may be configured with a circuit block dedicated to performing specific image processing operations. Furthermore, depending on the type of image processing, the CPU 101 may perform image processing according to a program without using the image processing unit 104.

ディスプレイ105は、CPU101の制御に基づいて、画像やGUI(Graphical User Interface)を構成するGUI画面等を表示する。ディスプレイ105は、表示手段の一例である。CPU101は、プログラムに従い表示制御信号を生成し、ディスプレイ105に表示するための映像信号を生成してディスプレイ105に出力するように電子機器100の各部を制御する。ディスプレイ105は、出力された映像信号に基づいて映像を表示する。なお、電子機器100自体が備える構成としては、ディスプレイ105に表示させるための映像信号を出力するためのインターフェースまでとし、ディスプレイ105は外付けのモニタ(テレビなど)で構成してもよい。 Under the control of CPU 101, display 105 displays images and GUI screens that constitute a GUI (Graphical User Interface). Display 105 is an example of a display means. CPU 101 generates display control signals according to a program and controls each part of electronic device 100 to generate and output video signals to be displayed on display 105. Display 105 displays images based on the output video signals. Note that electronic device 100 itself may only have an interface for outputting video signals to be displayed on display 105, and display 105 may be configured as an external monitor (such as a television).

操作部106は、ユーザー操作を受け付けるための入力デバイスである。操作部106は、キーボード等の文字情報入力デバイスや、マウスやタッチパネルといったポインティングデバイス、ボタン、ダイヤル、ジョイスティック、タッチセンサ、タッチパッド等を含む。なお、タッチパネルは、ディスプレイ105に重ね合わせて平面的に構成され、接触された位置に応じた座標情報が出力されるようにした入力デバイスである。 The operation unit 106 is an input device for accepting user operations. The operation unit 106 includes a character information input device such as a keyboard, a pointing device such as a mouse or touch panel, a button, a dial, a joystick, a touch sensor, a touchpad, etc. The touch panel is an input device that is configured as a planar surface overlaid on the display 105 and outputs coordinate information according to the position of contact.

記録媒体I/F107は、メモリーカードやCD、DVDといった記録媒体108が装着可能とされ、CPU101の制御に基づき、装着された記録媒体108に対するデータの読み出しや書き込みを行う。外部I/F109は、外部機器と有線ケーブルや無線によって接続し、映像信号や音声信号の入出力を行うためのインターフェースである。通信I/F110は、外部機器やネットワーク111等を介した通信を行い、ファイルやコマンド等の各種データの送受信を行うためのインターフェースである。 The recording medium I/F 107 allows a recording medium 108 such as a memory card, CD, or DVD to be attached, and reads and writes data from and to the attached recording medium 108 under the control of the CPU 101. The external I/F 109 is an interface that connects to an external device via a wired cable or wirelessly, and is used to input and output video and audio signals. The communication I/F 110 is an interface that communicates with external devices or via a network 111, etc., and sends and receives various data such as files and commands.

なお、本実施形態における電子機器を、パーソナルコンピュータを用いて構成した例を説明したが、本実施形態における電子機器は、これに限定されるものではない。すなわち、本実施形態における電子機器は、例えばデジタルカメラ等の撮像装置に適用してもよい。また、メモリーカード等のデジタルカメラが読み取り可能な記録媒体に記録された撮影画像を、デジタルカメラが有する背面液晶装置等のディスプレイに再生表示する際にも、本発明は適用可能である。さらに、PDA、携帯電話端末や携帯型の画像ビューワ、ディスプレイを備えるプリンタ装置、デジタルフォトフレーム、音楽プレーヤー、ゲーム機、電子ブックリーダー等の、画像を表示可能な装置であれば、本発明は適用可能である。 Note that while an example has been described in which the electronic device in this embodiment is configured using a personal computer, the electronic device in this embodiment is not limited to this. That is, the electronic device in this embodiment may also be applied to an imaging device such as a digital camera. The present invention can also be applied when a captured image recorded on a recording medium readable by a digital camera, such as a memory card, is played back and displayed on a display such as a rear LCD device of the digital camera. Furthermore, the present invention can be applied to any device capable of displaying images, such as a PDA, a mobile phone terminal, a portable image viewer, a printer device with a display, a digital photo frame, a music player, a game console, or an e-book reader.

次に、実施形態1における電子機器100で画像のトリミングを行う処理について説明する。以下では、トリミング処理において、トリミング枠がディスプレイにおける表示領域の外に出て見切れてしまうように切り出し領域が指定されている場合に、トリミング枠の色を変更する例について説明する。図2は、本実施形態における電子機器100のトリミング処理の例を示すフローチャートである。図2に示すフローチャートにおける各処理は、CPU101が不揮発性メモリ103に格納されたプログラムをメモリ102に展開して実行することにより実現される。 Next, the process of trimming an image in the electronic device 100 of embodiment 1 will be described. Below, an example of changing the color of the trimming frame when a cropping area is specified in the trimming process such that the trimming frame extends outside the display area of the display and cuts off the image will be described. Figure 2 is a flowchart showing an example of the trimming process in the electronic device 100 of this embodiment. Each process in the flowchart shown in Figure 2 is realized by the CPU 101 loading a program stored in the non-volatile memory 103 into the memory 102 and executing it.

ステップS201では、CPU101は、図3(A)に示すように、ディスプレイ105上にトリミング処理の対象の画像301を表示する。例えばここで画像301は、ディスプレイ105における表示領域の上下左右の4辺すべてに接するように表示されるものとする。なお、画像301は、ディスプレイ105における表示領域の上下2辺もしくは左右2辺に接するように表示されてもよい。 In step S201, CPU 101 displays image 301, which is the target of the trimming process, on display 105, as shown in FIG. 3(A). For example, image 301 is displayed so that it touches all four sides (top, bottom, left, and right) of the display area on display 105. Note that image 301 may also be displayed so that it touches two top, bottom, or two left, right sides of the display area on display 105.

ステップS202では、CPU101は、図3(A)に示すように、ディスプレイ105上に第1の色でトリミング枠302を表示する。 In step S202, the CPU 101 displays a trimming frame 302 in a first color on the display 105, as shown in FIG. 3(A).

ステップS203では、CPU101は、画像301の切り出し領域303をトリミング枠302の内側に設定する。ここで、トリミング枠の内側とは、トリミング枠の内縁を領域の境界として、トリミング枠によって囲まれた領域である(以下においても同様)。つまり、ステップS202及びS203の処理により、枠の内縁を切り出し領域の境界として画像の切り出し領域を示すトリミング枠がディスプレイ105上に表示される。 In step S203, the CPU 101 sets the crop area 303 of the image 301 inside the cropping frame 302. Here, the inside of the cropping frame refers to the area surrounded by the cropping frame, with the inner edge of the cropping frame serving as the boundary of the area (the same applies below). In other words, by the processing of steps S202 and S203, a cropping frame indicating the crop area of the image is displayed on the display 105, with the inner edge of the frame serving as the boundary of the crop area.

ステップS204では、CPU101は、トリミング処理での切り出し領域303を指定し変更するためのユーザー操作の入力を受信したか否かを判定する。切り出し領域303を指定し変更するためのユーザー操作の入力を受信したとCPU101が判定した場合には(ステップS204においてYES)、処理はステップS205へ進む。一方、切り出し領域303を変更するためのユーザー操作の入力を受信していないとCPU101が判定した場合には(ステップS204においてNO)、処理はステップS206へ進む。 In step S204, CPU 101 determines whether or not a user operation input for specifying and changing the cut-out area 303 in the trimming process has been received. If CPU 101 determines that a user operation input for specifying and changing the cut-out area 303 has been received (YES in step S204), processing proceeds to step S205. On the other hand, if CPU 101 determines that a user operation input for changing the cut-out area 303 has not been received (NO in step S204), processing proceeds to step S206.

ステップS205では、CPU101は、トリミング枠の更新処理を行う。トリミング枠の更新処理については後述する。ステップS205でのトリミング枠の更新処理が終了した後、CPU101はステップS204へ戻る。 In step S205, the CPU 101 performs a trimming frame update process. The trimming frame update process will be described later. After the trimming frame update process in step S205 is completed, the CPU 101 returns to step S204.

ステップS206では、CPU101は、トリミング処理での切り出し領域303を確定するためのユーザー操作の入力を受信したか否かを判定する。切り出し領域303を確定するためのユーザー操作の入力を受信したとCPU101が判定した場合には(ステップS206においてYES)、処理はステップS207へ進む。一方、切り出し領域303を確定するためのユーザー操作の入力を受信していないとCPU101が判定した場合には(ステップS206においてNO)、処理はステップS204へ戻る。 In step S206, CPU 101 determines whether or not a user operation input for finalizing cut-out area 303 for the trimming process has been received. If CPU 101 determines that a user operation input for finalizing cut-out area 303 has been received (YES in step S206), processing proceeds to step S207. On the other hand, if CPU 101 determines that a user operation input for finalizing cut-out area 303 has not been received (NO in step S206), processing returns to step S204.

ステップS207では、CPU101は、指定された切り出し領域303に基づいて、画像301をトリミングする処理を実行する。画像301をトリミングした後、CPU101は、トリミング処理を終了する。 In step S207, the CPU 101 executes a process to crop the image 301 based on the specified crop area 303. After cropping the image 301, the CPU 101 ends the cropping process.

図4は、図2のステップS205において実行される、実施形態1におけるトリミング枠の更新処理を示すフローチャートである。図4に示すフローチャートにおける各処理は、CPU101が不揮発性メモリ103に格納されたプログラムをメモリ102に展開して実行することにより実現される。 Figure 4 is a flowchart showing the trimming frame update process in embodiment 1, which is executed in step S205 of Figure 2. Each process in the flowchart shown in Figure 4 is realized by the CPU 101 loading a program stored in non-volatile memory 103 into memory 102 and executing it.

ステップS401では、CPU101は、ユーザー操作による入力に従い、トリミング処理での切り出し領域303の位置や形状を変更する。 In step S401, the CPU 101 changes the position and shape of the crop area 303 in the trimming process in accordance with input from a user operation.

ステップS402では、CPU101は、ディスプレイ105に対して傾いた状態で切り出し領域303が指定されているか否かを判定する。CPU101は、切り出し領域303の境界線に、ディスプレイ105における表示領域の辺に対して平行となる辺が含まれれば傾いていない状態で切り出し領域が指定されていると判定し、そうでなければ傾いた状態で切り出し領域が指定されていると判定する。傾いた状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS402においてYES)、処理はステップS403へ進む。一方、傾いていない状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS402においてNO)、処理はステップS404へ進む。 In step S402, CPU 101 determines whether cutout region 303 has been specified at an angle relative to display 105. If the boundary of cutout region 303 includes an edge that is parallel to an edge of the display area on display 105, CPU 101 determines that the cutout region has been specified without an angle; otherwise, CPU 101 determines that the cutout region has been specified at an angle. If CPU 101 determines that cutout region 303 has been specified at an angle (YES in step S402), processing proceeds to step S403. On the other hand, if CPU 101 determines that cutout region 303 has been specified without an angle (NO in step S402), processing proceeds to step S404.

ステップS403では、CPU101は、第1の色でトリミング枠302をディスプレイ105に表示する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S403, the CPU 101 displays the trimming frame 302 in the first color on the display 105. The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in Figure 2.

ステップS404では、CPU101は、切り出し領域303に画像301の画像端が含まれるか否かを判定する。具体的には、CPU101は、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域303に含まれるか否かを判定する。例えば、ステップS401において、切り出し領域303が図3(B)に示すように切り出し領域305の位置に変更されると、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域305に含まれていると判定される。ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域305に含まれているとCPU101が判定した場合には(ステップS404においてYES)、処理はステップS405へ進む。一方、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域305に含まれていないとCPU101が判定した場合には(ステップS404においてNO)、処理はステップS403へ進む。 In step S404, CPU 101 determines whether the image edge of image 301 is included in cut-out area 303. Specifically, CPU 101 determines whether the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out area 303. For example, in step S401, when cut-out area 303 is changed to the position of cut-out area 305 as shown in FIG. 3(B), it is determined that the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out area 305. If CPU 101 determines that the portion where the side of the display area on display 105 and the side of image 301 meet is included in the specified cut-out area 305 after the change (YES in step S404), processing proceeds to step S405. On the other hand, if the CPU 101 determines that the area where the edge of the display area on the display 105 meets the edge of the image 301 is not included in the specified crop area 305 after the change (NO in step S404), the process proceeds to step S403.

ステップS405では、CPU101は、図3(B)に示すように、第1の色とは異なる第2の色でトリミング枠304をディスプレイ105に表示する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S405, the CPU 101 displays the trimming frame 304 on the display 105 in a second color different from the first color, as shown in FIG. 3(B). The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in FIG. 2.

このように、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域305に含まれる場合、図4のステップS405において、トリミング枠304を第1の色とは異なる第2の色で表示するように処理を行っている。ここでトリミング枠304の色をトリミング処理の開始時点とは異なる色で表示することで、トリミング枠304の一部がディスプレイ105における表示領域の外に出て表示されていない状態であることをユーザーに示すことができる。 In this way, if the portion where the edge of the display area on the display 105 meets the edge of the image 301 is included in the crop area 305, in step S405 of FIG. 4, processing is performed to display the trimming frame 304 in a second color different from the first color. Here, by displaying the trimming frame 304 in a color different from the color at the start of the trimming process, it is possible to indicate to the user that part of the trimming frame 304 has moved outside the display area on the display 105 and is not being displayed.

なお、図4のステップS405において、CPU101は、トリミング枠304を第1の色とは異なる第2の色で表示するように処理を行っているが、これに限定されるものではない。CPU101は、例えば、トリミング枠304を破線もしくは点線など、トリミング処理の開始時点とは異なる状態で表示するように処理を行ってもよい。さらに、トリミング枠304を点滅させて表示するように処理を行ってもよい。他にも、トリミング枠304の太さを変更して表示するように処理を行ってもよい。また、トリミング枠304全体の色を変更するのではなく、トリミング枠304の4つの辺のうち、画像端に接する辺のみ表示形態を変更するようにしてもよい。また、これらの表示形態を適宜組み合わせてトリミング枠304を表示するように処理を行ってもよい。ここで示す通り、トリミング処理の開始時点とトリミング枠304の表示形態を変更することで、トリミング枠304の一部がディスプレイ105における表示領域の外に出て表示されていない状態であることをユーザーに示すことができる。 Note that in step S405 of FIG. 4, CPU 101 performs processing to display trimming frame 304 in a second color different from the first color, but this is not limited to this. CPU 101 may perform processing to display trimming frame 304 in a state different from that at the start of the trimming process, such as a dashed or dotted line. Furthermore, processing may be performed to display trimming frame 304 by blinking. Alternatively, processing may be performed to change the thickness of trimming frame 304. Furthermore, rather than changing the color of the entire trimming frame 304, the display form of only the four sides of trimming frame 304 that are in contact with the edge of the image may be changed. Furthermore, processing may be performed to display trimming frame 304 using an appropriate combination of these display forms. As shown here, by changing the display form of trimming frame 304 from that at the start of the trimming process, it is possible to indicate to the user that part of trimming frame 304 is outside the display area of display 105 and is not displayed.

電子機器100は、図2及び図4に示した処理を行い、トリミング枠304の一部がディスプレイ105の表示領域の外に出て表示されていない場合のみ、トリミング枠304の表示形態を変更する。このように、トリミング枠の一部がディスプレイ105における表示領域の外に出た場合にトリミング枠の表現が変更されるため、トリミング処理での切り出し領域305に画像301の端まで含まれることをユーザーに明確に示すことができる。 Electronic device 100 performs the processing shown in Figures 2 and 4, and changes the display format of trimming frame 304 only if part of trimming frame 304 is outside the display area of display 105 and is not displayed. In this way, the representation of the trimming frame is changed when part of the trimming frame is outside the display area of display 105, making it possible to clearly show the user that the cut-out area 305 used in the trimming process includes the edge of image 301.

(実施形態2)
実施形態2では、トリミング枠がディスプレイにおける表示領域の外に出て見切れてしまうように切り出し領域が指定されている場合に、切り出し領域をトリミング枠の内側から外側に変更する例について説明する。ここで、トリミング枠の外側とは、トリミング枠の外縁を領域の境界として、トリミング枠によって囲まれた領域である(以下においても同様)。
(Embodiment 2)
In the second embodiment, an example will be described in which, when a cropping area is specified such that the cropping frame extends outside the display area of the display, the cropping area is changed from inside to outside the cropping frame. Here, "outside the cropping frame" refers to the area surrounded by the cropping frame, with the outer edge of the cropping frame as the boundary of the area (the same applies hereinafter).

実施形態2における電子機器100の構成は、実施形態1における電子機器100の構成と同様であるので説明は省略する。また、実施形態2における電子機器100のトリミング処理は、トリミング枠の更新処理(図2のステップS205)を除いて、図2を参照して説明した実施形態1におけるトリミング処理と同様であるので、同様の処理については説明を省略する。以下では、実施形態2におけるトリミング枠の更新処理について説明する。 The configuration of the electronic device 100 in embodiment 2 is similar to the configuration of the electronic device 100 in embodiment 1, and therefore a description thereof will be omitted. Furthermore, the trimming process of the electronic device 100 in embodiment 2 is similar to the trimming process in embodiment 1 described with reference to FIG. 2, except for the trimming frame update process (step S205 in FIG. 2), and therefore a description of the similar processes will be omitted. Below, the trimming frame update process in embodiment 2 will be described.

図5は、実施形態2におけるトリミング枠の更新処理を示すフローチャートである。図5に示すフローチャートにおける各処理は、CPU101が不揮発性メモリ103に格納されたプログラムをメモリ102に展開して実行することにより実現される。 Figure 5 is a flowchart showing the process of updating the trimming frame in embodiment 2. Each process in the flowchart shown in Figure 5 is realized by the CPU 101 loading a program stored in the non-volatile memory 103 into the memory 102 and executing it.

ステップS501では、CPU101は、ユーザー操作による入力に従い、トリミング処理での切り出し領域303の位置や形状を変更する。 In step S501, the CPU 101 changes the position and shape of the crop area 303 in the trimming process in accordance with input from a user operation.

ステップS502では、CPU101は、ディスプレイ105に対して傾いた状態で切り出し領域303が指定されているか否かを判定する。傾いた状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS502においてYES)、処理はステップS503へ進む。一方、傾いていない状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS502においてNO)、処理はステップS504へ進む。 In step S502, CPU 101 determines whether cutout area 303 has been specified in a tilted state with respect to display 105. If CPU 101 determines that cutout area 303 has been specified in a tilted state (YES in step S502), processing proceeds to step S503. On the other hand, if CPU 101 determines that cutout area 303 has been specified in a non-tilted state (NO in step S502), processing proceeds to step S504.

ステップS503では、CPU101は、画像301の切り出し領域303をトリミング枠302の内側に設定する。すなわち、CPU101は、トリミング枠302の内縁を領域の境界としてトリミング枠302によって囲まれた領域を画像301の切り出し領域に設定する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S503, CPU 101 sets crop area 303 of image 301 inside cropping frame 302. That is, CPU 101 sets the area surrounded by cropping frame 302, with the inner edge of cropping frame 302 as the boundary of the area, as the crop area of image 301. CPU 101 then ends the cropping frame update process and returns to the processing of the flowchart shown in Figure 2.

ステップS504では、CPU101は、切り出し領域303に画像301の画像端が含まれるか否かを判定する。具体的には、CPU101は、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域303に含まれるか否かを判定する。例えば、ステップS501において、切り出し領域303が、図6に示すように切り出し領域601の位置に変更されると、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域601に含まれていると判定される。ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域601に含まれているとCPU101が判定した場合には(ステップS504においてYES)、処理はステップS505へ進む。一方、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域601に含まれていないとCPU101が判定した場合には(ステップS504においてNO)、処理はステップS503へ進む。 In step S504, CPU 101 determines whether the image edge of image 301 is included in cut-out region 303. Specifically, CPU 101 determines whether the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out region 303. For example, in step S501, when cut-out region 303 is changed to the position of cut-out region 601 as shown in FIG. 6, it is determined that the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out region 601. If CPU 101 determines that the portion where the side of the display area on display 105 and the side of image 301 meet is included in the specified cut-out region 601 after the change (YES in step S504), processing proceeds to step S505. On the other hand, if the CPU 101 determines that the area where the edge of the display area on the display 105 meets the edge of the image 301 is not included in the specified crop area 601 after the change (NO in step S504), the process proceeds to step S503.

ステップS505では、CPU101は、図6に示すように、画像301の切り出し領域601をトリミング枠602の外側に設定する。すなわち、CPU101は、トリミング枠602の外縁を領域の境界としてトリミング枠602によって囲まれた領域を画像301の切り出し領域に設定する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S505, the CPU 101 sets the crop area 601 of the image 301 outside the trimming frame 602, as shown in FIG. 6. That is, the CPU 101 sets the area surrounded by the trimming frame 602, with the outer edge of the trimming frame 602 as the boundary of the area, as the crop area of the image 301. The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in FIG. 2.

このように、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域601に含まれる場合、ステップS505において、切り出し領域601をトリミング枠602の内側から外側に変更するように処理を行っている。切り出し領域601をトリミング枠602の内側から外側に変更することで、トリミング枠602のすべての部分がディスプレイ105上に表示されるようになるため、トリミング枠602の一部が表示されなくなる状態を防ぐことができる。また、トリミング枠304全体について、切り出し領域601をトリミング枠602の内側から外側に変更せずに、トリミング枠304の4つの辺のうち、画像端に接する辺のみ切り出し領域601をトリミング枠602の内側から外側に変更してもよい。また、実施形態1と組み合わせて、切り出し領域601の境界が内側から外側に変更した辺の表示形態を変えることにより、内側から外側に変更されたことをユーザーにわかりやすく通知するようにしてもよい。 In this way, if the portion where the edge of the display area on the display 105 meets the edge of the image 301 is included in the clipping area 601, processing is performed in step S505 to change the clipping area 601 from inside to outside the trimming frame 602. By changing the clipping area 601 from inside to outside the trimming frame 602, all of the trimming frame 602 is displayed on the display 105, preventing a state in which part of the trimming frame 602 is not displayed. Alternatively, instead of changing the clipping area 601 for the entire trimming frame 304 from inside to outside the trimming frame 602, the clipping area 601 may be changed from inside to outside only for the four edges of the trimming frame 304 that are in contact with the edge of the image. Furthermore, in combination with embodiment 1, the display format of the edge of the clipping area 601 that has been changed from inside to outside may be changed to clearly notify the user that the boundary has been changed from inside to outside.

電子機器100は、図2及び図5に示した処理を行い、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域601に含まれる場合のみ、切り出し領域601をトリミング枠602の内側から外側に変更する。これにより、トリミング枠602のすべての部分がディスプレイ105上に表示され、トリミング処理での切り出し領域を明確に示すことができ、切り出し領域601に画像301の端まで含まれることをユーザーに明確に示すことができる。 Electronic device 100 performs the processing shown in Figures 2 and 5, and changes clipping area 601 from inside to outside trimming frame 602 only if the area where the edge of the display area on display 105 meets the edge of image 301 is included in clipping area 601. This causes all parts of trimming frame 602 to be displayed on display 105, clearly indicating the clipping area used in the trimming process and clearly indicating to the user that clipping area 601 includes the entire edge of image 301.

(実施形態3)
実施形態3では、トリミング枠がディスプレイにおける表示領域の外に出て見切れてしまうように切り出し領域が指定されている場合に、トリミング枠を非表示にし、切り出し領域以外の画像の他の領域を所定の色で表示するよう変更する例について説明する。
(Embodiment 3)
In embodiment 3, an example is described in which, when a cropping area is specified such that the cropping frame extends outside the display area on the display and is cut off, the cropping frame is hidden and other areas of the image other than the cropping area are displayed in a specified color.

実施形態3における電子機器100の構成は、実施形態1における電子機器100の構成と同様であるので説明は省略する。また、実施形態3における電子機器100のトリミング処理は、トリミング枠の更新処理(図2のステップS205)を除いて、図2を参照して説明した実施形態1におけるトリミング処理と同様であるので、同様の処理については説明を省略する。以下では、実施形態3におけるトリミング枠の更新処理について説明する。 The configuration of the electronic device 100 in embodiment 3 is similar to the configuration of the electronic device 100 in embodiment 1, and therefore a description thereof will be omitted. Furthermore, the trimming process of the electronic device 100 in embodiment 3 is similar to the trimming process in embodiment 1 described with reference to FIG. 2, except for the trimming frame update process (step S205 in FIG. 2), and therefore a description of the similar processes will be omitted. Below, the trimming frame update process in embodiment 3 will be described.

図7は、実施形態3におけるトリミング枠の更新処理を示すフローチャートである。図7に示すフローチャートにおける各処理は、CPU101が不揮発性メモリ103に格納されたプログラムをメモリ102に展開して実行することにより実現される。 Figure 7 is a flowchart showing the process of updating the trimming frame in embodiment 3. Each process in the flowchart shown in Figure 7 is realized by the CPU 101 loading a program stored in the non-volatile memory 103 into the memory 102 and executing it.

ステップS701では、CPU101は、ユーザー操作による入力に従い、トリミング処理での切り出し領域303の位置や形状を変更する。 In step S701, the CPU 101 changes the position and shape of the crop area 303 in the trimming process in accordance with input from a user operation.

ステップS702では、CPU101は、ディスプレイ105に対して傾いた状態で切り出し領域303が指定されているか否かを判定する。傾いた状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS702においてYES)、処理はステップS703へ進む。一方、傾いていない状態で切り出し領域303が指定されているとCPU101が判定した場合には(ステップS702においてNO)、処理はステップS705へ進む。 In step S702, CPU 101 determines whether or not cut-out area 303 has been specified in a tilted state with respect to display 105. If CPU 101 determines that cut-out area 303 has been specified in a tilted state (YES in step S702), processing proceeds to step S703. On the other hand, if CPU 101 determines that cut-out area 303 has been specified in a non-tilted state (NO in step S702), processing proceeds to step S705.

ステップS703では、CPU101は、画像301の色の変更を行わずに、トリミング処理の開始時点と同様の状態で画像301をディスプレイ105に表示する。 In step S703, CPU 101 displays image 301 on display 105 in the same state as at the start of the trimming process, without changing the color of image 301.

ステップS704では、CPU101は、第1の色でトリミング枠302をディスプレイ105に表示する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S704, the CPU 101 displays the trimming frame 302 in the first color on the display 105. The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in Figure 2.

ステップS705では、CPU101は、切り出し領域303に画像301の画像端が含まれるか否かを判定する。具体的には、CPU101は、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域303に含まれるか否かを判定する。例えば、ステップS701において、切り出し領域303が、図8に示すように切り出し領域801の位置に変更されると、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域801に含まれていると判定される。ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域801に含まれているとCPU101が判定した場合には(ステップS705においてYES)、処理はステップS706へ進む。一方、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が変更後の指定された切り出し領域801に含まれていないとCPU101が判定した場合には(ステップS705においてNO)、処理はステップS703へ進む。 In step S705, CPU 101 determines whether the image edge of image 301 is included in cut-out region 303. Specifically, CPU 101 determines whether the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out region 303. For example, in step S701, when cut-out region 303 is changed to the position of cut-out region 801 as shown in FIG. 8, it is determined that the portion where the side of the display area on display 105 and the side of image 301 meet is included in cut-out region 801. If CPU 101 determines that the portion where the side of the display area on display 105 and the side of image 301 meet is included in the specified cut-out region 801 after the change (YES in step S705), processing proceeds to step S706. On the other hand, if the CPU 101 determines that the area where the edge of the display area on the display 105 meets the edge of the image 301 is not included in the specified crop area 801 after the change (NO in step S705), processing proceeds to step S703.

ステップS706では、CPU101は、図8に示すように、画像301において切り出し領域801以外の他の領域802を所定の色で表示する。例えば、CPU101は、他の領域802について半透明の灰色を画像301の上にかぶせた状態でディスプレイ105に表示する。 In step S706, the CPU 101 displays the other areas 802 of the image 301 other than the cut-out area 801 in a predetermined color, as shown in FIG. 8. For example, the CPU 101 displays the other areas 802 on the display 105 with a semi-transparent gray color overlaid on the image 301.

ステップS707では、CPU101は、トリミング枠302を非表示にする。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S707, the CPU 101 hides the trimming frame 302. The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in Figure 2.

このように、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域801に含まれる場合、ステップS707において、トリミング枠302を非表示にするように処理を行っている。トリミング枠302が非表示となるため、トリミング枠302の一部が表示されなくなる状態を防ぐことができる。また、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域801に含まれる場合、ステップS706において、画像301の他の領域802を所定の色に変更する処理を行っている。ここで他の領域802を所定の色で表示するのは、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域801に含まれる場合のみであり、画像の全体像が常に視認しにくくなるということはない。 In this way, if the portion where the edge of the display area on display 105 meets the edge of image 301 is included in cutout area 801, processing is performed in step S707 to hide trimming frame 302. By hiding trimming frame 302, it is possible to prevent a state in which part of trimming frame 302 is not displayed. Furthermore, if the portion where the edge of the display area on display 105 meets the edge of image 301 is included in cutout area 801, processing is performed in step S706 to change other areas 802 of image 301 to a predetermined color. Here, other areas 802 are displayed in the predetermined color only when the portion where the edge of the display area on display 105 meets the edge of image 301 is included in cutout area 801, so the entire image does not always become difficult to see.

電子機器100は、図2及び図7に示した処理を行い、ディスプレイ105における表示領域の辺と画像301の辺が接する部分が切り出し領域801に含まれる場合のみ、他の領域802を所定の色に変更し、かつトリミング枠302を非表示にする。これにより、トリミング処理での切り出し領域を明確に示すことができ、切り出し領域801に画像301の端まで含まれることをユーザーに明確に示すことができる。 Electronic device 100 performs the processing shown in Figures 2 and 7, and changes the other area 802 to a predetermined color and hides trimming frame 302 only when the area where the edge of the display area on display 105 meets the edge of image 301 is included in cutout area 801. This makes it possible to clearly indicate the cutout area in the trimming process, and clearly shows the user that cutout area 801 includes the entire edge of image 301.

(実施形態4)
実施形態4では、画像全体がトリミング処理での切り出し領域として指定されている場合に、切り出し領域をトリミング枠の内側から外側に変更する例について説明する。
(Embodiment 4)
In the fourth embodiment, an example will be described in which, when the entire image is designated as the cut-out region for the trimming process, the cut-out region is changed from inside to outside the trimming frame.

実施形態4における電子機器100の構成は、実施形態1における電子機器100の構成と同様であるので説明は省略する。また、実施形態4における電子機器100のトリミング処理は、トリミング枠の更新処理(図2のステップS205)を除いて、図2を参照して説明した実施形態1におけるトリミング処理と同様であるので、同様の処理については説明を省略する。以下では、実施形態4におけるトリミング枠の更新処理について説明する。 The configuration of the electronic device 100 in embodiment 4 is similar to the configuration of the electronic device 100 in embodiment 1, and therefore a description thereof will be omitted. Furthermore, the trimming process of the electronic device 100 in embodiment 4 is similar to the trimming process in embodiment 1 described with reference to FIG. 2, except for the trimming frame update process (step S205 in FIG. 2), and therefore a description of the similar processes will be omitted. Below, the trimming frame update process in embodiment 4 will be described.

図9は、実施形態4におけるトリミング枠の更新処理を示すフローチャートである。図9に示すフローチャートにおける各処理は、CPU101が不揮発性メモリ103に格納されたプログラムをメモリ102に展開して実行することにより実現される。 Figure 9 is a flowchart showing the process of updating the trimming frame in embodiment 4. Each process in the flowchart shown in Figure 9 is realized by the CPU 101 loading a program stored in the non-volatile memory 103 into the memory 102 and executing it.

ステップS901では、CPU101は、ユーザー操作による入力に従い、トリミング処理での切り出し領域303の位置や形状を変更する。 In step S901, the CPU 101 changes the position and shape of the crop area 303 in the trimming process in accordance with input from a user operation.

ステップS902では、CPU101は、画像301のすべての部分を含むように切り出し領域303が指定されているか否か判定する。例えば、ステップS901において、切り出し領域303が、図10に示すように切り出し領域1001の位置に変更されると、画像301のすべての部分が切り出し領域1001に含まれていると判定される。画像301のすべての部分を含むように切り出し領域1001が指定されているとCPU101が判定した場合には(ステップS902においてYES)、処理はステップS903へ進む。一方、画像301のすべての部分を含むように切り出し領域1001が指定されていないとCPU101が判定した場合には(ステップS902においてNO)、処理はステップS904へ進む。 In step S902, CPU 101 determines whether cut-out region 303 has been specified to include all parts of image 301. For example, in step S901, if cut-out region 303 is changed to the position of cut-out region 1001 as shown in FIG. 10, it is determined that all parts of image 301 are included in cut-out region 1001. If CPU 101 determines that cut-out region 1001 has been specified to include all parts of image 301 (YES in step S902), processing proceeds to step S903. On the other hand, if CPU 101 determines that cut-out region 1001 has not been specified to include all parts of image 301 (NO in step S902), processing proceeds to step S904.

ステップS903では、CPU101は、画像301の切り出し領域1001をトリミング枠1002の外側に設定する。すなわち、CPU101は、トリミング枠1002の外縁を領域の境界としてトリミング枠1002によって囲まれた領域を画像301の切り出し領域に設定する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S903, the CPU 101 sets the crop area 1001 of the image 301 outside the trimming frame 1002. That is, the CPU 101 sets the area surrounded by the trimming frame 1002, with the outer edge of the trimming frame 1002 as the boundary of the area, as the crop area of the image 301. The CPU 101 then ends the trimming frame update process and returns to the processing of the flowchart shown in Figure 2.

ステップS903では、CPU101は、画像301の切り出し領域303をトリミング枠302の内側に設定する。すなわち、CPU101は、トリミング枠302の内縁を領域の境界としてトリミング枠302によって囲まれた領域を画像301の切り出し領域に設定する。そして、CPU101は、トリミング枠の更新処理を終了し、図2に示したフローチャートの処理に戻る。 In step S903, CPU 101 sets crop area 303 of image 301 inside cropping frame 302. That is, CPU 101 sets the area surrounded by cropping frame 302, with the inner edge of cropping frame 302 as the boundary of the area, as the crop area of image 301. CPU 101 then ends the cropping frame update process and returns to the processing of the flowchart shown in Figure 2.

このように、切り出し領域1001が画像301のすべての部分を含むように指定している場合、ステップS903の処理において、切り出し領域1001をトリミング枠1002の内側から外側に変更するように処理を行っている。切り出し領域1001をトリミング枠1002の内側から外側に変更することでトリミング枠1002のすべての部分がディスプレイ105に表示されるようになるため、トリミング枠1002の一部又はすべての部分が表示されなくなる状態を防ぐことができる。 In this way, when the crop area 1001 is specified to include all parts of the image 301, the processing in step S903 is performed to change the crop area 1001 from inside to outside the cropping frame 1002. By changing the crop area 1001 from inside to outside the cropping frame 1002, all parts of the cropping frame 1002 are displayed on the display 105, thereby preventing a situation in which some or all parts of the cropping frame 1002 are not displayed.

電子機器100は、図2及び図10に示した処理を行い、切り出し領域1001が画像301のすべての部分を含むように指定している場合のみ、切り出し領域1001をトリミング枠1002の内側から外側に変更する。これにより、トリミング処理での切り出し領域を明確に示すことができ、切り出し領域1001に画像301のすべての部分が含まれることをユーザーに明確に示すことができる。 Electronic device 100 performs the processing shown in Figures 2 and 10, and changes crop area 1001 from inside to outside trimming frame 1002 only if crop area 1001 is specified to include all parts of image 301. This makes it possible to clearly indicate the crop area used in the cropping process, and clearly shows the user that crop area 1001 includes all parts of image 301.

なお、前述した各実施形態では、図2のステップS207において、電子機器100が切り出し領域に基づいて画像をトリミングする処理を行うようにしている。しかし、これに限定されるものではなく、電子機器100が、指定された切り出し領域に係る情報を含むトリミング処理の指示を他の装置に通知し、その通知を受けた装置が切り出し領域に係る情報に基づいて画像をトリミングする処理を行うようにしてもよい。 In each of the above-described embodiments, in step S207 of FIG. 2, electronic device 100 performs processing to crop the image based on the crop area. However, this is not limited to this, and electronic device 100 may notify another device of a cropping processing instruction that includes information related to the specified crop area, and the device that receives the notification may perform processing to crop the image based on the information related to the crop area.

また、前述した各実施形態においてCPU101が行うものとして説明した各種制御は1つのハードウェアが行ってもよいし、複数のハードウェア(例えば、複数のプロセッサや回路)が処理を分担することで、装置全体の制御を行ってもよい。 Furthermore, the various controls described in the above embodiments as being performed by the CPU 101 may be performed by a single piece of hardware, or the entire device may be controlled by multiple pieces of hardware (e.g., multiple processors or circuits) sharing the processing.

また、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。さらに、前述した各実施形態は本発明の一実施形態を示すものにすぎず、各実施形態を適宜組み合わせることも可能である。 While the present invention has been described in detail based on preferred embodiments, the present invention is not limited to these specific embodiments, and various forms within the scope of the gist of the invention are also included in the present invention. Furthermore, each of the above-described embodiments merely represents one embodiment of the present invention, and each embodiment can be combined as appropriate.

また、前述した実施形態においては、本発明をパーソナルコンピュータ等の電子機器100に適用した場合を例にして説明したが、これはこの例に限定されず、トリミング処理に係る画像を表示可能な装置であれば適用可能である。すなわち、本発明は、デジタルカメラやパーソナルコンピュータやPDA、携帯電話端末や携帯型の画像ビューワ、ディスプレイを備えるプリンタ装置、デジタルフォトフレーム、音楽プレーヤー、ゲーム機、電子ブックリーダーなどに適用可能である。 In addition, in the above-described embodiment, the present invention has been described as being applied to an electronic device 100 such as a personal computer, but this is not limited to this example and can be applied to any device that can display images related to trimming processing. In other words, the present invention can be applied to digital cameras, personal computers, PDAs, mobile phone terminals, portable image viewers, printer devices with displays, digital photo frames, music players, game consoles, e-book readers, and the like.

(本発明の他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Another embodiment of the present invention)
The present invention can also be realized by a process in which a program that realizes one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device read and execute the program.The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more of the functions.

100:電子機器 101:CPU 102:メモリ 103:不揮発性メモリ 104:画像処理部 105:ディスプレイ 106:操作部 100: Electronic device 101: CPU 102: Memory 103: Non-volatile memory 104: Image processing unit 105: Display 106: Operation unit

Claims (13)

画像を表示する表示手段と、
前記画像の切り出し領域を指定する指定手段と、
前記指定手段により指定された前記切り出し領域を示す枠を、前記表示手段に前記画像と共に表示するよう制御する制御手段とを有し、
前記制御手段は、
前記枠の内縁が前記切り出し領域の境界となるように前記枠を表示するように制御し、
前記指定手段により指定された前記切り出し領域と前記表示手段に表示された前記画像の辺が接する場合、前記枠の表示形態を変更することを特徴とする電子機器。
a display means for displaying an image;
a designation means for designating a region to be cut out from the image;
a control means for controlling the display means to display a frame indicating the cut-out area designated by the designation means together with the image;
The control means
Controlling the display of the frame so that the inner edge of the frame becomes the boundary of the cutout area;
10. An electronic device comprising: an image display unit configured to display an image of an image displayed on a display device; a display mode of the image frame; a display area of the image displayed on the display unit;
指定された前記切り出し領域に従って前記画像をトリミングする画像処理手段を有することを特徴とする請求項1に記載の電子機器。 The electronic device described in claim 1 further comprises image processing means for cropping the image according to the specified crop area. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記枠の色を変更することを特徴とする請求項1又は2に記載の電子機器。 The electronic device described in claim 1 or 2, characterized in that the control means changes the color of the frame when the specified crop area abuts a side of the image displayed adjacent to the display area of the display means. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記枠を破線又は点線で表示するように制御することを特徴とする請求項1~3の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 3, characterized in that the control means controls the display so that the frame is displayed as a dashed or dotted line when the specified crop area abuts a side of the image that is displayed adjacent to the display area of the display means. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記枠を点滅させて表示するように制御することを特徴とする請求項1~4の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 4, characterized in that the control means controls the frame to blink when the specified crop area abuts a side of the image displayed adjacent to the display area of the display means. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記枠の太さを変更することを特徴とする請求項1~5の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 5, characterized in that the control means changes the thickness of the frame when the specified crop area abuts a side of the image that is displayed adjacent to the display area of the display means. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記切り出し領域の境界を前記枠の内縁から前記枠の外縁に変更することを特徴とする請求項1~6の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 6, wherein the control means changes the boundary of the clipping area from the inner edge of the frame to the outer edge of the frame when the specified clipping area abuts a side of the image that is displayed adjacent to the display area of the display means. 前記制御手段は、指定された前記切り出し領域が、前記画像の辺と接する場合、前記枠のうち前記画像の辺と接する前記枠の辺の表示形態を変更することを特徴とする請求項1~7の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 7, characterized in that the control means changes the display mode of the edge of the frame that is in contact with the edge of the image when the specified crop area is in contact with the edge of the image. 前記制御手段は、指定された前記切り出し領域が、前記表示手段の表示領域に接して表示される前記画像の辺と接する場合、前記枠を非表示にし、前記切り出し領域以外の前記画像の他の領域を所定の色で表示するように制御することを特徴とする請求項1又は2に記載の電子機器。 The electronic device described in claim 1 or 2, characterized in that the control means controls the display so that, when the specified cutout area abuts a side of the image that is displayed adjacent to the display area of the display means, the frame is hidden and other areas of the image other than the cutout area are displayed in a predetermined color. 前記制御手段は、前記画像のすべての部分を含むように前記切り出し領域が指定された場合、前記切り出し領域の境界を前記枠の内縁から前記枠の外縁に変更することを特徴とする請求項1又は2に記載の電子機器。 The electronic device described in claim 1 or 2, characterized in that the control means changes the boundary of the cropping area from the inner edge of the frame to the outer edge of the frame when the cropping area is specified to include all parts of the image. 前記制御手段は、前記表示手段における表示領域に対して傾いた状態で前記切り出し領域が指定されている場合、前記枠の表示形態を変更しないことを特徴とする請求項1~10の何れか1項に記載の電子機器。 The electronic device described in any one of claims 1 to 10, characterized in that the control means does not change the display mode of the frame when the crop area is specified in a state tilted relative to the display area of the display means. 画像を表示手段に表示する工程と、
前記画像の切り出し領域を指定する工程と、
指定された前記切り出し領域を示す枠を、前記表示手段に前記画像と共に表示するよう制御する工程とを有し、
前記制御する工程では、前記枠の内縁が前記切り出し領域の境界となるように前記枠を表示するように制御し、指定された前記切り出し領域と前記表示手段に表示された前記画像の辺が接する場合、前記枠の表示形態を変更することを特徴とする電子機器の制御方法。
displaying the image on a display means;
designating a region to be cut out from the image;
and controlling the display means to display a frame indicating the designated cut-out area together with the image,
A control method for an electronic device, characterized in that in the controlling step, the frame is controlled to be displayed so that the inner edge of the frame becomes the boundary of the cut-out area, and if the specified cut-out area and a side of the image displayed on the display means are in contact with each other, the display form of the frame is changed.
電子機器のコンピュータに、
画像を表示手段に表示するステップと、
前記画像の切り出し領域を指定するステップと、
指定された前記切り出し領域を示す枠を、前記表示手段に前記画像と共に表示するよう制御するステップとを実行させ、
前記制御するステップでは、前記枠の内縁が前記切り出し領域の境界となるように前記枠を表示するように制御し、指定された前記切り出し領域と前記表示手段に表示された前記画像の辺が接する場合、前記枠の表示形態を変更する処理を実行させるためのプログラム。
For electronic devices, computers,
displaying the image on a display means;
designating a region to be cut out from the image;
and controlling the display means to display a frame indicating the specified cut-out area together with the image,
In the control step, the program controls the display of the frame so that the inner edge of the frame becomes the boundary of the cut-out area, and executes processing to change the display form of the frame when the specified cut-out area and a side of the image displayed on the display means are in contact.
JP2022060773A 2022-03-31 2022-03-31 Electronic device, electronic device control method, and program Active JP7809575B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022060773A JP7809575B2 (en) 2022-03-31 2022-03-31 Electronic device, electronic device control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022060773A JP7809575B2 (en) 2022-03-31 2022-03-31 Electronic device, electronic device control method, and program

Publications (2)

Publication Number Publication Date
JP2023151258A JP2023151258A (en) 2023-10-16
JP7809575B2 true JP7809575B2 (en) 2026-02-02

Family

ID=88326906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022060773A Active JP7809575B2 (en) 2022-03-31 2022-03-31 Electronic device, electronic device control method, and program

Country Status (1)

Country Link
JP (1) JP7809575B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318393A (en) 2006-05-25 2007-12-06 Fujifilm Corp Trimmed image display device and program
JP2009177359A (en) 2008-01-22 2009-08-06 Canon Inc Image editing apparatus, image editing method and program
JP2013153376A (en) 2012-01-26 2013-08-08 Sony Corp Image processing apparatus, image processing method, and recording medium
JP2014217032A (en) 2013-04-30 2014-11-17 ソニー株式会社 Image processing apparatus, image processing method and program
US20150160840A1 (en) 2013-12-09 2015-06-11 Lg Electronics Inc. Display device and method of controlling the same
JP2016158811A (en) 2015-02-27 2016-09-05 キヤノン株式会社 Control apparatus, control method, medical imaging apparatus, medical imaging system, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573655A (en) * 1991-09-17 1993-03-26 Minolta Camera Co Ltd Picture editing device
JP2004016282A (en) * 2002-06-12 2004-01-22 Olympus Corp Image processor for endoscope
JP4692102B2 (en) * 2005-06-28 2011-06-01 セイコーエプソン株式会社 Specify image area
JP5322799B2 (en) * 2009-06-18 2013-10-23 オリンパスイメージング株式会社 Imaging apparatus and imaging method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007318393A (en) 2006-05-25 2007-12-06 Fujifilm Corp Trimmed image display device and program
JP2009177359A (en) 2008-01-22 2009-08-06 Canon Inc Image editing apparatus, image editing method and program
JP2013153376A (en) 2012-01-26 2013-08-08 Sony Corp Image processing apparatus, image processing method, and recording medium
JP2014217032A (en) 2013-04-30 2014-11-17 ソニー株式会社 Image processing apparatus, image processing method and program
US20150160840A1 (en) 2013-12-09 2015-06-11 Lg Electronics Inc. Display device and method of controlling the same
JP2016158811A (en) 2015-02-27 2016-09-05 キヤノン株式会社 Control apparatus, control method, medical imaging apparatus, medical imaging system, and program

Also Published As

Publication number Publication date
JP2023151258A (en) 2023-10-16

Similar Documents

Publication Publication Date Title
US10547778B2 (en) Image display device for displaying an image in an image display area, and storage medium storing image display program for displaying an image in an image display area
US9324257B2 (en) Display control apparatus and display control method
EP2811731B1 (en) Electronic device for editing dual image and method thereof
JP6354653B2 (en) Augmented reality operation system and augmented reality operation program
JP2009063822A (en) Image display control device, image display control method, program, and recording medium
JP5893456B2 (en) Display control apparatus, control method therefor, program, and storage medium
US10438630B2 (en) Display control apparatus that performs time-line display, method of controlling the same, and storage medium
JP5220157B2 (en) Information processing apparatus, control method therefor, program, and storage medium
US20180081535A1 (en) Document viewing apparatus and program
US20120281022A1 (en) Electronic apparatus and image display method
US20170038953A1 (en) Display apparatus and display method for displaying main data and data related to that main data, and a memory medium
JP7809575B2 (en) Electronic device, electronic device control method, and program
JP5221694B2 (en) Electronic device, object display method, and object display program.
CN102349043B (en) Display area control apparatus, display area control method, and integrated circuit
KR20170055906A (en) A data prcessing device, data processing method and computer readable storage medium
JP6779778B2 (en) Display control device and its control method
JP5419783B2 (en) Image reproducing apparatus and method for controlling image reproducing apparatus
JP7805795B2 (en) Business card management system and business card management program
JP7553861B1 (en) Capture program and information processing device
JP7625959B2 (en) DISPLAY CONTROL METHOD, DISPLAY CONTROL PROGRAM, AND DISPLAY CONTROL DEVICE
JP2014106596A (en) Information processor, control method thereof, and program
JP7098353B2 (en) Electronic devices, their programs, storage media for their programs, and display control methods
JP7034729B2 (en) Display control device, its control method, and control program
WO2025239132A1 (en) Information processing device, information processing method, and program
US20160035117A1 (en) Image display apparatus, image display method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250324

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251215

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20251223

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260121

R150 Certificate of patent or registration of utility model

Ref document number: 7809575

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150