JP7201037B2 - Control program and information processing device - Google Patents

Control program and information processing device Download PDF

Info

Publication number
JP7201037B2
JP7201037B2 JP2021129606A JP2021129606A JP7201037B2 JP 7201037 B2 JP7201037 B2 JP 7201037B2 JP 2021129606 A JP2021129606 A JP 2021129606A JP 2021129606 A JP2021129606 A JP 2021129606A JP 7201037 B2 JP7201037 B2 JP 7201037B2
Authority
JP
Japan
Prior art keywords
image
displayed
trimming frame
display
button
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
JP2021129606A
Other languages
Japanese (ja)
Other versions
JP2021180522A (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 JP2020070682A external-priority patent/JP6930629B2/en
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021129606A priority Critical patent/JP7201037B2/en
Publication of JP2021180522A publication Critical patent/JP2021180522A/en
Application granted granted Critical
Publication of JP7201037B2 publication Critical patent/JP7201037B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

画像データに基づく画像が表示部に表示される際には、画像が、正常な状態から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 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 sideways or upside down state. The following patent document describes a technique for displaying an image in a normal state by rotating an image displayed in a sideways or upside down state by 90 degrees or 180 degrees. It is

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

上記特許文献に記載の技術によれば、横倒しの状態、若しくは、上下方向にひっくり返った状態で表示された画像を、正常な状態で表示部に表示させることが可能となる。しかしながら、表示部に表示された画像を、僅かに回転させることが望まれる場合がある。例えば、原稿がスキャナのフラットベッド等にセットされる際に、原稿が僅かに傾いていた場合には、その原稿のスキャンデータに基づく画像は、正常な状態から僅かな角度傾いた状態で表示部に表示される。このような場合には、表示部に表示された画像をわずかな角度回転させることが望まれる。本発明は、そのような事情に鑑みてなされたものであり、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像を、正常な状態に回転させるための技術を提供する。 According to the technique described in the above patent document, it is possible to display an image displayed in a sideways or upside down state on the display unit in a normal state. However, it may be desired to slightly rotate the image displayed on the display. For example, if the document is slightly tilted when it is set on the flatbed of a scanner, the image based on the scan data of the document will be displayed on the display screen in a state slightly tilted from the normal state. to be displayed. 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. Provide a technology for rotating in a good state.

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

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

本明細書の実施形態として記載の制御プログラム、および、情報処理装置では、表示部に、画像データに基づく画像と、第1操作子と、第2操作子とが表示される。そして、第1操作子が操作された場合には、表示部に表示された画像が、所定の角度毎に回転する。
一方、第2操作子が操作された場合には、表示部に表示された画像が、その所定の角度以下に設定された設定角度以下の任意の角度に回転する。これにより、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像も、正常な状態に回転させることが可能となる。
In the control program and the information processing apparatus described as the embodiments of this 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 manipulator is operated, the image displayed on the display unit rotates by a 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 less than the predetermined angle. As a result, an image displayed in a sideways state or the like can be rotated to a normal state, and an image displayed in a slightly tilted state can also be rotated to a normal state.

通信システム1のブロック図である。1 is a block diagram of a communication system 1; FIG. 編集画面70を示す図である。7 is a diagram showing an edit screen 70; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 編集画面70を示す図である。7 is a diagram showing an edit screen 70; FIG. トリミング処理画面100を示す図である。FIG. 10 is a diagram showing a trimming processing screen 100; FIG. 編集画面70を示す図である。7 is a diagram showing an edit screen 70; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 編集画面70を示す図である。7 is a diagram showing an edit screen 70; FIG. 回転処理画面80を示す図である。8 is a diagram showing a rotation processing screen 80; FIG. 編集画面70を示す図である。7 is a diagram showing an edit screen 70; FIG. 表示アプリケーション36のフローチャートを示す図である。FIG. 4 is a diagram showing a flow chart of a display application 36; 表示アプリケーション36のフローチャートを示す図である。FIG. 4 is a diagram showing a flow chart of a display application 36; 表示アプリケーション36のフローチャートを示す図である。FIG. 4 is a diagram showing a flow chart of a 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. A communication system 1 includes a mobile phone (an example of an information processing apparatus of the present invention) 10 , a scanner 50 , an access point 52 and a base station 56 . The scanner 50 has a flatbed and an ADF (abbreviation of Auto Document Feeder), scans a document set on either the flatbed or the ADF, and creates scan data. The access point 52 also functions as a wireless LAN access point and 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を介して互いに通信可能とされている。 A configuration of the mobile phone 10 will be described. The mobile phone 10 includes a CPU (abbreviation for Central Processing Unit) (an example of the computer of the present invention, a control unit) 12, a storage unit 14, a wireless communication I/F 16, a mobile phone communication I/F 18, an LCD (abbreviation for liquid crystal display). ) (an example of the display section of the present invention) 20 and a touch panel (an example of the operation section of the present invention) 22 are mainly provided. These components are allowed to communicate with each other via input/output ports 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 uses the Wi-Fi (R) (registered trademark of the Wi-Fi Alliance) system (sometimes abbreviated as the WF system) based on the IEEE 802.11 standard and its equivalent standards. wireless communication 30 can be performed. That is, when the mobile phone 10 accesses the access point 52 and becomes ready for the WF wireless communication 30 , it becomes possible to 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 with a mobile phone communication system with the base station 56 . In other words, the mobile phone 10 becomes capable of data communication via the base station 56 when it becomes 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 a display application (an example of the control program of the present invention) 36 in the storage section 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 referred to as a program name. For example, the statement "by the display application 36" may mean "by 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 obtained from the scanner 50, data necessary for executing the display application 36, and the like. The storage unit 14 is configured by combining RAM (abbreviation for random access memory), ROM (abbreviation for read only memory), flash memory, HDD (abbreviation for hard disk), a buffer provided 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 to cover the display surface of the LCD 20 . The touch panel 22 detects the approach or contact of a 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に表示された画像の表示角度が調整される。
<Image display using communication system>
In the communication system 1 , the scanner 50 executes scanning processing according to instructions from the mobile phone 10 , and scan data created by the scanning processing is transmitted to the mobile phone 10 . An image based on the received scan data is displayed on the LCD 20 of the mobile phone 10 . The image displayed on the LCD 20 is rotated by operating the touch panel 22 to adjust the display angle of the image displayed on the LCD 20 .

具体的には、携帯電話10において、スキャンデータに基づく画像の表示処理を実行するためのボタン(図示省略)が操作されると、LCD20に、スキャン処理を行うための画面(図示省略)が表示される。この画面には、設定ボタン(図示省略)とスキャンボタン(図示省略)とが表示されている。設定ボタンは、スキャン処理の条件を設定するためのボタンであり、設定ボタンへの操作により、解像度,モノクロスキャンとカラースキャンとの何れかの選択,スキャナ50のフラットベットとADFとの何れの原稿をスキャンするかの選択等が設定される。また、スキャンボタンは、スキャン処理を実行するためのボタンであり、設定されたスキャン処理条件に従ったスキャン処理の実行指令が、スキャンボタンの操作により、スキャナ50に送信される。 Specifically, when a button (not shown) for executing image display processing based on scan data is operated on the mobile phone 10, a screen (not shown) for performing scan processing is displayed on the LCD 20. be done. This screen displays a setting button (not shown) and a scan button (not shown). The setting button is a button for setting the conditions of the scanning process. By operating the setting button, the resolution, the selection of monochrome scanning or color scanning, and the flatbed or ADF document of the scanner 50 are selected. is set. The scan button is a button for executing a scan process, and an execution command for 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 scan processing according to the command, and transmits scan data created by the scan processing to the mobile phone 10 . When receiving the scan data, the mobile phone 10 displays an edit screen 70 on the LCD 20 as shown in FIG. 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 on the editing screen 70 . The display field 72 displays an image based on the received scan data. The rotation button 74 is a button for rotating 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 editing screen 70 is completed.

編集画面70において、回転ボタン74が操作されると、図3に示すように、回転処理画面80が、LCD20に表示される。回転処理画面80には、表示欄82と、左回転ボタン(本発明の第1操作子の一例)84と、右回転ボタン(本発明の第1操作子の一例)86と、調整スライダ(本発明の第2操作子の一例)88と、完了ボタン90とが表示される。表示欄82には、編集画面70の表示欄72に表示されていた画像が表示される。左回転ボタン84は、表示欄82に表示された画像を左方向に90度回転させるためのボタンである。右回転ボタン86は、表示欄82に表示された画像を右方向に90度回転させるためのボタンである。調整スライダ88は、表示欄82に表示された画像を任意の方向に任意の角度回転させるためのボタンである。完了ボタン90は、回転処理画面80での操作が完了した際に操作されるボタンである。タッチパネル22は、前述したボタンがユーザにより操作されることにより、当該操作に応じた信号を出力する。また、タッチパネル22は調整スライダ88のスライド部98が操作されることにより、当該操作に応じた信号を出力する。 When the rotation button 74 is operated on the editing screen 70, a rotation processing screen 80 is displayed on the LCD 20 as shown in FIG. The rotation processing screen 80 includes a display field 82, a left rotation button (an example of the first manipulator of the present invention) 84, a right rotation button (an example of the first manipulator of the present invention) 86, and an adjustment slider (this An example of the second operator of the invention) 88 and a completion button 90 are displayed. The image displayed in the display field 72 of the editing screen 70 is displayed in the display field 82 . The left rotation button 84 is a button for rotating the image displayed in the display field 82 leftward by 90 degrees. The right rotation button 86 is a button for rotating the image displayed in the display field 82 rightward by 90 degrees. The adjustment slider 88 is a button for rotating the image displayed in the display field 82 by any angle in any direction. 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 according to the operation when the button described above 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, the image displayed in the display field 82 is rotated leftward by 90 degrees, as shown in FIG. Further, when the right rotation button 86 is operated, the image displayed in the display field 82 is rotated rightward by 90 degrees. As a result, for example, an image of a document scanned in a 90-degree tilted state, 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 rotates leftward by 180 degrees. Further, when the right rotation button 86 is operated twice, the image displayed in the display field 82 rotates rightward by 180 degrees. As a result, for example, an image of a document scanned at a 180-degree tilt, that is, an image flipped upside down can be displayed on the LCD 20 as an image in a normal state. Note that when the image is rotated, 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のスライド量に応じた角度、回転する。 Also, 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 portion 96 is a straight line with a predetermined length, and is displayed on the LCD 20 so as to extend in the horizontal direction of the mobile phone 10 . The slide portion 98 has a generally circular shape, is displayed in the center of the slide portion 98 , and is slidable on the guide portion 96 in a direction along the guide portion 96 . In other words, the slide portion 98 slides on the guide portion 96 by moving the operation medium in the horizontal direction while the user brings the operation medium such as a finger or a touch pen close to or in contact with the slide portion 98 . By sliding the slide portion 98 in this manner, the image displayed in the display column 82 rotates 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. Rotates at an angle that corresponds 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 column 82 is rotated rightward by an angle corresponding to the slide amount of the slide portion 98 . Note that when the image is rotated, 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 column 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 section 98 is the rotation angle of 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 amount of sliding of the slide portion 98, the display angle of the image displayed in the display field 82 is adjusted to any angle less than or equal to a predetermined angle of 90 degrees or less. becomes possible. As a result, for example, when a document set in a slightly tilted state on the flatbed of the scanner 50 or the ADF is scanned, a slightly tilted image is displayed in the display field 72 of the editing screen 70. is displayed, 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にセットされる場合と比較して、傾いた状態でセットされる可能性が高い。このため、フラットベッドにセットされた原稿のスキャンデータに基づく画像が、傾いた状態で表示されている場合には、画像最大回転角度が小さすぎると、傾いた状態で表示された画像を正常な状態まで回転させることができない虞がある。 It should be noted that the smaller the maximum rotation angle of the image rotated by the operation of the slide unit 98 (hereinafter sometimes referred to as the “image maximum rotation angle”), the more suitable the image display angle is adjusted. It becomes possible to However, if the maximum image rotation angle is too small, there is a possibility that the image displayed in a state tilted from the maximum image rotation angle cannot be rotated to a normal state. In particular, when the document is set on the flatbed, it is more likely to be set in a tilted state than when it is set on the ADF. Therefore, if the image based on the scan data of the document set on the flatbed is displayed in a tilted state, if the maximum image rotation angle is too small, the displayed tilted image will not be displayed correctly. 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 this, 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 larger than the image maximum rotation angle when the image is displayed on the LCD 20 . Specifically, the scan processing conditions set by the setting button on the screen for performing the scan processing 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 . Based on the extracted scan processing conditions, it is determined whether the document to be scanned is set on the flatbed or the ADF. If it is determined that the document to be scanned is set on the flatbed, the maximum image rotation angle is set to 15 degrees. Further, when it is determined that the document to be scanned is set on the ADF, the maximum image rotation angle is set to 10 degrees. In other words, when the maximum image rotation angle is set to a relatively small angle of 10 to 15 degrees and there is a high possibility that a greatly tilted image will be displayed, the maximum image rotation angle is set to a relatively large angle. set. As a result, the display angle of the image can be adjusted appropriately, and even if the document is set on the flatbed with a large tilt to some extent, the displayed tilted image can be rotated to the normal state. It is possible to

また、回転処理画面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. The image displayed in the display field 82 of the rotation processing screen 80 is displayed in the display field 72 of the editing screen 70 . That is, when 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, a trimming processing screen 100 is displayed on the LCD 20 as shown in FIG. A display field 102 , a trimming frame 104 , and a completion button 106 are displayed on the trimming processing screen 100 . The image displayed in the display field 72 of the edit screen 70 is displayed in the display field 102, and the trimming frame 104 is displayed in a state of being superimposed on the image. An image inside the trimming frame 104 is displayed with high brightness, and an 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 used to cut out any portion of the image displayed in the display field 102, and the vertices and sides of the trimming frame 104 are each provided with an enlarger/reducer 108. FIG. An arrow is drawn 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. In other words, the user moves an operation medium such as a finger or a stylus close to or in contact with the enlargement/reduction element 108 and moves the operation medium in the direction of the arrow indicated on 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 moving element 110 is attached to the center of the trimming frame 104 . The mover 110 is for moving the trimming frame 104, and the user can move the operation medium such as a finger or a touch pen to an arbitrary position while bringing the operation medium close to or in contact with the mover 110. Then, the trimming frame 104 moves to that position. This allows the trimming frame 104 to be moved to any position on the image displayed in the display field 102 .

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

また、携帯電話10では、トリミング画像の回転角度を調整することが可能である。つまり、編集画面70の表示欄72にトリミング画像が表示されている状態で、回転ボタン74が操作されると、図9に示すように、LCD20に回転処理画面80が表示される。
この回転処理画面80の表示欄82には、トリミング画像だけでなく、トリミング画像の外側の画像も表示される。つまり、表示欄82には、トリミング処理画面100の表示欄102に表示されていた画像が表示される。ただし、トリミング画像は、明度が高い状態で表示され、トリミング画像以外の画像は、明度の低い状態で表示される。このため、トリミング画像と、トリミング画像以外の画像との間には、トリミング枠120が表示される。
Also, the mobile phone 10 can adjust the rotation angle of the trimmed image. That is, when the rotation button 74 is operated while the trimming image is displayed in the display field 72 of the editing screen 70, the rotation processing screen 80 is displayed on the LCD 20 as shown in FIG.
In the display field 82 of the rotation processing screen 80, not only the trimmed image but also an image outside the trimmed image is displayed. In other words, the image displayed in the display field 102 of the trimming processing screen 100 is displayed in the display field 82 . However, the trimmed image is displayed with high brightness, and the images other than the trimmed image are displayed with low brightness. Therefore, a 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. 120 are rotated 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 instead of the display field 82 . When the completion button 90 is operated after the image and the trimming frame 120 have been rotated, the display field 82 shows the inside of the trimming frame 120 rotated 90 degrees to the left, as shown in FIG. 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, both the image and the trimming frame 120 are rotated to the right. Since it is the same as when the button 84 is operated, the explanation is omitted.

また、回転処理画面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 displayed on the slide portion 98. , and rotates by an angle corresponding to the amount of sliding of the slide portion 98 . At this time, the trimming frame 120 does not rotate. That is, when the slide section 98 is slid while the trimming frame 120 is displayed in the display field 82, only the image displayed in the display field 82 rotates according to the slide operation.

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

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

このように、トリミング画像が左回転ボタン84若しくは、右回転ボタン86の操作により回転された場合には、画像とともにトリミング枠120も回転する。これにより、横倒しの状態のトリミング画像、若しくは、上下方向にひっくり返った状態のトリミング画像を、正常な状態でLCD20に表示することが可能となる。また、トリミング画像が調整スライダ88の操作により回転された場合には、画像のみが回転し、トリミング枠120は回転しない。これにより、トリミング画像の姿勢を維持した状態で、画像のみの表示角度を微調整することが可能となる。 In this way, when the trimming image is rotated by operating the left rotation button 84 or the right rotation button 86, the trimming frame 120 rotates together with the image. As a result, it is possible to display a trimmed image in a sideways state or a trimmed image in a state of being turned upside down on the LCD 20 in a normal state. Also, 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. This makes it 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 trimmed image while viewing the entire image, and can appropriately rotate the trimmed image.

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

表示アプリケーション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 has not been operated (NO in S100), the process of S100 is repeated. On the other hand, if the scan button has been operated (YES in S100), the scan data transmitted from the scanner 50 is received (S102). An image based on the received scan data is then displayed in the display field 72 of the editing screen 70 (S104).

編集画面70の表示欄72に画像が表示されると、トリミングボタン76が操作されたか否かが、CPU12によって判断される(S106)。トリミングボタン76が操作された場合(S106のYES)には、LCD20にトリミング処理画面100が表示され、トリミング処理画面100の表示欄102に、画像とともに、トリミング枠104が表示される(S108)。そして、トリミング処理画面100において完了ボタン106が操作され、編集画面70がLCD20に表示された後に、編集画面70の回転ボタン74が操作されたか否かが、CPU12によって判断される(S110)。 When the image is displayed in the display field 72 of the editing 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 along with the image in the display field 102 of the trimming processing screen 100 (S108). After the completion button 106 is operated on the trimming process screen 100 and the editing screen 70 is displayed on the LCD 20, the CPU 12 determines whether or not the rotation button 74 of the editing 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)。 If the rotation button 74 of the editing screen 70 has been 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 has not been operated (NO in S112), the CPU 12 determines whether or not the left rotation button 84 of the rotation processing screen 80 has been operated (S114). If the left rotation button 84 has not been 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の処理が終了する。 If the slider position of the slide portion 98 has been changed (YES in S116), the rotation angle of the image corresponding 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, after the completion button 90 is operated on the rotation processing screen 80 and the editing screen 70 is displayed on the LCD 20, the CPU 12 determines whether or not the completion button 78 of the editing screen 70 is operated (S122). If the completion button 78 has not been operated (NO in S122), the process returns to S106. On the other hand, if the completion button 78 has been operated (YES in S122), the image data of the image displayed in the display field 72 of the editing screen 70 is stored in the data storage area 38 (S124). Then, the processing of the display application 36 ends.

また、S112で右回転ボタン86が操作されている場合(S112のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、右方向に90度回転される(S126)。そして、S122以降の処理が行われる。また、S114で左回転ボタン84が操作されている場合(S114のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、左方向に90度回転される(S128)。そして、S122以降の処理が行われる。 If the right rotation button 86 has been 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 rotated 90 degrees to the right. It is rotated (S126). Then, the processing after S122 is performed. Further, 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 rotate 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以降の処理が行われる。 Moreover, even when the slider position of the slide portion 98 has not been changed in S116 (NO in S116), the processing after S122 is performed. Furthermore, even if the rotation button 74 of the editing screen 70 is not operated in S110 (NO in S110), the processing from S122 onwards 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 or not the rotation button 74 has been operated on the editing screen 70 (S130). If the rotation button 74 has been 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 has been operated (S132). ). When the right rotation button 86 has not been operated (NO in S132), the CPU 12 determines whether or not the left rotation button 84 of the rotation processing screen 80 has been operated (S134). If the left rotation button 84 has not been 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以降の処理が行われる。 If the slider position of the slide portion 98 has been changed (YES in S136), the rotation angle of the image corresponding to the slider position is calculated (S138). Then, the image displayed in the display field 82 of the rotation processing screen 80 is rotated by the calculated angle (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以降の処理が行われる。 If 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. If 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 if the slider position of the slide portion 98 has not been 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画像回転手段の一例である。 Note that the CPU 12 that executes S104 and S108 is an example of display means. The CPU 12 that executes S126, S128, S142, and S144 is an example of first image rotating means. The CPU 12 that executes S120 and S140 is an example of second image rotating means.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、調整スライダ88のスライド部98を直接、ユーザが指,タッチペン等の操作媒体により操作することで、スライド部98をスライドさせる構成とされているが、スライド部98と異なるボタン等を、ユーザが操作媒体により操作することで、スライド部98をスライドさせる構成を採用することが可能である。また、調整スライダ88等を用いずに、ユーザが任意の数値を入力し、入力された数値に応じた角度に、画像が回転する構成であってもよい。 It should be noted that the present invention is not limited to the above embodiments, and can be implemented 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 slide portion 98 of the adjustment slider 88 is configured to slide by directly operating the slide portion 98 of the adjustment slider 88 with an operation medium such as a finger or a touch pen by the user. It is possible to employ a configuration in which the slide section 98 is slid by the user operating a button or the like that is different from the slide section 98 using an operation medium. Alternatively, the user may input an arbitrary numerical value without using the adjustment slider 88 or the like, and the image may be rotated to an angle corresponding to the input numerical value.

また、上記実施形態では、調整スライダ88の操作により画像が回転する最大回転角度は、10度、若しくは、15度に設定されているが、左回転ボタン84若しくは、右回転ボタン86の操作により画像が回転する角度未満の角度であれば、任意に設定することが可能である。 Further, in the above-described embodiment, the maximum rotation angle by which the image is rotated by operating the adjustment slider 88 is set to 10 degrees or 15 degrees. can be arbitrarily 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-described embodiment, a configuration that rotates every 90 degrees by operating the left rotation button 84 or the right rotation button 86 is adopted. is possible. However, since the image is often rotated by 90 degrees or 180 degrees, it is preferable to adopt a configuration in which the image is rotated by angles that are divisors of 90 degrees, such as 30 degrees and 45 degrees.

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

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

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

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

10:携帯電話、12:CPU、20:LCD、22:タッチパネル、36:表示アプリケーション、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 (4)

表示部と操作部とを備える情報処理装置のコンピュータで読み取られるプログラムであって、
画像と、前記画像のトリミング枠と、を前記表示部に表示する表示処理と、
前記操作部の第1操作子に対する操作を受け付けた場合に、前記画像と前記トリミング枠の向きを所定の角度変更させる第1変更処理と、
前記操作部の第2操作子に対する操作を受け付けた場合に、前記トリミング枠の向きを変更させることなく、前記画像の向きを前記第2操作子に対する操作量に応じた角度変更させる第2変更処理と、
を前記情報処理装置に実行させ、
前記第2変更処理において、前記トリミング枠の内部の画像と外部の画像とが表示され、トリミングが完了した場合に、前記トリミング枠の外部の画像を表示することなく、前記トリミング枠の内部の画像を表示させることを特徴とするプログラム。
A program read by a computer of an information processing device comprising a display unit and an operation unit,
display processing for displaying an image and a trimming frame of the image on the display unit;
a first change process of changing the orientation of the image and the trimming frame by a predetermined angle when an operation to the first operator of the operation unit is received;
Second change processing for changing the orientation of the image by an angle according to the amount of operation of the second operator without changing the orientation of the trimming frame when an operation to the second operator of the operation unit is received. When,
causes the information processing device to execute
In the second change processing, an image inside the trimming frame and an image outside the trimming frame are displayed, and when trimming is completed, the image inside the trimming frame is not displayed without displaying the image outside the trimming frame. A program characterized by displaying
前記第2変更処理における前記操作量に応じた角度の最大角度が、前記所定の変更角度以下であることを特徴とする請求項1に記載のプログラム。 2. The program according to claim 1, wherein the maximum angle of the angle corresponding to the operation amount in the second change process is equal to or less than the predetermined change angle. 前記第2操作子は、前記表示部において、所定の方向にスライド操作が可能なスライド部を有し、
前記第2変更処理において、前記スライド部に対するスライド操作を受け付けた場合に、前記トリミング枠の向きを変更させることなく、前記画像の向きを前記スライド部に対する操作量に応じた角度変更させることを特徴とする請求項1又は2に記載のプログラム。
the second manipulator has a slide portion that can be slid in a predetermined direction on the display portion;
In the second change processing, when a slide operation on the slide section is received, the orientation of the image is changed by an angle according to the amount of operation on the slide section without changing the orientation of the trimming frame. 3. The program according to claim 1 or 2 , wherein
表示部と、
操作部と、
制御部と、
を備える情報処理装置であって、
画像と、前記画像のトリミング枠と、を前記表示部に表示する表示処理と、
前記操作部の第1操作子に対する操作を受け付けた場合に、前記画像と前記トリミング枠の向きを所定の角度変更させる第1変更処理と、
前記操作部の第2操作子に対する操作を受け付けた場合に、前記トリミング枠の向きを変更させることなく、前記画像の向きを前記第2操作子に対する操作量に応じた角度変更させる第2変更処理と、
を前記制御部に実行させ、
前記第2変更処理において、前記トリミング枠の内部の画像と外部の画像とが表示され、トリミングが完了した場合に、前記トリミング枠の外部の画像を表示することなく、前記トリミング枠の内部の画像を表示させることを特徴とする情報処理装置。
a display unit;
an operation unit;
a control unit;
An information processing device comprising
display processing for displaying an image and a trimming frame of the image on the display unit;
a first change process of changing the orientation of the image and the trimming frame by a predetermined angle when an operation to the first operator of the operation unit is received;
Second change processing for changing the orientation of the image by an angle according to the amount of operation of the second operator without changing the orientation of the trimming frame when an operation to the second operator of the operation unit is received. When,
causes the control unit to execute
In the second change processing, an image inside the trimming frame and an image outside the trimming frame are displayed, and when trimming is completed, the image inside the trimming frame is not displayed without displaying the image outside the trimming frame. An information processing device characterized by displaying the .
JP2021129606A 2020-04-10 2021-08-06 Control program and information processing device Active JP7201037B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
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
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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2021180522A JP2021180522A (en) 2021-11-18
JP7201037B2 true JP7201037B2 (en) 2023-01-10

Family

ID=78510625

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP7201037B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072145A (en) 2002-08-01 2004-03-04 Seiko Epson Corp Image processing apparatus and image processing method
JP2005012847A (en) 2004-09-21 2005-01-13 Seiko Epson Corp Image retouch program
JP2009060505A (en) 2007-09-03 2009-03-19 Seiko Epson Corp Image processing device, method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240916A (en) * 1996-12-27 1998-09-11 Nikon Corp Picture reading system, and storage medium for storing control procedure for the system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004072145A (en) 2002-08-01 2004-03-04 Seiko Epson Corp Image processing apparatus and image processing method
JP2005012847A (en) 2004-09-21 2005-01-13 Seiko Epson Corp Image retouch program
JP2009060505A (en) 2007-09-03 2009-03-19 Seiko Epson Corp Image processing device, method, and program

Also Published As

Publication number Publication date
JP2021180522A (en) 2021-11-18

Similar Documents

Publication Publication Date Title
US11699416B2 (en) Information processing device and non-transitory storage medium storing instructions executable by the information processing device
JP4358870B2 (en) Image processing device
JP5945920B2 (en) Image formation data transmission program, portable terminal, and portable terminal control method
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
JP4498259B2 (en) Projection device, portable communication device, projection method, and projection control program
JP7201355B2 (en) Mobile terminal device and display control method for mobile terminal device
JP7201037B2 (en) Control program and information processing device
JP6064393B2 (en) Output processing program and output device
JP6930629B2 (en) Control program and information processing device
JP6691696B2 (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
JP6384236B2 (en) Control program and information processing apparatus
JP2013078035A (en) Mobile terminal
JP6547263B2 (en) Control program and information processing apparatus
JP7205564B2 (en) programs and mobile devices
US11146698B2 (en) Terminal device, non-transitory computer-readable storage medium storing display control program, and display control method
US20120188412A1 (en) Imaging device, control method thereof, imaging system, and non-transitory computer readable medium storing program
JP6379775B2 (en) Control program and information processing apparatus
JP6249064B2 (en) Program and mobile device
JP2019046383A (en) Image processing program, information processing device, and image processing method
JP6428898B2 (en) Program and mobile device
JP2006148302A (en) Image display device, method of displaying image and image display program
JPH01256272A (en) Picture processing unit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210824

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220715

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221205

R150 Certificate of patent or registration of utility model

Ref document number: 7201037

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150