JP2020120395A - Control program and information processor - Google Patents

Control program and information processor Download PDF

Info

Publication number
JP2020120395A
JP2020120395A JP2020070682A JP2020070682A JP2020120395A JP 2020120395 A JP2020120395 A JP 2020120395A JP 2020070682 A JP2020070682 A JP 2020070682A JP 2020070682 A JP2020070682 A JP 2020070682A JP 2020120395 A JP2020120395 A JP 2020120395A
Authority
JP
Japan
Prior art keywords
image
displayed
display unit
angle
unit
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.)
Granted
Application number
JP2020070682A
Other languages
Japanese (ja)
Other versions
JP6930629B2 (en
Inventor
優治 宮田
Yuji Miyata
優治 宮田
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
Priority claimed from JP2019042311A external-priority patent/JP6691696B2/en
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2020070682A priority Critical patent/JP6930629B2/en
Publication of JP2020120395A publication Critical patent/JP2020120395A/en
Priority to JP2021129606A priority patent/JP7201037B2/en
Application granted granted Critical
Publication of JP6930629B2 publication Critical patent/JP6930629B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

To rotate an image that is displayed in a fall-down state or the like, into a normal state and to also rotate an image that is displayed while being tilted at a little angle, into a normal state.SOLUTION: In an information processor including an LCD 20, an image based on image data, a left rotation button 84, a right rotation button 86 and an adjustment slider 88 are displayed on the LCD. When the left rotation button or the right rotation button 86 is operated, the image displayed on the LCD is rotated at 90 degrees. When a slide part 98 of the adjustment slider is operated, on the other hand, the image displayed on the LCD is rotated at any angle equal ot or smaller than a preset angle that is set to 90 degrees or smaller. Thus, the image which is displayed in the fall-down state or the like can be rotated into the normal state and the image which is displayed while being tilted at a little angle can also be rotated into the normal state.SELECTED DRAWING: Figure 3

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 device.

画像データに基づく画像が表示部に表示される際には、画像が、正常な状態から90度、若しくは、180度傾いた状態で表示部に表示される場合がある。つまり、画像が、横倒しの状態、若しくは、上下方向にひっくり返った状態で表示部に表示される場合がある。下記特許文献には、横倒しの状態、若しくは、上下方向にひっくり返った状態で表示された画像を、90度、若しくは、180度回転させ、正常な状態の画像を表示させるための技術が記載されている。 When the image based on the image data is displayed on the display unit, the image may be displayed on the display unit in a state of being inclined by 90 degrees or 180 degrees from the normal state. In other words, the image may be displayed on the display unit in a state of being laid sideways or upside down. The following patent documents describe a technique for displaying an image in a normal state by rotating an image displayed in a state of being laid down or turned upside down by 90 degrees or 180 degrees. Has been done.

特開2001−111809号公報JP 2001-111809 A

上記特許文献に記載の技術によれば、横倒しの状態、若しくは、上下方向にひっくり返った状態で表示された画像を、正常な状態で表示部に表示させることが可能となる。しかしながら、表示部に表示された画像を、僅かに回転させることが望まれる場合がある。例えば、原稿がスキャナのフラットベッド等にセットされる際に、原稿が僅かに傾いていた場合には、その原稿のスキャンデータに基づく画像は、正常な状態から僅かな角度傾いた状態で表示部に表示される。このような場合には、表示部に表示された画像をわずかな角度回転させることが望まれる。本発明は、そのような事情に鑑みてなされたものであり、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像を、正常な状態に回転させるための技術を提供する。 According to the technique described in the above patent document, it is possible to display an image displayed in a sideways state or in a state of being turned upside down on the display unit in a normal state. However, it may be desired to slightly rotate the image displayed on the display unit. For example, when the document is set on the flatbed of the scanner or the like and the document is slightly tilted, the image based on the scan data of the document is displayed on the display unit with a slight tilt from the normal state. Displayed in. In such a case, it is desired to rotate the image displayed on the display unit by a slight angle. The present invention has been made in view of such a situation, and rotates an image displayed in a sideways state or the like to a normal state, and an image displayed in a state tilted at a slight angle to a normal state. To provide a technique for rotating the product in a stable state.

上記課題を解決するために、本発明の制御プログラムは、ユーザ操作に応じた信号を出力する操作部と、表示部とを備えた情報処理装置のコンピュータが読み取り可能な制御プログラムであって、前記コンピュータを、画像データに基づく画像、第1操作子、前記第1操作子とは異なる第2操作子を前記表示部に表示させる表示手段と、前記操作部が前記第1操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、所定の角度毎に回転させる第1画像回転手段と、前記操作部が前記第2操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させる第2画像回転手段と、して機能させることを特徴とする。 In order to solve the above problems, a control program of the present invention is a control program readable by a computer of an information processing device including an operation unit that outputs a signal according to a user operation, and Display means for causing a computer to display an image based on image data, a first operating element, and a second operating element different from the first operating element on the display section; and the operating section for operating the first operating element. A first image rotation unit that rotates the image displayed on the display unit by the display unit at a predetermined angle when the signal shown is output, and the operation unit indicates an operation on the second operator. Functions as a second image rotation unit that rotates the image displayed on the display unit by the display unit to an arbitrary angle equal to or less than the set angle set to the predetermined angle or less when the signal is output. The feature is that

また、上記課題を解決するために、本発明の情報処理装置は、ユーザ操作に応じた信号を出力する操作部と、表示部と、制御部と、を備えた情報処理装置であって、前記制御部は、画像データに基づく画像、第1操作子、前記第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 outputs a signal according to a user operation, a display unit, and a control unit. The control unit displays an image based on image data, a first manipulator, a second manipulator different from the first manipulator on the display unit, and the manipulating unit manipulates the first manipulator. A first image rotation means for rotating the image displayed on the display section by the display means at a predetermined angle, and the operation section operates the second operator. A second image rotation unit that rotates the image displayed on the display unit by the display unit to an arbitrary angle equal to or less than the set angle set to the predetermined angle or less when the signal indicating is output. It is characterized by

本明細書の実施形態として記載の制御プログラム、および、情報処理装置では、表示部に、画像データに基づく画像と、第1操作子と、第2操作子とが表示される。そして、第1操作子が操作された場合には、表示部に表示された画像が、所定の角度毎に回転する。一方、第2操作子が操作された場合には、表示部に表示された画像が、その所定の角度以下に設定された設定角度以下の任意の角度に回転する。これにより、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像も、正常な状態に回転させることが可能となる。 In the control program and the information processing device described as the embodiments of the present specification, an image based on image data, a first manipulator, and a second manipulator are displayed on the display unit. Then, when the first operator is operated, the image displayed on the display unit is rotated at every predetermined angle. On the other hand, when the second manipulator is operated, the image displayed on the display unit rotates to an arbitrary angle equal to or smaller than the set angle set to the predetermined angle or less. As a result, it is possible to rotate the image displayed in the sideways state or the like to the normal state and also rotate the image displayed in the state in which the image is tilted at a slight angle to the normal state.

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

<実施形態>
図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 the information processing device 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 an ADF (abbreviation of Auto Document Feeder), and scans a document set in either the flat bed or the ADF to create 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) (a computer of the present invention, an example of a control unit) 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 constituent elements 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 a Wi-Fi (R) (registered trademark of Wi-Fi Alliance) method (may be abbreviated as WF method) based on the IEEE 802.11 standard and a standard equivalent thereto. It is possible to perform the wireless communication 30. That is, when the mobile phone 10 accesses the access point 52 and becomes ready to perform the WF wireless communication 30, the mobile phone 10 can perform data communication with the scanner 50 via the access point 52.

携帯電話通信I/F18は、基地局56との間で携帯電話通信方式の無線通信32を行うことが可能とされている。すなわち、携帯電話10は、携帯電話通信方式の無線通信32を行える状態になれば、基地局56を介して、データ通信することが可能になる。 The mobile phone communication I/F 18 can perform wireless communication 32 of a mobile phone communication system with the base station 56. That is, the mobile phone 10 can perform data communication via the base station 56 when the mobile phone 10 is ready for the 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 the display application (an example of the 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 the program name. For example, the description "the display application 36 is" may mean "the CPU 12 that executes the display application 36".

また、記憶部14は、データ記憶領域38を備える。データ記憶領域38は、スキャナ50から取得したスキャンデータ、表示アプリケーション36の実行に必要なデータなどを記憶する領域である。なお、記憶部14は、RAM(Random Access Memoryの略)、ROM(Read Only Memoryの略)、フラッシュメモリー、HDD(ハードディスクの略)、CPU12が備えるバッファなどが組み合わされて構成されている。 The storage unit 14 also 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 included in the CPU 12, and the like.

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

<通信システムを利用した画像の表示>
通信システム1では、スキャナ50が、携帯電話10からの指令に従って、スキャン処理を実行し、スキャン処理により作成されたスキャンデータが、携帯電話10に送信される。携帯電話10では、受信したスキャンデータに基づく画像が、LCD20に表示される。そして、LCD20に表示された画像が、タッチパネル22への操作により、回転され、LCD20に表示された画像の表示角度が調整される。
<Display of images using communication system>
In the communication system 1, the scanner 50 executes a scan process according to a command from the mobile phone 10, and the 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 operating 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 an image display process based on scan data is operated in the mobile phone 10, a screen (not shown) for performing the scan process is displayed on the LCD 20. To be 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 the conditions of the scanning process, and by operating the setting button, the resolution, selection between monochrome scanning and color scanning, and the flatbed of the scanner 50 and the original of ADF are selected. Selection of whether or not to scan is set. The scan button is a button for executing the scan process, and a scan process execution command 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と、トリミングボタン(本発明の第3操作子の一例)76と、完了ボタン78とが表示される。表示欄72には、受信したスキャンデータに基づく画像が表示される。回転ボタン74は、表示欄72に表示された画像の回転処理を実行するためのボタンである。トリミングボタン76は、表示欄72に表示された画像のトリミング処理を実行するためのボタンである。完了ボタン78は、編集画面70での操作が完了した際に操作されるボタンである。 Upon receiving the execution command, the scanner 50 executes the scan process according to the command and transmits the scan data created by the scan process to the mobile phone 10. Upon receiving the scan data, the mobile phone 10 displays the edit screen 70 on the LCD 20, as shown in FIG. On the edit screen 70, a display field 72, a rotation button 74, a trimming button (an example of the third operator of the present invention) 76, and a completion button 78 are displayed. An image based on the received scan data is displayed in the display field 72. 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 operated when the operation on the edit 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 edit 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 ( An example 88 of the second operator of the invention and a completion button 90 are displayed. In the display field 82, the image displayed in the display field 72 of the edit screen 70 is displayed. The left rotation button 84 is a button for rotating the image displayed in the display field 82 90 degrees to the left. The right rotation button 86 is a button for rotating the image displayed in the display field 82 90 degrees to the right. The adjustment slider 88 is a button for rotating the image displayed in the display field 82 in any direction and at any angle. The completion button 90 is a button 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-mentioned button is operated by the user. Further, the touch panel 22 outputs a signal according to the operation when the slide portion 98 of the adjustment slider 88 is operated.

回転処理画面80において、左回転ボタン84が操作されると、図4に示すように、表示欄82に表示されている画像が、左方向に90度回転する。また、右回転ボタン86が操作されると、表示欄82に表示されている画像が、右方向に90度回転する。これにより、例えば、90度傾いた状態でスキャンされた原稿の画像、つまり、横倒しの状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。また、左回転ボタン84が2回操作されると、表示欄82に表示されている画像が、左方向に180度回転する。また、右回転ボタン86が2回操作されると、表示欄82に表示されている画像が、右方向に180度回転する。これにより、例えば、180度傾いた状態でスキャンされた原稿の画像、つまり、上下方向にひっくり返った状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。なお、画像が回転する際には、表示欄82の中央を中心に回転する。 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 field 82 is rotated 90 degrees to the left. Further, when the right rotation button 86 is operated, the image displayed in the display field 82 is rotated 90 degrees to the right. As a result, for example, it is possible to display an image of a document scanned in a state tilted by 90 degrees, that is, an image in a sideways state on the LCD 20 as an image in a normal state. Further, when the left rotation button 84 is operated twice, the image displayed in the display column 82 is rotated 180 degrees to the left. Further, when the right rotation button 86 is operated twice, the image displayed in the display field 82 is rotated rightward by 180 degrees. As a result, for example, it is possible to display on the LCD 20 an image of a document scanned with a tilt of 180 degrees, that is, an image that is flipped up and down as a normal image. Note that when the image rotates, it rotates around the center of the display field 82.

また、調整スライダ88は、ガイド部96とスライド部(本発明のスライド部の一例)98とによって構成されている。ガイド部96は、所定の長さの直線であり、携帯電話10の左右方向に延びるようにLCD20に表示されている。スライド部98は、概して円形をなし、スライド部98の中央に表示されており、ガイド部96上において、ガイド部96に沿った方向にスライド操作可能である。つまり、ユーザが、指,タッチペン等の操作媒体をスライド部98に接近・接触させた状態で、操作媒体を左右方向に移動させることで、スライド部98がガイド部96上においてスライドする。このように、スライド部98がスライド操作されることで、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。 Further, 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 on the guide portion 96 in a direction along the guide portion 96. That is, the user slides the slide medium 98 on the guide portion 96 by moving the slide medium 98 in the left-right direction while the slide medium 98 is brought close to or in contact with the slide medium 98 such as a finger or a touch pen. In this way, when the slide portion 98 is slid, the image displayed in the display field 82 is rotated in the slide direction of the slide portion 98 by an angle corresponding to the slide amount of the slide portion 98.

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

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

なお、スライド部98への操作により回転する画像の最大回転角度(以下、「画像最大回転角度」と記載する場合がある)は、小さな角度に設定されるほど、画像の表示角度を好適に調整することが可能となる。しかしながら、画像最大回転角度が小さすぎると、その画像最大回転角度より傾いた状態で表示された画像を正常な状態まで回転させることができない虞がある。特に、原稿が、フラットベッドにセットされる場合には、ADFにセットされる場合と比較して、傾いた状態でセットされる可能性が高い。このため、フラットベッドにセットされた原稿のスキャンデータに基づく画像が、傾いた状態で表示されている場合には、画像最大回転角度が小さすぎると、傾いた状態で表示された画像を正常な状態まで回転させることができない虞がある。 The maximum rotation angle of the image rotated by the operation on the slide portion 98 (hereinafter sometimes referred to as “image maximum rotation angle”) is preferably adjusted as the angle is set smaller. It becomes possible to do. However, if the image maximum rotation angle is too small, there is a possibility that the image displayed in a state tilted from the image maximum rotation angle cannot be rotated to a normal state. In particular, when a document is set on the flat bed, it is more likely to be set in an inclined state than when it is set on the ADF. Therefore, when the image based on the scan data of the original set on the flatbed is displayed in a tilted state, if the maximum image rotation angle is too small, the image displayed in a tilted state will not be displayed normally. 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 flatbed is displayed on the LCD 20 is based on the scan data when the document is set on the ADF. It is set to be larger than the maximum image rotation angle when the image is displayed on the LCD 20. Specifically, in the screen for performing the scan process, the scan process condition set by the setting button is stored in the data storage area 38. Then, when the image based on the scan data is displayed on the LCD 20, the scan processing condition corresponding to the scan data is extracted from the data storage area 38. Then, it is determined from the extracted scan processing conditions whether the document to be scanned is set on the flatbed or the ADF. When it is determined that the document to be scanned is set on the flatbed, the maximum image rotation angle is set to 15 degrees. When it is determined that the document to be scanned is set in the ADF, the maximum image rotation angle is set to 10 degrees. In other words, when the maximum image rotation angle is set to a relatively small angle of 10 to 15 degrees and a highly tilted image is likely to be displayed, the maximum image rotation angle is increased to some extent. Is set. As a result, the display angle of the image is adjusted appropriately, and even when the document is set on the flatbed with a certain degree of tilt, the image displayed in the tilt state is rotated to the normal state. It becomes possible.

また、回転処理画面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, the edit screen 70 is displayed on the LCD 20, as shown in FIG. In the display field 72 of the edit screen 70, the image displayed in the display field 82 of the rotation processing screen 80 is displayed. That is, when the image rotation processing is 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 field 102, the image displayed in the display field 72 of the edit screen 70 is displayed, and the trimming frame 104 is displayed in a state of being overlapped with the image. The image inside the trimming frame 104 is displayed with high brightness, and the image outside the trimming frame 104 is displayed with low brightness.

トリミング枠104は、表示欄102に表示された画像の任意の部分を切り取るためのものであり、トリミング枠104の頂点及び辺の各々には、拡大・縮小子108が付されている。拡大・縮小子108の内部には、矢印が記されており、拡大・縮小子108を矢印の方向にスライドさせることで、トリミング枠104が矢印の方向に、拡大若しくは、縮小する。つまり、ユーザが、指,タッチペン等の操作媒体を拡大・縮小子108に接近・接触させた状態で、操作媒体をその拡大・縮小子108に記されている矢印の方向に移動させることで、その矢印の方向にトリミング枠104が拡大若しくは、縮小する。これにより、トリミング枠104を任意の大きさに調整することが可能となる。また、トリミング枠104の中央部には、移動子110が付されている。移動子110は、トリミング枠104を移動させるためのものであり、ユーザが、指,タッチペン等の操作媒体を移動子110に接近・接触させた状態で、操作媒体を任意の位置に移動させることで、その位置にトリミング枠104が移動する。これにより、表示欄102に表示されている画像上の任意の位置に、トリミング枠104を移動させることが可能となる。 The trimming frame 104 is for cutting out an arbitrary portion of the image displayed in the display field 102, and each of the vertices and sides of the trimming frame 104 is provided with a scaling element 108. An arrow is drawn inside the enlargement/reduction element 108, and the trimming frame 104 is enlarged or reduced in the arrow direction by sliding the enlargement/reduction element 108 in the arrow direction. That is, the user moves the operation medium in the direction of the arrow marked 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. This allows the trimming frame 104 to be adjusted to any size. Further, a mover 110 is attached to the center of the trimming frame 104. The mover 110 is for moving the trimming frame 104, and allows a user to move the operation medium to an arbitrary position while the operation medium such as a finger or a touch pen approaches or contacts the mover 110. Then, the trimming frame 104 moves to that position. This allows the trimming frame 104 to 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に表示することが可能となる。 When the completion button 106 is operated after the trimming frame 104 is adjusted to an arbitrary size on the trimming processing screen 100 and the trimming frame 104 is moved to an arbitrary position, the edit is performed on the LCD 20 as shown in FIG. The screen 70 is displayed. In the display field 72 of the edit screen 70, among the images displayed in the display field 102 of the trimming processing screen 100, the image inside the trimming frame 104 (hereinafter, sometimes referred to as “trimming image”). Only displayed. As a result, of the images displayed in the display field 102 of the trimming processing screen 100, only the image of the portion desired by the user can be displayed on the LCD 20.

また、携帯電話10では、トリミング画像の回転角度を調整することが可能である。つまり、編集画面70の表示欄72にトリミング画像が表示されている状態で、回転ボタン74が操作されると、図9に示すように、LCD20に回転処理画面80が表示される。この回転処理画面80の表示欄82には、トリミング画像だけでなく、トリミング画像の外側の画像も表示される。つまり、表示欄82には、トリミング処理画面100の表示欄102に表示されていた画像が表示される。ただし、トリミング画像は、明度が高い状態で表示され、トリミング画像以外の画像は、明度の低い状態で表示される。このため、トリミング画像と、トリミング画像以外の画像との間には、トリミング枠120が表示される。 In addition, the mobile phone 10 can adjust the rotation angle of the trimming image. That is, when the rotation button 74 is operated while the trimming image is displayed in the display field 72 of the edit 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 the image outside the trimmed image is displayed. That is, the display field 82 displays the image displayed in the display field 102 of the trimming processing screen 100. However, the trimmed image is displayed with high brightness, and the images other than the trimmed image are displayed with low brightness. Therefore, the trimming frame 120 is displayed between the trimmed image and the image other than the trimmed image.

回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、左回転ボタン84が操作されると、図10に示すように、表示欄82に表示されている画像と、トリミング枠120との両方が、左方向に90度回転する。なお、表示欄82にトリミング枠120が表示されている場合には、画像とトリミング枠120との両方は、表示欄82ではなく、トリミング枠120の中央を中心に回転する。そして、画像とトリミング枠120とが回転した後に、完了ボタン90が操作されると、図11に示すように、表示欄82には、左方向に90度回転した状態のトリミング枠120の内部の画像のみが、トリミング画像として表示される。なお、表示欄82にトリミング枠120が表示されている状態で、右回転ボタン86が操作された場合には、画像とトリミング枠120との両方が右方向に回転することを除いて、左回転ボタン84が操作された場合と同じであるため、説明を省略する。 When the left rotation button 84 is operated while 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 and the trimming frame are displayed as shown in FIG. Both 120 and 90 rotate 90 degrees to the left. Note that when the trimming frame 120 is displayed in the display field 82, both the image and the trimming frame 120 rotate around the center of the trimming frame 120, not in the display field 82. Then, when the completion button 90 is operated after the image and the trimming frame 120 are rotated, as shown in FIG. 11, the display column 82 shows the inside of the trimming frame 120 rotated 90 degrees to the left. Only the image is displayed as the trimmed image. When the right rotation button 86 is operated while the trimming frame 120 is displayed in the display field 82, the left rotation is performed except that both the image and the trimming frame 120 rotate to the right. The description is omitted because it is the same as when the button 84 is operated.

また、回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、調整スライダ88のスライド部98がスライド操作されると、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。この際、トリミング枠120は、回転しない。つまり、表示欄82にトリミング枠120が表示されている状態で、スライド部98がスライド操作されると、スライド操作に応じて、表示欄82に表示されている画像のみが回転する。 Further, when the slide portion 98 of the adjustment slider 88 is slid while 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 section 98. In the sliding direction of the slide unit 98 at an angle corresponding to the slide amount of the slide unit 98. At this time, the trimming frame 120 does not rotate. That is, when the slide portion 98 is slid while the trimming frame 120 is displayed in the display field 82, only the image displayed in the display field 82 is rotated according to the slide operation.

具体的には、例えば、スライド部98を、図12に示すように、左方向に所定量スライドさせた場合には、トリミング枠120は回転せずに、表示欄82に表示されている画像のみが、左方向に、スライド部98のスライド量に応じた角度、回転する。なお、表示欄82にトリミング枠120が表示されている場合には、画像は、表示欄82ではなく、トリミング枠120の中央を中心に回転する。そして、画像が回転した後に、完了ボタン90が操作されると、図13に示すように、表示欄82には、回転していない状態のトリミング枠120の内部の画像のみが、トリミング画像として表示される。 Specifically, for example, when the slide portion 98 is slid to the left by a predetermined amount as shown in FIG. 12, the trimming frame 120 does not rotate and only the image displayed in the display field 82 is displayed. , But is rotated to the left by an angle corresponding to the slide amount of the slide portion 98. Note that when the trimming frame 120 is displayed in the display field 82, the image rotates around the center of the trimming frame 120, not in the display field 82. Then, when the completion button 90 is operated after the image is rotated, only the image inside the trimming frame 120 in the non-rotated state is displayed as the trimmed image in the display field 82 as shown in FIG. To be done.

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

このように、トリミング画像が左回転ボタン84若しくは、右回転ボタン86の操作により回転された場合には、画像とともにトリミング枠120も回転する。これにより、横倒しの状態のトリミング画像、若しくは、上下方向にひっくり返った状態のトリミング画像を、正常な状態でLCD20に表示することが可能となる。また、トリミング画像が調整スライダ88の操作により回転された場合には、画像のみが回転し、トリミング枠120は回転しない。これにより、トリミング画像の姿勢を維持した状態で、画像のみの表示角度を微調整することが可能となる。 Thus, when the trimmed image is rotated by operating the left rotation button 84 or the right rotation button 86, the trimming frame 120 is also rotated together with the image. As a result, it is possible to display the trimmed image in the sideways state or the trimmed image in the vertically flipped state on the LCD 20 in a normal state. When the trimming image is rotated by operating the adjustment slider 88, only the image is rotated and the trimming frame 120 is not rotated. Accordingly, it is possible to finely adjust the display angle of only the image while maintaining the posture of the trimmed image.

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

<表示アプリケーション>
上述したスキャンデータに基づく画像のLCD20への表示および表示された画像の回転処理等は、CPU12において表示アプリケーション36が実行されることによって行われる。以下に、図14乃至図16を用いて、CPU12で表示アプリケーション36が実行される際のフローを説明する。
<Display application>
The display of the image based on the scan data on the LCD 20, the 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. 14 to 16.

表示アプリケーション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 the scan button has been operated (S100). When 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 edit screen 70 (S104).

編集画面70の表示欄72に画像が表示されると、トリミングボタン76が操作されたか否かが、CPU12によって判断される(S106)。トリミングボタン76が操作された場合(S106のYES)には、LCD20にトリミング処理画面100が表示され、トリミング処理画面100の表示欄102に、画像とともに、トリミング枠104が表示される(S108)。そして、トリミング処理画面100において完了ボタン106が操作され、編集画面70がLCD20に表示された後に、編集画面70の回転ボタン74が操作されたか否かが、CPU12によって判断される(S110)。 When an image is displayed in the display field 72 of the edit screen 70, the CPU 12 determines whether 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 in the display field 102 of the trimming processing screen 100 together with the image (S108). Then, the CPU 12 determines whether or not the rotation button 74 of the edit screen 70 is operated after the completion button 106 is operated on the trimming process screen 100 and the edit screen 70 is displayed on the LCD 20 (S110).

編集画面70の回転ボタン74が操作された場合(S110のYES)には、LCD20に回転処理画面80が表示され、回転処理画面80の右回転ボタン86が操作されたか否かが、CPU12によって判断される(S112)。右回転ボタン86が操作されていない場合(S112のNO)には、回転処理画面80の左回転ボタン84が操作されたか否かが、CPU12によって判断される(S114)。左回転ボタン84が操作されていない場合(S114のNO)には、調整スライダ88のスライド部98のスライダ位置が変更されたか否かが、CPU12によって判断される(S116)。 When the rotation button 74 of the edit screen 70 is operated (YES in S110), the rotation processing screen 80 is displayed on the LCD 20, and the CPU 12 determines whether or not the right rotation button 86 of the rotation processing screen 80 is operated. (S112). When the right rotation button 86 is not operated (NO in S112), the CPU 12 determines whether the left rotation button 84 of 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 the slider position of the slide portion 98 of the adjustment slider 88 has been changed (S116).

スライド部98のスライダ位置が変更されている場合(S116のYES)には、スライダ位置に応じた画像の回転角度が演算される(S118)。そして、回転処理画面80の表示欄82に表示されているトリミング枠120は回転されず、画像のみが、演算された角度に回転される(S120)。次に、回転処理画面80において完了ボタン90が操作され、編集画面70がLCD20に表示された後に、編集画面70の完了ボタン78が操作されたか否かが、CPU12によって判断される(S122)。完了ボタン78が操作されていない場合(S122のNO)には、S106に戻る。一方、完了ボタン78が操作されている場合(S122のYES)には、編集画面70の表示欄72に表示されている画像の画像データが、データ記憶領域38に記憶される(S124)。そして、表示アプリケーション36の処理が終了する。 When the slider position of the slide portion 98 is changed (YES in S116), the rotation angle of the image according to the slider position is calculated (S118). Then, the trimming frame 120 displayed in the display field 82 of the rotation processing screen 80 is not rotated, and only the image is rotated by the calculated angle (S120). Next, the CPU 12 determines whether or not the completion button 78 of the edit screen 70 is operated after the completion button 90 is operated on the rotation processing screen 80 and the edit screen 70 is displayed on the LCD 20 (S122). When the completion button 78 is not 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 edit 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との両方が、右方向に90度回転される(S126)。そして、S122以降の処理が行われる。また、S114で左回転ボタン84が操作されている場合(S114のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、左方向に90度回転される(S128)。そして、S122以降の処理が行われる。 Further, when the right rotation button 86 is operated in S112 (YES in S112), both the image displayed in the display field 82 of the rotation processing screen 80 and the trimming frame 120 are 90 degrees to the right. It is rotated (S126). Then, the processing after S122 is performed. In addition, when the left rotation button 84 is operated in S114 (YES in S114), both the image displayed in the display field 82 of the rotation processing screen 80 and the trimming frame 120 are 90 degrees leftward. It is rotated (S128). Then, the processing after S122 is performed.

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

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

スライド部98のスライダ位置が変更されている場合(S136のYES)には、スライダ位置に応じた画像の回転角度が演算される(S138)。そして、回転処理画面80の表示欄82に表示されている画像が、演算された角度に回転される(S140)。そして、S122以降の処理が行われる。 If the slider position of the slide portion 98 has been changed (YES in S136), the rotation angle of the image according 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 (S140). Then, the processing after S122 is performed.

また、S132で右回転ボタン86が操作されている場合(S132のYES)には、回転処理画面80の表示欄82に表示されている画像が、右方向に90度回転される(S142)。そして、S122以降の処理が行われる。また、S134で左回転ボタン84が操作されている場合(S134のYES)には、回転処理画面80の表示欄82に表示されている画像が、左方向に90度回転される(S144)。そして、S122以降の処理が行われる。さらに、S136でスライド部98のスライダ位置が変更されていない場合(S136のNO)にも、S122以降の処理が行われる。 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 rotated 90 degrees to the right (S142). Then, the processing after S122 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 rotated 90 degrees to the left (S144). Then, the processing after S122 is performed. Furthermore, even when the slider position of the slide portion 98 is not changed in S136 (NO in S136), the processing in S122 and thereafter is performed.

なお、S104、S108を実行するCPU12は、表示手段の一例である。S126、S128、S142、S144を実行するCPU12は、第1画像回転手段の一例である。S120、S140を実行するCPU12は、第2画像回転手段の一例である。 The CPU 12 that executes S104 and S108 is an example of a display unit. CPU12 which performs S126, S128, S142, and S144 is an example of a 1st image rotation means. CPU12 which performs S120 and S140 is an example of a 2nd image rotation means.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、調整スライダ88のスライド部98を直接、ユーザが指,タッチペン等の操作媒体により操作することで、スライド部98をスライドさせる構成とされているが、スライド部98と異なるボタン等を、ユーザが操作媒体により操作することで、スライド部98をスライドさせる構成を採用することが可能である。また、調整スライダ88等を用いずに、ユーザが任意の数値を入力し、入力された数値に応じた角度に、画像が回転する構成であってもよい。 It should be noted that the present invention is not limited to the above-described embodiment, and can be carried out in various modes with various modifications and improvements based on the knowledge of those skilled in the art. Specifically, for example, in the above-described embodiment, the user directly operates the slide portion 98 of the adjustment slider 88 with an operation medium such as a finger or a touch pen to slide the slide portion 98. It is possible to adopt a configuration in which the slide portion 98 is slid by the user operating a button or the like different from the slide portion 98 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の操作により画像が回転する角度未満の角度であれば、任意に設定することが可能である。 Further, in the above embodiment, the maximum rotation angle at which the image is rotated by operating the adjustment slider 88 is set to 10 degrees or 15 degrees, but the image is operated by operating the left rotation button 84 or the right rotation button 86. Any angle can be set as long as it is less than the rotation angle.

また、上記実施形態では、左回転ボタン84若しくは、右回転ボタン86への操作により、90度毎に回転する構成が採用されているが、90度と異なる角度毎に回転する構成を採用することが可能である。ただし、画像を90度、若しくは、180度に回転させる態様が多いことから、30度、45度等の90度の約数となる角度毎に回転する構成を採用することが好ましい。 Further, in the above-described embodiment, the configuration of rotating every 90 degrees by operating the left rotation button 84 or the right rotation button 86 is adopted, but the configuration of rotating at an angle different from 90 degrees may be 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 adopt a configuration in which the image is rotated by an angle that is a divisor of 90 degrees such as 30 degrees and 45 degrees.

また、上記実施形態では、調整スライダ88の操作により画像が回転する最大回転角度が、LCD20に表示される画像の基となる原稿のセット位置に応じて、異なる角度に設定されているが、原稿のセット位置ではなく、他のスキャン処理条件に応じて、異なる角度に設定することが可能である。また、調整スライダ88の操作により画像が回転する最大回転角度が、スキャン処理条件に応じて、異なる角度に設定されなくてもよい。つまり、LCD20に表示される画像の基となる原稿のスキャン処理条件が異なる場合であっても、調整スライダ88の操作により画像が回転する最大回転角度を同じ角度に設定することが可能である。 Further, 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 a different angle according to the set position of the original document which is the basis of the image displayed on the LCD 20, but It is possible to set different angles according to other scan processing conditions, instead of the set position. Further, the maximum rotation angle at which the image is rotated by the operation of the adjustment slider 88 does not have to be set to a different angle depending on the scan processing condition. That is, even when the scanning processing conditions of the original document which is the basis of the image displayed on the LCD 20 are different, the maximum rotation angle at which the image is rotated can be set to the same angle by operating the adjustment slider 88.

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

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

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

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

Claims (9)

ユーザ操作に応じた信号を出力する操作部と、表示部とを備えた情報処理装置のコンピュータが読み取り可能な制御プログラムであって、
前記コンピュータを、
画像データに基づく画像、第1操作子、前記第1操作子とは異なる第2操作子を前記表示部に表示させる表示手段と、
前記操作部が前記第1操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、所定の角度毎に回転させる第1画像回転手段と、
前記操作部が前記第2操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させる第2画像回転手段と、
して機能させることを特徴とする制御プログラム。
A control program readable by a computer of an information processing apparatus including an operation unit that outputs a signal according to a user operation, and a display unit,
The computer,
Display means for displaying an image based on image data, a first manipulator, and a second manipulator different from the first manipulator on the display unit;
A first image rotation unit that rotates the image displayed on the display unit by the display unit at a predetermined angle when the operation unit outputs a signal indicating an operation to the first operator;
When the operation unit outputs a signal indicating an operation to the second operator, the image displayed on the display unit by the display unit is set to an angle equal to or less than a set angle set to the predetermined angle or less. A second image rotating means for rotating at an angle;
A control program characterized by causing it to function.
前記第2操作子は、
前記操作部が出力した信号に応じて、前記表示部において、所定の方向にスライド動作が可能なスライド部を有し、
前記第2画像回転手段は、
前記操作部が前記スライド部のスライド動作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記設定角度以下の任意の角度に回転させることを特徴とする請求項1に記載の制御プログラム。
The second manipulator is
In the display unit, according to a signal output by the operation unit, a slide unit capable of sliding in a predetermined direction,
The second image rotation means,
When the operation unit outputs a signal indicating a slide operation of the slide unit, the image displayed on the display unit by the display unit is rotated to an arbitrary angle equal to or less than the set angle. The control program according to item 1.
前記スライド部は、
前記操作部が前記所定の方向への連続的な変位を示す信号を出力した場合に、前記所定の方向にスライドすることを特徴とする請求項2に記載の制御プログラム。
The slide part is
The control program according to claim 2, wherein when the operation unit outputs a signal indicating a continuous displacement in the predetermined direction, the operation unit slides in the predetermined direction.
前記表示手段は、
さらに、第3操作子を前記表示部に表示させ、
前記操作部が前記第3操作子への操作を示す信号を出力した場合に、表示された画像データに基づく画像とともに、当該画像をトリミングするためのトリミング枠を前記表示部に表示させ、
前記第1画像回転手段は、
前記表示部に前記トリミング枠が前記表示手段によって前記表示部に表示された画像とともに表示された状態において、前記操作部が前記第1操作子への操作を示す信号を出力した場合に、当該画像と前記トリミング枠との両方を、所定の角度毎に回転させ、
前記第2画像回転手段は、
前記表示部に前記トリミング枠が前記表示手段によって前記表示部に表示された画像とともに表示された状態において、前記操作部が前記第2操作子への操作を示す信号を出力した場合に、当該画像を前記設定角度以下の任意の角度に回転させ、前記トリミング枠を回転させないことを特徴とする請求項1乃至3の何れか1項に記載の制御プログラム。
The display means is
Furthermore, the third operator is displayed on the display unit,
When the operation unit outputs a signal indicating an operation to the third operator, an image based on the displayed image data and a trimming frame for trimming the image are displayed on the display unit,
The first image rotating means is
In the state where the trimming frame is displayed on the display unit together with the image displayed on the display unit by the display unit, the image is displayed when the operation unit outputs a signal indicating an operation to the first operator. Both the trimming frame and the trimming frame are rotated by a predetermined angle,
The second image rotation means,
In the state where the trimming frame is displayed on the display unit together with the image displayed on the display unit by the display unit, the image is displayed when the operation unit outputs a signal indicating an operation to the second operator. 4. The control program according to claim 1, wherein the trimming frame is not rotated by rotating the trimming frame to an arbitrary angle equal to or smaller than the set angle.
前記表示手段は、
前記操作部が前記第3操作子への操作を示す信号を出力した場合に、前記表示部に表示された画像を、前記トリミング枠にトリミングされた状態で前記表示部に表示させ、
前記表示手段によって画像が前記トリミング枠にトリミングされた状態で前記表示部に表示された状態において、前記操作部が前記第1操作子への操作を示す信号を出力し、前記第1画像回転手段によって当該画像が回転される際、又は、前記表示手段によって画像が前記トリミング枠にトリミングされた状態で前記表示部に表示された状態において、前記操作部が前記第2操作子への操作を示す信号を出力し、前記第2画像回転手段によって当該画像が回転される際に、当該画像の前記トリミング枠の内側だけでなく外側も前記表示部に表示させることを特徴とする請求項4に記載の制御プログラム。
The display means is
When the operation unit outputs a signal indicating an operation to the third operator, the image displayed on the display unit is displayed on the display unit in a state of being trimmed in the trimming frame,
In a state where the image is trimmed in the trimming frame by the display unit and displayed on the display unit, the operation unit outputs a signal indicating an operation to the first operator, and the first image rotation unit When the image is rotated by, or in a state where the image is trimmed in the trimming frame by the display unit and displayed on the display unit, the operation unit indicates an operation on the second operation element. The signal is output, and when the image is rotated by the second image rotating means, not only the inside of the trimming frame of the image but also the outside thereof is displayed on the display unit. Control program.
前記所定の角度は、90度であることを特徴とする請求項1乃至5の何れか1項に記載の制御プログラム。 The control program according to any one of claims 1 to 5, wherein the predetermined angle is 90 degrees. 前記表示手段は、
スキャンデータに基づく画像を前記表示部に表示させることを特徴とする請求項1乃至6の何れか1項に記載の制御プログラム。
The display means is
The control program according to claim 1, wherein an image based on scan data is displayed on the display unit.
前記第2画像回転手段は、
前記スキャンデータのスキャン条件が第1条件である場合に、前記操作部が前記第2操作子への操作を示す信号を出力したときは、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された第1の設定角度以下の任意の角度に回転させ、
前記スキャンデータのスキャン条件が第2条件である場合に、前記操作部が前記第2操作子への操作を示す信号を出力したときは、前記表示手段によって前記表示部に表示された画像を、前記第1の設定角度より小さな角度に設定された第2の設定角度未満の任意の角度に回転させることを特徴とする請求項7に記載の制御プログラム。
The second image rotation means,
When the scan condition of the scan data is the first condition and the operation unit outputs a signal indicating an operation to the second operator, an image displayed on the display unit by the display unit is displayed. Rotate to any angle less than or equal to the first set angle set below the predetermined angle,
When the scan condition of the scan data is the second condition and the operation unit outputs a signal indicating an operation to the second operator, the image displayed on the display unit by the display unit is The control program according to claim 7, wherein the control program is rotated to an arbitrary angle less than the second set angle set to be smaller than the first set angle.
ユーザ操作に応じた信号を出力する操作部と、
表示部と、
制御部と、
を備えた情報処理装置であって、
前記制御部は、
画像データに基づく画像、第1操作子、前記第1操作子とは異なる第2操作子を前記表示部に表示させる表示手段と、
前記操作部が前記第1操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、所定の角度毎に回転させる第1画像回転手段と、
前記操作部が前記第2操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させる第2画像回転手段と、
を有することを特徴とする情報処理装置。
An operation unit that outputs a signal according to a user operation,
Display part,
A control unit,
An information processing device comprising:
The control unit is
Display means for displaying an image based on image data, a first manipulator, and a second manipulator different from the first manipulator on the display unit;
A first image rotation unit that rotates the image displayed on the display unit by the display unit at a predetermined angle when the operation unit outputs a signal indicating an operation to the first operator;
When the operation unit outputs a signal indicating an operation to the second operator, the image displayed on the display unit by the display unit is set to an angle equal to or less than a set angle set to the predetermined angle or less. A second image rotating means for rotating at an angle;
An information processing device comprising:
JP2020070682A 2019-03-08 2020-04-10 Control program and information processing device Active JP6930629B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020070682A JP6930629B2 (en) 2019-03-08 2020-04-10 Control program and information processing device
JP2021129606A JP7201037B2 (en) 2020-04-10 2021-08-06 Control program and information processing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019042311A JP6691696B2 (en) 2019-03-08 2019-03-08 Control program and information processing device
JP2020070682A JP6930629B2 (en) 2019-03-08 2020-04-10 Control program and information processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019042311A Division JP6691696B2 (en) 2019-03-08 2019-03-08 Control program and information processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021129606A Division JP7201037B2 (en) 2020-04-10 2021-08-06 Control program and information processing device

Publications (2)

Publication Number Publication Date
JP2020120395A true JP2020120395A (en) 2020-08-06
JP6930629B2 JP6930629B2 (en) 2021-09-01

Family

ID=71891403

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020070682A Active JP6930629B2 (en) 2019-03-08 2020-04-10 Control program and information processing device

Country Status (1)

Country Link
JP (1) JP6930629B2 (en)

Also Published As

Publication number Publication date
JP6930629B2 (en) 2021-09-01

Similar Documents

Publication Publication Date Title
US11699416B2 (en) Information processing device and non-transitory storage medium storing instructions executable by the information processing device
KR101739318B1 (en) Display control apparatus, imaging system, display control method, and recording medium
EP2408203A2 (en) Imaging control system, and control apparatus and method for imaging apparatus
US10528648B2 (en) Computer readable recording medium, information processing terminal device, and control method of information processing terminal device
US10254918B2 (en) Tilt adjustable perspective icons display device and non-transitory computer readable medium
US9323494B2 (en) Image processing system, image processing apparatus, portable information terminal, computer-readable storage medium with enhanced display capabilities
KR20200136753A (en) Electronic device, method, and computer readable medium for providing screen sharing service through external electronic device
JP2015204568A (en) Imaging apparatus, control method of the same, and program
US20240031667A1 (en) Image Processing Method, Mobile Terminal, and Storage Medium
JP6064393B2 (en) Output processing program and output device
JP6691696B2 (en) Control program and information processing device
WO2020000385A1 (en) Image display method and device, pan/tilt, and storage medium
US10705697B2 (en) Information processing apparatus configured to edit images, non-transitory computer-readable medium storing instructions therefor, and information processing method for editing images
JP6930629B2 (en) Control program and information processing device
JP7201037B2 (en) Control program and information processing device
JP6384236B2 (en) Control program and information processing apparatus
JP6547263B2 (en) Control program and information processing apparatus
JP6874868B2 (en) Programs and mobile devices
US20210029259A1 (en) Terminal device, non-transitory computer-readable storage medium storing display control program, and display control method
JP2005303941A (en) Correction reference designation device and correction reference designation method
JP2021036401A (en) Display device, display method and program
JP6672561B2 (en) Touch panel type mobile terminal, display control method thereof, and computer program
JP6379775B2 (en) Control program and information processing apparatus
JP7278773B2 (en) Electronic device and its control method
JP2023180359A (en) information reading device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200428

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20200410

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210726

R150 Certificate of patent or registration of utility model

Ref document number: 6930629

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150