JP6930629B2 - Control program and information processing device - Google Patents

Control program and information processing device Download PDF

Info

Publication number
JP6930629B2
JP6930629B2 JP2020070682A JP2020070682A JP6930629B2 JP 6930629 B2 JP6930629 B2 JP 6930629B2 JP 2020070682 A JP2020070682 A JP 2020070682A JP 2020070682 A JP2020070682 A JP 2020070682A JP 6930629 B2 JP6930629 B2 JP 6930629B2
Authority
JP
Japan
Prior art keywords
image
displayed
display
rotation
trimming frame
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
JP2020070682A
Other languages
Japanese (ja)
Other versions
JP2020120395A (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
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)

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 an image based on image data is displayed on the display unit, the image may be displayed on the display unit in a state of being tilted 90 degrees or 180 degrees from the normal state. That is, the image may be displayed on the display unit in a state of being laid on its side or in a state of being turned upside down in the vertical direction. 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 on its side or in a state of being turned upside down by 90 degrees or 180 degrees. Has been done.

特開2001−111809号公報Japanese Unexamined Patent Publication No. 2001-111809

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

上記課題を解決するために、本発明の制御プログラムは、ユーザ操作に応じた信号を出力する操作部と、表示部とを備えた情報処理装置のコンピュータが読み取り可能な制御プログラムであって、前記コンピュータを、画像データに基づく画像、第1操作子、前記第1操作子とは異なる第2操作子を前記表示部に表示させる表示手段と、前記操作部が前記第1操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、所定の角度毎に回転させる第1画像回転手段と、前記操作部が前記第2操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させる第2画像回転手段と、して機能させることを特徴とする。 In order to solve the above problems, the 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 outputs a signal corresponding to a user operation and a display unit. A display means for displaying an image based on image data, a first operator, a second operator different from the first operator on the display unit, and an operation on the first operator by the operation unit. When the indicated signal is output, the first image rotating means for rotating the image displayed on the display unit by the display means by a predetermined angle, and the operation unit indicating an operation on the second operator. When a signal is output, it functions as a second image rotating means that rotates the image displayed on the display unit by the display means to an arbitrary angle equal to or less than the set angle set to the predetermined angle or less. It is characterized by letting it.

また、上記課題を解決するために、本発明の情報処理装置は、ユーザ操作に応じた信号を出力する操作部と、表示部と、制御部と、を備えた情報処理装置であって、前記制御部は、画像データに基づく画像、第1操作子、前記第1操作子とは異なる第2操作子を前記表示部に表示させる表示手段と、前記操作部が前記第1操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、所定の角度毎に回転させる第1画像回転手段と、前記操作部が前記第2操作子への操作を示す信号を出力した場合に、前記表示手段によって前記表示部に表示された画像を、前記所定の角度以下に設定された設定角度以下の任意の角度に回転させる第2画像回転手段と、を有することを特徴とする。 Further, in order to solve the above problems, the information processing device of the present invention is an information processing device including an operation unit, a display unit, and a control unit that output a signal according to a user operation. The control unit includes a display means for displaying an image based on image data, a first operator, a second operator different from the first operator on the display unit, and an operation by the operation unit on the first operator. When the signal indicating the above is output, the first image rotating means for rotating the image displayed on the display unit by the display means and the operation unit for operating the second operator are performed. It has a second image rotating means for rotating the image displayed on the display unit by the display means to an arbitrary angle equal to or less than a set angle set to be equal to or less than the predetermined angle when the indicated signal is output. It is characterized by that.

本明細書の実施形態として記載の制御プログラム、および、情報処理装置では、表示部に、画像データに基づく画像と、第1操作子と、第2操作子とが表示される。そして、第1操作子が操作された場合には、表示部に表示された画像が、所定の角度毎に回転する。一方、第2操作子が操作された場合には、表示部に表示された画像が、その所定の角度以下に設定された設定角度以下の任意の角度に回転する。これにより、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像も、正常な状態に回転させることが可能となる。 In the control program and the information processing apparatus described as the embodiment of the present specification, the image based on the image data, the first operator, and the second operator are displayed on the display unit. Then, when the first operator is operated, the image displayed on the display unit is rotated at a predetermined angle. On the other hand, when the second operator is operated, the image displayed on the display unit is rotated to an arbitrary angle equal to or less than the set angle set to be equal to or less than the predetermined angle. As a result, the image displayed in the sideways state or the like can be rotated to the normal state, and the image displayed in the state of being tilted at a slight angle can also be rotated 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 processing 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 flatbed and an ADF (abbreviation of Auto Document Feeder), scans a document set in either the flatbed and the ADF, and creates scan data. Further, the access point 52 has a function 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 is a CPU (abbreviation of Central Processing Unit) (an example of a computer and a control unit of the present invention) 12, a storage unit 14, a wireless communication I / F16, a mobile phone communication I / F18, and an LCD (abbreviation of liquid crystal display). ) (An example of a display unit of the present invention) 20 and a touch panel (an example of an operation unit of the present invention) 22 are mainly provided. These components are made communicable 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とデータ通信することが可能になる。 Wireless communication I / F16 is a Wi-Fi (R) (registered trademark of Wi-Fi Alliance) method (sometimes abbreviated as WF method) based on the IEEE 802.11 standard and its equivalent standards. It is possible to perform wireless communication 30 of. That is, when the mobile phone 10 accesses the access point 52 and is in a state where the wireless communication 30 of the WF method can be performed, 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 is capable of performing wireless communication 32 of the mobile phone communication method with the base station 56. That is, if the mobile phone 10 is in a state where the wireless communication 32 of the mobile phone communication method can be performed, the mobile phone 10 can perform data communication via the base station 56.

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 scan data on the LCD 20. Hereinafter, the CPU 12 that executes the display application 36 may be simply described by the program name. For example, the description "display application 36" 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が備えるバッファなどが組み合わされて構成されている。 Further, 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 a hard disk), a buffer included in the CPU 12, and the like.

LCD20は、携帯電話10の各種機能を表示する表示面を備える。タッチパネル22は、タッチセンサを有し、LCD20の表示面を覆うように配置されている。タッチパネル22は、ユーザの指、タッチペン等のタッチパネル22への接近・接触を検出し、検出に応じて電気信号を出力する。 The LCD 20 includes 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 an approach / contact of a user's finger, a touch pen, or the like with 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 on the mobile phone 10, a screen for performing the scan process (not shown) is displayed on the LCD 20. Will be done. On this screen, a setting button (not shown) and a scan button (not shown) are displayed. The setting button is a button for setting the conditions of the scanning process, and by operating the setting button, the resolution, selection of either monochrome scan or color scan, and the original of the flatbed of the scanner 50 and the ADF. The selection of whether to scan is set. Further, the scan button is a button for executing the scan process, and an execution command of the scan process according to the set scan process conditions 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 a 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 a 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 the rotation processing of the image displayed in the display field 72. The trimming button 76 is a button for executing the trimming process of the image displayed in the display field 72. The completion button 78 is a button that is 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 editing screen 70, the rotation processing screen 80 is displayed on the LCD 20 as shown in FIG. The rotation processing screen 80 has a display field 82, a left rotation button (an example of the first operator of the present invention) 84, a right rotation button (an example of the first operator of the present invention) 86, and an adjustment slider (this). An example of the second operator of the present invention) 88 and the 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-angled button 86 is a button for rotating the image displayed in the display field 82 to the right by 90 degrees. The adjustment slider 88 is a button for rotating the image displayed in the display field 82 in an arbitrary direction by an arbitrary angle. The completion button 90 is a button that is operated when the operation on the rotation processing screen 80 is completed. When the above-mentioned button is operated by the user, the touch panel 22 outputs a signal corresponding to the operation. Further, the touch panel 22 outputs a signal corresponding to the operation by operating the slide portion 98 of the adjustment slider 88.

回転処理画面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, the image displayed in the display field 82 is rotated 90 degrees to the left as shown in FIG. When the right-angled button 86 is operated, the image displayed in the display field 82 is rotated 90 degrees to the right. As a result, for example, an image of a document scanned in a state of being tilted 90 degrees, that is, an image in a sideways state can be displayed 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 field 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 180 degrees to the right. As a result, for example, an image of a document scanned in a state of being tilted by 180 degrees, that is, an image in a state of being turned upside down in the vertical direction can be displayed on the LCD 20 as an image in a normal state. When the image is rotated, it is rotated 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 is composed of a guide portion 96 and a slide portion (an example of the slide portion of the present invention) 98. The guide unit 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 in 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 slide unit 98 slides on the guide unit 96 by moving the operation medium in the left-right direction while the user brings the operation medium such as a finger or a touch pen close to or in contact with the slide unit 98. By sliding the slide unit 98 in this way, the image displayed in the display field 82 rotates in the slide direction of the slide unit 98 at an angle corresponding to the slide amount of the slide unit 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 field 82 is moved to the left by the slide portion 98. It rotates at an angle according to the amount of slide. On the other hand, when the slide portion 98 is slid to the right by a predetermined amount, the image displayed in the display field 82 is rotated to the right at an angle corresponding to the slide amount of the slide portion 98. When the image is rotated, it is rotated 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 rotates the most. However, the rotation angle of the image at that time, that is, the maximum rotation angle of the image rotated by operating 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 adjusting the slide amount of the slide unit 98 by operating the adjustment slider 88, 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. It becomes possible. As a result, for example, when a document set in the flatbed of the scanner 50 or 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 editing 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 the normal state in the display field 82.

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

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

トリミング枠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 part of the image displayed in the display field 102, and an enlargement / reduction element 108 is attached to each of the vertices and sides of the trimming frame 104. An arrow is marked inside the enlargement / reduction element 108, and by sliding the enlargement / reduction element 108 in the direction of the arrow, the trimming frame 104 is enlarged or reduced in the direction of the arrow. That is, the user moves the operation medium in the direction of the arrow marked on the enlargement / reduction element 108 while the operation medium such as a finger or a touch pen is approaching / contacting the enlargement / reduction element 108. The trimming frame 104 expands or contracts in the direction of the arrow. This makes it possible to adjust the trimming frame 104 to an arbitrary size. A mover 110 is attached to the central portion 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 while the operation medium such as a finger or a touch pen is approaching or in contact with the mover 110. Then, the trimming frame 104 moves to that position. As a result, 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に表示することが可能となる。 On the trimming processing screen 100, when the completion button 106 is operated after the trimming frame 104 is adjusted to an arbitrary size and the trimming frame 104 is moved to an arbitrary position, the LCD 20 is edited 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 process screen 100, the image inside the trimming frame 104 (hereinafter, may be referred to as “trimmed image”). Only are displayed. As a result, it is possible to display only the image of the portion desired by the user among the images displayed in the display field 102 of the trimming processing screen 100 on the LCD 20.

また、携帯電話10では、トリミング画像の回転角度を調整することが可能である。つまり、編集画面70の表示欄72にトリミング画像が表示されている状態で、回転ボタン74が操作されると、図9に示すように、LCD20に回転処理画面80が表示される。この回転処理画面80の表示欄82には、トリミング画像だけでなく、トリミング画像の外側の画像も表示される。つまり、表示欄82には、トリミング処理画面100の表示欄102に表示されていた画像が表示される。ただし、トリミング画像は、明度が高い状態で表示され、トリミング画像以外の画像は、明度の低い状態で表示される。このため、トリミング画像と、トリミング画像以外の画像との間には、トリミング枠120が表示される。 Further, in the mobile phone 10, it is possible to adjust the rotation angle of the trimmed image. That is, when the rotation button 74 is operated while the trimmed 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 the image outside the trimmed image is displayed. That is, in the display field 82, the image displayed in the display field 102 of the trimming processing screen 100 is displayed. However, the trimmed image is displayed in a high brightness state, and the images other than the trimmed image are displayed in a low brightness state. 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 with 120 rotate 90 degrees to the left. 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 instead of 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 field 82 is inside the trimming frame 120 in a state of being rotated 90 degrees to the left. Only the image is displayed as a cropped image. When the right rotation button 86 is operated while the trimming frame 120 is displayed in the display field 82, it rotates counterclockwise except that both the image and the trimming frame 120 rotate to the right. Since it is the same as when the button 84 is operated, the description thereof will be omitted.

また、回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、調整スライダ88のスライド部98がスライド操作されると、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。この際、トリミング枠120は、回転しない。つまり、表示欄82にトリミング枠120が表示されている状態で、スライド部98がスライド操作されると、スライド操作に応じて、表示欄82に表示されている画像のみが回転する。 Further, when the slide unit 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 displayed in the slide unit 98. Rotates in the slide direction of the slide portion 98 at an angle corresponding to the slide amount of the slide portion 98. At this time, the trimming frame 120 does not rotate. That is, when the slide unit 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. However, it rotates to the left at an angle corresponding to the slide amount of the slide portion 98. When the trimming frame 120 is displayed in the display field 82, the image is rotated around the center of the trimming frame 120 instead of the display field 82. Then, when the completion button 90 is operated after the image is rotated, as shown in FIG. 13, only the image inside the non-rotated trimming frame 120 is displayed as a trimmed image in the display field 82. Will be done.

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

このように、トリミング画像が左回転ボタン84若しくは、右回転ボタン86の操作により回転された場合には、画像とともにトリミング枠120も回転する。これにより、横倒しの状態のトリミング画像、若しくは、上下方向にひっくり返った状態のトリミング画像を、正常な状態でLCD20に表示することが可能となる。また、トリミング画像が調整スライダ88の操作により回転された場合には、画像のみが回転し、トリミング枠120は回転しない。これにより、トリミング画像の姿勢を維持した状態で、画像のみの表示角度を微調整することが可能となる。 In this way, when the trimmed image is rotated by the operation of 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 upside down state on the LCD 20 in a normal state. Further, when the trimmed image is rotated by the operation of the adjustment slider 88, only the image is rotated and the trimming frame 120 is not rotated. This makes it possible to fine-tune the display angle of only the image while maintaining the posture of the trimmed image.

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

<表示アプリケーション>
上述したスキャンデータに基づく画像のLCD20への表示および表示された画像の回転処理等は、CPU12において表示アプリケーション36が実行されることによって行われる。以下に、図14乃至図16を用いて、CPU12で表示アプリケーション36が実行される際のフローを説明する。
<Display application>
The display of the image on the LCD 20 based on the scan data described above, the rotation processing of the displayed image, and the like are performed by executing the display application 36 in the CPU 12. 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 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, the 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 the 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). Then, after the completion button 106 is operated on the trimming process screen 100 and the edit screen 70 is displayed on the LCD 20, it is determined by the CPU 12 whether or not the rotation button 74 of the edit screen 70 is operated (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 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 has been 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は回転されず、画像のみが、演算された角度に回転される(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 unit 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 to the calculated angle (S120). Next, after the completion button 90 is operated on the rotation processing screen 80 and the editing screen 70 is displayed on the LCD 20, it is determined by the CPU 12 whether or not the completion button 78 of the editing screen 70 is operated (S122). If 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 is completed.

また、S112で右回転ボタン86が操作されている場合(S112のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、右方向に90度回転される(S126)。そして、S122以降の処理が行われる。また、S114で左回転ボタン84が操作されている場合(S114のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、左方向に90度回転される(S128)。そして、S122以降の処理が行われる。 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. 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 to the left. 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 processing after S122 is performed. Further, even when the rotation button 74 of the edit screen 70 is not operated in S110 (NO in S110), the processing after S122 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 is not operated in S106 (NO in S106), the CPU 12 determines whether or not the rotation button 74 has been operated on 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 or not the right rotation button 86 of the rotation processing screen 80 is operated (S132). ). When the right rotation button 86 is not 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に表示されている画像が、演算された角度に回転される(S140)。そして、S122以降の処理が行われる。 When the slider position of the slide unit 98 is 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 to 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. 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. Further, even when the slider position of the slide portion 98 is not changed in S136 (NO in S136), the processing after S122 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 the display means. The CPU 12 that executes S126, S128, S142, and S144 is an example of the first image rotating means. The CPU 12 that executes S120 and S140 is an example of the second image rotating means.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、調整スライダ88のスライド部98を直接、ユーザが指,タッチペン等の操作媒体により操作することで、スライド部98をスライドさせる構成とされているが、スライド部98と異なるボタン等を、ユーザが操作媒体により操作することで、スライド部98をスライドさせる構成を採用することが可能である。また、調整スライダ88等を用いずに、ユーザが任意の数値を入力し、入力された数値に応じた角度に、画像が回転する構成であってもよい。 The present invention is not limited to the above embodiment, and can be implemented in various embodiments with various modifications and improvements based on the knowledge of those skilled in the art. Specifically, for example, in the above embodiment, the slide portion 98 is slid by the user directly operating the slide portion 98 of the adjustment slider 88 with an operation medium such as a finger or a touch pen. It is possible to adopt a configuration in which the slide unit 98 is slid by the user operating a button or the like different from the slide unit 98 with an operation medium. Further, the user may input an arbitrary numerical value without using the adjustment slider 88 or 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 rotated by operating 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度の約数となる角度毎に回転する構成を採用することが好ましい。 Further, in the above embodiment, the configuration of rotating every 90 degrees by operating the left rotation button 84 or the right rotation button 86 is adopted, but a configuration of rotating at every angle different from 90 degrees is adopted. Is possible. However, since there are many modes in which the image is rotated to 90 degrees or 180 degrees, it is preferable to adopt a configuration in which the image is rotated at every angle which 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 depending on the setting position of the original document on which the image displayed on the LCD 20 is based. It is possible to set different angles according to other scanning processing conditions instead of the set position of. Further, the maximum rotation angle at which the image is rotated by operating the adjustment slider 88 does not have to be set to a different angle depending on the scanning processing conditions. That is, even if the scanning processing conditions of the original document on which the image displayed on the LCD 20 is based 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に表示され、その画像に対する回転処理等が実行されてもよい。 Further, in the above embodiment, an image based on the scan data is displayed on the LCD 20 of the mobile phone 10, and rotation processing or the like is executed for the image. However, image data other than the scan data, for example, an image pickup device such as a camera is used. An image based on the captured data may be displayed on the LCD 20, and rotation processing or the like may be executed on the image.

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

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

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 (5)

表示部と操作部とを備え情報処理装置のコンピュータで読み取られるプログラムであって
と、前記画像のトリミング枠と、第1操作子、第2操作子を前記表示部に表示する表示処理と、
前記操作部を介して、前記第1操作子に対する操作を受け付けた場合に、前記画像と前記トリミング枠とを所定の回転角度に回転させる第1回処理と、
前記操作部を介して、前記第2操作子に対する操作を受け付けた場合に、前記トリミング枠を回転させることなく、前記画像を前記第2操作子に対する操作量に応じた回転角度に回転させる第2回処理と、
を前記情報処理装置に実行させるプログラム。
A program to be read by a computer of an information processing apparatus Ru and an operation section and a display section,
And images, and trimming frame of the image, a first operation, a display process of a second operator to display on the display unit,
Via the operation unit, and wherein when accepting the operation on the first operating element, 1st rolling process for rotating said image and the trimming frame to a Jo Tokoro rotation angle degrees,
Via the operation unit, when receiving an operation for the second operator, without rotating the trimming frame, the second for rotating the image rotation angle corresponding to the operation amount for the second operator and the rotation processing,
Is a program that causes the information processing apparatus to execute.
前記第2回転処理における前記操作量に応じた回転角度の最大角度が、前記所定の回転角度以下であることを特徴とする請求項1に記載のプログラム。 Program of claim 1 in which the maximum angle of rotation angle corresponding to the operation amount of the second rotation process, wherein said at predetermined rotation angle or less. 前記第2回転処理において、前記トリミング枠の内部の画像と外部の画像とが表示され、トリミングが完了した場合に、前記トリミング枠の外部の画像を表示することなく、前記トリミング枠の内部の画像を表示させることを特徴とする請求項1又は請求項2に記載のプログラム。 In the second rotation process, the image inside the trimming frame and the image outside the trimming frame are displayed, and when the trimming is completed, the image inside the trimming frame is not displayed without displaying the image outside the trimming frame. program of claim 1 or claim 2, characterized in that to display the. 前記第2操作子は、前記表示部において、所定の方向にスライド操作が可能なスライド部を有し、
前記第2回処理において、前記操作部を介して、前記スライド部に対すスライド操作を受け付けた場合に、前記トリミング枠を回転させることなく、前記画像を前記スライド部に対する操作量に応じた回転角度に回転させることを特徴とする請求項1乃至3の何れか1項に記載のプログラム。
The second operating element, before Symbol display unit includes a sliding portion slidable operation in a predetermined direction,
In the 2nd rolling process, through a pre-SL operation unit, upon receiving a slide operation against the sliding portion without rotating the trimming frame, according to the image on the operation amount for the slide portion program according to any one of claims 1 to 3, characterized in that rotating the rotation angles.
示部と、
操作部と、
制御部と、
を備え情報処理装置であって、
と、前記画像のトリミング枠と、第1操作子、第2操作子を前記表示部に表示する表示処理と、
前記操作部を介して、前記第1操作子に対する操作を受け付けた場合に、前記画像と前記トリミング枠とを所定の回転角度に回転させる第1回処理と、
前記操作部を介して、前記第2操作子に対する操作を受け付けた場合に、前記トリミング枠を回転させることなく、前記画像を前記第2操作子に対する操作量に応じた回転角度に回転させる第2回処理と、
を前記制御部に実行させる情報処理装置。
And Table radical 113,
Operation unit and
Control unit and
An information processing apparatus Ru provided with,
And images, and trimming frame of the image, a first operation, a display process of a second operator to display on the display unit,
Via the operation unit, and wherein when accepting the operation on the first operating element, 1st rolling process for rotating said image and the trimming frame to a Jo Tokoro rotation angle degrees,
Via the operation unit, when receiving an operation for the second operator, without rotating the trimming frame, the second for rotating the image rotation angle corresponding to the operation amount for the second operator and the rotation processing,
An information processing device that causes the control unit to execute the above.
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 JP2020120395A (en) 2020-08-06
JP6930629B2 true 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
JP2020120395A (en) 2020-08-06

Similar Documents

Publication Publication Date Title
US11699416B2 (en) Information processing device and non-transitory storage medium storing instructions executable by the information processing device
JP4876969B2 (en) Image processing system, information processing apparatus, image processing method, and program
JP4358870B2 (en) Image processing device
JP6233356B2 (en) Sheet size specifying system, sheet size specifying method, sheet size specifying program, and image forming apparatus
JP6772493B2 (en) Image processing equipment, image processing methods and programs
CN113810552A (en) Mobile terminal device
JP6885111B2 (en) Image processing equipment and image forming equipment
JP2023038197A (en) Mobile terminal device and display control method of mobile terminal device
WO2016038977A1 (en) Live view control device, live view control method, live view system and program
US20120120099A1 (en) Image processing apparatus, image processing method, and storage medium storing a program thereof
JP2010011431A (en) Wireless communication apparatus
JP6930629B2 (en) Control program and information processing device
US10705697B2 (en) Information processing apparatus configured to edit images, non-transitory computer-readable medium storing instructions therefor, and information processing method for editing images
JP6691696B2 (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
JP7205564B2 (en) programs and mobile devices
JP7073699B2 (en) Image processing program, information processing device and image processing method
JP2014017736A (en) Image processing apparatus, and image processing system and program
JP6249064B2 (en) Program and mobile device
JP6428898B2 (en) Program and mobile device
JP2010028829A (en) Wireless communication apparatus
JP2023180359A (en) information reading device
JP2016021685A (en) Control program and information processing apparatus

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