JP2008245018A - Image display device, printer and image cache method - Google Patents

Image display device, printer and image cache method Download PDF

Info

Publication number
JP2008245018A
JP2008245018A JP2007084468A JP2007084468A JP2008245018A JP 2008245018 A JP2008245018 A JP 2008245018A JP 2007084468 A JP2007084468 A JP 2007084468A JP 2007084468 A JP2007084468 A JP 2007084468A JP 2008245018 A JP2008245018 A JP 2008245018A
Authority
JP
Japan
Prior art keywords
image
image data
cache
display device
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007084468A
Other languages
Japanese (ja)
Other versions
JP4760751B2 (en
Inventor
Makoto Koyanagi
誠 小柳
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007084468A priority Critical patent/JP4760751B2/en
Publication of JP2008245018A publication Critical patent/JP2008245018A/en
Application granted granted Critical
Publication of JP4760751B2 publication Critical patent/JP4760751B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enhance cache operation of an image to be displayed on a display device. <P>SOLUTION: When the selection of first image data to be displayed on a liquid crystal monitor is accepted, a main processor inputs the selected image data from a memory card. A cache processor caches the image data input by the main processor into a shared memory. When the selection of second image data is accepted from a user while the cache processor performs cache processing, the main processor takes over and executes the cache processing of the first image data from the cache processor. During the execution, the cache processor caches the newly selected second image data. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、表示する画像をキャッシュする技術に関する。   The present invention relates to a technique for caching an image to be displayed.

近年普及が進む複合機タイプの印刷装置は、スキャナやメモリカードリーダ、表示装置等の様々なデバイスを備えている。表示装置には、メモリカードから読み取った画像が表示される。ユーザは表示装置に表示された画像の中から、印刷を所望する画像を任意に選択することができる(例えば、特許文献1参照)。   2. Description of the Related Art Multi-function printers that have become popular in recent years include various devices such as scanners, memory card readers, and display devices. An image read from the memory card is displayed on the display device. The user can arbitrarily select an image desired to be printed from images displayed on the display device (see, for example, Patent Document 1).

特開2005−111843号公報JP 2005-111843 A

一般的に、メモリカードのアクセス速度は、内部メモリほどは速くない。そのため、表示装置に表示する画像がユーザによって切り換えられる度にメモリカードから画像を読み取っていては、その入力処理やデコード処理に時間がかかり、動作速度が緩慢になってしまう。そこで、一度、メモリカードから入力した画像については、内部のメモリにキャッシュする手法を採用することが考えられる。このような手法を採用すれば、印刷装置は、同じ画像を再表示する場合には、内部メモリにキャッシュされた画像を利用することができるので、表示時間を大幅に短縮することができる。   In general, the access speed of a memory card is not as fast as the internal memory. Therefore, if an image to be displayed on the display device is read from the memory card every time the user switches the image, it takes time for the input processing and decoding processing, and the operation speed becomes slow. Therefore, it is conceivable to adopt a method of caching an image once input from a memory card in an internal memory. By adopting such a method, the printing apparatus can use the image cached in the internal memory when redisplaying the same image, so that the display time can be greatly shortened.

ところが、このような印刷装置において、未キャッシュの画像をメモリカードから読み込んで内部メモリにキャッシュしている最中に、表示画像が切り換えられると、切り換え前の画像のキャッシュ処理が途中で終了してしまうことになる。そうすると、同じ画像を再表示する場合に、キャッシュされたデータを正常に利用できない場合が生じてしまう。   However, in such a printing apparatus, when a display image is switched while an uncached image is read from the memory card and cached in the internal memory, the cache processing of the image before the switching is terminated halfway. Will end up. Then, when redisplaying the same image, the cached data may not be normally used.

こうした問題を考慮し、本発明が解決しようとする課題は、表示装置に表示する画像のキャッシュ動作を改善することにある。   In view of these problems, the problem to be solved by the present invention is to improve the cache operation of an image displayed on a display device.

上記課題を踏まえ、本発明の一態様である画像表示装置を次のように構成した。   Based on the above problems, an image display device which is one embodiment of the present invention is configured as follows.

すなわち、画像データを表示装置に表示する画像表示装置であって、所定の記録媒体に記録された複数の画像データの中から前記表示装置に表示する画像データの選択を受け付ける受付部と、前記選択された画像データを前記記録媒体から読み込んでメモリにキャッシュするキャッシュ処理を実行するキャッシュ部と、前記キャッシュ部による一の画像データの前記キャッシュ処理中に、前記受付部が他の画像データの選択を受け付けた場合に、前記キャッシュ部による前記一の画像データの前記キャッシュ処理を中断させ、該中断した前記一の画像データの前記キャッシュ処理を前記キャッシュ部から引き継いで実行する引継処理部とを備えることを要旨とする。   That is, an image display device that displays image data on a display device, a reception unit that receives selection of image data to be displayed on the display device from a plurality of image data recorded on a predetermined recording medium, and the selection A cache unit that reads the recorded image data from the recording medium and caches the image data in a memory, and the reception unit selects another image data during the cache process of one image data by the cache unit. A transfer processing unit that, when accepted, interrupts the cache processing of the one image data by the cache unit and takes over the interrupted cache processing of the one image data from the cache unit; Is the gist.

上記構成の画像表示装置によれば、先に選択された画像データをメモリにキャッシュしている間に、ユーザが他の画像データを選択した場合であっても、引継処理部によって、先に選択された画像データのキャッシュ処理を引き継いで実行することができる。そのため、キャッシュ部は、後から選択された画像データのキャッシュ処理を即座に開始することが可能になる。この結果、先に選択された画像データおよび後に選択された画像データともに、メモリに正常にキャッシュすることが可能になる。   According to the image display device having the above configuration, even when the user selects other image data while the previously selected image data is cached in the memory, the transfer processing unit selects the image data first. The cache processing of the processed image data can be taken over and executed. Therefore, the cache unit can immediately start the cache processing of the image data selected later. As a result, both the previously selected image data and the later selected image data can be normally cached in the memory.

上記構成の画像表示装置において、更に、前記メモリにキャッシュされた前記画像データを参照して、該画像データの解析処理を行う画像解析部と、前記解析処理の結果に応じて、前記画像データの画質を調整する画質調整部とを備えるものとしてもよい。   In the image display device having the above-described configuration, the image data cached in the memory is referred to, an image analysis unit that performs an analysis process on the image data, and the image data according to a result of the analysis process. An image quality adjustment unit that adjusts image quality may be provided.

このような構成であれば、メモリにキャッシュされた画像データを利用して、画像の解析を行い、その解析結果に応じて、画像データの画質を向上させることが可能になる。また、画像解析には、メモリにキャッシュされた画像データを用いるので、高速に解析処理を行うことが可能になる。   With such a configuration, it is possible to analyze the image using the image data cached in the memory and improve the image quality of the image data according to the analysis result. Further, since image data cached in a memory is used for image analysis, analysis processing can be performed at high speed.

上記構成の画像表示装置において、前記画像解析部は、前記キャッシュ部による前記一の画像データの前記キャッシュ処理中に、前記受付部が前記他の画像データの選択を受け付けた場合には、前記引継処理部によってキャッシュされた前記一の画像データに対する前記解析処理を行った後に、前記他の画像データに対する前記解析処理を行うものとしてもよい。   In the image display device having the above-described configuration, when the reception unit receives the selection of the other image data during the cache processing of the one image data by the cache unit, the transfer is performed. The analysis process for the other image data may be performed after the analysis process for the one image data cached by the processing unit.

このような構成であれば、表示装置に表示される画像データのすべてについて、キャッシュ処理と画像解析とを行うことができる。   With such a configuration, it is possible to perform cache processing and image analysis on all of the image data displayed on the display device.

上記構成の画像表示装置において、前記キャッシュ部は、前記選択された画像データの解像度を、前記表示装置の解像度に応じて設定された解像度に減じた上で、前記キャッシュ処理を実行するものとしてもよい。   In the image display device having the above configuration, the cache unit may execute the cache process after reducing the resolution of the selected image data to a resolution set in accordance with the resolution of the display device. Good.

このような構成であれば、キャッシュする画像データの容量を低減することができるので、メモリ容量を節減することができる。   With such a configuration, the capacity of image data to be cached can be reduced, so that the memory capacity can be saved.

上記構成の画像表示装置において、前記キャッシュ部は、一のプロセッサが所定の制御プログラムを実行することで実現され、前記引継処理部は、他のプロセッサが所定の制御プログラムを実行することで実現されるものとしてもよい。   In the image display device having the above configuration, the cache unit is realized by one processor executing a predetermined control program, and the takeover processing unit is realized by another processor executing a predetermined control program. It is good also as a thing.

このような構成であれば、キャッシュ処理と引継処理とを複数のプロセッサで分担して効率的に行うことが可能になる。   With such a configuration, cache processing and takeover processing can be efficiently performed by sharing the processing by a plurality of processors.

上記構成の画像表示装置において、前記選択された画像データが、前記メモリにキャッシュされている場合に、該メモリから前記選択された画像データを入力して前記表示装置に表示し、前記メモリにキャッシュされていない場合には、前記記録媒体から前記選択された画像データを入力して前記表示装置に表示する表示制御部を備えるものとしてもよい。   In the image display device having the above configuration, when the selected image data is cached in the memory, the selected image data is input from the memory, displayed on the display device, and cached in the memory. If not, a display control unit that inputs the selected image data from the recording medium and displays the selected image data on the display device may be provided.

このような構成であれば、メモリにキャッシュされた画像データを利用して、画像の表示を高速に行うことが可能になる。 With such a configuration, it is possible to display an image at high speed using image data cached in the memory.

本発明は、上述したいずれかの構成の画像表示装置と、前記表示装置に表示された画像データに対して印刷枚数の設定を行う設定部と、前記印刷枚数が1枚以上に設定された画像データの印刷を行う印刷部とを備える印刷装置として構成することもできる。本発明によれば、表示装置に表示された画像を見ながら、印刷を所望する画像を容易に選択することができる。   The present invention provides an image display device having any one of the above-described configurations, a setting unit for setting the number of prints for image data displayed on the display device, and an image in which the number of prints is set to one or more. It can also be configured as a printing apparatus including a printing unit that prints data. According to the present invention, it is possible to easily select an image desired to be printed while viewing an image displayed on a display device.

なお、本発明は、上述した画像表示装置や印刷装置としての構成のほか、画像キャッシュ方法や、コンピュータプログラムとしても構成することができる。かかるコンピュータプログラムは、コンピュータが読取可能な記録媒体に記録されていてもよい。記録媒体としては、例えば、フレキシブルディスクやCD−ROM、DVD−ROM、光磁気ディスク、メモリカード、ハードディスク等の種々の媒体を利用することができる。   Note that the present invention can be configured as an image cache method and a computer program in addition to the above-described configuration as the image display device and the printing device. Such a computer program may be recorded on a computer-readable recording medium. As the recording medium, for example, various media such as a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, a memory card, and a hard disk can be used.

以下、上述した本発明の作用・効果を一層明らかにするため、本発明の実施の形態を実施例に基づき次の順序で説明する。
A.印刷装置の構成:
B.印刷処理:
C.割り込み操作がない場合の各プロセッサの処理:
D.割り込み操作が行われた場合の各プロセッサの処理:
Hereinafter, in order to further clarify the operations and effects of the present invention described above, embodiments of the present invention will be described based on examples in the following order.
A. Configuration of printing device:
B. Printing process:
C. Processing of each processor when there is no interrupt operation:
D. Processing of each processor when an interrupt operation is performed:

A.印刷装置の構成:
図1は、本発明の実施例としての印刷装置10の外観図である。印刷装置10は、光学的に画像を読み込むスキャナ20や、メモリカードMCを挿入するためのメモリカードスロット30を備えている。印刷装置10は、スキャナ20によって取り込んだ画像や、メモリカードMCから読み込んだ画像を印刷用紙Pに印刷することができる。
A. Configuration of printing device:
FIG. 1 is an external view of a printing apparatus 10 as an embodiment of the present invention. The printing apparatus 10 includes a scanner 20 that optically reads an image and a memory card slot 30 into which a memory card MC is inserted. The printing apparatus 10 can print the image captured by the scanner 20 or the image read from the memory card MC on the printing paper P.

印刷装置10は、操作パネル40と液晶モニタ50とを備えている。操作パネル40には、画像切換ボタン41と、印刷枚数設定ボタン43と、印刷ボタン44とが備えられている。液晶モニタ50には、メモリカードMCから入力した画像が表示される。ユーザは、画像切換ボタン41を用いて、液晶モニタ50に表示させる画像を切り換えることができる。このとき、ユーザは、表示された画像毎に印刷枚数設定ボタン43を用いて印刷枚数を設定することができる。印刷枚数の設定が終了し、ユーザによって印刷ボタン44が押されると、印刷装置10は、指定された画像を指定された枚数分、印刷用紙Pに印刷する。   The printing apparatus 10 includes an operation panel 40 and a liquid crystal monitor 50. The operation panel 40 includes an image switching button 41, a print number setting button 43, and a print button 44. The liquid crystal monitor 50 displays an image input from the memory card MC. The user can switch the image to be displayed on the liquid crystal monitor 50 using the image switching button 41. At this time, the user can set the number of prints using the print number setting button 43 for each displayed image. When the setting of the number of prints is completed and the user presses the print button 44, the printing apparatus 10 prints the designated number of images on the printing paper P by the designated number.

図2は、印刷装置10の内部構成を示すブロック図である。図示するように、印刷装置10は、メインプロセッサ100と複数のサブプロセッサ200a〜200e(中間制御プロセッサ200a、デコードプロセッサ200b、キャッシュプロセッサ200c、画質調整プロセッサ200d、ハーフトーンプロセッサ200e)を備えている。これらのプロセッサは、1つの半導体パッケージの中に複数のCPUコアを含むマルチプロセッサとして構成されている。これらのプロセッサは、所定のバスを介して相互に接続されており、種々のデータやコマンドを相互に授受することができる。各プロセッサを結ぶバスとしては、例えば、リングバスを採用することができる。   FIG. 2 is a block diagram illustrating an internal configuration of the printing apparatus 10. As illustrated, the printing apparatus 10 includes a main processor 100 and a plurality of sub-processors 200a to 200e (an intermediate control processor 200a, a decode processor 200b, a cache processor 200c, an image quality adjustment processor 200d, and a halftone processor 200e). These processors are configured as a multiprocessor including a plurality of CPU cores in one semiconductor package. These processors are connected to each other via a predetermined bus, and can exchange various data and commands with each other. As a bus connecting the processors, for example, a ring bus can be employed.

メインプロセッサ100およびサブプロセッサ200a〜200eは、図示していないメモリコントローラを介して、同一の共有メモリ70に接続されている。そのため、各プロセッサは、相互にデータの転送を行うことなく、共有メモリ70内のデータを共同して利用することができる。共有メモリ70としては、例えば、DDR−SDRAMを用いることができる。   The main processor 100 and the sub processors 200a to 200e are connected to the same shared memory 70 via a memory controller (not shown). Therefore, the processors can jointly use the data in the shared memory 70 without transferring data to each other. As the shared memory 70, for example, a DDR-SDRAM can be used.

メインプロセッサ100には、カードインタフェース35と、液晶コントローラ55と、入力インタフェース45と、スキャナ制御回路25と、印刷機構60と、ROM80とが接続されている。   A card interface 35, a liquid crystal controller 55, an input interface 45, a scanner control circuit 25, a printing mechanism 60, and a ROM 80 are connected to the main processor 100.

カードインタフェース35は、メインプロセッサ100からの指示に応じて、メモリカードスロット30に挿入されたメモリカードMCに対するデータの読み書きを制御する回路である。   The card interface 35 is a circuit that controls reading and writing of data with respect to the memory card MC inserted into the memory card slot 30 in accordance with an instruction from the main processor 100.

液晶コントローラ55は、液晶モニタ50を制御して、メインプロセッサ100から指示された画像の表示を制御する回路である。本実施例の液晶モニタ50は、QVGA(320×240ドット)の解像度を有している。もちろん、他の解像度の液晶モニタ50を採用してもよい。   The liquid crystal controller 55 is a circuit that controls the liquid crystal monitor 50 to control display of an image instructed from the main processor 100. The liquid crystal monitor 50 of this embodiment has a resolution of QVGA (320 × 240 dots). Of course, a liquid crystal monitor 50 having another resolution may be adopted.

入力インタフェース45は、操作パネル40を用いたユーザからの入力操作を受け付け、これをメインプロセッサ100に伝達するための回路である。   The input interface 45 is a circuit for receiving an input operation from a user using the operation panel 40 and transmitting the input operation to the main processor 100.

スキャナ制御回路25は、スキャナ20を制御して、読み取った画像をメインプロセッサ100に転送するための回路である。   The scanner control circuit 25 is a circuit for controlling the scanner 20 and transferring the read image to the main processor 100.

印刷機構60は、インク吐出機構や紙送り機構、ヘッド搬送機構を備えるとともに、これらの動作を制御する回路を備えている。印刷機構60は、メインプロセッサ100からの指示に応じて、印刷用紙にインクを吐出して画像を形成する。印刷機構60としては、例えば、インクジェット方式の機構を採用することができる。   The printing mechanism 60 includes an ink discharge mechanism, a paper feed mechanism, and a head transport mechanism, and a circuit that controls these operations. The printing mechanism 60 forms an image by ejecting ink onto printing paper in response to an instruction from the main processor 100. As the printing mechanism 60, for example, an inkjet mechanism can be adopted.

ROM80には、メインプロセッサ100とサブプロセッサ200a〜200eとが実行する制御プログラムが記憶されている。メインプロセッサ100は、印刷装置10の電源投入時に、この制御プログラムを読み込んで、共有メモリ70にロードする。各プロセッサは、共有メモリ70にロードされた制御プログラムを実行することで、以下に説明する種々の機能をソフトウェア的に実現する。   The ROM 80 stores a control program executed by the main processor 100 and the sub processors 200a to 200e. The main processor 100 reads this control program and loads it into the shared memory 70 when the printing apparatus 10 is powered on. Each processor implements various functions described below in software by executing a control program loaded in the shared memory 70.

メインプロセッサ100は、ソフトウェア的に実現される機能部として、ファイル管理部110と、表示制御部120と、操作受付部130と、画像解析部140と、引継処理部150と、印刷制御部160とを備えている。   The main processor 100 includes a file management unit 110, a display control unit 120, an operation reception unit 130, an image analysis unit 140, a takeover processing unit 150, and a print control unit 160 as functional units implemented as software. It has.

ファイル管理部110は、カードインタフェース35を制御して、メモリカードMCに対する画像データの入出力を管理する。メモリカードMCには、画像データが、JPEG形式の画像ファイルとして記録されている。ファイル管理部110は、このファイル形式に従って、メモリカードMCに対する画像データの入出力を管理する。   The file management unit 110 controls the card interface 35 to manage image data input / output with respect to the memory card MC. Image data is recorded in the memory card MC as an image file in JPEG format. The file management unit 110 manages input / output of image data to / from the memory card MC according to the file format.

表示制御部120は、液晶コントローラ55を制御して、液晶モニタ50にメモリカードMCから入力した画像データや印刷に関するGUI(グラフィカルユーザインタフェース)を表示する。画像データを表示する場合には、表示制御部120は、液晶モニタ50の解像度に合わせて画像のリサイズを行う。   The display control unit 120 controls the liquid crystal controller 55 to display image data input from the memory card MC and a GUI (graphical user interface) related to printing on the liquid crystal monitor 50. When displaying the image data, the display control unit 120 resizes the image in accordance with the resolution of the liquid crystal monitor 50.

図3は、表示制御部120によって液晶モニタ50に画像データとGUIとが表示された例を示す説明図である。図示するように、液晶モニタ50には、画像データが全面に表示されるとともに、右上隅に印刷枚数が表示される。更に、画像データの下部には、操作パネル40の説明が表示される。本実施例では、この操作パネル40の説明に示すように、画像切換ボタン41の右方向のボタンが押されると、表示される画像が、次にメモリカードMCに記録されている画像に進み、左向きのボタンが押されると、直前にメモリカードMCに記録されている画像に戻る。画像切換ボタン41によるこのような操作を、以下では、「切り換え操作」と呼ぶ。また、印刷枚数設定ボタン43の上方向のボタンが押されると、現在表示中の画像の印刷枚数が増加し、下方向のボタンが押されると印刷枚数が減少する。こうして増減させられた印刷枚数は、液晶モニタ50の右上部に表示される。画像の表示中に、ユーザによって印刷ボタン44が押されると、印刷枚数を1枚以上に設定した画像が印刷される。   FIG. 3 is an explanatory diagram showing an example in which image data and GUI are displayed on the liquid crystal monitor 50 by the display control unit 120. As shown in the figure, the image data is displayed on the entire surface of the liquid crystal monitor 50 and the number of prints is displayed in the upper right corner. Further, a description of the operation panel 40 is displayed below the image data. In the present embodiment, as shown in the description of the operation panel 40, when the right button of the image switching button 41 is pressed, the displayed image advances to the next image recorded on the memory card MC, When the left button is pressed, the image recorded on the memory card MC is restored. Such an operation by the image switching button 41 is hereinafter referred to as a “switching operation”. When the upper button of the print number setting button 43 is pressed, the number of prints of the currently displayed image increases, and when the lower button is pressed, the number of prints decreases. The number of printed sheets thus increased or decreased is displayed in the upper right part of the liquid crystal monitor 50. When the user presses the print button 44 during image display, an image with the number of prints set to one or more is printed.

操作受付部130は、上述した画像切換ボタン41や印刷枚数設定ボタン43、印刷ボタン44の操作の受け付けを行う。   The operation accepting unit 130 accepts operations of the image switching button 41, the print number setting button 43, and the print button 44 described above.

画像解析部140は、ファイル管理部110によって入力した画像を解析する処理を行う。この解析処理では、入力した画像の平均輝度や最小輝度、最大輝度、顔領域や赤目の有無を判別する。この解析処理は、メインプロセッサ100が他の処理を行っていないアイドル時間に実行される。アイドル時間とは、例えば、メインプロセッサ100が、サブプロセッサに処理を依頼してその応答を待っている時間や、ユーザからの操作を待っている時間である。画像解析部140は、液晶モニタ50に表示された画像のすべてについて、この画像解析を行い、その解析結果を、各画像データのファイル名に関連付けて共有メモリ70に記憶する。   The image analysis unit 140 performs processing for analyzing the image input by the file management unit 110. In this analysis processing, the average luminance, minimum luminance, maximum luminance, face area, and presence / absence of a red eye of the input image are determined. This analysis process is executed during idle time when the main processor 100 is not performing other processes. The idle time is, for example, a time during which the main processor 100 requests processing from the sub processor and waits for a response, or a time when the user waits for an operation from the user. The image analysis unit 140 performs this image analysis on all the images displayed on the liquid crystal monitor 50, and stores the analysis result in the shared memory 70 in association with the file name of each image data.

引継処理部150は、表示制御部120によって画像が完全に表示される前にユーザが表示画像の切り換え操作を行った場合に、デコードプロセッサ200bが実行するデコード処理や、キャッシュプロセッサ200cが実行するキャッシュ処理を中断させ、これらの処理をデコードプロセッサ200bやキャッシュプロセッサ200cに代わって引き継いで実行する。画像が完全に表示される前にユーザが表示画像の切り換え操作を行うことを、以下では、「割り込み操作」と呼ぶ。割り込み操作があった場合に、引継処理部150が行う処理内容については、後で詳細に説明する。   The takeover processing unit 150 performs a decoding process executed by the decoding processor 200b and a cache executed by the cache processor 200c when the user performs a display image switching operation before the display control unit 120 displays the image completely. The processing is interrupted, and these processing are executed in place of the decode processor 200b and the cache processor 200c. Hereinafter, the operation of switching the display image by the user before the image is completely displayed is referred to as “interrupt operation”. Details of processing performed by the handover processing unit 150 when an interrupt operation is performed will be described in detail later.

印刷制御部160は、ユーザによって印刷枚数の設定された画像を、印刷機構60を制御して印刷する。   The print control unit 160 controls the printing mechanism 60 to print an image whose number of prints has been set by the user.

ここで、各サブプロセッサの役割について順に説明する。中間制御プロセッサ200aは、他のサブプロセッサ200b〜200eの管理を行うとともに、メインプロセッサ100が液晶モニタ50に表示する画像をリサイズする処理を行う。   Here, the role of each sub-processor will be described in order. The intermediate control processor 200a manages the other sub-processors 200b to 200e and performs a process of resizing an image displayed on the liquid crystal monitor 50 by the main processor 100.

デコードプロセッサ200bは、JPEG形式でエンコードされた画像データのデコードを行う。具体的には、デコードプロセッサ200bは、8×8画素のMCUというブロック単位で周波数領域にエンコードされているJPEGデータを、複数のラインからなる所定のバンド幅単位で、RGBデータに変換する処理を行う。このとき、デコードプロセッサ200bは、共有メモリ70内の所定のデコード領域を一時バッファとして用いる。   The decode processor 200b decodes image data encoded in the JPEG format. Specifically, the decode processor 200b performs a process of converting JPEG data encoded in the frequency domain in units of 8 × 8 pixel MCUs into RGB data in units of a predetermined bandwidth composed of a plurality of lines. Do. At this time, the decode processor 200b uses a predetermined decode area in the shared memory 70 as a temporary buffer.

キャッシュプロセッサ200cは、デコードプロセッサ200bによってデコードされた画像データを、共有メモリ70に一時的に蓄えるキャッシュ処理を行う。このとき、キャッシュプロセッサ200cは、デコードされた画像を、所定の解像度(例えば、VGA(640*480))に減ずる処理も行う。こうすることで、共有メモリ70の容量を節減することができる。リサイズ後の解像度は、液晶モニタ50の解像度よりも大きなサイズであり、後述する画像解析が適切に行うことのできるサイズに設定されている。本実施例では、共有メモリ70には、リサイズされた画像が10枚、キャッシュ可能であるものとする。キャッシュプロセッサ200cは、キャッシュする画像の枚数が、この数を超える場合には、古い画像から削除を行い、新たな画像をキャッシュする。   The cache processor 200c performs a cache process for temporarily storing the image data decoded by the decode processor 200b in the shared memory 70. At this time, the cache processor 200c also performs a process of reducing the decoded image to a predetermined resolution (for example, VGA (640 * 480)). By doing so, the capacity of the shared memory 70 can be saved. The resolution after resizing is larger than the resolution of the liquid crystal monitor 50, and is set to a size that can appropriately perform image analysis described later. In the present embodiment, it is assumed that the shared memory 70 can cache 10 resized images. When the number of images to be cached exceeds this number, the cache processor 200c deletes the old image and caches a new image.

画質調整プロセッサ200dは、メインプロセッサ100の画像解析部140による画像解析の結果に応じて、印刷画像に対し、所定の画像処理を行う。例えば、画像解析部140によって最小輝度値と最大輝度値とが解析されていれば、これらの値に基づいて、自動的にコントラストを調整する処理を行う。また、赤目が検出されていれば、赤目を低減する画像処理を行う。なお、画質調整プロセッサ200dによって画像処理を行うか否かは、ユーザが任意に設定することができる。また、画質調整プロセッサ200dは、液晶モニタ50によって表示する画像に対しても、印刷画像と同様の画像処理を施すものとすることができる。こうすることで、画像処理が施された場合の印刷の結果を、液晶モニタ50で事前に確認することができる。   The image quality adjustment processor 200d performs predetermined image processing on the print image according to the result of image analysis by the image analysis unit 140 of the main processor 100. For example, if the minimum luminance value and the maximum luminance value are analyzed by the image analysis unit 140, a process of automatically adjusting the contrast is performed based on these values. If red eyes are detected, image processing for reducing red eyes is performed. Note that the user can arbitrarily set whether or not to perform image processing by the image quality adjustment processor 200d. Further, the image quality adjustment processor 200d can perform the same image processing as the print image on the image displayed on the liquid crystal monitor 50. By doing this, it is possible to confirm in advance on the liquid crystal monitor 50 the result of printing when image processing is performed.

ハーフトーンプロセッサ200eは、メモリカードMCから入力した画像データを印刷データに変換するハーフトーン処理を行う。ハーフトーン処理とは、RGB形式の画像データをCMY形式に色変換し、さらに、色変換された画像データを二値化して、ドットのオンオフを表すデータに変換する処理である。なお、印刷機構60が、印刷媒体に形成するドットのサイズを複数種類に可変できる場合には、ハーフトーンプロセッサ200eは、二値化ではなくそのサイズの種類に応じた多値化を行う。   The halftone processor 200e performs a halftone process for converting image data input from the memory card MC into print data. Halftone processing is processing for color-converting RGB format image data to CMY format, and further binarizing the color-converted image data to convert it into data representing dot on / off. When the printing mechanism 60 can change the size of dots formed on the printing medium into a plurality of types, the halftone processor 200e performs multi-value processing according to the size type instead of binarization.

B.印刷処理:
図4は、印刷装置10が実行する印刷処理の概略を示すフローチャートである。この印刷処理は、ユーザによる操作パネル40の所定の操作によって、メモリカードMCに記録された画像を印刷するモードが選択された場合に実行される処理である。
B. Printing process:
FIG. 4 is a flowchart illustrating an outline of a printing process executed by the printing apparatus 10. This printing process is a process executed when a mode for printing an image recorded on the memory card MC is selected by a predetermined operation of the operation panel 40 by the user.

この処理が実行されると、メインプロセッサ100は、まず、表示する画像を特定する(ステップS10)。この印刷処理が開始された直後は、メモリカードMCに最初に記録された画像が表示画像として特定される。   When this process is executed, the main processor 100 first specifies an image to be displayed (step S10). Immediately after the printing process is started, the image recorded first on the memory card MC is specified as the display image.

次に、メインプロセッサ100は、共有メモリ70の中を検索し、ステップS10で特定した画像が共有メモリ70内にキャッシュされているかを判断する(ステップS15)。キャッシュされていると判断した場合には(ステップS15:Yes)、共有メモリ70からその画像を入力する(ステップS20)。そして、その画像を表示制御部120によって液晶モニタ50に表示する(ステップS30)。   Next, the main processor 100 searches the shared memory 70 and determines whether the image specified in step S10 is cached in the shared memory 70 (step S15). If it is determined that it is cached (step S15: Yes), the image is input from the shared memory 70 (step S20). Then, the image is displayed on the liquid crystal monitor 50 by the display control unit 120 (step S30).

これに対して、共有メモリ70内に画像がキャッシュされていないと判断した場合には、メインプロセッサ100は、ファイル管理部110によってメモリカードMCから、ステップS10で特定した画像を入力し(ステップS25)、その画像を液晶モニタ50に表示する(ステップS30)。ステップS25では、メインプロセッサ100は、サブプロセッサ(具体的には、中間制御プロセッサ200a、デコードプロセッサ200b、キャッシュプロセッサ200c)に、画像のデコード処理やキャッシュ処理を依頼する。また、このときメインプロセッサ100は、デコードプロセッサ200bによってデコードされた画像データを用いて、画像解析部140により画像解析を行う。これらの各プロセッサによる処理の流れの詳細については後述する。   On the other hand, when determining that the image is not cached in the shared memory 70, the main processor 100 inputs the image specified in step S10 from the memory card MC by the file management unit 110 (step S25). The image is displayed on the liquid crystal monitor 50 (step S30). In step S25, the main processor 100 requests the sub-processor (specifically, the intermediate control processor 200a, the decode processor 200b, and the cache processor 200c) to perform image decoding processing and cache processing. At this time, the main processor 100 performs image analysis by the image analysis unit 140 using the image data decoded by the decode processor 200b. Details of the flow of processing by each of these processors will be described later.

ステップS30によって、液晶モニタ50に画像を表示すると、メインプロセッサ100は、操作受付部130によってユーザが表示画像の切り換え操作を行ったかを判断する(ステップS35)。切り換え操作があった場合には、メインプロセッサ100は、処理をステップS10に戻し、切り換え後の画像を表示画像として特定する。一方、切り換え操作がない場合には、メインプロセッサ100は、操作受付部130によって、ユーザからの印刷枚数の設定を受け付ける(ステップS40)。   When an image is displayed on the liquid crystal monitor 50 in step S30, the main processor 100 determines whether the user has performed a display image switching operation using the operation reception unit 130 (step S35). If there is a switching operation, the main processor 100 returns the processing to step S10, and specifies the image after switching as a display image. On the other hand, when there is no switching operation, the main processor 100 accepts the setting of the number of prints from the user by the operation accepting unit 130 (step S40).

印刷枚数の設定を受け付けると、メインプロセッサ100は、ユーザが印刷ボタン44を押したかを操作受付部130によって判断する(ステップS45)。印刷ボタン44が押されなければ、処理をステップS35に戻し、再度、表示画像の切り換え操作があったかを判断する。   When receiving the setting of the number of prints, the main processor 100 determines whether the user has pressed the print button 44 by the operation reception unit 130 (step S45). If the print button 44 is not pressed, the process returns to step S35, and it is determined again whether a display image switching operation has been performed.

上記ステップS45において、印刷ボタン44が押されたと判断すれば(ステップS45:Yes)、メインプロセッサ100は、印刷枚数が1枚以上に設定された画像データをメモリカードMCから入力する(ステップS50)。そして、その画像データの画像解析結果に基づき、画質調整プロセッサ200dに画質を調整させる(ステップS55)。その後、ハーフトーンプロセッサ200eにハーフトーン処理を行わせ、印刷制御部160によって印刷機構を制御しつつ印刷を行う(ステップS60)。   If it is determined in step S45 that the print button 44 has been pressed (step S45: Yes), the main processor 100 inputs image data with the number of prints set to one or more from the memory card MC (step S50). . Based on the image analysis result of the image data, the image quality adjustment processor 200d adjusts the image quality (step S55). Thereafter, the halftone processor 200e performs halftone processing, and printing is performed while the printing control unit 160 controls the printing mechanism (step S60).

以上、本実施例の印刷装置10による印刷処理の流れを説明した。上述した説明では、ステップS30において画像が表示された後に、ステップS35で、表示画像の切り換え操作があったかを判断している。しかし、ユーザは、このようなタイミングではなく、画像のデコード処理中など、画像が完全に表示される前に、画像の切り換え操作を行う場合がある。そこで、以下では、ステップS25およびステップS30における処理中に、画像の切り換え操作が行われた場合の処理の詳細を説明する。なお、以下では、画像が完全に表示される前にユーザが表示画像を切り換える操作のことを、「割り込み操作」という。   The flow of the printing process by the printing apparatus 10 according to the present embodiment has been described above. In the above description, after an image is displayed in step S30, it is determined in step S35 whether a display image switching operation has been performed. However, the user may perform an image switching operation before the image is completely displayed, such as during image decoding processing, instead of such timing. Therefore, in the following, details of processing when an image switching operation is performed during the processing in step S25 and step S30 will be described. Hereinafter, an operation in which the user switches the display image before the image is completely displayed is referred to as an “interrupt operation”.

C.割り込み操作がない場合の各プロセッサの処理:
割り込み操作があった場合の説明に先立ち、まず、以下では、割り込み操作がない場合の各プロセッサの処理内容について説明する。
C. Processing of each processor when there is no interrupt operation:
Prior to the description when there is an interrupt operation, first, the processing contents of each processor when there is no interrupt operation will be described below.

図5は、割り込み操作がない場合において、図4のステップS25およびステップS30で実行される各プロセッサの処理内容を示す説明図である。図示するように、メインプロセッサ100は、まず、中間制御プロセッサ200aに対して、表示対象として特定された画像(ここでは、「画像A」とする)のデコード処理を依頼する(ステップSa10)。すると、中間制御プロセッサ200aは、この依頼をデコードプロセッサ200bに転送する(ステップSa12)。デコードプロセッサ200bは、この依頼を受けると、共有メモリ70内のデコード領域を用いてバンド毎に画像Aのデコードを行う(ステップさSa14)。   FIG. 5 is an explanatory diagram showing the processing contents of each processor executed in steps S25 and S30 of FIG. 4 when there is no interrupt operation. As shown in the figure, the main processor 100 first requests the intermediate control processor 200a to decode the image specified as a display target (here, “image A”) (step Sa10). Then, the intermediate control processor 200a transfers this request to the decode processor 200b (step Sa12). Upon receiving this request, the decode processor 200b decodes the image A for each band using the decode area in the shared memory 70 (step Sa14).

デコードプロセッサ200bは、バンド毎に画像Aをデコードすると、1つのバンドのデコードが終了する毎に、中間制御プロセッサ200aに、デコードが終了した旨を報告する(ステップSa16)。すると、中間制御プロセッサ200aは、この報告を受けて、キャッシュプロセッサ200cにデコード後の画像をキャッシュするよう指示を与える(ステップSa18)。キャッシュプロセッサ200cは、このキャッシュ指示を受けると、デコード後の画像を1バンド分、デコード領域から読み取り、これを、所定のサイズ(本実施例では、VGAサイズ)にリサイズして、キャッシュ領域に書き込む(ステップSa20)。キャッシュプロセッサ200cによるこのキャッシュ動作は、画像A内のすべてのバンドのデコードが完了するまで繰り返し行われる。   When decoding the image A for each band, the decode processor 200b reports to the intermediate control processor 200a that the decoding has been completed each time decoding of one band is completed (step Sa16). Then, the intermediate control processor 200a receives this report and gives an instruction to cache the decoded image to the cache processor 200c (step Sa18). Upon receiving this cache instruction, the cache processor 200c reads the decoded image for one band from the decode area, resizes it to a predetermined size (in this embodiment, VGA size), and writes it to the cache area. (Step Sa20). This cache operation by the cache processor 200c is repeated until decoding of all the bands in the image A is completed.

キャッシュプロセッサ200cは、上記ステップSa20において、1バンド分のキャッシュ処理を終了すると、1バンド分のキャッシュが完了した旨を中間制御プロセッサ200aに通知する(ステップSa22)。中間制御プロセッサ200aは、この通知を受けると、共有メモリ70のデコード領域からデコード済みの画像を1バンド分読み取り、これを液晶モニタ50の解像度(本実施例では、QVGAサイズ)に合わせてリサイズする(ステップSa24)。そして、このリサイズ後の画像データを1バンド分、メインプロセッサ100に転送する(ステップSa26)。   When the cache processor 200c finishes the cache processing for one band in step Sa20, the cache processor 200c notifies the intermediate control processor 200a that the cache for one band is completed (step Sa22). Upon receiving this notification, the intermediate control processor 200a reads one band of the decoded image from the decoding area of the shared memory 70, and resizes it according to the resolution of the liquid crystal monitor 50 (QVGA size in this embodiment). (Step Sa24). Then, the resized image data for one band is transferred to the main processor 100 (step Sa26).

メインプロセッサ100は、中間制御プロセッサ200aから画像データの転送を受けると、表示制御部120によってその画像を液晶モニタ50に表示する(ステップSa28)。以上で説明した各プロセッサによる処理が、画像内の全てのバンドについて行われると、共有メモリ70への画像Aのキャッシュと、液晶モニタ50への画像Aの表示が完了することになる。   When the main processor 100 receives the transfer of the image data from the intermediate control processor 200a, the display control unit 120 displays the image on the liquid crystal monitor 50 (step Sa28). When the processing by each processor described above is performed for all bands in the image, the cache of the image A in the shared memory 70 and the display of the image A on the liquid crystal monitor 50 are completed.

なお、上述した処理において、メインプロセッサ100は、ステップSa10において中間制御プロセッサ200aに画像のデコードを依頼すると、ユーザから画像の切り換え操作がない限り、ステップSa26において画像データの転送を受けるまで、実質的に何も処理を行わないアイドル状態になる。そこで、メインプロセッサ100は、この時間を利用して、画像解析部140によって、現在キャッシュ処理中の画像データをキャッシュ領域から読み込み、かかる画像の解析を行う(ステップSa30)。こうすることで、図4のステップS60における印刷の開始時に画像の解析を行う必要がなくなるため、印刷処理全体の速度を向上させることができる。   In the above-described processing, when the main processor 100 requests the intermediate control processor 200a to decode an image in step Sa10, the main processor 100 does not substantially transfer until receiving image data transfer in step Sa26 unless there is an image switching operation from the user. In the idle state, no processing is performed. Therefore, the main processor 100 uses this time to read the image data currently being cached from the cache area by the image analysis unit 140 and analyze the image (step Sa30). By doing so, it is not necessary to analyze the image at the start of printing in step S60 of FIG. 4, so that the speed of the entire printing process can be improved.

以上、割り込み操作がない場合の各プロセッサの処理内容を説明した。次に、図5中に「ステップSa32」として示したタイミングで、割り込み操作が行われた場合の各プロセッサの処理内容を説明する。   The processing contents of each processor when there is no interrupt operation have been described above. Next, the processing content of each processor when an interrupt operation is performed at the timing indicated as “step Sa32” in FIG. 5 will be described.

D.割り込み操作が行われた場合の各プロセッサの処理:
図6は、割り込み操作が行われた場合の各プロセッサの処理内容を示す説明図である。メインプロセッサ100は、操作受付部130によってユーザから割り込み操作があったことを検出すると、図示するように、まず、次に表示する画像Bのデコードを中間制御プロセッサ200aに依頼する(ステップSa40)。すると、中間制御プロセッサ200aは、この依頼をデコードプロセッサ200bに転送する(ステップSa42)。デコードプロセッサ200bは、この依頼を受けると、画像Aのデコードを中断し、画像Bのデコードを開始する(ステップSa44)。
D. Processing of each processor when an interrupt operation is performed:
FIG. 6 is an explanatory diagram showing the processing contents of each processor when an interrupt operation is performed. When the main processor 100 detects that the user has performed an interrupt operation by the operation receiving unit 130, the main processor 100 first requests the intermediate control processor 200a to decode the image B to be displayed next (step Sa40). Then, the intermediate control processor 200a transfers this request to the decode processor 200b (step Sa42). Upon receiving this request, the decoding processor 200b interrupts decoding of the image A and starts decoding of the image B (step Sa44).

メインプロセッサ100は、上記ステップSa40において、中間制御プロセッサ200aに画像Bのデコード処理を依頼すると、画像Aのキャッシュ領域から、キャッシュ途中のデータを読み込んで、画像解析部140によって、画像Aの解析処理を行う(ステップSa62)。そして、メインプロセッサ100は、画像Aのデコード処理の中断に伴って残存した画像Aの未デコード部分をメモリカードMCから読み込み、引継処理部150を用いて、その残存部分のデコード処理を行う(ステップSa64)。デコード処理を行うと、引継処理部150は、デコードした部分のサイズをリサイズし(ステップSa66)、リサイズされた画像データを用いて残りの画像解析を行う(ステップSa68)。更に、引継処理部150は、リサイズされたデコード済みのデータを、画像Aのキャッシュ領域に保存する。こうすることで、メインプロセッサ100は、割り込み操作によって中断された画像Aのデコード処理、キャッシュ処理、画像解析をすべて完了することができる。   In step Sa40, when the main processor 100 requests the intermediate control processor 200a to decode the image B, the main processor 100 reads data in the middle of the cache from the cache area of the image A, and the image analysis unit 140 causes the image analysis unit 140 to analyze the image A. Is performed (step Sa62). Then, the main processor 100 reads from the memory card MC the undecoded portion of the image A remaining with the interruption of the decoding processing of the image A, and performs the decoding processing of the remaining portion using the takeover processing unit 150 (step) Sa64). When the decoding process is performed, the handover processing unit 150 resizes the size of the decoded part (step Sa66), and performs the remaining image analysis using the resized image data (step Sa68). Further, the takeover processing unit 150 stores the resized decoded data in the cache area of the image A. By doing so, the main processor 100 can complete all the decoding processing, caching processing, and image analysis of the image A interrupted by the interrupt operation.

メインプロセッサ100が、上述した処理(ステップSa62〜Sa70)を実行している間、デコードプロセッサ200bは、画像Bのデコードを行い(ステップSa44)、キャッシュプロセッサは、デコードされた画像Bのリサイズおよびキャッシュ領域への書込を行う(ステップSa50)。また、中間制御プロセッサ200aは、デコードプロセッサ200bとキャッシュプロセッサ200cへの指示および各種通知の受領(ステップSa42,Sa46,Sa48,Sa52)を行うとともに、表示用画像のリサイズを行う(ステップSa54)。つまり、メインプロセッサ100以外のプロセッサは、図5に示した通常時の処理と同様の処理を画像Bについて行うのである。   While the main processor 100 performs the above-described processing (steps Sa62 to Sa70), the decode processor 200b decodes the image B (step Sa44), and the cache processor resizes and caches the decoded image B. Writing to the area is performed (step Sa50). Further, the intermediate control processor 200a receives instructions to the decode processor 200b and the cache processor 200c and receives various notifications (steps Sa42, Sa46, Sa48, Sa52) and resizes the display image (step Sa54). That is, a processor other than the main processor 100 performs the same process on the image B as the normal process shown in FIG.

メインプロセッサ100は、中間制御プロセッサ200aから表示用画像の転送を受けると、上述したステップSa62〜Sa70までの処理を中断し、受信した画像Bの表示を行う。この表示処理が終わると、メインプロセッサ100は、上述したステップSa62〜Sa70の処理を、画像A全体について完了するまで実行する。   When the main processor 100 receives the transfer of the display image from the intermediate control processor 200a, the main processor 100 interrupts the processing from step Sa62 to Sa70 described above and displays the received image B. When this display process is completed, the main processor 100 executes the above-described steps Sa62 to Sa70 for the entire image A.

メインプロセッサ100は、画像Aについてのデコードおよびキャッシュが完了すると、今度は、画像Bのキャッシュデータを用いて、画像解析を開始する(ステップSa72)。この解析途中で、ユーザによって、更に、割り込み操作が行われれば、各プロセッサは、図6に示した処理を繰り返し実行する。   When the decoding and caching for the image A is completed, the main processor 100 starts image analysis using the cache data for the image B (step Sa72). If an interrupt operation is further performed by the user during the analysis, each processor repeatedly executes the processing shown in FIG.

なお、図6には、画像Bの表示が完了した後に、画像Bの画像解析を行う例を示している。しかし、画像Aの解析、デコード、キャッシュの各処理が終了するタイミングは、必ずしも、画像Bの表示が完了するタイミングと一致する訳ではない。そこで、画像Aについての各処理が終了するタイミングが、画像Bの表示が完了するタイミングよりも早ければ、メインプロセッサ100は、画像Bの表示が完了する前に、画像Bについての解析を開始する。また、画像Aについての各処理が終了するタイミングが、画像Bの表示が完了するタイミングよりも遅ければ、これらの画像Aについての処理が終了し次第、画像Bの解析処理を始める。このようにすることで、メインプロセッサ100は、画像の表示と、画像の解析とを非同期に実行することができ、効率的に、印刷処理を進めることができる。   FIG. 6 shows an example in which the image analysis of the image B is performed after the display of the image B is completed. However, the timing when the analysis, decoding, and cache processing of the image A are completed does not necessarily coincide with the timing when the display of the image B is completed. Therefore, if the timing at which each process for image A ends is earlier than the timing at which display of image B is completed, main processor 100 starts analysis on image B before the display of image B is completed. . Also, if the timing for completing each process for the image A is later than the timing for completing the display of the image B, the analysis process for the image B is started as soon as the processing for the image A is completed. In this way, the main processor 100 can asynchronously execute image display and image analysis, and can efficiently advance the printing process.

以上で説明した本実施例の印刷装置10によれば、ユーザによる割り込み操作によって、表示中の画像のキャッシュ処理が中断したとしても、キャッシュプロセッサ200cに代わってメインプロセッサ100がこのキャッシュ処理を引き継ぐことができる。そのため、わずかな間でも液晶モニタ50に表示させた画像であれば、共有メモリ70内に画像全体が正常にキャッシュされることになる。この結果、ユーザが、次々に表示画像を切り換えたとしても、キャッシュされた画像を利用して、画像の再表示を高速に行うことが可能になる。   According to the printing apparatus 10 of the present embodiment described above, even if the cache processing of an image being displayed is interrupted by a user interrupt operation, the main processor 100 takes over the cache processing instead of the cache processor 200c. Can do. Therefore, if the image is displayed on the liquid crystal monitor 50 even for a short time, the entire image is normally cached in the shared memory 70. As a result, even if the user switches display images one after another, the image can be re-displayed at high speed using the cached image.

また、本実施例では、画像データの解析を、メインプロセッサ100のアイドル時間に行うものとした。そのため、印刷の開始時に画像の解析を行う必要がなく、印刷処理を高速に行うことが可能になる。また、本実施例では、メインプロセッサ100は、キャッシュプロセッサ200cからキャッシュ処理を引き継いだ場合であっても、画像の解析を完了させてから、引継処理を開始する。そのため、液晶モニタ50に表示された画像すべてについて画像解析を行うことができる。この結果、表示された画像の中で、どの画像が印刷対象として選択された場合であっても、適切に画質の調整を行うことが可能になる。   In this embodiment, the image data is analyzed during the idle time of the main processor 100. Therefore, it is not necessary to analyze the image at the start of printing, and the printing process can be performed at high speed. In the present embodiment, even when the main processor 100 takes over the cache process from the cache processor 200c, the main processor 100 starts the takeover process after completing the analysis of the image. Therefore, image analysis can be performed for all images displayed on the liquid crystal monitor 50. As a result, the image quality can be appropriately adjusted regardless of which image is selected as a print target among the displayed images.

また、本実施例では、画像のデコードを行うプロセッサや、画像解析を行うプロセッサとは異なるプロセッサによって、デコード後の画像のキャッシュ処理を行うものとした。そのため、画像データのキャッシュ処理に伴い、デコード処理が停止することや、画像解析の中断してしまうことを防止することができ、効率的に、画像の表示を行うことが可能になる。   In this embodiment, the decoded image is cached by a processor that decodes the image or a processor that is different from the processor that performs the image analysis. For this reason, it is possible to prevent the decoding process from being stopped and the image analysis from being interrupted along with the cache processing of the image data, and the image can be displayed efficiently.

以上、本発明の実施例について説明したが、本発明はこのような実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることはいうまでもない。例えば、ソフトウェアによって実現した機能は、ハードウェアによって実現するものとしてもよい。   As mentioned above, although the Example of this invention was described, it cannot be overemphasized that this invention is not limited to such an Example, and can take a various structure in the range which does not deviate from the meaning. For example, a function realized by software may be realized by hardware.

印刷装置の外観図である。1 is an external view of a printing apparatus. 印刷装置の内部構成を示すブロック図である。2 is a block diagram illustrating an internal configuration of the printing apparatus. FIG. 表示制御部によって液晶モニタに画像データとGUIとが表示された例を示す説明図である。It is explanatory drawing which shows the example by which image data and GUI were displayed on the liquid crystal monitor by the display control part. 印刷処理の概略を示すフローチャートである。6 is a flowchart illustrating an outline of a printing process. 割り込み操作がない場合の各プロセッサの処理内容を示す説明図である。It is explanatory drawing which shows the processing content of each processor when there is no interruption operation. 割り込み操作が行われた場合の各プロセッサの処理内容を示す説明図である。It is explanatory drawing which shows the processing content of each processor when interruption operation is performed.

符号の説明Explanation of symbols

10…印刷装置
20…スキャナ
25…スキャナ制御回路
30…メモリカードスロット
35…カードインタフェース
40…操作パネル
41…画像切換ボタン
43…印刷枚数設定ボタン
44…印刷ボタン
45…入力インタフェース
50…液晶モニタ
55…液晶コントローラ
60…印刷機構
70…共有メモリ
80…ROM
100…メインプロセッサ
110…ファイル管理部
120…表示制御部
130…操作受付部
140…画像解析部
150…引継処理部
160…印刷制御部
200a…中間制御プロセッサ
200b…デコードプロセッサ
200b…サブプロセッサ
200c…キャッシュプロセッサ
200d…画質調整プロセッサ
200e…ハーフトーンプロセッサ
DESCRIPTION OF SYMBOLS 10 ... Printing apparatus 20 ... Scanner 25 ... Scanner control circuit 30 ... Memory card slot 35 ... Card interface 40 ... Operation panel 41 ... Image switching button 43 ... Print number setting button 44 ... Print button 45 ... Input interface 50 ... Liquid crystal monitor 55 ... Liquid crystal controller 60 ... Printing mechanism 70 ... Shared memory 80 ... ROM
DESCRIPTION OF SYMBOLS 100 ... Main processor 110 ... File management part 120 ... Display control part 130 ... Operation reception part 140 ... Image analysis part 150 ... Transfer processing part 160 ... Print control part 200a ... Intermediate control processor 200b ... Decoding processor 200b ... Sub processor 200c ... Cache Processor 200d: Image quality adjustment processor 200e: Halftone processor

Claims (8)

画像データを表示装置に表示する画像表示装置であって、
所定の記録媒体に記録された複数の画像データの中から前記表示装置に表示する画像データの選択を受け付ける受付部と、
前記選択された画像データを前記記録媒体から読み込んでメモリにキャッシュするキャッシュ処理を実行するキャッシュ部と、
前記キャッシュ部による一の画像データの前記キャッシュ処理中に、前記受付部が他の画像データの選択を受け付けた場合に、前記キャッシュ部による前記一の画像データの前記キャッシュ処理を中断させ、該中断した前記一の画像データの前記キャッシュ処理を前記キャッシュ部から引き継いで実行する引継処理部と
を備える画像表示装置。
An image display device for displaying image data on a display device,
A receiving unit for receiving selection of image data to be displayed on the display device from a plurality of image data recorded on a predetermined recording medium;
A cache unit that executes a cache process for reading the selected image data from the recording medium and caching the read image data in a memory;
When the accepting unit accepts selection of other image data during the cache processing of the one image data by the cache unit, the cache processing of the one image data by the cache unit is interrupted, and the interruption An image display apparatus comprising: a takeover processing unit that takes over the cache processing of the one image data taken over from the cache unit.
請求項1に記載の画像表示装置であって、更に、
前記メモリにキャッシュされた前記画像データを参照して、該画像データの解析処理を行う画像解析部と、
前記解析処理の結果に応じて、前記画像データの画質を調整する画質調整部と
を備える画像表示装置。
The image display device according to claim 1, further comprising:
An image analysis unit that performs an analysis process of the image data with reference to the image data cached in the memory;
An image display device comprising: an image quality adjustment unit that adjusts an image quality of the image data according to a result of the analysis process.
請求項2に記載の画像表示装置であって、
前記画像解析部は、前記キャッシュ部による前記一の画像データの前記キャッシュ処理中に、前記受付部が前記他の画像データの選択を受け付けた場合には、前記引継処理部によってキャッシュされた前記一の画像データに対する前記解析処理を行った後に、前記他の画像データに対する前記解析処理を行う
画像表示装置。
The image display device according to claim 2,
When the accepting unit accepts the selection of the other image data during the cache processing of the one image data by the cache unit, the image analyzing unit caches the one cached by the takeover processing unit. An image display device that performs the analysis processing on the other image data after performing the analysis processing on the image data.
請求項1ないし請求項3のいずれかに記載の画像表示装置であって、
前記キャッシュ部は、前記選択された画像データの解像度を、前記表示装置の解像度に応じて設定された解像度に減じた上で、前記キャッシュ処理を実行する
画像表示装置。
The image display device according to any one of claims 1 to 3,
The image display device that executes the cache processing after the cache unit reduces the resolution of the selected image data to a resolution set according to the resolution of the display device.
請求項1ないし請求項4のいずれかに記載の画像表示装置であって、
前記キャッシュ部は、一のプロセッサが所定の制御プログラムを実行することで実現され、
前記引継処理部は、他のプロセッサが所定の制御プログラムを実行することで実現される
画像表示装置。
An image display device according to any one of claims 1 to 4,
The cache unit is realized by one processor executing a predetermined control program,
The takeover processing unit is an image display device realized by another processor executing a predetermined control program.
請求項1ないし請求項5のいずれかに記載の画像表示装置であって、更に、
前記選択された画像データが、前記メモリにキャッシュされている場合に、該メモリから前記選択された画像データを入力して前記表示装置に表示し、前記メモリにキャッシュされていない場合には、前記記録媒体から前記選択された画像データを入力して前記表示装置に表示する表示制御部を備える
画像表示装置。
The image display device according to any one of claims 1 to 5, further comprising:
When the selected image data is cached in the memory, the selected image data is input from the memory and displayed on the display device. When the selected image data is not cached in the memory, the An image display device comprising: a display control unit that inputs the selected image data from a recording medium and displays the selected image data on the display device.
請求項1ないし請求項6のいずれかに記載の画像表示装置と、
前記表示装置に表示された画像データに対して印刷枚数の設定を行う設定部と、
前記印刷枚数が1枚以上に設定された画像データの印刷を行う印刷部と、
を備える印刷装置。
An image display device according to any one of claims 1 to 6,
A setting unit for setting the number of prints for the image data displayed on the display device;
A printing unit for printing image data in which the number of prints is set to one or more;
A printing apparatus comprising:
表示装置に表示する画像データをキャッシュする画像キャッシュ方法であって、
所定の記録媒体に記録された複数の画像データの中から前記表示装置に表示する画像データの選択を受け付け、
前記選択された画像データを前記記録媒体から読み込んでメモリにキャッシュするキャッシュ処理を所定のプロセッサによって実行し、
前記所定のプロセッサによる一の画像データの前記キャッシュ処理中に、他の画像データの選択を受け付けた場合に、前記所定のプロセッサによる前記一の画像データの前記キャッシュ処理を中断させ、該中断させた前記一の画像データの前記キャッシュ処理を前記所定のプロセッサから他のプロセッサに引き継がせて実行させる
画像キャッシュ方法。
An image caching method for caching image data to be displayed on a display device,
Accepting selection of image data to be displayed on the display device from a plurality of image data recorded on a predetermined recording medium;
A cache processor that reads the selected image data from the recording medium and caches the selected image data in a memory is executed by a predetermined processor,
When the selection of another image data is accepted during the cache processing of the one image data by the predetermined processor, the cache processing of the one image data by the predetermined processor is interrupted and the interrupt is performed. An image cache method for causing the cache processing of the one image data to be executed from the predetermined processor to another processor.
JP2007084468A 2007-03-28 2007-03-28 Image display device, printing device, and image cache method Expired - Fee Related JP4760751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007084468A JP4760751B2 (en) 2007-03-28 2007-03-28 Image display device, printing device, and image cache method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007084468A JP4760751B2 (en) 2007-03-28 2007-03-28 Image display device, printing device, and image cache method

Publications (2)

Publication Number Publication Date
JP2008245018A true JP2008245018A (en) 2008-10-09
JP4760751B2 JP4760751B2 (en) 2011-08-31

Family

ID=39915777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007084468A Expired - Fee Related JP4760751B2 (en) 2007-03-28 2007-03-28 Image display device, printing device, and image cache method

Country Status (1)

Country Link
JP (1) JP4760751B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013047775A (en) * 2011-07-28 2013-03-07 Kyocera Document Solutions Inc Image forming apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000108468A (en) * 1998-10-07 2000-04-18 Fuji Photo Film Co Ltd Printer
JP2001184266A (en) * 1999-12-27 2001-07-06 Nec Corp Information recording device, and method of controlling the same
JP2005151130A (en) * 2003-11-14 2005-06-09 Canon Inc Device and method for outputting image, storage medium, and program
JP2006163218A (en) * 2004-12-10 2006-06-22 Konica Minolta Photo Imaging Inc Image display device, image display method, and program
JP2007028477A (en) * 2005-07-21 2007-02-01 Seiko Epson Corp Image display apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000108468A (en) * 1998-10-07 2000-04-18 Fuji Photo Film Co Ltd Printer
JP2001184266A (en) * 1999-12-27 2001-07-06 Nec Corp Information recording device, and method of controlling the same
JP2005151130A (en) * 2003-11-14 2005-06-09 Canon Inc Device and method for outputting image, storage medium, and program
JP2006163218A (en) * 2004-12-10 2006-06-22 Konica Minolta Photo Imaging Inc Image display device, image display method, and program
JP2007028477A (en) * 2005-07-21 2007-02-01 Seiko Epson Corp Image display apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013047775A (en) * 2011-07-28 2013-03-07 Kyocera Document Solutions Inc Image forming apparatus

Also Published As

Publication number Publication date
JP4760751B2 (en) 2011-08-31

Similar Documents

Publication Publication Date Title
US8547571B2 (en) Print control apparatus for performing preprocessing of image data
JP2008017441A (en) Data processing apparatus, data processing method, and program
US20130188200A1 (en) Image Forming Apparatus Capable of Displaying Print Preview on Screen
US20090059312A1 (en) Image data processing apparatus and method
JP4760751B2 (en) Image display device, printing device, and image cache method
US9363392B2 (en) Image processing apparatus, image processing method for the same, and recording medium
US8134736B2 (en) Image data processing apparatus and method
JP4752690B2 (en) Print control apparatus and print control method
JP2004038545A (en) Hibernation control process, hibernation controller unit, and image processor
JP5392039B2 (en) Image processing device
US20180213103A1 (en) Image processing apparatus, method of controlling the same, and storage medium
JP2009124576A (en) Image processing apparatus and control method thereof
JP3835272B2 (en) Image forming apparatus
US20120311369A1 (en) Image forming apparatus, power control method therefor, and storage medium storing power control program therefor
US20110102825A1 (en) Image processing device having a plurality of control units
JP5160169B2 (en) Image forming apparatus
JP6439399B2 (en) Image processing apparatus, data processing method, and computer program
JP2007307847A (en) Image forming apparatus and program
JP2009006570A (en) Printer
JP2009009173A (en) Printer driver, program and recording medium
JP2002236566A (en) Page print system and print data generating device
JP5347915B2 (en) Image processing device
JP2010284810A (en) Printer, printer driver, and printing system
US8619296B2 (en) Image forming apparatus
JP2005318130A (en) Image processor, imaging device, printer, data storing method, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110427

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110523

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4760751

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees