JP7201037B2 - Control program and information processing device - Google Patents
Control program and information processing device Download PDFInfo
- 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
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
上記特許文献に記載の技術によれば、横倒しの状態、若しくは、上下方向にひっくり返った状態で表示された画像を、正常な状態で表示部に表示させることが可能となる。しかしながら、表示部に表示された画像を、僅かに回転させることが望まれる場合がある。例えば、原稿がスキャナのフラットベッド等にセットされる際に、原稿が僅かに傾いていた場合には、その原稿のスキャンデータに基づく画像は、正常な状態から僅かな角度傾いた状態で表示部に表示される。このような場合には、表示部に表示された画像をわずかな角度回転させることが望まれる。本発明は、そのような事情に鑑みてなされたものであり、横倒しの状態等で表示された画像を、正常な状態に回転させるとともに、僅かな角度傾いた状態で表示された画像を、正常な状態に回転させるための技術を提供する。 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のブロック図を示す。通信システム1は、携帯電話(本発明の情報処理装置の一例)10、スキャナ50、アクセスポイント52、基地局56を備える。スキャナ50は、フラットベットとADF(Auto Document Feederの略)とを有しており、フラットベットとADFとの何れかにセットされた原稿をスキャンし、スキャンデータを作成する。また、アクセスポイント52は、無線LANアクセスポイント、及びルーターとしての機能を備え、スキャナ50と接続されている。
<Embodiment>
FIG. 1 shows a block diagram of a
携帯電話10の構成について説明する。携帯電話10は、CPU(Central Processing Unitの略)(本発明のコンピュータ、制御部の一例)12、記憶部14、無線通信I/F16、携帯電話通信I/F18、LCD(liquid crystal displayの略)(本発明の表示部の一例)20、タッチパネル(本発明の操作部の一例)22を主に備えている。これらの構成要素は、入出力ポート28を介して互いに通信可能とされている。
A configuration of the
無線通信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.
携帯電話通信I/F18は、基地局56との間で携帯電話通信方式の無線通信32を行うことが可能とされている。すなわち、携帯電話10は、携帯電話通信方式の無線通信32を行える状態になれば、基地局56を介して、データ通信することが可能になる。
The mobile phone communication I/F 18 is capable of performing
CPU12は、記憶部14内の表示アプリケーション(本発明の制御プログラムの一例)36に従って処理を実行する。表示アプリケーション36は、スキャンデータに基づく画像をLCD20に表示するためのプログラムである。以降、表示アプリケーション36を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「表示アプリケーション36が」という記載は、「表示アプリケーション36を実行するCPU12が」ということを意味する場合がある。
The
また、記憶部14は、データ記憶領域38を備える。データ記憶領域38は、スキャナ50から取得したスキャンデータ、表示アプリケーション36の実行に必要なデータなどを記憶する領域である。なお、記憶部14は、RAM(Random Access Memoryの略)、ROM(Read Only Memoryの略)、フラッシュメモリー、HDD(ハードディスクの略)、CPU12が備えるバッファなどが組み合わされて構成されている。
The
LCD20は、携帯電話10の各種機能を表示する表示面を備える。タッチパネル22は、タッチセンサを有し、LCD20の表示面を覆うように配置されている。タッチパネル22は、ユーザの指、タッチペン等のタッチパネル22への接近・接触を検出し、検出に応じて電気信号を出力する。
The
<通信システムを利用した画像の表示>
通信システム1では、スキャナ50が、携帯電話10からの指令に従って、スキャン処理を実行し、スキャン処理により作成されたスキャンデータが、携帯電話10に送信される。携帯電話10では、受信したスキャンデータに基づく画像が、LCD20に表示される。そして、LCD20に表示された画像が、タッチパネル22への操作により、回転され、LCD20に表示された画像の表示角度が調整される。
<Image display using communication system>
In the
具体的には、携帯電話10において、スキャンデータに基づく画像の表示処理を実行するためのボタン(図示省略)が操作されると、LCD20に、スキャン処理を行うための画面(図示省略)が表示される。この画面には、設定ボタン(図示省略)とスキャンボタン(図示省略)とが表示されている。設定ボタンは、スキャン処理の条件を設定するためのボタンであり、設定ボタンへの操作により、解像度,モノクロスキャンとカラースキャンとの何れかの選択,スキャナ50のフラットベットとADFとの何れの原稿をスキャンするかの選択等が設定される。また、スキャンボタンは、スキャン処理を実行するためのボタンであり、設定されたスキャン処理条件に従ったスキャン処理の実行指令が、スキャンボタンの操作により、スキャナ50に送信される。
Specifically, when a button (not shown) for executing image display processing based on scan data is operated on the
スキャナ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
編集画面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
回転処理画面80において、左回転ボタン84が操作されると、図4に示すように、表示欄82に表示されている画像が、左方向に90度回転する。また、右回転ボタン86が操作されると、表示欄82に表示されている画像が、右方向に90度回転する。これにより、例えば、90度傾いた状態でスキャンされた原稿の画像、つまり、横倒しの状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。また、左回転ボタン84が2回操作されると、表示欄82に表示されている画像が、左方向に180度回転する。また、右回転ボタン86が2回操作されると、表示欄82に表示されている画像が、右方向に180度回転する。これにより、例えば、180度傾いた状態でスキャンされた原稿の画像、つまり、上下方向にひっくり返った状態の画像を、正常な状態の画像として、LCD20に表示することが可能となる。なお、画像が回転する際には、表示欄82の中央を中心に回転する。
When the
また、調整スライダ88は、ガイド部96とスライド部(本発明のスライド部の一例)98とによって構成されている。ガイド部96は、所定の長さの直線であり、携帯電話10の左右方向に延びるようにLCD20に表示されている。スライド部98は、概して円形をなし、スライド部98の中央に表示されており、ガイド部96上において、ガイド部96に沿った方向にスライド操作可能である。つまり、ユーザが、指,タッチペン等の操作媒体をスライド部98に接近・接触させた状態で、操作媒体を左右方向に移動させることで、スライド部98がガイド部96上においてスライドする。このように、スライド部98がスライド操作されることで、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。
Also, the
具体的には、例えば、スライド部98を、図5に示すように、左方向に所定量スライドさせた場合には、表示欄82に表示されている画像が、左方向に、スライド部98のスライド量に応じた角度、回転する。一方、スライド部98を、右方向に所定量スライドさせた場合には、表示欄82に表示されている画像が、右方向に、スライド部98のスライド量に応じた角度、回転する。なお、画像が回転する際には、表示欄82の中央を中心に回転する。
Specifically, for example, when the
また、スライド部98がガイド部96の左端までスライドされた場合、若しくは、スライド部98がガイド部96の右端までスライドされた場合に、表示欄82に表示されている画像は、最も大きく回転するが、その際の画像の回転角度、つまり、スライド部98への操作により回転する画像の最大回転角度は、左回転ボタン84および右回転ボタン86による回転角度、つまり、90度以下の所定の角度に設定されている。つまり、調整スライダ88への操作により、スライド部98のスライド量を調整することで、表示欄82に表示されている画像の表示角度を90度以下の所定の角度以下の任意の角度に調整することが可能となる。これにより、例えば、スキャナ50のフラットベッド、若しくは、ADFに僅かに傾いた状態でセットされた原稿が、スキャンされた場合に、編集画面70の表示欄72には、僅かに傾いた状態の画像が表示されるが、回転処理画面80において、調整スライダ88を操作することで、画像の表示角度を微調整し、表示欄82に正常な状態の画像を表示することが可能となる。
Further, when the
なお、スライド部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
また、回転処理画面80において、完了ボタン90が操作されると、図6に示すように、LCD20に編集画面70が表示される。この編集画面70の表示欄72には、回転処理画面80の表示欄82に表示されていた画像が表示される。つまり、回転処理画面80において画像の回転処理が行われていた場合には、回転処理により回転した画像が、回転処理画面80の表示欄82に表示される。
Further, when the
その編集画面70において、トリミングボタン76が操作されると、図7に示すように、LCD20にトリミング処理画面100が表示される。トリミング処理画面100には、表示欄102と、トリミング枠104と、完了ボタン106とが表示される。表示欄102には、編集画面70の表示欄72に表示されていた画像が表示され、その画像に重なった状態で、トリミング枠104が表示される。なお、トリミング枠104の内部の画像は、明度が高い状態で表示され、トリミング枠104の外部の画像は、明度が低い状態で表示される。
When the
トリミング枠104は、表示欄102に表示された画像の任意の部分を切り取るためのものであり、トリミング枠104の頂点及び辺の各々には、拡大・縮小子108が付されている。拡大・縮小子108の内部には、矢印が記されており、拡大・縮小子108を矢印の方向にスライドさせることで、トリミング枠104が矢印の方向に、拡大若しくは、縮小する。つまり、ユーザが、指,タッチペン等の操作媒体を拡大・縮小子108に接近・接触させた状態で、操作媒体をその拡大・縮小子108に記されている矢印の方向に移動させることで、その矢印の方向にトリミング枠104が拡大若しくは、縮小する。これにより、トリミング枠104を任意の大きさに調整することが可能となる。また、トリミング枠104の中央部には、移動子110が付されている。移動子110は、トリミング枠104を移動させるためのものであり、ユーザが、指,タッチペン等の操作媒体を移動子110に接近・接触させた状態で、操作媒体を任意の位置に移動させることで、その位置にトリミング枠104が移動する。これにより、表示欄102に表示されている画像上の任意の位置に、トリミング枠104を移動させることが可能となる。
The
トリミング処理画面100において、トリミング枠104が任意の大きさに調整され、トリミング枠104が任意の位置に移動された後に、完了ボタン106が操作されると、図8に示すように、LCD20に編集画面70が表示される。この編集画面70の表示欄72には、トリミング処理画面100の表示欄102に表示されていた画像のうちの、トリミング枠104の内部の画像(以下、「トリミング画像」と記載する場合がある)のみが表示される。これにより、トリミング処理画面100の表示欄102に表示されていた画像のうちの、ユーザが望む部分の画像のみをLCD20に表示することが可能となる。
In the
また、携帯電話10では、トリミング画像の回転角度を調整することが可能である。つまり、編集画面70の表示欄72にトリミング画像が表示されている状態で、回転ボタン74が操作されると、図9に示すように、LCD20に回転処理画面80が表示される。
この回転処理画面80の表示欄82には、トリミング画像だけでなく、トリミング画像の外側の画像も表示される。つまり、表示欄82には、トリミング処理画面100の表示欄102に表示されていた画像が表示される。ただし、トリミング画像は、明度が高い状態で表示され、トリミング画像以外の画像は、明度の低い状態で表示される。このため、トリミング画像と、トリミング画像以外の画像との間には、トリミング枠120が表示される。
Also, the
In the
回転処理画面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
また、回転処理画面80の表示欄82にトリミング枠120が表示されている状態で、調整スライダ88のスライド部98がスライド操作されると、表示欄82に表示されている画像が、スライド部98のスライド方向に、スライド部98のスライド量に応じた角度、回転する。この際、トリミング枠120は、回転しない。つまり、表示欄82にトリミング枠120が表示されている状態で、スライド部98がスライド操作されると、スライド操作に応じて、表示欄82に表示されている画像のみが回転する。
Further, when the
具体的には、例えば、スライド部98を、図12に示すように、左方向に所定量スライドさせた場合には、トリミング枠120は回転せずに、表示欄82に表示されている画像のみが、左方向に、スライド部98のスライド量に応じた角度、回転する。なお、表示欄82にトリミング枠120が表示されている場合には、画像は、表示欄82ではなく、トリミング枠120の中央を中心に回転する。そして、画像が回転した後に、完了ボタン90が操作されると、図13に示すように、表示欄82には、回転していない状態のトリミング枠120の内部の画像のみが、トリミング画像として表示される。
Specifically, for example, when the
また、表示欄82にトリミング枠120が表示されている状態で、スライド部98を右方向に所定量スライドさせた場合には、表示欄82に表示されている画像が右方向に回転することを除いて、スライド部98を左方向に所定量スライドさせた場合と同じであるため、説明を省略する。なお、スライド部98への操作により回転するトリミング画像の最大回転角度は、画像最大回転角度と同じ角度に設定されており、画像最大回転角度と同様に、表示されている画像の基となる原稿のフラットベッド、若しくは、ADFへのセット位置に応じて異なる角度に設定されている。
When the
このように、トリミング画像が左回転ボタン84若しくは、右回転ボタン86の操作により回転された場合には、画像とともにトリミング枠120も回転する。これにより、横倒しの状態のトリミング画像、若しくは、上下方向にひっくり返った状態のトリミング画像を、正常な状態でLCD20に表示することが可能となる。また、トリミング画像が調整スライダ88の操作により回転された場合には、画像のみが回転し、トリミング枠120は回転しない。これにより、トリミング画像の姿勢を維持した状態で、画像のみの表示角度を微調整することが可能となる。
In this way, when the trimming image is rotated by operating the
また、トリミング画像が回転される際には、トリミング枠120の内部の画像、つまり、トリミング画像だけでなく、トリミング枠120の外部の画像も表示される。これにより、ユーザは、画像全体を閲覧した状態で、トリミング画像を回転させることが可能となり、トリミング画像の回転処理を適切に行うことが可能となる。
Further, when the trimming image is rotated, not only the image inside the
<表示アプリケーション>
上述したスキャンデータに基づく画像のLCD20への表示および表示された画像の回転処理等は、CPU12において表示アプリケーション36が実行されることによって行われる。以下に、図14乃至図16を用いて、CPU12で表示アプリケーション36が実行される際のフローを説明する。
<Display application>
Displaying the image based on the scan data on the
表示アプリケーション36が実行されると、スキャンボタンが操作されたか否かが、CPU12によって判断される(S100)。スキャンボタンが操作されていない場合(S100のNO)には、S100の処理が繰り返される。一方、スキャンボタンが操作された場合(S100のYES)には、スキャナ50から送信されたスキャンデータを受信する(S102)。そして、受信したスキャンデータに基づく画像が、編集画面70の表示欄72に表示される(S104)。
When the
編集画面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
編集画面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
スライド部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
また、S112で右回転ボタン86が操作されている場合(S112のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、右方向に90度回転される(S126)。そして、S122以降の処理が行われる。また、S114で左回転ボタン84が操作されている場合(S114のYES)には、回転処理画面80の表示欄82に表示されている画像とトリミング枠120との両方が、左方向に90度回転される(S128)。そして、S122以降の処理が行われる。
If the
また、S116でスライド部98のスライダ位置が変更されていない場合(S116のNO)にも、S122以降の処理が行われる。さらに、S110で編集画面70の回転ボタン74が操作されていない場合(S110のNO)にも、S122以降の処理が行われる。
Moreover, even when the slider position of the
また、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
スライド部98のスライダ位置が変更されている場合(S136のYES)には、スライダ位置に応じた画像の回転角度が演算される(S138)。そして、回転処理画面80の表示欄82に表示されている画像が、演算された角度に回転される(S140)。そして、S122以降の処理が行われる。
If the slider position of the
また、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
なお、S104、S108を実行するCPU12は、表示手段の一例である。S126、S128、S142、S144を実行するCPU12は、第1画像回転手段の一例である。S120、S140を実行するCPU12は、第2画像回転手段の一例である。
Note that the
なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、例えば、上記実施形態では、調整スライダ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
また、上記実施形態では、調整スライダ88の操作により画像が回転する最大回転角度は、10度、若しくは、15度に設定されているが、左回転ボタン84若しくは、右回転ボタン86の操作により画像が回転する角度未満の角度であれば、任意に設定することが可能である。
Further, in the above-described embodiment, the maximum rotation angle by which the image is rotated by operating the
また、上記実施形態では、左回転ボタン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
また、上記実施形態では、調整スライダ88の操作により画像が回転する最大回転角度が、LCD20に表示される画像の基となる原稿のセット位置に応じて、異なる角度に設定されているが、原稿のセット位置ではなく、他のスキャン処理条件に応じて、異なる角度に設定することが可能である。また、調整スライダ88の操作により画像が回転する最大回転角度が、スキャン処理条件に応じて、異なる角度に設定されなくてもよい。つまり、LCD20に表示される画像の基となる原稿のスキャン処理条件が異なる場合であっても、調整スライダ88の操作により画像が回転する最大回転角度を同じ角度に設定することが可能である。
Further, in the above-described embodiment, the maximum rotation angle at which the image is rotated by operating the
また、上記実施形態では、携帯電話10のLCD20にスキャンデータに基づく画像が表示され、その画像に対する回転処理等が実行されているが、スキャンデータ以外の画像データ、例えば、カメラ等の撮像装置による撮像データに基づく画像がLCD20に表示され、その画像に対する回転処理等が実行されてもよい。
In the above-described embodiment, an image based on scan data is displayed on the
また、上記実施形態では、画像を表示し、その画像に対する回転処理等を実行するための装置として、携帯電話10が採用されているが、LCD20等の表示部を有する装置であれば、タブレット等の他の携帯端末、PC等の据え置き型の情報処理装置を採用してもよい。
In the above-described embodiment, the
また、上記実施形態では、CPU12によって図14乃至図16に示す処理が実行される例を説明したが、これら処理は、CPU12に限らず、ASICや他の論理集積回路により実行されてもよいし、これら処理が、CPU等やASIC、他の論理集積回路が協働することにより実行されてもよい。
14 to 16 are executed by the
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 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 .
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)
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)
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 |
-
2021
- 2021-08-06 JP JP2021129606A patent/JP7201037B2/en active Active
Patent Citations (3)
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 |