JP6384236B2 - Control program and information processing apparatus - Google Patents

Control program and information processing apparatus Download PDF

Info

Publication number
JP6384236B2
JP6384236B2 JP2014198137A JP2014198137A JP6384236B2 JP 6384236 B2 JP6384236 B2 JP 6384236B2 JP 2014198137 A JP2014198137 A JP 2014198137A JP 2014198137 A JP2014198137 A JP 2014198137A JP 6384236 B2 JP6384236 B2 JP 6384236B2
Authority
JP
Japan
Prior art keywords
image
displayed
display unit
trimming frame
trimming
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
JP2014198137A
Other languages
Japanese (ja)
Other versions
JP2016072725A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2014198137A priority Critical patent/JP6384236B2/en
Priority to US14/868,550 priority patent/US20160093272A1/en
Publication of JP2016072725A publication Critical patent/JP2016072725A/en
Application granted granted Critical
Publication of JP6384236B2 publication Critical patent/JP6384236B2/en
Priority to US17/358,212 priority patent/US11699416B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Facsimiles In General (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像データに基づく画像を表示部に表示させるための制御プログラムおよび、情報処理装置に関する。   The present invention relates to a control program for displaying an image based on image data on a display unit, and an information processing apparatus.

画像データに基づく画像を表示部に表示させることが可能な情報処理装置では、下記特許文献に記載されているように、表示部に表示された画像を、所定の位置および、サイズにて、トリミングすることが可能であり、トリミングされた画像(以下、「トリミング画像」と記載する場合がある)若しくは、トリミングされる前の画像を、任意の角度に回転させることが可能である。   In an information processing apparatus capable of displaying an image based on image data on a display unit, as described in the following patent document, the image displayed on the display unit is trimmed at a predetermined position and size. The trimmed image (hereinafter sometimes referred to as “trimmed image”) or the image before trimming can be rotated to an arbitrary angle.

特開2012−70310号公報JP 2012-70310 A

上記特許文献に記載の技術によれば、トリミング画像、若しくは、トリミングされる前の画像を任意の角度に回転させることが可能であり、便利である。しかしながら、トリミング画像の回転手法と、トリミングされる前の画像の回転手法とは、通常、同じであるため、適切に画像を回転させることができない虞がある。具体的には、例えば、トリミングされる前の画像が、その画像の中央を中心に回転される場合には、トリミング画像も、トリミングされる前の画像の中央を中心に回転される。このようにトリミング画像が回転されると、トリミング画像が公転、つまり、トリミング画像の外部の軸を中心に回転し、トリミング画像をユーザのイメージに近い状態で回転させることができない虞がある。本発明は、そのような事情に鑑みてなされたものであり、トリミング画像をユーザのイメージに近い状態で回転させるための技術を提供する。   According to the technique described in the above-mentioned patent document, it is possible to rotate the trimmed image or the image before trimming to an arbitrary angle, which is convenient. However, since the trimming image rotation method and the image rotation method before trimming are usually the same, there is a possibility that the image cannot be rotated appropriately. Specifically, for example, when the image before trimming is rotated around the center of the image, the trimmed image is also rotated around the center of the image before trimming. When the trimmed image is rotated in this manner, the trimmed image is revolved, that is, rotated about the external axis of the trimmed image, and the trimmed image may not be rotated in a state close to the user's image. The present invention has been made in view of such circumstances, and provides a technique for rotating a trimmed image in a state close to a user's image.

上記課題を解決するために、本発明の制御プログラムは、ユーザ操作を受け付ける操作部と、表示部とを備えた情報処理装置のコンピュータが読み取り可能な制御プログラムであって、前記コンピュータを、画像データに基づく画像を前記表示部に表示させる第1表示手段と、前記第1表示手段により画像が表示された状態で、前記操作部が当該画像をトリミングするためのトリミング枠を表示させるためのユーザ操作を受け付けたことに応じて、当該トリミング枠を前記表示部に表示させる第2表示手段と、前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に回転させる第1画像回転手段と、前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に回転させる第2画像回転手段と、して機能させることを特徴とする。   In order to solve the above problems, a control program of the present invention is a control program that can be read by a computer of an information processing apparatus including an operation unit that receives a user operation and a display unit, and the computer stores image data. A first display means for displaying an image based on the image on the display section, and a user operation for causing the operation section to display a trimming frame for trimming the image in a state where the image is displayed by the first display means In response to accepting the image, the second display means for displaying the trimming frame on the display unit, the image is displayed by the first display means, and the trimming frame is displayed by the second display means. If the operation unit accepts a user operation for rotating the image, the image is trimmed. When the image is displayed by the first image rotation means for rotating around the center of the image and the first display means, but the trimming frame is not displayed by the second display means, the operation unit displays the image. In response to receiving a user operation for rotating the image, the image is made to function as second image rotation means for rotating the image around the center of the image.

また、上記課題を解決するために、本発明の情報処理装置は、ユーザ操作を受け付ける操作部と、表示部と、制御部と、を備えた情報処理装置であって、前記制御部は、画像データに基づく画像を前記表示部に表示させる第1表示手段と、前記第1表示手段により画像が表示された状態で、前記操作部が当該画像をトリミングするためのトリミング枠を表示させるためのユーザ操作を受け付けたことに応じて、当該トリミング枠を前記表示部に表示させる第2表示手段と、前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に回転させる第1画像回転手段と、前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に回転させる第2画像回転手段と、を有することを特徴とする。   In order to solve the above problems, an information processing apparatus of the present invention is an information processing apparatus including an operation unit that receives a user operation, a display unit, and a control unit, and the control unit First display means for displaying an image based on data on the display section, and a user for displaying a trimming frame for the operation section to trim the image in a state where the image is displayed by the first display means In response to accepting the operation, an image is displayed by the second display means for displaying the trimming frame on the display unit and the first display means, and the trimming frame is displayed by the second display means. A first image that rotates the image about the center of the trimming frame in response to receiving a user operation for rotating the image by the operation unit. When the image is displayed by the rotation unit and the first display unit, but the trimming frame is not displayed by the second display unit, the operation unit has received a user operation for rotating the image. Accordingly, the image processing apparatus includes a second image rotation unit that rotates the image around the center of the image.

本明細書の実施形態として記載の制御プログラム、および、情報処理装置では、トリミングされる前の画像は、その画像の中央を中心に回転操作される。一方、トリミング画像は、画像をトリミングするための枠の中央を中心に回転操作される。これにより、トリミング画像を自転、つまり、トリミング画像の内部の軸を中心に回転操作することが可能となり、トリミング画像をユーザのイメージに近い状態で回転させることが可能となる。   In the control program and the information processing apparatus described as the embodiment of the present specification, the image before being trimmed is rotated around the center of the image. On the other hand, the trimmed image is rotated around the center of the frame for trimming the image. Accordingly, the trimmed image can be rotated, that is, the trimmed image can be rotated around the axis inside the trimmed image, and the trimmed image can be rotated in a state close to the user's image.

通信システム1のブロック図である。1 is a block diagram of a communication system 1. FIG. 編集画面70を示す図である。It is a figure which shows the edit screen. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 編集画面70を示す図である。It is a figure which shows the edit screen. トリミング処理画面100を示す図である。It is a figure which shows the trimming process screen. 編集画面70を示す図である。It is a figure which shows the edit screen. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 編集画面70を示す図である。It is a figure which shows the edit screen. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 編集画面70を示す図である。It is a figure which shows the edit screen. 編集画面70を示す図である。It is a figure which shows the edit screen. トリミング処理画面100を示す図である。It is a figure which shows the trimming process screen. 編集画面70を示す図である。It is a figure which shows the edit screen. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 回転処理画面80を示す図である。FIG. 6 is a diagram showing a rotation processing screen 80. 編集画面70を示す図である。It is a figure which shows the edit screen. 表示アプリケーション36のフローチャートを示す図である。It is a figure which shows the flowchart of the display application. 表示アプリケーション36のフローチャートを示す図である。It is a figure which shows the flowchart of the display application. 表示アプリケーション36のフローチャートを示す図である。It is a figure which shows the flowchart of the display application.

<実施形態>
図1に、本願に係る実施形態として例示される通信システム1のブロック図を示す。通信システム1は、携帯電話(本発明の情報処理装置の一例)10、スキャナ50、アクセスポイント52、基地局56を備える。スキャナ50は、フラットベットとADF(Auto Document Feederの略)とを有しており、フラットベットとADFとの何れかにセットされた原稿をスキャンし、スキャンデータを作成する。また、アクセスポイント52は、無線LANアクセスポイント、及びルーターとしての機能を備え、スキャナ50と接続されている。
<Embodiment>
FIG. 1 shows a block diagram of a communication system 1 exemplified as an embodiment according to the present application. The communication system 1 includes a mobile phone (an example of an information processing apparatus of the present invention) 10, a scanner 50, an access point 52, and a base station 56. The scanner 50 has a flat bed and ADF (abbreviation of Auto Document Feeder), scans a document set on either the flat bed or ADF, and creates scan data. The access point 52 has functions as a wireless LAN access point and a router, and is connected to the scanner 50.

携帯電話10の構成について説明する。携帯電話10は、CPU(Central Processing Unitの略)(本発明のコンピュータ、制御部の一例)12、記憶部14、無線通信I/F16、携帯電話通信I/F18、LCD(liquid crystal displayの略)(本発明の表示部の一例)20、タッチパネル(本発明の操作部の一例)22を主に備えている。これらの構成要素は、入出力ポート28を介して互いに通信可能とされている。   The configuration of the mobile phone 10 will be described. The mobile phone 10 includes a CPU (abbreviation of Central Processing Unit) (an example of the computer and control unit of the present invention) 12, a storage unit 14, a wireless communication I / F 16, a mobile phone communication I / F 18, and an LCD (liquid crystal display). ) (An example of the display unit of the present invention) 20 and a touch panel (an example of the operation unit of the present invention) 22 are mainly provided. These components can communicate with each other via the input / output port 28.

無線通信I/F16は、IEEEの802.11の規格およびそれに準ずる規格に基づいて、Wi-Fi (R)(Wi-Fi Allianceの登録商標)方式(WF方式と略して記載する場合もある)の無線通信30を行うことが可能とされている。すなわち、携帯電話10は、アクセスポイント52へアクセスし、WF方式の無線通信30を行える状態になれば、アクセスポイント52を介して、スキャナ50とデータ通信することが可能になる。   The wireless communication I / F 16 is based on the IEEE 802.11 standard and its standards, and is based on the Wi-Fi (R) (registered trademark of the Wi-Fi Alliance) system (sometimes abbreviated as WF system). Wireless communication 30 can be performed. In other words, the mobile phone 10 can access the access point 52 and perform data communication with the scanner 50 via the access point 52 when the mobile phone 10 is ready to perform the WF wireless communication 30.

携帯電話通信I/F18は、基地局56との間で携帯電話通信方式の無線通信32を行うことが可能とされている。すなわち、携帯電話10は、携帯電話通信方式の無線通信32を行える状態になれば、基地局56を介して、データ通信することが可能になる。   The mobile phone communication I / F 18 can perform wireless communication 32 using the mobile phone communication method with the base station 56. In other words, the mobile phone 10 can perform data communication via the base station 56 when the mobile phone 10 can perform wireless communication 32 of the mobile phone communication system.

CPU12は、記憶部14内の表示アプリケーション(本発明の制御プログラムの一例)36に従って処理を実行する。表示アプリケーション36は、スキャンデータに基づく画像をLCD20に表示するためのプログラムである。以降、表示アプリケーション36を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「表示アプリケーション36が」という記載は、「表示アプリケーション36を実行するCPU12が」ということを意味する場合がある。   The CPU 12 executes processing according to a display application (an example of a control program of the present invention) 36 in the storage unit 14. The display application 36 is a program for displaying an image based on the scan data on the LCD 20. Hereinafter, the CPU 12 that executes the display application 36 may be described simply by a program name. For example, the description “display application 36” may mean “the CPU 12 executing the display application 36”.

また、記憶部14は、データ記憶領域38を備える。データ記憶領域38は、スキャナ50から取得したスキャンデータ、表示アプリケーション36の実行に必要なデータなどを記憶する領域である。なお、記憶部14は、RAM(Random Access Memoryの略)、ROM(Read Only Memoryの略)、フラッシュメモリー、HDD(ハードディスクの略)、CPU12が備えるバッファなどが組み合わされて構成されている。   In addition, the storage unit 14 includes a data storage area 38. The data storage area 38 is an area for storing scan data acquired from the scanner 50, data necessary for executing the display application 36, and the like. The storage unit 14 is configured by combining a RAM (abbreviation of random access memory), a ROM (abbreviation of read only memory), a flash memory, an HDD (abbreviation of hard disk), a buffer provided in the CPU 12, and the like.

LCD20は、携帯電話10の各種機能を表示する表示面を備える。タッチパネル22は、タッチセンサを有し、LCD20の表示面を覆うように配置されている。タッチパネル22は、ユーザの指、タッチペン等のタッチパネル22への接近・接触を検出し、検出に応じて電気信号を出力する。   The LCD 20 includes a display surface that displays various functions of the mobile phone 10. The touch panel 22 has a touch sensor and is disposed so as to cover the display surface of the LCD 20. The touch panel 22 detects an approach / contact to the touch panel 22 such as a user's finger or a touch pen, and outputs an electric signal in response to the detection.

<通信システムを利用した画像の表示>
通信システム1では、スキャナ50が、携帯電話10からの指令に従って、スキャン処理を実行し、スキャン処理により作成されたスキャンデータが、携帯電話10に送信される。携帯電話10では、受信したスキャンデータに基づく画像が、LCD20に表示される。そして、LCD20に表示された画像が、タッチパネル22への操作により、回転され、LCD20に表示された画像の表示角度が調整される。
<Displaying images using a communication system>
In the communication system 1, the scanner 50 executes a scan process according to a command from the mobile phone 10, and scan data created by the scan process is transmitted to the mobile phone 10. In the mobile phone 10, an image based on the received scan data is displayed on the LCD 20. Then, the image displayed on the LCD 20 is rotated by an operation on the touch panel 22, and the display angle of the image displayed on the LCD 20 is adjusted.

具体的には、携帯電話10において、スキャンデータに基づく画像の表示処理を実行するためのボタン(図示省略)が操作されると、LCD20に、スキャン処理を行うための画面(図示省略)が表示される。この画面には、設定ボタン(図示省略)とスキャンボタン(図示省略)とが表示されている。設定ボタンは、スキャン処理の条件を設定するためのボタンであり、設定ボタンへの操作により、解像度,モノクロスキャンとカラースキャンとの何れかの選択,スキャナ50のフラットベットとADFとの何れの原稿をスキャンするかの選択等が設定される。また、スキャンボタンは、スキャン処理を実行するためのボタンであり、設定されたスキャン処理条件に従ったスキャン処理の実行指令が、スキャンボタンの操作により、スキャナ50に送信される。   Specifically, when a button (not shown) for executing image display processing based on scan data is operated on the mobile phone 10, a screen (not shown) for performing scan processing is displayed on the LCD 20. Is done. A setting button (not shown) and a scan button (not shown) are displayed on this screen. The setting button is a button for setting scanning processing conditions. By operating the setting button, any one of resolution, monochrome scanning and color scanning, a flatbed of the scanner 50, and an original document of ADF is selected. The selection of whether or not to scan is set. The scan button is a button for executing the scan process, and an execution command for the scan process according to the set scan process condition is transmitted to the scanner 50 by operating the scan button.

スキャナ50は、実行指令を受信すると、指令に応じたスキャン処理を実行し、スキャン処理により作成されたスキャンデータを、携帯電話10に送信する。携帯電話10は、スキャンデータを受信すると、図2に示すように、LCD20に編集画面70を表示する。編集画面70には、表示欄72と、回転ボタン74と、トリミングボタン76と、完了ボタン78とが表示される。表示欄72には、受信したスキャンデータに基づく画像が表示される。回転ボタン74は、表示欄72に表示された画像の回転処理を実行するためのボタンである。トリミングボタン76は、表示欄72に表示された画像のトリミング処理を実行するためのボタンである。完了ボタン78は、編集画面70での操作が完了した際に操作されるボタンである。   When the scanner 50 receives the execution command, the scanner 50 executes a scan process according to the command and transmits the scan data created by the scan process to the mobile phone 10. When the mobile phone 10 receives the scan data, the mobile phone 10 displays an edit screen 70 on the LCD 20 as shown in FIG. On the editing screen 70, a display field 72, a rotation button 74, a trimming button 76, and a completion button 78 are displayed. In the display column 72, an image based on the received scan data is displayed. The rotation button 74 is a button for executing rotation processing of the image displayed in the display field 72. The trimming button 76 is a button for executing trimming processing of the image displayed in the display field 72. The completion button 78 is a button that is operated when the operation on the editing screen 70 is completed.

編集画面70において、回転ボタン74が操作されると、図3に示すように、回転処理画面80が、LCD20に表示される。回転処理画面80には、表示欄82と、左回転ボタン(本発明の第1操作子の一例)84と、右回転ボタン(本発明の第1操作子の一例)86と、調整スライダ(本発明の第2操作子の一例)88と、完了ボタン90とが表示される。表示欄82には、編集画面70の表示欄72に表示されていた画像が表示される。左回転ボタン84は、表示欄82に表示された画像を左方向に90度回転させるためのボタンである。右回転ボタン86は、表示欄82に表示された画像を右方向に90度回転させるためのボタンである。調整スライダ88は、表示欄82に表示された画像を任意の方向に任意の角度回転させるためのボタンである。完了ボタン90は、回転処理画面80での操作が完了した際に操作されるボタンである。タッチパネル22は、前述したボタンがユーザにより操作されることにより、当該操作に応じた信号を出力する。また、タッチパネル22は調整スライダ88のスライド部98が操作されることにより、当該操作に応じた信号を出力する。   When the rotation button 74 is operated on the editing screen 70, a rotation processing screen 80 is displayed on the LCD 20, as shown in FIG. The rotation processing screen 80 includes a display field 82, a left rotation button (an example of the first operation element of the present invention) 84, a right rotation button (an example of the first operation element of the present invention) 86, and an adjustment slider (this book). An example of the second operation element of the invention 88 and a completion button 90 are displayed. In the display column 82, the image displayed in the display column 72 of the editing screen 70 is displayed. The left rotation button 84 is a button for rotating the image displayed in the display field 82 by 90 degrees leftward. The right rotation button 86 is a button for rotating the image displayed in the display field 82 by 90 degrees rightward. The adjustment slider 88 is a button for rotating the image displayed in the display field 82 by an arbitrary angle in an arbitrary direction. The completion button 90 is a button that is operated when the operation on the rotation processing screen 80 is completed. The touch panel 22 outputs a signal corresponding to the operation when the above-described button is operated by the user. Further, when the slide portion 98 of the adjustment slider 88 is operated, the touch panel 22 outputs a signal corresponding to the operation.

回転処理画面80において、左回転ボタン84が操作されると、図4に示すように、表示欄82に表示されている画像が、左方向に90度回転する。また、右回転ボタン86が操作されると、表示欄82に表示されている画像が、右方向に90度回転する。これにより、例えば、90度傾いた状態でスキャンされた原稿の画像、つまり、横倒しの状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。また、左回転ボタン84が2回操作されると、表示欄82に表示されている画像が、左方向に180度回転する。また、右回転ボタン86が2回操作されると、表示欄82に表示されている画像が、右方向に180度回転する。これにより、例えば、180度傾いた状態でスキャンされた原稿の画像、つまり、上下方向にひっくり返った状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。なお、表示欄82に表示されている画像が回転する際には、その画像の中央92を中心に回転する。ちなみに、画像の中央92は、概して矩形の画像の4隅の頂点からの距離が同一となる箇所である。また、図中の画像の中央92を示す印は、説明のために図示されたものであり、実際の回転処理画面80には、表示されない。   When the left rotation button 84 is operated on the rotation processing screen 80, as shown in FIG. 4, the image displayed in the display column 82 is rotated 90 degrees to the left. When the right rotation button 86 is operated, the image displayed in the display field 82 is rotated 90 degrees in the right direction. Thereby, for example, an image of a document scanned in a state tilted by 90 degrees, that is, an image in a lying state can be displayed on the LCD 20 as a normal image. When the left rotation button 84 is operated twice, the image displayed in the display field 82 rotates 180 degrees in the left direction. Further, when the right rotation button 86 is operated twice, the image displayed in the display field 82 rotates 180 degrees to the right. As a result, for example, an image of a document that is scanned 180 degrees, that is, an image that is turned upside down can be displayed on the LCD 20 as a normal image. When the image displayed in the display field 82 is rotated, the image is rotated around the center 92 of the image. Incidentally, the center 92 of the image is a place where the distances from the vertices of the four corners of the generally rectangular image are the same. Further, the mark indicating the center 92 of the image in the figure is shown for explanation, and is not displayed on the actual rotation processing screen 80.

また、調整スライダ88は、ガイド部96とスライド部(本発明のスライド部の一例)98とによって構成されている。ガイド部96は、所定の長さの直線であり、携帯電話10の左右方向に延びるようにLCD20に表示されている。スライド部98は、概して円形をなし、スライド部98の中央に表示されており、ガイド部96上において、ガイド部96に沿った方向にスライド操作可能である。つまり、ユーザが、指,タッチペン等の操作媒体をスライド部98に接近・接触させた状態で、操作媒体を左右方向に移動させることで、スライド部98がガイド部96上においてスライドする。このように、スライド部98がスライド操作されることで、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。   The adjustment slider 88 includes a guide portion 96 and a slide portion (an example of the slide portion of the present invention) 98. The guide portion 96 is a straight line having a predetermined length, and is displayed on the LCD 20 so as to extend in the left-right direction of the mobile phone 10. The slide portion 98 has a generally circular shape and is displayed at the center of the slide portion 98, and can be slid in the direction along the guide portion 96 on the guide portion 96. That is, when the user moves the operation medium in the left-right direction with the operation medium such as a finger or a touch pen approaching / contacting the slide unit 98, the slide unit 98 slides on the guide unit 96. Thus, when the slide unit 98 is slid, the image displayed in the display field 82 rotates in the slide direction of the slide unit 98 by an angle corresponding to the slide amount of the slide unit 98.

具体的には、例えば、スライド部98を、図5に示すように、左方向に所定量スライドさせた場合には、表示欄82に表示されている画像が、左方向に、スライド部98のスライド量に応じた角度、回転する。一方、スライド部98を、右方向に所定量スライドさせた場合には、表示欄82に表示されている画像が、右方向に、スライド部98のスライド量に応じた角度、回転する。なお、表示欄82に表示されている画像が回転する際には、その画像の中央92を中心に回転する。   Specifically, for example, when the slide unit 98 is slid a predetermined amount in the left direction as shown in FIG. 5, the image displayed in the display field 82 is displayed in the left direction of the slide unit 98. It rotates by an angle according to the slide amount. On the other hand, when the slide unit 98 is slid by a predetermined amount in the right direction, the image displayed in the display column 82 is rotated in the right direction by an angle corresponding to the slide amount of the slide unit 98. When the image displayed in the display field 82 is rotated, the image is rotated around the center 92 of the image.

また、スライド部98がガイド部96の左端までスライドされた場合、若しくは、スライド部98がガイド部96の右端までスライドされた場合に、表示欄82に表示されている画像は、最も大きく回転するが、その際の画像の回転角度、つまり、スライド部98への操作により回転する画像の最大回転角度は、左回転ボタン84および右回転ボタン86による回転角度、つまり、90度以下の所定の角度に設定されている。つまり、調整スライダ88への操作により、スライド部98のスライド量を調整することで、表示欄82に表示されている画像の表示角度を90度以下の所定の角度以下の任意の角度に調整することが可能となる。これにより、例えば、スキャナ50のフラットベッド、若しくは、ADFに僅かに傾いた状態でセットされた原稿が、スキャンされた場合に、編集画面70の表示欄72には、僅かに傾いた状態の画像が表示されるが、回転処理画面80において、調整スライダ88を操作することで、画像の表示角度を微調整し、表示欄82に正常な状態の画像を表示することが可能となる。   Further, when the slide part 98 is slid to the left end of the guide part 96, or when the slide part 98 is slid to the right end of the guide part 96, the image displayed in the display field 82 rotates most greatly. However, the rotation angle of the image at that time, that is, the maximum rotation angle of the image rotated by the operation on the slide unit 98 is the rotation angle by the left rotation button 84 and the right rotation button 86, that is, a predetermined angle of 90 degrees or less. Is set to That is, the display angle of the image displayed in the display field 82 is adjusted to an arbitrary angle of 90 degrees or less and a predetermined angle or less by adjusting the slide amount of the slide unit 98 by operating the adjustment slider 88. It becomes possible. As a result, for example, when a document set on the flatbed of the scanner 50 or in a slightly inclined state on the ADF is scanned, an image in a slightly inclined state is displayed in the display field 72 of the editing screen 70. However, by operating the adjustment slider 88 on the rotation processing screen 80, it is possible to finely adjust the display angle of the image and display a normal image in the display column 82.

なお、スライド部98への操作により回転する画像の最大回転角度(以下、「画像最大回転角度」と記載する場合がある)は、小さな角度に設定されるほど、画像の表示角度を好適に調整することが可能となる。しかしながら、画像最大回転角度が小さすぎると、その画像最大回転角度より傾いた状態で表示された画像を正常な状態まで回転させることができない虞がある。特に、原稿が、フラットベッドにセットされる場合には、ADFにセットされる場合と比較して、傾いた状態でセットされる可能性が高い。このため、フラットベッドにセットされた原稿のスキャンデータに基づく画像が、傾いた状態で表示されている場合には、画像最大回転角度が小さすぎると、傾いた状態で表示された画像を正常な状態まで回転させることができない虞がある。   It should be noted that the image display angle is more suitably adjusted as the maximum rotation angle of the image rotated by the operation on the slide unit 98 (hereinafter sometimes referred to as “image maximum rotation angle”) is set to a smaller angle. It becomes possible to do. However, if the maximum image rotation angle is too small, there is a possibility that an image displayed in a state inclined from the maximum image rotation angle cannot be rotated to a normal state. In particular, when a document is set on a flat bed, it is more likely to be set in an inclined state than when it is set on an ADF. For this reason, when an image based on the scan data of the document set on the flat bed is displayed in a tilted state, if the maximum image rotation angle is too small, the image displayed in the tilted state is normal. There is a possibility that it cannot be rotated to the state.

このようなことに鑑みて、フラットベッドに原稿がセットされた際のスキャンデータに基づく画像がLCD20に表示された際の画像最大回転角度は、ADFに原稿がセットされた際のスキャンデータに基づく画像がLCD20に表示された際の画像最大回転角度より大きく設定されている。具体的には、スキャン処理を行うための画面において、設定ボタンにより設定されたスキャン処理条件が、データ記憶領域38に記憶されている。そして、スキャンデータに基づく画像がLCD20に表示された際に、そのスキャンデータに応じたスキャン処理条件がデータ記憶領域38から抽出される。そして、抽出されたスキャン処理条件から、スキャン対象の原稿がフラットベッドとADFと何れにセットされていたかが判定される。スキャン対象の原稿がフラットベッドにセットされていたと判定された場合には、画像最大回転角度は、15度に設定される。また、スキャン対象の原稿がADFにセットされていたと判定された場合には、画像最大回転角度は、10度に設定される。つまり、画像最大回転角度が、10〜15度という比較的小さな角度に設定されるとともに、大きく傾いた画像が表示される可能性の高い場合には、画像最大回転角度が、ある程度、大きな角度に設定される。これにより、画像の表示角度を好適に調整するとともに、原稿が、ある程度、大きく傾いた状態でフラットベッドにセットされた場合であっても、傾いた状態で表示された画像を正常な状態まで回転させることが可能となる。   In view of the above, the maximum image rotation angle when the image based on the scan data when the document is set on the flat bed is displayed on the LCD 20 is based on the scan data when the document is set on the ADF. It is set larger than the maximum image rotation angle when the image is displayed on the LCD 20. Specifically, the scan processing condition set by the setting button is stored in the data storage area 38 on the screen for performing the scan processing. Then, when an image based on the scan data is displayed on the LCD 20, scan processing conditions corresponding to the scan data are extracted from the data storage area 38. Then, it is determined from the extracted scan processing condition whether the document to be scanned is set to the flat bed or the ADF. When it is determined that the document to be scanned is set on the flat bed, the maximum image rotation angle is set to 15 degrees. If it is determined that the document to be scanned is set on the ADF, the maximum image rotation angle is set to 10 degrees. In other words, when the image maximum rotation angle is set to a relatively small angle of 10 to 15 degrees and there is a high possibility that a greatly inclined image is displayed, the image maximum rotation angle is set to a large angle to some extent. Is set. As a result, the display angle of the image is suitably adjusted, and the image displayed in a tilted state is rotated to a normal state even when the document is set on the flat bed in a state where the document is largely tilted to some extent. It becomes possible to make it.

また、回転処理画面80において、完了ボタン90が操作されると、図6に示すように、LCD20に編集画面70が表示される。この編集画面70の表示欄72には、回転処理画面80の表示欄82に表示されていた画像が表示される。つまり、回転処理画面80において画像の回転処理が行われていた場合には、回転処理により回転した画像が、回転処理画面80の表示欄82に表示される。   Further, when the completion button 90 is operated on the rotation processing screen 80, an editing screen 70 is displayed on the LCD 20, as shown in FIG. In the display field 72 of the editing screen 70, the image displayed in the display field 82 of the rotation processing screen 80 is displayed. In other words, when the image rotation processing has been performed on the rotation processing screen 80, the image rotated by the rotation processing is displayed in the display field 82 of the rotation processing screen 80.

その編集画面70において、トリミングボタン76が操作されると、図7に示すように、LCD20にトリミング処理画面100が表示される。トリミング処理画面100には、表示欄102と、トリミング枠104と、完了ボタン106とが表示される。表示欄102には、編集画面70の表示欄72に表示されていた画像が表示され、その画像に重なった状態で、トリミング枠104が表示される。なお、トリミング枠104の内部の画像は、トリミング枠104の外部の画像に比べ、明度が高い状態で表示される。   When the trimming button 76 is operated on the editing screen 70, the trimming processing screen 100 is displayed on the LCD 20, as shown in FIG. On the trimming processing screen 100, a display field 102, a trimming frame 104, and a completion button 106 are displayed. In the display column 102, the image displayed in the display column 72 of the editing screen 70 is displayed, and the trimming frame 104 is displayed in a state where the image overlaps the image. Note that the image inside the trimming frame 104 is displayed with a higher brightness than the image outside the trimming frame 104.

トリミング枠104は、表示欄102に表示された画像の任意の部分を切り取るためのものであり、トリミング枠104の頂点及び辺の各々には、拡大・縮小子108が付されている。拡大・縮小子108の内部には、矢印が記されており、拡大・縮小子108を矢印の方向にスライドさせることで、トリミング枠104が矢印の方向に、拡大若しくは、縮小する。つまり、ユーザが、指,タッチペン等の操作媒体を拡大・縮小子108に接近・接触させた状態で、操作媒体をその拡大・縮小子108に記されている矢印の方向に移動させることで、その矢印の方向にトリミング枠104が拡大若しくは、縮小する。これにより、トリミング枠104を任意の大きさに調整することが可能となる。また、トリミング枠104の中央部には、移動子110が付されている。移動子110は、トリミング枠104を移動させるためのものであり、ユーザが、指,タッチペン等の操作媒体を移動子110に接近・接触させた状態で、操作媒体を任意の位置に移動させることで、その位置にトリミング枠104が移動する。これにより、表示欄102に表示されている画像上の任意の位置に、トリミング枠104を移動させることが可能となる。   The trimming frame 104 is used to cut out an arbitrary part of the image displayed in the display field 102, and an enlargement / reduction element 108 is attached to each vertex and side of the trimming frame 104. An arrow is written inside the enlargement / reduction element 108, and the trimming frame 104 is enlarged or reduced in the direction of the arrow by sliding the enlargement / reduction element 108 in the direction of the arrow. In other words, the user moves the operation medium in the direction of the arrow written on the enlargement / reduction element 108 in a state where the operation medium such as a finger or a touch pen approaches / contacts the enlargement / reduction element 108. The trimming frame 104 is enlarged or reduced in the direction of the arrow. Thereby, the trimming frame 104 can be adjusted to an arbitrary size. A mover 110 is attached to the center of the trimming frame 104. The mover 110 is for moving the trimming frame 104, and the user moves the operation medium to an arbitrary position with the operation medium such as a finger or a touch pen approaching or contacting the mover 110. Then, the trimming frame 104 moves to that position. Thereby, the trimming frame 104 can be moved to an arbitrary position on the image displayed in the display field 102.

トリミング処理画面100において、トリミング枠104が任意の大きさに調整され、トリミング枠104が任意の位置に移動された後に、完了ボタン106が操作されると、図8に示すように、LCD20に編集画面70が表示される。この編集画面70の表示欄72には、トリミング処理画面100の表示欄102に表示されていた画像のうちの、トリミング枠104の内部の画像(以下、「トリミング画像」と記載する場合がある)のみが表示される。これにより、トリミング処理画面100の表示欄102に表示されていた画像のうちの、ユーザが望む部分の画像のみをLCD20に表示することが可能となる。   In the trimming processing screen 100, when the trimming frame 104 is adjusted to an arbitrary size and the trimming frame 104 is moved to an arbitrary position and then the completion button 106 is operated, editing is performed on the LCD 20 as shown in FIG. A screen 70 is displayed. In the display field 72 of the editing screen 70, the image inside the trimming frame 104 among the images displayed in the display field 102 of the trimming processing screen 100 (hereinafter sometimes referred to as “trimming image”). Only displayed. As a result, it is possible to display on the LCD 20 only the image of the part desired by the user among the images displayed in the display field 102 of the trimming processing screen 100.

また、携帯電話10では、トリミング画像の回転角度を調整することが可能である。つまり、編集画面70の表示欄72にトリミング画像が表示されている状態で、回転ボタン74が操作されると、図9に示すように、LCD20に回転処理画面80が表示される。この回転処理画面80の表示欄82には、トリミング画像だけでなく、トリミング画像の外側の画像も表示される。つまり、表示欄82には、トリミング処理画面100の表示欄102に表示されていた画像が表示される。ただし、トリミング画像は、トリミング枠104の外側の画像に比べ、明度が高い状態で表示される。このため、トリミング画像と、トリミング画像以外の画像との間には、トリミング枠120が表示される。   In addition, the mobile phone 10 can adjust the rotation angle of the trimmed image. That is, when the rotation button 74 is operated while the trimming image is displayed in the display field 72 of the editing screen 70, the rotation processing screen 80 is displayed on the LCD 20, as shown in FIG. In the display field 82 of the rotation processing screen 80, not only the trimmed image but also an image outside the trimmed image is displayed. In other words, the image displayed in the display field 102 of the trimming process screen 100 is displayed in the display field 82. However, the trimmed image is displayed with a higher brightness than the image outside the trimming frame 104. For this reason, the trimming frame 120 is displayed between the trimmed image and an image other than the trimmed image.

回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、左回転ボタン84が操作されると、図10に示すように、表示欄82に表示されている画像が、左方向に90度回転する。なお、表示欄82にトリミング枠120が表示されている状態で画像の回転操作が行われる場合には、表示欄82に表示されている画像は、その画像の中央92ではなく、トリミング枠120の中央121を中心に回転する。これは、表示欄82にトリミング枠120が表示されている状態の画像が、その画像の中央92を中心に回転すると、トリミング枠120が画像の中央92からずれている場合には、トリミング画像が公転、つまり、トリミング枠120の外部の軸を中心に回転するため、トリミング画像をユーザのイメージに近い状態で回転させることができないためである。つまり、携帯電話10では、表示欄82にトリミング枠120が表示されている状態の画像が、トリミング枠120の中央121を中心に回転し、トリミング画像が自転、つまり、トリミング枠120の内部の軸を中心に回転するため、トリミング画像をユーザのイメージに近い状態で回転させることが可能となる。ちなみに、トリミング枠120の中央121は、概して矩形のトリミング枠120の4隅の頂点からの距離が同一となる箇所である。また、図中のトリミング枠120の中央121を示す印は、説明のために図示されたものであり、実際の回転処理画面80には、表示されない。   When the left rotation button 84 is operated in a state where the trimming frame 120 is displayed in the display field 82 of the rotation processing screen 80, the image displayed in the display field 82 is displayed in the left direction as shown in FIG. Rotate 90 degrees. When the image is rotated while the trimming frame 120 is displayed in the display field 82, the image displayed in the display field 82 is not the center 92 of the image but the trimming frame 120. It rotates around the center 121. This is because when the image in which the trimming frame 120 is displayed in the display field 82 rotates around the center 92 of the image, the trimmed image is displayed when the trimming frame 120 is shifted from the center 92 of the image. This is because the revolution, that is, the rotation about the axis outside the trimming frame 120, makes it impossible to rotate the trimmed image close to the user's image. That is, in the mobile phone 10, the image in the state where the trimming frame 120 is displayed in the display field 82 rotates around the center 121 of the trimming frame 120, and the trimmed image rotates, that is, the axis inside the trimming frame 120. Therefore, the trimmed image can be rotated in a state close to the user's image. Incidentally, the center 121 of the trimming frame 120 is a portion where the distances from the vertices of the four corners of the generally rectangular trimming frame 120 are the same. Further, the mark indicating the center 121 of the trimming frame 120 in the drawing is shown for explanation, and is not displayed on the actual rotation processing screen 80.

そして、表示欄82にトリミング枠120が表示されている状態で画像の回転操作が行われた後に、完了ボタン90が操作されると、図11に示すように、表示欄82には、トリミング枠120の内部の画像のみが、トリミング画像として表示される。なお、回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、右回転ボタン86が操作された場合には、画像が右方向に回転することを除いて、左回転ボタン84が操作された場合と同じであるため、説明を省略する。   Then, when the completion button 90 is operated after the image rotation operation is performed in the state where the trimming frame 120 is displayed in the display field 82, as shown in FIG. Only the image inside 120 is displayed as a trimmed image. If the right rotation button 86 is operated while the trimming frame 120 is displayed in the display field 82 of the rotation processing screen 80, the left rotation button 84 is used except that the image is rotated rightward. Since this is the same as when the button is operated, the description thereof is omitted.

また、回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、調整スライダ88のスライド部98がスライド操作されると、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。具体的には、例えば、スライド部98を、図12に示すように、左方向に所定量スライドさせた場合には、表示欄82に表示されている画像が、左方向に、スライド部98のスライド量に応じた角度、回転する。この際、左回転ボタン84が操作された時と同様に、表示欄82に表示されている画像は、その画像の中央92ではなく、トリミング枠120の中央121を中心に回転する。これにより、トリミング画像をユーザのイメージに近い状態で回転させることが可能となる。   When the slide portion 98 of the adjustment slider 88 is slid in a state where the trimming frame 120 is displayed in the display field 82 of the rotation processing screen 80, the image displayed in the display field 82 is changed to the slide part 98. In the direction of the slide, an angle corresponding to the slide amount of the slide portion 98 is rotated. Specifically, for example, when the slide unit 98 is slid a predetermined amount in the left direction as shown in FIG. 12, the image displayed in the display field 82 is displayed in the left direction of the slide unit 98. It rotates by an angle according to the slide amount. At this time, similarly to when the left rotation button 84 is operated, the image displayed in the display column 82 rotates around the center 121 of the trimming frame 120 instead of the center 92 of the image. This makes it possible to rotate the trimmed image in a state close to the user's image.

そして、画像が回転した後に、完了ボタン90が操作されると、トリミング枠120の内部の画像のみが、トリミング画像として表示されるが、表示欄82に表示されている画像の回転により、トリミング枠120が画像からはみ出る場合がある。つまり、トリミング枠120の内部領域全体が画像により満たされない場合がある。具体的には、図12の表示欄82では、その表示欄82に表示されている画像の上縁122が、トリミング枠120の内部に位置しており、トリミング枠120の左上の角部が、表示欄82に表示されている画像からはみ出している。つまり、トリミング枠120の左上の角部が、表示欄82に表示されている画像により満たされていない。このように、トリミング枠120の内部領域全体が画像により満たされていない状態で、画像がトリミングされると、図13に示すように、トリミング枠120内の画像が満たされていない箇所、つまり、トリミング枠120が画像からはみ出した箇所が切り欠かれた状態で、トリミング画像が表示される。   Then, when the completion button 90 is operated after the image is rotated, only the image inside the trimming frame 120 is displayed as the trimming image, but the trimming frame is rotated by the rotation of the image displayed in the display field 82. 120 may protrude from the image. That is, the entire inner area of the trimming frame 120 may not be filled with the image. Specifically, in the display field 82 of FIG. 12, the upper edge 122 of the image displayed in the display field 82 is positioned inside the trimming frame 120, and the upper left corner of the trimming frame 120 is It protrudes from the image displayed in the display field 82. That is, the upper left corner of the trimming frame 120 is not filled with the image displayed in the display field 82. In this way, when the image is trimmed in a state where the entire inner area of the trimming frame 120 is not filled with the image, as shown in FIG. 13, a portion where the image in the trimming frame 120 is not filled, that is, The trimmed image is displayed in a state where the portion where the trimming frame 120 protrudes from the image is cut out.

このため、携帯電話10では、トリミング枠120の内部領域全体が、表示欄82に表示されている画像により満たされていない場合には、そのトリミング枠120内の画像により満たされていない部分、つまり、トリミング枠120の画像からはみ出した部分に、所定の画像を加えるように、トリミング画像の画像データが補正される。これにより、画像の回転操作が行われた後に、完了ボタン90が操作されることで、図14に示すように、トリミング枠120の形状に応じたトリミング画像が、表示欄72に表示される。なお、所定の画像とは、白色や黒色など予め決められた画像であってもよいし、トリミング画像内の特定の色からなる画像であってもよい。   For this reason, in the mobile phone 10, when the entire inner region of the trimming frame 120 is not filled with the image displayed in the display field 82, that is, the portion not filled with the image in the trimming frame 120, that is, Then, the image data of the trimmed image is corrected so that a predetermined image is added to a portion that protrudes from the image of the trimming frame 120. As a result, when the completion button 90 is operated after the image rotation operation is performed, a trimmed image corresponding to the shape of the trimming frame 120 is displayed in the display field 72 as shown in FIG. The predetermined image may be a predetermined image such as white or black, or may be an image composed of a specific color in the trimmed image.

また、表示欄82にトリミング枠120が表示されている状態で、スライド部98を右方向に所定量スライドさせた場合には、表示欄82に表示されている画像が右方向に回転することを除いて、スライド部98を左方向に所定量スライドさせた場合と同じであるため、説明を省略する。なお、スライド部98への操作により回転するトリミング画像の最大回転角度は、画像最大回転角度と同じ角度に設定されており、画像最大回転角度と同様に、表示されている画像の基となる原稿のフラットベッド、若しくは、ADFへのセット位置に応じて異なる角度に設定されている。   Further, when the slide section 98 is slid to the right by a predetermined amount while the trimming frame 120 is displayed in the display field 82, the image displayed in the display field 82 is rotated to the right. Except for this, it is the same as the case where the slide portion 98 is slid a predetermined amount in the left direction, and the description thereof is omitted. Note that the maximum rotation angle of the trimmed image rotated by the operation on the slide unit 98 is set to the same angle as the maximum image rotation angle, and the original document that is the basis of the displayed image is the same as the maximum image rotation angle. Are set at different angles depending on the set position on the flatbed or ADF.

このように、トリミング画像が回転される際には、トリミング枠120の内部の画像、つまり、トリミング画像だけでなく、トリミング枠120の外部の画像も表示される。これにより、ユーザは、画像全体を閲覧した状態で、トリミング画像を回転させることが可能となり、トリミング画像の回転処理を適切に行うことが可能となる。   As described above, when the trimmed image is rotated, not only the image inside the trimming frame 120, that is, the image outside the trimming frame 120 is displayed in addition to the trimmed image. Accordingly, the user can rotate the trimmed image while viewing the entire image, and can appropriately perform the trimming image rotation process.

また、携帯電話10では、表示画像から複数のトリミング画像を切り取ることが可能となっている。詳しくは、例えば、図8に示すように、編集画面70の表示欄72にトリミング画像が表示されている状態で、トリミングボタン76が操作されると、LCD20には、図15に示すように、トリミング処理画面100が表示される。そのトリミング処理画面100には、編集画面70で表示されていたトリミング画像に応じた位置、およびサイズのトリミング枠120と、新たに画像をトリミングするためのトリミング枠104とが表示される。トリミング枠104は、上述したように、拡大・縮小子108および移動子110への操作により、任意の位置に移動し、任意の大きさに変更される。そして、トリミング枠104を、任意の位置に移動させ、任意の大きさに変更した後に、トリミング処理画面100において完了ボタン106が操作されると、図16に示すように、LCD20に編集画面70が表示され、その編集画面70の表示欄72に、2つのトリミング画像が表示される。   In the mobile phone 10, a plurality of trimmed images can be cut out from the display image. Specifically, for example, as shown in FIG. 8, when the trimming button 76 is operated in a state where the trimming image is displayed in the display field 72 of the editing screen 70, the LCD 20 displays the trimming image 76 as shown in FIG. A trimming processing screen 100 is displayed. On the trimming processing screen 100, a trimming frame 120 having a position and size corresponding to the trimmed image displayed on the editing screen 70 and a trimming frame 104 for newly trimming the image are displayed. As described above, the trimming frame 104 is moved to an arbitrary position and changed to an arbitrary size by operating the enlargement / reduction element 108 and the mover 110. Then, after the trimming frame 104 is moved to an arbitrary position and changed to an arbitrary size, when the completion button 106 is operated on the trimming processing screen 100, an editing screen 70 is displayed on the LCD 20, as shown in FIG. Then, two trimmed images are displayed in the display field 72 of the editing screen 70.

さらに、携帯電話10では、複数のトリミング画像を個別に回転操作することが可能である。具体的には、例えば、編集画面70の表示欄72に2つのトリミング画像が表示されている状態で、回転ボタン74が操作されると、図17に示すように、LCD20に回転処理画面80が表示される。この回転処理画面80の表示欄82には、編集画面70で表示されていた2つのトリミング画像に応じた位置、およびサイズの2つのトリミング枠120が、表示される。また、表示欄82には、2つのトリミング画像だけでなく、トリミング画像の外側の画像も表示される。ただし、表示欄82に表示される画像は、トリミング枠120を含むように、2つに分割されており、表示欄82で分割された画像毎に、1つのトリミング枠120が含まれている。つまり、表示欄82に複数のトリミング枠120が表示されている場合には、表示欄82に表示される画像は、トリミング枠120と同数に分割され、表示欄82で分割された画像毎に、1つのトリミング枠120が含まれている。   Further, the mobile phone 10 can individually rotate a plurality of trimmed images. Specifically, for example, when the rotation button 74 is operated in a state where two trimming images are displayed in the display field 72 of the editing screen 70, a rotation processing screen 80 is displayed on the LCD 20, as shown in FIG. Is displayed. In the display field 82 of the rotation processing screen 80, two trimming frames 120 having positions and sizes corresponding to the two trimmed images displayed on the editing screen 70 are displayed. The display field 82 displays not only two trimmed images but also an image outside the trimmed image. However, the image displayed in the display field 82 is divided into two so as to include the trimming frame 120, and one trimming frame 120 is included for each image divided in the display field 82. That is, when a plurality of trimming frames 120 are displayed in the display field 82, the images displayed in the display field 82 are divided into the same number as the trimming frames 120, and for each image divided in the display field 82, One trimming frame 120 is included.

そして、表示欄82において複数に分割されている画像のうちの、回転操作を行いたい画像を選択し、左回転ボタン84,右回転ボタン86,調整スライダ88の何れかを操作することで、複数のトリミング画像のうちの任意のトリミング画像が回転する。具体的には、例えば、図17の表示欄82において2つに分割されている画像のうちの、下方に位置する分割画像を選択したい場合には、その分割画像に指等を接近させることで、その分割画像が選択される。そして、例えば、調整スライダ88のスライド部98をスライド操作することで、図18に示すように、選択された分割画像が、スライド部98のスライダ方向にスライダ量に応じた角度、回転する。この際、選択された分割画像は、選択された分割画像に表示されているトリミング枠120の中央121を中心に回転する。なお、選択されていない分割画像は、回転しない。また、表示欄82において複数に分割されている画像から任意の画像が選択された後に、左回転ボタン84、若しくは、右回転ボタン86が操作された場合には、選択された分割画像が、その分割画像に表示されているトリミング枠120の中央121を中心に、左方向、若しくは、右方向に90度回転し、選択されていない分割画像は、回転しない。   Then, among the images divided into a plurality in the display field 82, an image to be rotated is selected, and the left rotation button 84, the right rotation button 86, and the adjustment slider 88 are operated to select a plurality of images. An arbitrary trimmed image of the trimmed images is rotated. Specifically, for example, when it is desired to select a divided image positioned below among the images divided into two in the display field 82 in FIG. 17, a finger or the like is brought close to the divided image. The divided image is selected. Then, for example, when the slide portion 98 of the adjustment slider 88 is slid, the selected divided image is rotated by an angle corresponding to the slider amount in the slider direction of the slide portion 98 as shown in FIG. At this time, the selected divided image rotates around the center 121 of the trimming frame 120 displayed in the selected divided image. Note that the unselected divided images are not rotated. Further, when the left rotation button 84 or the right rotation button 86 is operated after an arbitrary image is selected from the images divided into a plurality in the display field 82, the selected divided image is Centering on the center 121 of the trimming frame 120 displayed in the divided image, the image is rotated 90 degrees to the left or right, and an unselected divided image is not rotated.

さらに、表示欄82において2つに分割されている画像のうちの、上方に位置する分割画像を回転操作したい場合には、上述した操作を行うことで、上方に位置する分割画像のみが任意の角度に回転する。そして、表示欄82において2つに分割されている画像のうちの、ユーザが回転操作したい画像の回転操作を行った後に、回転処理画面80において完了ボタン90が操作されることで、図19に示すように、LCD20に編集画面70が表示され、その編集画面70には、個別に回転操作された2つのトリミング画像が表示される。このように、携帯電話10では、複数のトリミング画像を個別に任意の角度に回転させることが可能であり、非常に操作性に優れている。   Further, when it is desired to rotate the divided image located above among the images divided into two in the display field 82, only the divided image located above can be arbitrarily selected by performing the above-described operation. Rotate to an angle. Then, after the user performs a rotation operation on the image that the user wants to rotate among the images divided into two in the display field 82, the completion button 90 is operated on the rotation processing screen 80, whereby FIG. As shown, an editing screen 70 is displayed on the LCD 20, and two trimming images that are individually rotated are displayed on the editing screen 70. Thus, in the mobile phone 10, a plurality of trimmed images can be individually rotated at an arbitrary angle, and the operability is extremely excellent.

<表示アプリケーション>
上述したスキャンデータに基づく画像のLCD20への表示および表示された画像の回転処理等は、CPU12において表示アプリケーション36が実行されることによって行われる。以下に、図20乃至図22を用いて、CPU12で表示アプリケーション36が実行される際のフローを説明する。
<Display application>
The above-described image display on the LCD 20 based on the scan data, rotation processing of the displayed image, and the like are performed by the CPU 12 executing the display application 36. The flow when the display application 36 is executed by the CPU 12 will be described below with reference to FIGS.

表示アプリケーション36が実行されると、スキャンボタンが操作されたか否かが、CPU12によって判断される(S100)。スキャンボタンが操作されていない場合(S100のNO)には、S100の処理が繰り返される。一方、スキャンボタンが操作された場合(S100のYES)には、スキャナ50から送信されたスキャンデータを受信する(S102)。そして、受信したスキャンデータに基づく画像が、編集画面70の表示欄72に表示される(S104)。   When the display application 36 is executed, the CPU 12 determines whether or not the scan button has been operated (S100). If the scan button is not operated (NO in S100), the process of S100 is repeated. On the other hand, when the scan button is operated (YES in S100), the scan data transmitted from the scanner 50 is received (S102). Then, an image based on the received scan data is displayed in the display field 72 of the editing screen 70 (S104).

編集画面70の表示欄72に画像が表示されると、トリミングボタン76が操作されたか否かが、CPU12によって判断される(S106)。トリミングボタン76が操作された場合(S106のYES)には、LCD20にトリミング処理画面100が表示され、トリミング処理画面100の表示欄102に、画像とともに、トリミング枠104が表示される(S108)。なお、編集画面70の表示欄72に既にトリミング枠120が表示されている状態で、トリミングボタン76が操作された場合(S106のYES)には、トリミング処理画面100の表示欄102に、画像とともに、そのトリミング枠120とトリミング枠104とが表示される(S108)。   When an image is displayed in the display field 72 of the edit screen 70, the CPU 12 determines whether or not the trimming button 76 has been operated (S106). When the trimming button 76 is operated (YES in S106), the trimming processing screen 100 is displayed on the LCD 20, and the trimming frame 104 is displayed together with the image in the display field 102 of the trimming processing screen 100 (S108). If the trimming button 76 is operated with the trimming frame 120 already displayed in the display field 72 of the editing screen 70 (YES in S106), the image is displayed in the display field 102 of the trimming process screen 100 together with the image. The trimming frame 120 and the trimming frame 104 are displayed (S108).

そして、トリミング処理画面100において完了ボタン106が操作されると、LCD20に編集画面70が表示される(S109)。この編集画面70では、トリミング枠104の内部の画像が、トリミング画像として表示される。また、トリミング処理画面100の表示欄102に、トリミング枠104だけでなく、トリミング枠120が表示されていた場合には、トリミング枠104の内部の画像と、トリミング枠120の内部の画像とが、トリミング画像として表示される。つまり、複数のトリミング画像が表示される。次に、編集画面70において、回転ボタン74が操作されたか否かが、CPU12によって判断される(S110)。   When the completion button 106 is operated on the trimming processing screen 100, the editing screen 70 is displayed on the LCD 20 (S109). On the editing screen 70, the image inside the trimming frame 104 is displayed as a trimmed image. When not only the trimming frame 104 but also the trimming frame 120 is displayed in the display field 102 of the trimming processing screen 100, the image inside the trimming frame 104 and the image inside the trimming frame 120 are Displayed as a trimmed image. That is, a plurality of trimmed images are displayed. Next, the CPU 12 determines whether or not the rotation button 74 has been operated on the editing screen 70 (S110).

編集画面70の回転ボタン74が操作された場合(S110のYES)には、LCD20に回転処理画面80が表示される(S111)。この回転処理画面80では、トリミング画像だけでなく、トリミング画像の外部の画像も表示される。また、編集画面70で、複数のトリミング画像が表示されていた場合には、回転処理画面80において、複数のトリミング画像と、それら複数のトリミング画像の外部の画像も表示されるが、それら複数のトリミング画像の外部の画像は、1つのトリミング画像を含むように、分割された状態で表示される。   When the rotation button 74 on the edit screen 70 is operated (YES in S110), the rotation processing screen 80 is displayed on the LCD 20 (S111). In the rotation processing screen 80, not only the trimmed image but also an image outside the trimmed image is displayed. When a plurality of trimmed images are displayed on the editing screen 70, a plurality of trimmed images and images outside the plurality of trimmed images are also displayed on the rotation processing screen 80. An image outside the trimmed image is displayed in a divided state so as to include one trimmed image.

続いて、回転処理画面80において、回転処理画面80の右回転ボタン86が操作されたか否かが、CPU12によって判断される(S112)。右回転ボタン86が操作されていない場合(S112のNO)には、回転処理画面80の左回転ボタン84が操作されたか否かが、CPU12によって判断される(S114)。左回転ボタン84が操作されていない場合(S114のNO)には、調整スライダ88のスライド部98のスライダ位置が変更されたか否かが、CPU12によって判断される(S116)。   Subsequently, in the rotation processing screen 80, the CPU 12 determines whether or not the right rotation button 86 of the rotation processing screen 80 has been operated (S112). When the right rotation button 86 is not operated (NO in S112), the CPU 12 determines whether or not the left rotation button 84 on the rotation processing screen 80 is operated (S114). When the left rotation button 84 is not operated (NO in S114), the CPU 12 determines whether or not the slider position of the slide portion 98 of the adjustment slider 88 has been changed (S116).

スライド部98のスライダ位置が変更されている場合(S116のYES)には、スライダ位置に応じた画像の回転角度が演算される(S118)。そして、回転処理画面80の表示欄82に表示されている画像が、トリミング枠120の中央121を中心に、演算された角度に回転される(S119)。なお、回転処理画面80において、表示画像が複数に分割されている場合には、複数の分割画像のうちの選択された分割画像が、その分割画像に含まれるトリミング枠120の中央121を中心に、演算された角度に回転される(S119)。   When the slider position of the slide part 98 has been changed (YES in S116), the rotation angle of the image corresponding to the slider position is calculated (S118). Then, the image displayed in the display field 82 of the rotation processing screen 80 is rotated by the calculated angle around the center 121 of the trimming frame 120 (S119). In the rotation processing screen 80, when the display image is divided into a plurality of divided images, the selected divided image among the plurality of divided images is centered on the center 121 of the trimming frame 120 included in the divided image. The calculated angle is rotated (S119).

次に、トリミング枠120が回転された画像からはみ出しているか否かが、CPU12によって判断される(S120)。トリミング枠120が回転された画像からはみ出している場合(S120のYES)には、画像からトリミング枠120がはみ出している内部に、所定の画像が加えられた状態の画像データが作成され、その画像データに基づくトリミング画像が表示される(S121)。そして、S122に進む。一方、トリミング枠120が回転された画像からはみ出していない場合(S120のNO)には、S121の処理がスキップされ、S122に進む。   Next, the CPU 12 determines whether or not the trimming frame 120 protrudes from the rotated image (S120). When the trimming frame 120 protrudes from the rotated image (YES in S120), image data with a predetermined image added to the inside of the trimming frame 120 protruding from the image is created. A trimmed image based on the data is displayed (S121). Then, the process proceeds to S122. On the other hand, when the trimming frame 120 does not protrude from the rotated image (NO in S120), the process of S121 is skipped and the process proceeds to S122.

S122では、回転処理画面80において完了ボタン90が操作され、編集画面70がLCD20に表示された後に、編集画面70の完了ボタン78が操作されたか否かが、CPU12によって判断される(S122)。完了ボタン78が操作されていない場合(S122のNO)には、S106に戻る。一方、完了ボタン78が操作されている場合(S122のYES)には、編集画面70の表示欄72に表示されている画像の画像データが、データ記憶領域38に記憶される(S124)。そして、表示アプリケーション36の処理が終了する。   In S122, after the completion button 90 is operated on the rotation processing screen 80 and the editing screen 70 is displayed on the LCD 20, the CPU 12 determines whether or not the completion button 78 of the editing screen 70 is operated (S122). If the completion button 78 has not been operated (NO in S122), the process returns to S106. On the other hand, when the completion button 78 is operated (YES in S122), the image data of the image displayed in the display field 72 of the editing screen 70 is stored in the data storage area 38 (S124). Then, the processing of the display application 36 ends.

また、S112で右回転ボタン86が操作されている場合(S112のYES)には、回転処理画面80の表示欄82に表示されている画像が、トリミング枠120の中央121を中心に、右方向に90度回転される(S126)。なお、回転処理画面80において、表示画像が複数に分割されている場合には、複数の分割画像のうちの選択された分割画像が、その分割画像に含まれるトリミング枠120の中央121を中心に、右方向に90度回転される(S126)。そして、S120以降の処理が行われる。また、S114で左回転ボタン84が操作されている場合(S114のYES)には、回転処理画面80の表示欄82に表示されている画像が、トリミング枠120の中央121を中心に、左方向に90度回転される(S128)。なお、回転処理画面80において、表示画像が複数に分割されている場合には、複数の分割画像のうちの選択された分割画像が、その分割画像に含まれるトリミング枠120の中央121を中心に、左方向に90度回転される(S128)。そして、S120以降の処理が行われる。   Further, when the right rotation button 86 is operated in S112 (YES in S112), the image displayed in the display field 82 of the rotation processing screen 80 is directed rightward with the center 121 of the trimming frame 120 as the center. Is rotated 90 degrees (S126). In the rotation processing screen 80, when the display image is divided into a plurality of divided images, the selected divided image among the plurality of divided images is centered on the center 121 of the trimming frame 120 included in the divided image. Then, it is rotated 90 degrees to the right (S126). And the process after S120 is performed. Further, when the left rotation button 84 is operated in S114 (YES in S114), the image displayed in the display field 82 of the rotation processing screen 80 is leftward with the center 121 of the trimming frame 120 as the center. (S128). In the rotation processing screen 80, when the display image is divided into a plurality of divided images, the selected divided image among the plurality of divided images is centered on the center 121 of the trimming frame 120 included in the divided image. Then, it is rotated 90 degrees to the left (S128). And the process after S120 is performed.

また、S116でスライド部98のスライダ位置が変更されていない場合(S116のNO)にも、S120以降の処理が行われる。また、S110で編集画面70の回転ボタン74が操作されていない場合(S110のNO)には、S122以降の処理が行われる。   Even when the slider position of the slide portion 98 has not been changed in S116 (NO in S116), the processing after S120 is performed. If the rotation button 74 on the editing screen 70 is not operated in S110 (NO in S110), the processes after S122 are performed.

また、S106でトリミングボタン76が操作されていない場合(S106のNO)には、編集画面70において回転ボタン74が操作されたか否かが、CPU12によって判断される(S130)。回転ボタン74が操作された場合(S130のYES)には、LCD20に回転処理画面80が表示される(S131)。そして、回転処理画面80の右回転ボタン86が操作されたか否かが、CPU12によって判断される(S132)。右回転ボタン86が操作されていない場合(S132のNO)には、回転処理画面80の左回転ボタン84が操作されたか否かが、CPU12によって判断される(S134)。左回転ボタン84が操作されていない場合(S134のNO)には、調整スライダ88のスライド部98のスライダ位置が変更されたか否かが、CPU12によって判断される(S136)。   If the trimming button 76 is not operated in S106 (NO in S106), the CPU 12 determines whether or not the rotation button 74 is operated on the editing screen 70 (S130). When the rotation button 74 is operated (YES in S130), the rotation processing screen 80 is displayed on the LCD 20 (S131). Then, the CPU 12 determines whether or not the right rotation button 86 on the rotation processing screen 80 has been operated (S132). When the right rotation button 86 has not been operated (NO in S132), the CPU 12 determines whether or not the left rotation button 84 on the rotation processing screen 80 has been operated (S134). When the left rotation button 84 is not operated (NO in S134), the CPU 12 determines whether or not the slider position of the slide portion 98 of the adjustment slider 88 has been changed (S136).

スライド部98のスライダ位置が変更されている場合(S136のYES)には、スライダ位置に応じた画像の回転角度が演算される(S138)。そして、回転処理画面80の表示欄82に表示されている画像が、その画像の中央92を中心に、演算された角度に回転される(S140)。そして、S120以降の処理が行われる。   When the slider position of the slide part 98 has been changed (YES in S136), the rotation angle of the image corresponding to the slider position is calculated (S138). Then, the image displayed in the display field 82 of the rotation processing screen 80 is rotated by the calculated angle around the center 92 of the image (S140). And the process after S120 is performed.

また、S132で右回転ボタン86が操作されている場合(S132のYES)には、回転処理画面80の表示欄82に表示されている画像が、その画像の中央92を中心に、右方向に90度回転される(S142)。そして、S120以降の処理が行われる。また、S134で左回転ボタン84が操作されている場合(S134のYES)には、回転処理画面80の表示欄82に表示されている画像が、その画像の中央92を中心に、左方向に90度回転される(S144)。そして、S120以降の処理が行われる。さらに、S136でスライド部98のスライダ位置が変更されていない場合(S136のNO)にも、S120以降の処理が行われる。   When the right rotation button 86 is operated in S132 (YES in S132), the image displayed in the display field 82 of the rotation processing screen 80 is directed rightward with the center 92 of the image as the center. It is rotated 90 degrees (S142). And the process after S120 is performed. Further, when the left rotation button 84 is operated in S134 (YES in S134), the image displayed in the display field 82 of the rotation processing screen 80 is leftward with the center 92 of the image as the center. It is rotated 90 degrees (S144). And the process after S120 is performed. Further, even when the slider position of the slide portion 98 has not been changed in S136 (NO in S136), the processing after S120 is performed.

なお、S104を実行するCPU12は、第1表示手段の一例である。S108を実行するCPU12は、第2表示手段の一例である。S120を実行するCPU12は、判定手段の一例である。S121を実行するCPU12は、作成手段の一例である。S119、S126、S128を実行するCPU12は、第1画像回転手段の一例である。S140、S142、S144を実行するCPU12は、第2画像回転手段の一例である。   The CPU 12 that executes S104 is an example of a first display unit. The CPU 12 that executes S108 is an example of a second display unit. The CPU 12 that executes S120 is an example of a determination unit. The CPU 12 that executes S121 is an example of a creation unit. The CPU 12 that executes S119, S126, and S128 is an example of a first image rotation unit. The CPU 12 that executes S140, S142, and S144 is an example of a second image rotation unit.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、画像を回転操作するための左回転ボタン84、右回転ボタン86、調整スライダ88等が、LCD20に表示されるタッチボタンであったが、機械式のボタンであってもよい。   In addition, this invention is not limited to the said embodiment, It is possible to implement in the various aspect which gave various change and improvement based on the knowledge of those skilled in the art. Specifically, for example, in the above embodiment, the left rotation button 84, the right rotation button 86, the adjustment slider 88, and the like for rotating the image are touch buttons displayed on the LCD 20, but mechanical type It may be a button.

また、調整スライダ88のスライド部98を直接、ユーザが指,タッチペン等の操作媒体により操作することで、スライド部98をスライドさせる構成とされているが、スライド部98と異なるボタン等を、ユーザが操作媒体により操作することで、スライド部98をスライドさせる構成を採用することが可能である。また、調整スライダ88等を用いずに、ユーザが任意の数値を入力し、入力された数値に応じた角度に、画像が回転する構成であってもよい。   The slide unit 98 of the adjustment slider 88 is directly operated by an operation medium such as a finger or a touch pen so that the slide unit 98 is slid. It is possible to employ a configuration in which the slide unit 98 is slid by operating with the operation medium. Alternatively, the user may input an arbitrary numerical value without using the adjustment slider 88 and the like, and the image may be rotated at an angle corresponding to the input numerical value.

また、上記実施形態では、調整スライダ88の操作により画像が回転する最大回転角度は、10度、若しくは、15度に設定されているが、左回転ボタン84若しくは、右回転ボタン86の操作により画像が回転する角度未満の角度であれば、任意に設定することが可能である。   In the above embodiment, the maximum rotation angle at which the image is rotated by the operation of the adjustment slider 88 is set to 10 degrees or 15 degrees. However, the image is operated by the operation of the left rotation button 84 or the right rotation button 86. Any angle can be set as long as the angle is less than the rotation angle.

また、上記実施形態では、左回転ボタン84若しくは、右回転ボタン86への操作により、90度毎に回転する構成が採用されているが、90度と異なる角度毎に回転する構成を採用することが可能である。ただし、画像を90度、若しくは、180度に回転させる態様が多いことから、30度、45度等の90度の約数となる角度毎に回転する構成を採用することが好ましい。   Moreover, in the said embodiment, although the structure rotated every 90 degree | times by operation to the left rotation button 84 or the right rotation button 86 is employ | adopted, the structure rotated every angle different from 90 degree | times is employ | adopted. Is possible. However, since there are many modes in which the image is rotated by 90 degrees or 180 degrees, it is preferable to employ a configuration in which the image is rotated every angle that is a divisor of 90 degrees such as 30 degrees and 45 degrees.

また、上記実施形態では、携帯電話10のLCD20にスキャンデータに基づく画像が表示され、その画像に対する回転処理等が実行されているが、スキャンデータ以外の画像データ、例えば、カメラ等の撮像装置による撮像データに基づく画像がLCD20に表示され、その画像に対する回転処理等が実行されてもよい。   In the above-described embodiment, an image based on the scan data is displayed on the LCD 20 of the mobile phone 10, and a rotation process is performed on the image. However, image data other than the scan data, for example, an imaging device such as a camera is used. An image based on the imaging data may be displayed on the LCD 20 and a rotation process or the like may be performed on the image.

また、上記実施形態では、画像を表示し、その画像に対する回転処理等を実行するための装置として、携帯電話10が採用されているが、LCD20等の表示部を有する装置であれば、タブレット等の他の携帯端末、PC等の据え置き型の情報処理装置を採用してもよい。   In the above embodiment, the mobile phone 10 is used as a device for displaying an image and executing a rotation process on the image. However, if the device has a display unit such as an LCD 20, a tablet or the like is used. A stationary information processing apparatus such as another portable terminal or a PC may be employed.

また、上記実施形態では、CPU12によって図20乃至図22に示す処理が実行される例を説明したが、これら処理は、CPU12に限らず、ASICや他の論理集積回路により実行されてもよいし、これら処理が、CPU等やASIC、他の論理集積回路が協働することにより実行されてもよい。   In the above embodiment, the example in which the processing shown in FIGS. 20 to 22 is executed by the CPU 12 has been described. However, the processing is not limited to the CPU 12, and may be executed by an ASIC or other logical integrated circuit. These processes may be executed by cooperation of a CPU or the like, an ASIC, or another logic integrated circuit.

10:携帯電話、12:CPU、20:LCD、22:タッチパネル、36:表示アプリケーション、84:左回転ボタン、86:右回転ボタン、88:調整スライダ、98:スライド部、   10: mobile phone, 12: CPU, 20: LCD, 22: touch panel, 36: display application, 84: left rotation button, 86: right rotation button, 88: adjustment slider, 98: slide part,

Claims (11)

ユーザ操作を受け付ける操作部と、表示部とを備えた情報処理装置のコンピュータが読み取り可能な制御プログラムであって、
前記コンピュータを、
画像データに基づく画像を前記表示部に表示させる第1表示手段と、
前記第1表示手段により画像が表示された状態で、前記操作部が当該画像をトリミングするためのトリミング枠を表示させるためのユーザ操作を受け付けたことに応じて、当該トリミング枠を前記表示部に表示させる第2表示手段と、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に回転させる第1画像回転手段と、
前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に回転させる第2画像回転手段と、
して機能させることを特徴とする制御プログラム。
A control program readable by a computer of an information processing apparatus including an operation unit that receives a user operation and a display unit,
The computer,
First display means for displaying an image based on image data on the display unit;
In response to receiving a user operation for displaying a trimming frame for trimming the image while the image is displayed by the first display unit, the trimming frame is displayed on the display unit. Second display means for displaying;
When an image is displayed by the first display unit and a trimming frame is displayed by the second display unit, the operation unit accepts a user operation for rotating the image. First image rotating means for rotating the image around the center of the trimming frame;
When an image is displayed by the first display unit but a trimming frame is not displayed by the second display unit, the operation unit accepts a user operation for rotating the image. Second image rotating means for rotating the image around the center of the image;
A control program characterized by functioning as a function.
前記第1画像回転手段により前記表示部に表示された画像が回転された際に、前記表示部に表示されたトリミング枠の内部領域全体が当該画像で満たされているか否かを判定する判定手段と、
前記判定手段により前記表示部に表示されたトリミング枠の内部領域全体が当該画像で満たされていないと判定された場合に、当該トリミング枠の当該画像で満たされていない部分を、所定の画像で満たすように、当該トリミング枠の内部領域全体の画像の画像データを作成する作成手段と、
して前記コンピュータを機能させることを特徴とする請求項1に記載の制御プログラム。
Determination means for determining whether or not the entire inner area of the trimming frame displayed on the display unit is filled with the image when the image displayed on the display unit is rotated by the first image rotation unit. When,
When it is determined by the determination means that the entire inner area of the trimming frame displayed on the display unit is not filled with the image, a portion of the trimming frame that is not filled with the image is represented as a predetermined image. Creating means for creating image data of an image of the entire inner region of the trimming frame so as to satisfy,
The control program according to claim 1, wherein the computer is caused to function.
前記第2表示手段は、
前記第1表示手段により画像が表示された状態で、複数の前記トリミング枠を前記表示部に表示させ、
前記第1画像回転手段は、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段により複数のトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像のうち少なくとも当該複数のトリミング枠の内側領域の画像を、当該複数のトリミング枠毎の中央を中心に、個別に回転させることを特徴とする請求項1又は2に記載の制御プログラム。
The second display means includes
In a state where an image is displayed by the first display means, a plurality of the trimming frames are displayed on the display unit,
The first image rotation means includes
When the image is displayed by the first display unit and a plurality of trimming frames are displayed by the second display unit, the operation unit has received a user operation for rotating the image. 3. The control according to claim 1, wherein at least an image in an inner region of the plurality of trimming frames among the images is individually rotated around a center of each of the plurality of trimming frames. program.
前記第1表示手段は、
前記第2表示手段により複数のトリミング枠が前記表示部に表示された状態において、前記第1画像回転手段により前記表示部に表示された画像が回転される場合に、当該複数のトリミング枠を個別に含むように当該画像を分割した状態で、当該画像の当該トリミング枠の内側領域だけでなく外側領域も前記表示部に表示させることを特徴とする請求項3に記載の制御プログラム。
The first display means includes
In a state where a plurality of trimming frames are displayed on the display unit by the second display unit, when the image displayed on the display unit is rotated by the first image rotation unit, the plurality of trimming frames are individually displayed. The control program according to claim 3, wherein not only the inner area of the trimming frame of the image but also the outer area is displayed on the display unit in a state where the image is divided so as to be included in the display.
前記第1表示手段は、
前記第2表示手段によりトリミング枠が前記表示部に表示された状態において、前記操作部がトリミングするためのユーザ操作を受け付けたことに応じて、当該画像を当該トリミング枠に基づきトリミングされた状態で前記表示部に表示させ、前記第1画像回転手段により前記表示部に表示された画像が回転される場合に、当該画像の当該トリミング枠の内側領域だけでなく外側領域の画像も前記表示部に表示させることを特徴とする請求項1乃至3の何れか1項に記載の制御プログラム。
The first display means includes
In a state in which the trimming frame is displayed on the display unit by the second display unit, the image is trimmed based on the trimming frame in response to receiving a user operation for trimming by the operation unit. When the image displayed on the display unit and displayed on the display unit by the first image rotation unit is rotated, not only the inner region of the trimming frame of the image but also the image of the outer region is displayed on the display unit. The control program according to any one of claims 1 to 3, wherein the control program is displayed.
前記操作部は、
前記表示部に表示された第1操作子と、前記第1操作子とは異なる第2操作子であり、
前記第1画像回転手段は、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記第1操作子が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に、所定の角度、回転させ、前記第2操作子が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させ、
前記第2画像回転手段は、
前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記第1操作子が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に、前記所定の角度、回転させ、前記第2操作子が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に、前記設定角度以下の任意の角度に回転させることを特徴とする請求項1乃至5の何れか1項に記載の制御プログラム。
The operation unit is
A first operator displayed on the display unit and a second operator different from the first operator;
The first image rotation means includes
When the image is displayed by the first display means and the trimming frame is displayed by the second display means, the first operator accepts a user operation for rotating the image. Accordingly, the image is rotated by a predetermined angle around the center of the trimming frame, and the image is changed in response to receiving a user operation for the second operator to rotate the image. With the center of the trimming frame as the center, rotate it to an arbitrary angle below the set angle set below the predetermined angle,
The second image rotation means includes
When an image is displayed by the first display means but a trimming frame is not displayed by the second display means, the first operator accepts a user operation for rotating the image. In response, the image is rotated by the predetermined angle around the center of the image, and in response to receiving a user operation for the second operator to rotate the image, the image is The control program according to any one of claims 1 to 5, wherein the control program is rotated at an arbitrary angle equal to or less than the set angle around the center of the image.
前記第2操作子は、
前記表示部において、所定の方向にスライド動作が可能なスライド部を有し、
前記第1画像回転手段は、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記スライド部がスライド動作を示すユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に、前記設定角度以下の任意の角度に回転させ、
前記第2画像回転手段は、
前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記スライド部がスライド動作を示すユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に、前記設定角度以下の任意の角度に回転させることを特徴とする請求項6に記載の制御プログラム。
The second operator is
The display unit has a slide part capable of sliding in a predetermined direction,
The first image rotation means includes
When the image is displayed by the first display unit and the trimming frame is displayed by the second display unit, the image is displayed in response to the slide unit receiving a user operation indicating a slide operation. Is rotated around the center of the trimming frame to an arbitrary angle equal to or less than the set angle,
The second image rotation means includes
When an image is displayed by the first display unit but a trimming frame is not displayed by the second display unit, the image is displayed in response to the slide unit receiving a user operation indicating a slide operation. 7. The control program according to claim 6, wherein the control program is rotated around the center of the image to an arbitrary angle equal to or less than the set angle.
前記所定の角度は、90度であることを特徴とする請求項6又は7に記載の制御プログラム。   The control program according to claim 6 or 7, wherein the predetermined angle is 90 degrees. 前記第2表示手段により表示される前記トリミング枠は、矩形であり、
前記第1画像回転手段は、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の4隅の頂点からの距離が同一となる箇所を、当該トリミング枠の中央として、当該中央を中心に回転させることを特徴とする請求項1乃至8の何れか1項に記載の制御プログラム。
The trimming frame displayed by the second display means is a rectangle,
The first image rotation means includes
When an image is displayed by the first display unit and a trimming frame is displayed by the second display unit, the operation unit accepts a user operation for rotating the image. 9. The image according to claim 1, wherein the image is rotated around the center, with a portion having the same distance from the apex of the four corners of the trimming frame as the center of the trimming frame. The control program according to item 1.
前記第1表示手段により表示される前記画像は、矩形であり、
前記第2画像回転手段は、
前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の4隅の頂点からの距離が同一となる箇所を、当該画像の中央として、当該中央を中心に回転させることを特徴とする請求項1乃至9の何れか1項に記載の制御プログラム。
The image displayed by the first display means is a rectangle,
The second image rotation means includes
When an image is displayed by the first display unit but a trimming frame is not displayed by the second display unit, the operation unit accepts a user operation for rotating the image. 10. The image according to claim 1, wherein the image is rotated around the center, with a portion having the same distance from the vertices of the four corners of the image as the center of the image. The control program described in 1.
ユーザ操作を受け付ける操作部と、
表示部と、
制御部と、
を備えた情報処理装置であって、
前記制御部は、
画像データに基づく画像を前記表示部に表示させる第1表示手段と、
前記第1表示手段により画像が表示された状態で、前記操作部が当該画像をトリミングするためのトリミング枠を表示させるためのユーザ操作を受け付けたことに応じて、当該トリミング枠を前記表示部に表示させる第2表示手段と、
前記第1表示手段により画像が表示されるととともに、前記第2表示手段によりトリミング枠が表示されている場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該トリミング枠の中央を中心に回転させる第1画像回転手段と、
前記第1表示手段により画像が表示されているが、前記第2表示手段によりトリミング枠が表示されていない場合に、前記操作部が当該画像を回転させるためのユーザ操作を受け付けたことに応じて、当該画像を、当該画像の中央を中心に回転させる第2画像回転手段と、
を有することを特徴とする情報処理装置。
An operation unit for accepting user operations;
A display unit;
A control unit;
An information processing apparatus comprising:
The controller is
First display means for displaying an image based on image data on the display unit;
In response to receiving a user operation for displaying a trimming frame for trimming the image while the image is displayed by the first display unit, the trimming frame is displayed on the display unit. Second display means for displaying;
When an image is displayed by the first display unit and a trimming frame is displayed by the second display unit, the operation unit accepts a user operation for rotating the image. First image rotating means for rotating the image around the center of the trimming frame;
When an image is displayed by the first display unit but a trimming frame is not displayed by the second display unit, the operation unit accepts a user operation for rotating the image. Second image rotating means for rotating the image around the center of the image;
An information processing apparatus comprising:
JP2014198137A 2014-09-29 2014-09-29 Control program and information processing apparatus Active JP6384236B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2014198137A JP6384236B2 (en) 2014-09-29 2014-09-29 Control program and information processing apparatus
US14/868,550 US20160093272A1 (en) 2014-09-29 2015-09-29 Information processing device and non-transitory storage medium storing instructions executable by the information processing device
US17/358,212 US11699416B2 (en) 2014-09-29 2021-06-25 Information processing device and non-transitory storage medium storing instructions executable by the information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014198137A JP6384236B2 (en) 2014-09-29 2014-09-29 Control program and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2016072725A JP2016072725A (en) 2016-05-09
JP6384236B2 true JP6384236B2 (en) 2018-09-05

Family

ID=55867377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014198137A Active JP6384236B2 (en) 2014-09-29 2014-09-29 Control program and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6384236B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680108B (en) * 2017-07-28 2019-06-21 平安科技(深圳)有限公司 Inclination value-acquiring method, device, terminal and the storage medium of tilted image

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002008008A (en) * 2000-06-27 2002-01-11 Fuji Photo Film Co Ltd Medical image output method and device therefor
JP4093053B2 (en) * 2002-02-28 2008-05-28 セイコーエプソン株式会社 Image area specification and image correction
JP2006229455A (en) * 2005-02-16 2006-08-31 Konica Minolta Photo Imaging Inc Program and image processing apparatus
JP5544736B2 (en) * 2009-03-26 2014-07-09 株式会社ニコン Image processing apparatus and image processing program

Also Published As

Publication number Publication date
JP2016072725A (en) 2016-05-09

Similar Documents

Publication Publication Date Title
US11699416B2 (en) Information processing device and non-transitory storage medium storing instructions executable by the information processing device
US9158492B2 (en) Non-transitory computer-readable medium storing image processing program for N-in-1 printing, image processing apparatus, and image processing method for N-in-1 printing
JP6584076B2 (en) Information processing apparatus, information processing method, and computer program
US9807264B2 (en) Information-processing apparatus, control method of information-processing apparatus, program, recording medium, portable terminal, and information-processing system
US9323494B2 (en) Image processing system, image processing apparatus, portable information terminal, computer-readable storage medium with enhanced display capabilities
US20190073341A1 (en) Computer readable recording medium, information processing terminal device, and control method of information processing terminal device
JP5885152B2 (en) Portable terminal device, program, and display control method
JP2016057759A (en) Electronic apparatus, method, and program
CN108632484B (en) Image forming system and image forming apparatus
JP6384236B2 (en) Control program and information processing apparatus
US10705697B2 (en) Information processing apparatus configured to edit images, non-transitory computer-readable medium storing instructions therefor, and information processing method for editing images
JP7201037B2 (en) Control program and information processing device
JP6930629B2 (en) Control program and information processing device
JP6691696B2 (en) Control program and information processing device
JP2018072522A (en) Information processing device, program, and method for controlling information processing device
JP6547263B2 (en) Control program and information processing apparatus
JP6025765B2 (en) Image processing system and image processing apparatus
JP2017049664A (en) Display device and display control program
JP7073699B2 (en) Image processing program, information processing device and image processing method
JP6379775B2 (en) Control program and information processing apparatus
JP7248171B2 (en) Image processing program, information processing device, and image processing method
JP5976708B2 (en) Electronic equipment and operation support program
US11900044B2 (en) Display method and display apparatus for displaying page image and thumbnail images of page image
JP6677037B2 (en) Information processing device, image reading device, and program
JP2017050620A (en) Display device and display control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180220

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: 20180710

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180723

R150 Certificate of patent or registration of utility model

Ref document number: 6384236

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150