JP6064441B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP6064441B2
JP6064441B2 JP2012187291A JP2012187291A JP6064441B2 JP 6064441 B2 JP6064441 B2 JP 6064441B2 JP 2012187291 A JP2012187291 A JP 2012187291A JP 2012187291 A JP2012187291 A JP 2012187291A JP 6064441 B2 JP6064441 B2 JP 6064441B2
Authority
JP
Japan
Prior art keywords
image
pixels
unit
original image
processing apparatus
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
JP2012187291A
Other languages
Japanese (ja)
Other versions
JP2014045399A (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.)
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 JP2012187291A priority Critical patent/JP6064441B2/en
Publication of JP2014045399A publication Critical patent/JP2014045399A/en
Application granted granted Critical
Publication of JP6064441B2 publication Critical patent/JP6064441B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、元画像を所定の縮小率により縮小した縮小画像を生成する画像処理に関する。   The present invention relates to image processing for generating a reduced image obtained by reducing an original image at a predetermined reduction rate.

従来、元画像に応じてサムネイル画像(縮小画像)を生成し、このサムネイル画像に基づいて、元画像を処理対象とするか否かを判断する装置がある(例えば、特許文献1参照)。
また、元画像のサンプリングにより、エイリアシングが問題となることがある。そのため、サムネイル画像を生成する際、このエイリアシングを除去するために、元画像にぼかし処理(平均化処理)を行なった後、元画像の画素数を縮小させてサムネイル画像を生成している。
Conventionally, there is an apparatus that generates a thumbnail image (reduced image) according to an original image and determines whether or not the original image is a processing target based on the thumbnail image (see, for example, Patent Document 1).
Also, aliasing may become a problem due to sampling of the original image. Therefore, when generating a thumbnail image, in order to remove this aliasing, the original image is subjected to blurring processing (averaging processing), and then the number of pixels of the original image is reduced to generate a thumbnail image.

特開2006−107008号公報JP 2006-107008 A

サムネイル画像は、元画像を縮小させた画像であるので、このサムネイル画像から間接的に元画像が盗み見られる場合がある。そのため、サムネイル画像が盗み見られることがないよう、サムネイル画像に対するセキュリティー性を高めることが望まれていた。   Since the thumbnail image is an image obtained by reducing the original image, the original image may be indirectly seen from the thumbnail image. Therefore, it has been desired to improve the security of thumbnail images so that the thumbnail images are not stolen.

本発明は、上記課題にかんがみてなされたもので、サムネイル画像に対するセキュリティー性を高めることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to improve security for thumbnail images.

上記課題を解決するために、本発明では、元画像をもとに、所定の縮小率で縮小された縮小画像を生成する画像処理装置であって、平均化される画素数を設定するフィルターサイズを、前記縮小率とは個別に設定する設定部と、前記元画像に対して、前記フィルターサイズに応じた画素数毎に、画素の成分値を平均化する平均化部と、前記平均化された前記元画像の各画素を、前記縮小率に応じた数だけ選択し、前記縮小画像として出力する出力部と、を有する。   In order to solve the above-described problem, in the present invention, an image processing apparatus that generates a reduced image reduced at a predetermined reduction rate based on an original image, the filter size for setting the number of pixels to be averaged Is set separately from the reduction ratio, an averaging unit that averages the component values of pixels for each number of pixels corresponding to the filter size with respect to the original image, and the averaged And an output unit that selects each pixel of the original image according to the reduction ratio and outputs the selected image as the reduced image.

上記のように構成された発明では、設定部は、平均化される画素数を設定するフィルターサイズを、前記縮小率とは個別に設定する。また、平均化部は、元画像に対して、このフィルターサイズに応じた画素数毎に画素の成分値を平均化する。また、出力部は、平均化された元画像の各画素を、縮小率に応じた数だけ選択し、縮小画像として出力する。
そのため、平均化に用いられるフィルターサイズを、縮小率とは個別に設定することができるため、縮小画像の機密度を柔軟に設定することができる。これにより、縮小画像に対するセキュリティー性を高めることができる。
In the invention configured as described above, the setting unit sets the filter size for setting the number of pixels to be averaged separately from the reduction ratio. The averaging unit averages the component values of the pixels for each number of pixels corresponding to the filter size with respect to the original image. Further, the output unit selects each pixel of the averaged original image by the number corresponding to the reduction ratio, and outputs it as a reduced image.
Therefore, since the filter size used for averaging can be set separately from the reduction ratio, the sensitivity of the reduced image can be set flexibly. Thereby, the security with respect to a reduced image can be improved.

そして、前記設定部は、前記フィルターサイズを、前記縮小画像の機密度に応じて選択する、構成としてもよい。
上記のように構成された発明では、フィルターサイズの設定をより直感的に行うことができる。
The setting unit may select the filter size according to the sensitivity of the reduced image.
In the invention configured as described above, the filter size can be set more intuitively.

さらに、前記フィルターサイズの画素に係り出力される平均値の回数を決定する位置調整回路をさらに備える構成としてもよい。
上記のように構成された発明では、ぼかし処理と、縮小処理との間でサンプリング画素の数が異なる場合であっても、フィルターを跨いで画素の縮小が行われることを可能とすることができる。
Furthermore, a configuration may be further provided with a position adjustment circuit that determines the number of average values to be output for pixels of the filter size.
In the invention configured as described above, even when the number of sampling pixels is different between the blurring process and the reduction process, it is possible to perform pixel reduction across the filters. .

また、前記元画像を第1画像と、第2画像とに複製する複製部と、前記元画像をもとに、印刷画像を生成する第1の制御部と、をさらに有し、前記第1の制御部は、前記第1画像に所定の処理を施して処理画像を生成し、前記平均化部は、前記第2画像に対して平均化を行う、構成としてもよい。
上記のように構成された発明では、第1の制御部と、平均化部とがハードウェアーである場合でも、処理を並列化させることができる。
A first control unit that generates a print image based on the original image; and a replication unit that replicates the original image into a first image and a second image. The control unit may perform a predetermined process on the first image to generate a processed image, and the averaging unit may average the second image.
In the invention configured as described above, even when the first control unit and the averaging unit are hardware, processing can be parallelized.

そして、前記印刷画像を記録する仮記録部と、前記縮小画像に基づいて、前記元画像が処理対象として選択された場合に、前記仮記録部に記録された前記印刷画像に対して所定の処理を施す処理実行部を有する構成としてもよい。
上記のように構成された発明では、処理用画像を事前に仮記録部に記録させておき、縮小画像に基づいて元画像が選択された場合において、この処理用画像に対して処理を行なうため、縮小画像に基づく元画像の選択から処理用画像を処理するまでに要する時間を短くすることができる。
When the original image is selected as a processing target based on the temporary recording unit that records the print image and the reduced image, a predetermined process is performed on the print image recorded on the temporary recording unit. It is good also as a structure which has the process execution part which performs.
In the invention configured as described above, the processing image is recorded in the temporary recording unit in advance, and when the original image is selected based on the reduced image, the processing image is processed. The time required from the selection of the original image based on the reduced image to the processing of the processing image can be shortened.

また、前記元画像は、所定のページ記述言語に基づいて作成されており、前記元画像が空白画素列を有する場合に、前記元画像の前記空白画素列の位置に、同空白画素列に応じた画素列を補って、前記平均化部に出力する空白バンド出力部を有する、構成としてもよい。
元画像がページ記述言語により作成されている場合、処理負荷を低減するために空白画素列を後段に出力しない場合がある。一方、縮小処理は、画素間の関係を伴いつつ縮小を行うため、画素が空白であるからといって出力されないのは望ましくない。このような場合にも、空白画素列を出力できる構成とすれば、縮小処理を適切に行なうことが可能となる。
In addition, the original image is created based on a predetermined page description language, and when the original image has a blank pixel column, the position of the blank pixel column of the original image corresponds to the blank pixel column. Further, a configuration may be adopted in which a blank band output unit that compensates the pixel column and outputs the pixel column to the averaging unit is provided.
When the original image is created in the page description language, there are cases where the blank pixel column is not output to the subsequent stage in order to reduce the processing load. On the other hand, since the reduction processing is performed with the relationship between the pixels, it is not desirable that the pixels are not output just because the pixels are blank. Even in such a case, if the configuration can output a blank pixel column, the reduction process can be performed appropriately.

さらに、本発明は、画像処理装置以外にも、画像処理方法に対しても適用することができる。   Furthermore, the present invention can be applied not only to an image processing apparatus but also to an image processing method.

画像処理装置を説明する図である。It is a figure explaining an image processing device. プリンターの構成を説明するブロック図である。FIG. 2 is a block diagram illustrating a configuration of a printer. プリンターの機能を説明する図である。It is a figure explaining the function of a printer. 展開バンドデーター及びサムネイルバンドを示す図である。It is a figure which shows expansion | deployment band data and a thumbnail band. プリンター10を用いた印刷処理のフローチャートである。3 is a flowchart of print processing using the printer. 図5のステップS4の処理を説明するタイミングチャートである。It is a timing chart explaining the process of step S4 of FIG. 縮小回路66の内部構成等を説明するブロック図である。3 is a block diagram illustrating an internal configuration and the like of a reduction circuit 66. FIG. 各カウンター値と画素との関係を示す図である。It is a figure which shows the relationship between each counter value and a pixel. 各カウンター値と画素との関係を示す図である。It is a figure which shows the relationship between each counter value and a pixel. 縮小回路66により実行される処理を示すフローチャートである。4 is a flowchart showing processing executed by a reduction circuit 66.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)画像処理装置の構成
(2)縮小回路による処理
(3)その他の実施形態
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of image processing apparatus (2) Processing by reduction circuit (3) Other embodiments

(1)画像処理装置の構成
図1は、画像処理装置を説明する図である。また、図2は、プリンターの構成を説明するブロック図である。そして、図3は、プリンターの機能を説明する図である。さらに、図4は、展開バンドデーター及びサムネイルバンドを示す図である。
(1) Configuration of Image Processing Device FIG. 1 is a diagram illustrating an image processing device. FIG. 2 is a block diagram illustrating the configuration of the printer. FIG. 3 is a diagram for explaining the functions of the printer. Further, FIG. 4 is a diagram showing the developed band data and the thumbnail band.

本実施形態では、画像処理装置は、プリンター10の一部として実現される。
図1に示すように、プリンター10は、ネットワークN上に接続されている。このネットワークNは、LAN(Local Area Network)やインターネットであり、このネットワーク上には、クラウドサーバー1が接続されている。
In the present embodiment, the image processing apparatus is realized as a part of the printer 10.
As shown in FIG. 1, the printer 10 is connected on a network N. The network N is a LAN (Local Area Network) or the Internet, and the cloud server 1 is connected to the network N.

図1に示すシステムでは、プリンター10は、クラウドサーバー1に記録された元データー(元画像)をダウンロードし、印刷データー(印刷画像)を生成し印刷する印刷処理を行なう。この元画像は、PostScript等のPDL(Page Description Language:ページ記述言語)により作成されている。さらに、プリンター10は、元画像に応じたサムネイル画像(縮小画像)を表示するディスプレイ20を有している。そのため、ユーザーは、ディスプレイ20に表示されたサムネイル画像の中から、気にいった画像を選択し、元画像をプリンター10に印刷させることができる。   In the system shown in FIG. 1, the printer 10 performs a printing process that downloads original data (original image) recorded in the cloud server 1, generates print data (print image), and prints it. This original image is created by PDL (Page Description Language) such as PostScript. Furthermore, the printer 10 includes a display 20 that displays a thumbnail image (reduced image) corresponding to the original image. Therefore, the user can select a favorite image from the thumbnail images displayed on the display 20 and cause the printer 10 to print the original image.

図2に示すように、プリンター10は、ディスプレイ20、操作パネル30、CPU(Central Processing Unit)40、DRAM(Dynamic Random Access Memory)50、ROM(Read Only Memory)55、ASIC(Application Specific Integrated Circuit)60、エンジン70、バス80、を備える。本実施形態では、プリンター10を、レーザープリンターとして説明するが、プリンター10は、インクジェットプリンターや他の方式のプリンターであってもよい。   As shown in FIG. 2, the printer 10 includes a display 20, an operation panel 30, a CPU (Central Processing Unit) 40, a DRAM (Dynamic Random Access Memory) 50, a ROM (Read Only Memory) 55, an ASIC (Application Specific Integrated Circuit). 60, an engine 70, and a bus 80. In the present embodiment, the printer 10 is described as a laser printer, but the printer 10 may be an ink jet printer or a printer of another type.

図1に示すように、ディスプレイ20は、筺体の前部にその一部を露出させて備えられている。ディスプレイ20は、例えば、液晶型のパネルと、このパネルを駆動させる駆動回路とを供える。
操作パネル30は、ユーザーからの操作を受付ける。即ち、ユーザーがディスプレイ20に表示されたサムネイル画像を選択・非選択する場合、ユーザーによる操作は、この操作パネル30を通じて受付けられる。また、上記したディスプレイ20と、操作パネル30はそれぞれバス80に接続されている。本実施形態では、ディスプレイ20と、操作パネル30は、それぞれバス80に接続されているとして説明するが、ディスプレイと操作パネルとの機能を併せ持つタッチパネルがバス80に接続されているとしてもよい。
As shown in FIG. 1, the display 20 is provided with a part thereof exposed at the front of the housing. The display 20 includes, for example, a liquid crystal panel and a drive circuit that drives the panel.
The operation panel 30 receives an operation from the user. That is, when the user selects / deselects the thumbnail image displayed on the display 20, the user's operation is accepted through the operation panel 30. The display 20 and the operation panel 30 described above are connected to a bus 80, respectively. In the present embodiment, the display 20 and the operation panel 30 are described as being connected to the bus 80, respectively, but a touch panel having both functions of the display and the operation panel may be connected to the bus 80.

CPU40は、バス80に接続されており、ROM55に記録されたプログラム等に基づいて所定の処理を行なう。図3に示すように、CPU40は、プログラムを実行することで、バンドデーター生成部41と、スプール部42と、セキュリティー設定部43と、サムネイル出力部44と、を機能的に備える。   The CPU 40 is connected to the bus 80 and performs a predetermined process based on a program recorded in the ROM 55. As illustrated in FIG. 3, the CPU 40 functionally includes a band data generation unit 41, a spool unit 42, a security setting unit 43, and a thumbnail output unit 44 by executing a program.

バンドデーター生成部41は、元データーを解析し、所定のラスタ数で構成されるバンド単位に区分して画像処理する展開バンドデーターを生成する。バンドデーター生成部41は、元データーに含まれるページ記述言語を解析し、展開バンドデーターを生成する。   The band data generation unit 41 analyzes the original data and generates expanded band data for image processing by dividing the original data into band units each having a predetermined number of rasters. The band data generation unit 41 analyzes the page description language included in the original data, and generates expanded band data.

図4(a)に示すように、展開バンドデーターは、元データーのX方向の画素列に対応するデーターである。例えば、元画像の解像度がX方向に1024画素、Y方向に768画素で構成されている場合、展開バンドデーターは、X方向の1024画素の画素列で構成される。   As shown in FIG. 4A, the expanded band data is data corresponding to the pixel column in the X direction of the original data. For example, when the resolution of the original image is composed of 1024 pixels in the X direction and 768 pixels in the Y direction, the developed band data is composed of a pixel row of 1024 pixels in the X direction.

スプール部42は、印刷バンド(印刷データー)をASIC60に順次供給する。印刷バンドは、後述するASIC60の処理により展開バンドデーターから生成されるデーターである。   The spool unit 42 sequentially supplies the print band (print data) to the ASIC 60. The print band is data generated from the developed band data by processing of the ASIC 60 described later.

セキュリティー設定部(設定部)43は、サムネイル画像に対するセキュリティーレベルを設定する。セキュリティー設定部43は、サムネイル画像に対する認証や、表示されるサムネイル画像のぼかし度合いを設定する。   A security setting unit (setting unit) 43 sets a security level for thumbnail images. The security setting unit 43 sets authentication for thumbnail images and the degree of blurring of thumbnail images to be displayed.

サムネイル出力部44は、サムネイルバンドをディスプレイ20に順次出力する。サムネイルバンドは、後述するASIC60の処理により展開バンドデーターから生成されるデーターである。図4(b)に示すように、1つのサムネイルバンドの画素数は、サムネイル画像のX方向の画素列に対応している。また、サムネイル画像の画素数は、ディスプレイ20の解像度に対応している。   The thumbnail output unit 44 sequentially outputs thumbnail bands to the display 20. The thumbnail band is data generated from the expanded band data by the processing of the ASIC 60 described later. As shown in FIG. 4B, the number of pixels in one thumbnail band corresponds to the pixel column in the X direction of the thumbnail image. The number of pixels of the thumbnail image corresponds to the resolution of the display 20.

ASIC60は、バス80に接続されており、CPU40から供給された展開バンドデーターに対して所定の処理を施す。図3に示すように、ASIC60は、その内部に、IODMA61、空白内部出力回路62、分岐回路63、色変換圧縮回路64、ラスタバッファ65、縮小回路66、出力回路67とを備える。   The ASIC 60 is connected to the bus 80 and performs predetermined processing on the developed band data supplied from the CPU 40. As shown in FIG. 3, the ASIC 60 includes an IODMA 61, a blank internal output circuit 62, a branch circuit 63, a color conversion compression circuit 64, a raster buffer 65, a reduction circuit 66, and an output circuit 67 therein.

IODMA61は、クラウドサーバー1とネットワークNを通じて接続し、クラウドサーバー1から元データーを受信する。   The IODMA 61 is connected to the cloud server 1 through the network N and receives original data from the cloud server 1.

空白内部出力回路(空白バンド出力部)62は、縮小回路66に接続されている。この空白内部出力回路62は、CPU40により解析された元データーに空白バンド(画素列)が含まれている場合、この空白バンドの位置に応じて、同空白バンドに対応するバンドを、縮小回路66に出力する。   The blank internal output circuit (blank band output unit) 62 is connected to the reduction circuit 66. When the original data analyzed by the CPU 40 includes a blank band (pixel array), the blank internal output circuit 62 converts the band corresponding to the blank band into a reduction circuit 66 according to the position of the blank band. Output to.

分岐回路(複製部)63は、入力側でバス80に接続され、出力側で色変換圧縮回路64と縮小回路66と並列に接続されている。そのため、DRAM50から展開バンドデーターがASIC60に供給されると、この分岐回路63により展開バンドデーターが複製される(印刷データーの生成に用いられる第1画像データーと、前記元画像データーを所定のサンプリング間隔数で縮小した縮小画像データーの生成に用いられる第2画像)。そして、複製された展開バンドデーターは、それぞれ色変換圧縮回路64、縮小回路66に供給される。   The branch circuit (replication unit) 63 is connected to the bus 80 on the input side, and connected in parallel with the color conversion compression circuit 64 and the reduction circuit 66 on the output side. Therefore, when the development band data is supplied from the DRAM 50 to the ASIC 60, the development band data is duplicated by the branch circuit 63 (the first image data used for generating the print data and the original image data at a predetermined sampling interval. Second image used to generate reduced image data reduced in number). The copied expanded band data is supplied to the color conversion compression circuit 64 and the reduction circuit 66, respectively.

色変換圧縮回路(第1の制御部)64は、展開バンドデーターに対して色変換及び圧縮を行い、印刷バンドとしてDRAM50に出力する。印刷バンドは、印刷処理に用いられるデーターであり、エンジン70が1回の走査で形成するドット数と同数の画素により形成される。色変換圧縮回路64は、展開バンドデーターのRGB色成分値をCMYK色成分値に変換する。また、色変換圧縮回路64は、変換後の展開バンドデーターを圧縮し、DRAM50に出力する。   A color conversion / compression circuit (first control unit) 64 performs color conversion and compression on the developed band data, and outputs the result to the DRAM 50 as a print band. The print band is data used for the printing process, and is formed by the same number of pixels as the number of dots formed by the engine 70 in one scan. The color conversion compression circuit 64 converts the RGB color component values of the developed band data into CMYK color component values. The color conversion / compression circuit 64 compresses the converted expanded band data and outputs it to the DRAM 50.

縮小回路(第2の制御部)66は、展開バンドデーターからサムネイルバンドを生成し、DRAM50に出力する。上記のように、サムネイルバンドは、ディスプレイ20にサムネイル画像を表示させるデーターである。
縮小回路66は、サムネイルバンドを生成するに際し、展開バンドデーターに対してぼかし処理(平均化処理)を行った後、縮小処理を実行する。即ち、このぼかし処理により、元画像のサンプリングすることで含まれるエイリアシングを除去することができる。さらに、このぼかし処理におけるぼかし度合いを高くすることで、サムネイル画像の機密性を高めることができる。また、縮小処理では、1ページ分の展開バンドデーターの画素数をディスプレイ20の表示画素数(解像度)に応じて縮小させる。また、後述のとおり、縮小回路66は、第2画像データーをラスタ数と所定のサンプリング間隔数のうちそれらの比が整数とならないサンプリング間隔数を含んで縮小して縮小画像データーを生成する。
The reduction circuit (second control unit) 66 generates a thumbnail band from the expanded band data and outputs it to the DRAM 50. As described above, the thumbnail band is data for displaying a thumbnail image on the display 20.
When generating the thumbnail band, the reduction circuit 66 performs a reduction process after performing a blurring process (averaging process) on the developed band data. That is, by this blurring process, aliasing included by sampling the original image can be removed. Furthermore, by increasing the degree of blurring in this blurring process, the confidentiality of thumbnail images can be increased. In the reduction process, the number of pixels of the developed band data for one page is reduced according to the number of display pixels (resolution) of the display 20. Further, as will be described later, the reduction circuit 66 reduces the second image data by including the number of rasters and the number of sampling intervals in which the ratio between them is not an integer, and generates reduced image data.

出力回路67は、スプール部42から供給される印刷バンドを、エンジン70に対応する信号に変換する。例えば、出力回路67は、印刷バンドをドットの「オン」「オフ」を示す2値化データーに変換する。これ以外にも、プリンター10がドットサイズの変更に対応する場合、出力回路67は、設定されるドットサイズに応じて、2値化データーを変換する。   The output circuit 67 converts the print band supplied from the spool unit 42 into a signal corresponding to the engine 70. For example, the output circuit 67 converts the print band into binarized data indicating “ON” and “OFF” of the dots. In addition to this, when the printer 10 supports the change of the dot size, the output circuit 67 converts the binarized data according to the set dot size.

エンジン(処理実行部)70は、レーザー光を生成する半導体レーザー、感光体ユニット、転写ベルト、C、M、Y、Kの各トナーを備える。エンジン70は、出力回路67から出力される2値化データーをもとに、各部を駆動し、印刷画像を用紙に形成する。
なお、プリンター10が、インクジェットプリンターである場合は、エンジン70は、インクを吐出する印刷ヘッドと、C、M、Y、Kの各カートリッジとを備える。
The engine (processing execution unit) 70 includes a semiconductor laser that generates laser light, a photosensitive unit, a transfer belt, and toners of C, M, Y, and K. The engine 70 drives each unit based on the binarized data output from the output circuit 67 to form a print image on a sheet.
When the printer 10 is an ink jet printer, the engine 70 includes a print head that ejects ink and C, M, Y, and K cartridges.

図5は、プリンター10を用いた印刷処理のフローチャートである。また、図6は、図5のステップS4の処理を説明するタイミングチャートである。図5に示す処理では、クラウドサーバー1からプリンター10にダウンロードされた複数の元データーの中からユーザーが気に入った画像を選択して印刷する場合を例に説明を行う。   FIG. 5 is a flowchart of a printing process using the printer 10. FIG. 6 is a timing chart for explaining the processing in step S4 in FIG. In the processing shown in FIG. 5, an example will be described in which an image that the user likes is selected from a plurality of original data downloaded from the cloud server 1 to the printer 10 and printed.

まず、ステップS1では、ぼかし度合いが設定される。ここで、ぼかし度合いは、一度に平均化される画素の数を示す。セキュリティー設定部43は、サムネイル画像に指定される機密度のレベルに応じてこのぼかし度合いを設定する。例えば、ユーザーが操作パネル30を操作して、機密度のレベルを示す「高」、「中」、「低」のアイコンのいずれかを選択することで、セキュリティー設定部43がこのぼかし度合いを設定する。また、セキュリティー設定部43は、設定されたぼかし度合いに応じて、縮小回路66が使用するフィルターサイズを選択する。例えば、密度のレベルを「中」から「高」に設定する場合は、密度のレベルが「中」の場合のフィルターサイズよりも大きなフィルターサイズを選択すると密度のレベルが「中」の場合よりもぼかし度合いが大きくなる。   First, in step S1, a blurring degree is set. Here, the blurring degree indicates the number of pixels that are averaged at a time. The security setting unit 43 sets the degree of blur according to the level of confidentiality specified for the thumbnail image. For example, when the user operates the operation panel 30 and selects one of “high”, “medium”, and “low” icons indicating the level of confidentiality, the security setting unit 43 sets the degree of blurring. To do. Further, the security setting unit 43 selects a filter size used by the reduction circuit 66 according to the set degree of blurring. For example, when setting the density level from “medium” to “high”, selecting a filter size larger than the filter size when the density level is “medium” is more than when the density level is “medium”. The degree of blur increases.

ステップS2では、CPU40は、クラウドサーバー1に記録された元データーを取得する。このステップS2では、クラウドサーバー1から1ページ分の元データーがプリンター10に供給される。そして、供給された元データーは、IODMA61を通じてDRAM50に記録される。   In step S <b> 2, the CPU 40 acquires the original data recorded on the cloud server 1. In step S <b> 2, original data for one page is supplied from the cloud server 1 to the printer 10. The supplied original data is recorded in the DRAM 50 through the IODMA 61.

ステップS3では、バンドデーター生成部41は、元データーから展開バンドデーターを生成する。即ち、バンドデーター生成部41は、元データーのページ記述言語を解析し、展開バンドデーターを生成する。   In step S3, the band data generation unit 41 generates expanded band data from the original data. That is, the band data generation unit 41 analyzes the page description language of the original data and generates expanded band data.

ステップS4では、CPU40は、展開バンドデーターをASIC60に出力する。
ASIC60内部では、分岐回路63により、展開バンドデーターの複製が行われる。そして、色変換圧縮回路64が、複製された一方の展開バンドデーターから印刷バンドを生成する。また、この印刷バンドとは別に、縮小回路66が、他方の展開バンドデーターからサムネイル生成処理に用いられるサムネイルバンドを生成する。
In step S <b> 4, the CPU 40 outputs the developed band data to the ASIC 60.
Inside the ASIC 60, the developed band data is duplicated by the branch circuit 63. Then, the color conversion / compression circuit 64 generates a print band from the duplicated one of the developed band data. In addition to the print band, the reduction circuit 66 generates a thumbnail band used for thumbnail generation processing from the other expanded band data.

色変換圧縮回路64は、展開バンドデーターを構成する画素の色成分値(R、G、B)を、トナー色に対応する色成分値(C、M、Y、K)に変換して、印刷バンドを生成する。そして、色変換圧縮回路64は、印刷バンドを圧縮して、DRAM50に出力する。色変換圧縮回路64による処理は、1ページ分の展開バンドデーターに対して行われ、1ページ分の印刷バンドが生成される。そして、生成された印刷バンドは、順次DRAM50に記録される。そのため、DRAM50は本発明の仮記録部を実現する。   The color conversion / compression circuit 64 converts the color component values (R, G, B) of the pixels constituting the development band data into color component values (C, M, Y, K) corresponding to the toner color, and prints them. Generate a band. Then, the color conversion compression circuit 64 compresses the print band and outputs it to the DRAM 50. The processing by the color conversion compression circuit 64 is performed on the developed band data for one page, and a print band for one page is generated. The generated print bands are sequentially recorded in the DRAM 50. Therefore, the DRAM 50 implements the temporary recording unit of the present invention.

一方、縮小回路66は、展開バンドデーターをもとにサムネイルバンドを生成する。そのため、まず、縮小回路66は、展開バンドデーターに対してぼかし処理を行う。このぼかし処理では、ステップS1で設定されたフィルターサイズに応じた処理が行われる。次に、縮小回路66は、ぼかし処理後の展開バンドデーターに対して縮小処理を施す。この縮小処理により、展開バンドデーターの画素数がディスプレイ20の走査方向の画素数に対応することとなる。そして、縮小回路66は、縮小後の展開バンドデーターをサムネイルバンドとして、DRAM50に出力する。縮小回路66による処理は、1ページ分の展開バンドデーターに対して行われ、1ページ分のサムネイルバンドが生成される。   On the other hand, the reduction circuit 66 generates a thumbnail band based on the developed band data. Therefore, first, the reduction circuit 66 performs a blurring process on the developed band data. In this blurring process, a process according to the filter size set in step S1 is performed. Next, the reduction circuit 66 performs a reduction process on the developed band data after the blurring process. By this reduction processing, the number of pixels of the developed band data corresponds to the number of pixels in the scanning direction of the display 20. Then, the reduction circuit 66 outputs the reduced expanded band data to the DRAM 50 as a thumbnail band. The processing by the reduction circuit 66 is performed on the developed band data for one page, and a thumbnail band for one page is generated.

また、元画像の印刷言語の仕様が空白画像をスキップするものである場合、空白内部出力回路62は、展開バンドデーターが空白(例えば、RGB=0、0、0)である場合も、縮小回路66に空白の展開バンドデーターを出力する。これは、縮小回路66により実行されるぼかし処理及び縮小処理において、空白の画素がスキップされてしまうと、座標のずれが生じ、ぼかし処理及び縮小処理に支障をきたす場合があるためである。   Further, when the specification of the print language of the original image is to skip the blank image, the blank internal output circuit 62 also reduces the reduction circuit even when the developed band data is blank (for example, RGB = 0, 0, 0). 66 outputs blank expanded band data. This is because in the blurring process and the reduction process executed by the reduction circuit 66, if a blank pixel is skipped, a coordinate shift occurs, which may hinder the blurring process and the reduction process.

図6は、横軸を時間とした場合の、各回路における処理に要する時間を示す。色変換圧縮回路64による処理と、縮小回路66による処理とは、1つの展開バンドデーターから複製された別々の展開バンドデーターに対して実行される。即ち、色変換圧縮回路64による1ページ分の印刷バンドの生成(図6(a))と、縮小回路66による1ページ分のサムネイルバンドの生成(図6(b))とは、並列処理となる。   FIG. 6 shows the time required for processing in each circuit when the horizontal axis is time. The processing by the color conversion / compression circuit 64 and the processing by the reduction circuit 66 are executed for different expanded band data copied from one expanded band data. That is, generation of a print band for one page by the color conversion compression circuit 64 (FIG. 6A) and generation of a thumbnail band for one page by the reduction circuit 66 (FIG. 6B) are parallel processing. Become.

ステップS5では、サムネイル出力部44は、サムネイル画像をディスプレイ20に表示させる。サムネイル出力部44は、DRAM50に記録された1ページ分のサムネイルバンドを、順次ディスプレイ20に出力する。そのため、ディスプレイ20は、出力されたサムネイルバンドをもとに、サムネイル画像を表示させる。   In step S <b> 5, the thumbnail output unit 44 displays the thumbnail image on the display 20. The thumbnail output unit 44 sequentially outputs the thumbnail bands for one page recorded in the DRAM 50 to the display 20. Therefore, the display 20 displays a thumbnail image based on the output thumbnail band.

ステップS6では、ユーザーからの操作パネル30を用いた操作入力により、サムネイル画像が印刷対象に選択された場合(ステップS6:YES)、ステップS8では、スプール部42は、DRAM50に記録された(図6(c))1ページ分の印刷バンドを順次、ASIC60に出力する。即ち、スプール部42は、このサムネイル画像と元となる元データーが同じである印刷バンドをASIC60に出力する。
このとき、図6(d)に示すように、ユーザーからの操作パネル30を用いた操作入力により、スプール部42は、DRAM50にすでに記録されている印刷バンドを出力するため、印刷処理が開始される時間を短くすることができる。そして、ASIC及びエンジン70による印刷処理が開始される(図6(e))
In step S6, when a thumbnail image is selected as a print target by an operation input from the user using the operation panel 30 (step S6: YES), in step S8, the spool unit 42 is recorded in the DRAM 50 (FIG. 6 (c)) The print band for one page is sequentially output to the ASIC 60. That is, the spool unit 42 outputs a print band having the same original data as the thumbnail image to the ASIC 60.
At this time, as shown in FIG. 6D, in response to an operation input from the user using the operation panel 30, the spool unit 42 outputs a print band already recorded in the DRAM 50, so that the printing process is started. Time can be shortened. Then, the printing process by the ASIC and the engine 70 is started (FIG. 6E).

印刷バンドがASIC60に供給されると、ASIC60内部では、印刷バンドに対して出力回路67による2値化処理等が行われる。
エンジン70は、2値化データーを受信すると、半導体レーザー及びC、M、Y、Kの各トナーを用いて感光帯ドラムにトナー画像を形成する。そして、このC、M、Y、K各色のトナー画像を転写ドラムにより用紙に転写し印刷画像を形成する。
When the print band is supplied to the ASIC 60, the binarization process or the like by the output circuit 67 is performed on the print band in the ASIC 60.
When the engine 70 receives the binarized data, the engine 70 forms a toner image on the photosensitive belt drum using a semiconductor laser and C, M, Y, and K toners. The C, M, Y, and K toner images are transferred onto a sheet by a transfer drum to form a print image.

一方、所定のタイミングが経過しても、ユーザーからの操作入力により、サムネイル画像が印刷対象として選択されなかった場合(ステップS6:NO)、スプール部42は、ステップS7に進み、DRAM50に記録された1ページ分の印刷バンドを破棄する。そして、CPU40は、ステップS2に戻り、クラウドサーバー1から再度、元データーを取得する。即ち、CPU40は、次の印刷候補となる元データーをクラウドサーバー1から取得する。そして、上記同様、ステップS5により、新たに取得した元データーのサムネイル画像を表示する。   On the other hand, if the thumbnail image is not selected as a print target due to an operation input from the user even after the predetermined timing has elapsed (step S6: NO), the spool unit 42 proceeds to step S7 and is recorded in the DRAM 50. The print band for one page is discarded. Then, the CPU 40 returns to step S <b> 2 and acquires the original data from the cloud server 1 again. That is, the CPU 40 acquires the original data that is the next print candidate from the cloud server 1. Similarly to the above, in step S5, a thumbnail image of the newly acquired original data is displayed.

(2)縮小回路による処理
次に、縮小回路66が行うサムネイルバンドの生成処理を詳細に説明する。
図7は縮小回路66の内部構成等を説明するブロック図である。また、図8、9は、ラスタ数が16である単位を1つのバンド単位とした場合の、各カウンター値と画素との関係を示す図である。
(2) Processing by Reduction Circuit Next, thumbnail band generation processing performed by the reduction circuit 66 will be described in detail.
FIG. 7 is a block diagram illustrating the internal configuration of the reduction circuit 66 and the like. FIGS. 8 and 9 are diagrams showing the relationship between each counter value and pixels when a unit having 16 rasters is set as one band unit.

図7に示すように、縮小回路66は、サンプリング回路661と、平均化回路662と、フィルターカウンター663、664と、縮小サイズカウンター665、666と、キャリーカウンター667、668と、位置調整回路669と、を備える。また、縮小回路66は、ラスタバッファ65に接続されている。   As shown in FIG. 7, the reduction circuit 66 includes a sampling circuit 661, an averaging circuit 662, filter counters 663 and 664, reduction size counters 665 and 666, carry counters 667 and 668, and a position adjustment circuit 669. . The reduction circuit 66 is connected to the raster buffer 65.

サンプリング回路661は、展開バンドデーターの各画素を所定のサンプリング間隔数でサンプリングする。このサンプリングにより、展開バンドデーターを構成する画素のX方向位置(i)、Y方向位置(j)、更には、各画素の色成分値(R、G、B)がそれぞれ取得される。   The sampling circuit 661 samples each pixel of the expanded band data at a predetermined number of sampling intervals. By this sampling, the X-direction position (i) and Y-direction position (j) of the pixels constituting the development band data, and the color component values (R, G, B) of each pixel are acquired.

平均化回路662は、展開バンドデーターに対してぼかし処理を施す。平均化回路662は、ぼかし度合いに応じて設定された任意のフィルターサイズにより、このフィルターサイズ毎の画素の色成分値(R、G、B)の各平均値Averを算出する。   The averaging circuit 662 performs a blurring process on the developed band data. The averaging circuit 662 calculates each average value Aver of the color component values (R, G, B) of the pixels for each filter size with an arbitrary filter size set according to the degree of blurring.

フィルターカウンター663、664は、X方向又はY方向のそれぞれのフィルターサイズに対応する画素をカウント(Cx1、Cy1)する。例えば、フィルターカウンターx663は、サンプリング回路661によりサンプリングされた画素数に応じて、1、2、3、…とカウント値Cx1を変更させる。そして、カウント値Cx1=X方向フィルター数で、次の画素に対応するカウント値Cx1をリセット「1」とする。例えば、フィルター数が4×4である場合は、展開バンドデーターの4画素目の画素(i=「4」)の次の画素である5(4+1)画素目の画素でカウント値Cx1を「1」にする。
また、フィルターカウンターy664は、サンプリング回路661によりサンプリングが開始される展開バンドデーター毎に、1、2、3、…とカウント値Cy1を変化させる。そして、カウント値Cy1=Y方向フィルター数で次の画素に対応するカウント値Cy1をリセット「1」する。
The filter counters 663 and 664 count pixels (Cx1, Cy1) corresponding to the respective filter sizes in the X direction or the Y direction. For example, the filter counter x663 changes the count value Cx1 to 1, 2, 3,... According to the number of pixels sampled by the sampling circuit 661. Then, the count value Cx1 = the number of filters in the X direction, and the count value Cx1 corresponding to the next pixel is reset to “1”. For example, when the number of filters is 4 × 4, the count value Cx1 is set to “1” at the 5th (4 + 1) th pixel, which is the next pixel after the 4th pixel (i = “4”) of the developed band data. "
Further, the filter counter y664 changes the count value Cy1 to 1, 2, 3,... For each developed band data for which sampling is started by the sampling circuit 661. Then, the count value Cy1 corresponding to the next pixel is reset to “1” with the count value Cy1 = the number of filters in the Y direction.

縮小サイズカウンター665、666は、1度に縮小される画素数をカウント(Cx2、Cy2)する。縮小サイズカウンターx665は、サンプリング回路661によりサンプリングされた画素数に応じて、0、1、2、…とカウント値Cx2を変化させる。そして、カウント値Cx2=X方向縮小率となった場合に、カウント値Cx2をリセット「0」する。
また、縮小サイズカウンターy666は、サンプリング回路661によりサンプリングが開始されるy方向画素数(j)毎に、1、2、3、…とカウント値Cy2を変化させる。そして、カウント値Cy2=Y方向縮小率となった場合にカウントCy2をリセット「0」する。
The reduction size counters 665 and 666 count the number of pixels reduced at a time (Cx2, Cy2). The reduced size counter x665 changes the count value Cx2 to 0, 1, 2,... According to the number of pixels sampled by the sampling circuit 661. When the count value Cx2 = the reduction ratio in the X direction, the count value Cx2 is reset to “0”.
Further, the reduction size counter y666 changes the count value Cy2 to 1, 2, 3,... For every y-direction pixel number (j) where sampling is started by the sampling circuit 661. When the count value Cy2 = Y direction reduction rate, the count Cy2 is reset to “0”.

キャリーカウンター667、668は、フィルターサイズ内画素の平均値(avrX、avrY)の出力回数を決定する。キャリーカウンターx666は、(A)カウント値Cx1≦縮小率内であれば、カウント値Cx3=「1」とし、サンプリング画素数(i)が縮小率を超える毎にカウント値Cx3に「1」を加算する。
また、(B)カウント値CX1=X方向フィルター数となった場合にこの次の画素のカウント値をリセット「0」とする。そして、上記(A)(B)が同時に行われる場合は、カウント値Cx3=リセット「0」とする。
キャリーカウンターy667は、(C)カウント値Cy1≦縮小率内であれば「1」とし、サンプリングされる展開バンドデーターの数がY方向縮小率を超える毎にカウント値Cy3に「1」を加算する。また、(D)カウント値Cy1=Y方向フィルター数となった場合に次の画素のカウント値Cy3をリセット「0」する。そして、上記(C)(D)が同時に行われる場合は、カウント値Cyをリセット「0」とする。
The carry counters 667 and 668 determine the number of output times of the average value (avrX, avrY) of the pixels within the filter size. Carry counter x666 sets (A) if count value Cx1 ≦ reduction ratio, count value Cx3 = “1”, and adds “1” to count value Cx3 every time the number of sampling pixels (i) exceeds the reduction ratio. To do.
Further, (B) when the count value CX1 = the number of filters in the X direction, the count value of the next pixel is reset to “0”. When (A) and (B) are performed simultaneously, the count value Cx3 = reset “0”.
The carry counter y667 sets (C) to “1” if the count value Cy1 ≦ the reduction ratio, and adds “1” to the count value Cy3 every time the number of development band data to be sampled exceeds the Y direction reduction ratio. . Also, (D) when the count value Cy1 = the number of Y-direction filters, the count value Cy3 of the next pixel is reset to “0”. If (C) and (D) are performed simultaneously, the count value Cy is reset to “0”.

位置調整回路669は、フィルターサイズ毎の画素から出力される平均値Averの回数を決定し、DRAM50に出力する。   The position adjustment circuit 669 determines the number of average values Aver output from the pixels for each filter size, and outputs them to the DRAM 50.

図10は、縮小回路66により実行される処理を示すフローチャートである。   FIG. 10 is a flowchart showing processing executed by the reduction circuit 66.

まず、ステップS11では、フィルターサイズが選択される。選択されるフィルターサイズは、図5のステップS1で設定されたぼかし度合いに応じて設定されたものである。   First, in step S11, a filter size is selected. The selected filter size is set according to the blurring degree set in step S1 of FIG.

次に、ステップS12では、サンプリング回路661により展開バンドデーターのサンプリングが行われる。まず、1つの展開バンドデーターに含まれる画素のX方向位置(i)と、各画素の色成分値(R、G、B)とがそれぞれ取得される。このサンプリングに準じて、フィルターカウンター663、664、縮小サイズカウンター665、666、キャリーカウンター667、668におけるそれぞれのカウント値が変化する。   Next, in step S12, sampling of the developed band data is performed by the sampling circuit 661. First, the X-direction position (i) of pixels included in one development band data and the color component values (R, G, B) of each pixel are acquired. In accordance with this sampling, the respective count values in the filter counters 663 and 664, the reduced size counters 665 and 666, and the carry counters 667 and 668 change.

ステップS13では、平均化回路662は、X方向フィルターサイズ毎に平均値Averを算出する。例えば、4×4のフィルターサイズの場合、平均化回路662は、サムネイルバンドの4画素毎の平均値Averを算出する。そして、平均化回路662は、算出したAverをフィルターサイズ毎にラスタバッファ65に記録していく。なお、平均値Averの算出タイミングは、フィルターカウンターx663のカウント値Cx1により判断される。   In step S13, the averaging circuit 662 calculates an average value Aver for each X-direction filter size. For example, in the case of a 4 × 4 filter size, the averaging circuit 662 calculates an average value Aver for every four pixels in the thumbnail band. Then, the averaging circuit 662 records the calculated Aver in the raster buffer 65 for each filter size. Note that the calculation timing of the average value Aver is determined by the count value Cx1 of the filter counter x663.

そして、ステップS14では、平均化回路662は、フィルターカウンターy664のカウント値Cy1の値がY方向フィルターサイズに達したか否かを判断する。ここでは、Y方向でのサンプリング数がY方向フィルタサイズ(4画素)に達していないものとして、ステップS15に進む。   In step S14, the averaging circuit 662 determines whether or not the count value Cy1 of the filter counter y664 has reached the Y-direction filter size. Here, assuming that the number of samplings in the Y direction has not reached the Y direction filter size (4 pixels), the process proceeds to step S15.

ステップS15では、平均化回路662は、ラスタバッファ65に記録されたX方向フィルターサイズ毎の画素の平均値Averの積算値を読み出し、ステップS13で算出した平均値Averとの積算値(平均値)を算出する。   In step S15, the averaging circuit 662 reads the integrated value of the average value Aver of the pixels for each X-direction filter size recorded in the raster buffer 65, and the integrated value (average value) with the average value Aver calculated in step S13. Is calculated.

そして、ステップS12に戻り、S15までの処理が繰返される。その後、フィルターカウンターy664のカウント値Cy1がY方向フィルターサイズに達した場合(ステップS14:YES)、位置調整回路669は、ステップS16に進む。ステップS13からステップS15の処理によって、縮小回路66は、第2画像データーをラスタ数と所定のサンプリング間隔数のうちそれらの比が整数とならないサンプリング間隔数を含む場合(例えば、図8、図9に示すように、1つのバンド単位のラスタ数が16で、サンプリング間隔数が5の場合)であっても縮小画像データーを生成することができる。   And it returns to step S12 and the process to S15 is repeated. Thereafter, when the count value Cy1 of the filter counter y664 reaches the Y-direction filter size (step S14: YES), the position adjustment circuit 669 proceeds to step S16. By the processing from step S13 to step S15, the reduction circuit 66 includes the second image data including the number of rasters and the number of sampling intervals in which the ratio of the predetermined number of sampling intervals is not an integer (for example, FIG. 8, FIG. 9). As shown in FIG. 5, reduced image data can be generated even when the number of rasters per band is 16 and the number of sampling intervals is 5.

ぼかし処理と、縮小処理との間でサンプリング画素の数が異なる場合、フィルターを跨いで画素の縮小が行われる場合がある。例えば、図8に示すように、画素(xi、yj)=(1、5)は、画素(1、5)を先頭として画素(4、8)までの16個のサンプリング画素により平均値Averが算出される。一方、画素(1、5)は、縮小処理においては、画素(1、1)〜(5、5)までの25のサンプリング画素に含まれる。
このような場合、異なる平均値Averの画素により画素数の縮小が行われるため、サムネイル画像が正しく生成されない場合がある。
When the number of sampling pixels is different between the blurring process and the reduction process, the pixel may be reduced across the filters. For example, as shown in FIG. 8, pixel (xi, yj) = (1, 5) has an average value Aver due to 16 sampling pixels from pixel (1, 5) to pixel (4, 8). Calculated. On the other hand, pixel (1, 5) is included in 25 sampling pixels from pixel (1, 1) to (5, 5) in the reduction process.
In such a case, since the number of pixels is reduced by pixels having different average values Aver, a thumbnail image may not be generated correctly.

そのため、本実施形態では、縮小率が予め決められた値を取りつつ、フィルターサイズ内の画素から出力される平均値Averの出力回数を決定する。そのため、異なるフィルターを跨いで画素が縮小されるのを防止することができる。   For this reason, in this embodiment, the number of times of output of the average value Aver output from the pixels within the filter size is determined while taking a predetermined value for the reduction ratio. Therefore, it is possible to prevent the pixels from being reduced across different filters.

ここで、カウント値(Cx3、Cy3)は、1度にぼかし処理される画素群(即ち、フィルターサイズ内の画素)に、1度に縮小される画素群の先頭画素がどれだけ含まれているかを示す。例えば、図8では、フィルターサイズ4×4でサンプリングされた画素(i、j)=(1、1)〜(4、4)の中には、縮小率(1/5)で縮小される場合、サンプリング画素(5×5)の先頭画素(x1、y1)のみが含まれている(図中「●」で示す。)。そのため、このフィルターサイズの画素からは1画素の平均値Averを出力する。   Here, the count values (Cx3, Cy3) indicate how many leading pixels of the pixel group to be reduced at once are included in the pixel group to be blurred at once (that is, pixels within the filter size). Indicates. For example, in FIG. 8, a pixel (i, j) = (1, 1) to (4, 4) sampled with a filter size of 4 × 4 is reduced at a reduction ratio (1/5). Only the first pixel (x1, y1) of the sampling pixel (5 × 5) is included (indicated by “●” in the figure). Therefore, an average value Aver of one pixel is output from the pixels of this filter size.

一方、図9に示すように、フィルターサイズ8×8でサンプリングされた画素(i、j)=(1、1)〜(8、8)には、縮小率(1/5)で縮小される場合、サンプリング画素(5×5)の先頭画素(1、1)、(6、1)、(1、6)、(6、6)が含まれている(図中「●」で示す。)。そのため、このフィルターサイズ内の画素からは4画素の平均値Averを出力する。   On the other hand, as shown in FIG. 9, pixels (i, j) = (1, 1) to (8, 8) sampled with a filter size of 8 × 8 are reduced at a reduction ratio (1/5). In this case, the first pixel (1, 1), (6, 1), (1, 6), (6, 6) of the sampling pixel (5 × 5) is included (indicated by “●” in the figure). . Therefore, an average value Aver of 4 pixels is output from the pixels within the filter size.

ステップS16では、位置調整回路669は、カウント値Cx3、Cy3を掛算して、フィルターサイズ毎の画素から出力される平均値Averの回数を決定する。   In step S16, the position adjustment circuit 669 multiplies the count values Cx3 and Cy3 to determine the average number Aver output from the pixels for each filter size.

そして、ステップS17では、位置調整回路669により、ステップS16で設定された出力回数に応じて平均値Averが出力される。例えば、図8においては、位置調整回路669は、(i、j)=(1、1)〜(4、4)の画素において、平均値を1回出力する。そのため、4列の展開バンドデーターを構成する画素群に応じて、それぞれの平均値Averが5回出力され、最終的な画素の縮小率を(1/5)とすることができる。
つまり、位置調整回路は、X方向又はY方向のそれぞれのフィルターカウンター、縮小サイズカウンターおよびキャリーカウンターの値に基づき、フィルターサイズ内の平均値を何回繰り返し後段へ出力するかを決定することによって、ぼかし処理と、縮小処理との間でサンプリング画素の数が異なる場合であっても、フィルターを跨いで画素の縮小が行われることを可能としている。
In step S17, the position adjustment circuit 669 outputs the average value Aver according to the number of outputs set in step S16. For example, in FIG. 8, the position adjustment circuit 669 outputs an average value once for pixels (i, j) = (1, 1) to (4, 4). Therefore, each average value Aver is output five times according to the pixel group constituting the four rows of development band data, and the final pixel reduction ratio can be (1/5).
That is, the position adjustment circuit determines how many times the average value within the filter size is output to the subsequent stage based on the values of the filter counter, the reduced size counter, and the carry counter in the X direction or the Y direction, respectively. Even when the number of sampling pixels is different between the blurring process and the reduction process, the pixels can be reduced across the filters.

ステップS18では、1ページ分の展開バンドデーターを処理していない場合(ステップS18:NO)、ステップS12に戻る。即ち、縮小回路66に入力する全ての展開バンドデーターに対して、上記S12−S17までの処理を繰返す。
一方、1ページ分の展開バンドデーターを処理した場合(ステップS18:YES)、処理を終了する。
In step S18, when the development band data for one page is not processed (step S18: NO), the process returns to step S12. That is, the processes from S12 to S17 are repeated for all the developed band data input to the reduction circuit 66.
On the other hand, when the development band data for one page is processed (step S18: YES), the process is terminated.

以上説明したように、本発明では、印刷バンドに対する処理とサムネイルバンドに対する処理とを、複製された別々の展開バンドを用いて行うことが可能となり、2つの処理を順番に行なう場合に比べて処理に要する時間を短くすることができる。
また、縮小回路66は、ラスタ数と所定のサンプリング間隔数のうちそれらの比が整数とならないサンプリング間隔数であってもハードウェアでの処理単位として整合させることが可能となり、任意の縮小率で縮小画像データーを生成することができる。
そして、縮小回路、ぼかし度合いを、縮小率と切り離して設定することができるため、縮小画像の機密度を高めることができる。
As described above, according to the present invention, it is possible to perform the processing for the print band and the processing for the thumbnail band by using different copied development bands, and processing is performed as compared with the case where the two processes are performed in order. Can be shortened.
Further, the reduction circuit 66 can be matched as a processing unit in hardware even if the number of rasters and the number of sampling intervals in which the ratio between them is not an integer, can be matched as a processing unit in hardware, and at an arbitrary reduction rate. Reduced image data can be generated.
Since the reduction circuit and the blurring degree can be set separately from the reduction ratio, the confidentiality of the reduced image can be increased.

(3)その他の実施形態
画像処理装置としてプリンターを例に説明することは一例にすぎない。プリンター以外にも、サムネイル画像と処理用画像とを生成する装置であれば、スキャナー装置や、FAX装置であってもよい。また、サムネイルバンドに対する処理は、プリンターの主走査、副走査方向に順じてもよいし、プリンターの主走査、副走査方向とサムネイル画像を表示するディスプレイの主走査、副走査方向とが異なる場合は、別途サムネイル画像の回転を行うこととしてもよい。また、本実施形態では、色変換圧縮回路64が、展開バンドデーターを構成する画素の色成分値(R、G、B)を、トナー色に対応する色成分値(C、M、Y、K)に変換するとして説明したが、元画像データーがモノクロームである場合は、色変換を伴わない圧縮回路であってもよい。
(3) Other Embodiments The description of a printer as an example of the image processing apparatus is merely an example. In addition to the printer, a scanner device or a FAX device may be used as long as the device generates thumbnail images and processing images. The processing for the thumbnail band may be performed in the main scanning and sub-scanning directions of the printer, or when the main scanning and sub-scanning directions of the printer are different from the main scanning and sub-scanning directions of the display that displays the thumbnail image. Alternatively, thumbnail images may be rotated separately. In the present embodiment, the color conversion compression circuit 64 converts the color component values (R, G, B) of the pixels constituting the development band data into the color component values (C, M, Y, K) corresponding to the toner colors. However, when the original image data is monochrome, it may be a compression circuit that does not involve color conversion.

サムネイル画像に基づいて元画像を判断する手法は、実施形態のように、ユーザー目視によりディスプレイに表示されたサムネイル画像を選択する以外にも様々な方法が想定される。例えば、プリンター10のCPU40が、サムネイル画像の特徴量を抽出し、判断を行うものであってもよい。   As a method for determining the original image based on the thumbnail image, various methods other than selecting the thumbnail image displayed on the display by the user's visual observation as in the embodiment are assumed. For example, the CPU 40 of the printer 10 may extract the feature amount of the thumbnail image and make a determination.

なお、本発明は上記実施例に限られるものでないことは言うまでもない。
即ち、上記実施例の中で開始した相互に置換可能な部材および構成等を適宜その組み合わせを変更して適用してもよい。
公知技術であって上記実施例の中で開示した部材および構成等と相互に置換可能な部材および構成等を適宜置換し、またその組み合わせを変更して適用してもよい。
公知技術等に基づいて当業者が上記実施例の中で開示した部材および構成等の代用として想定し得る部材および構成等と適宜置換し、またその組み合わせを変更して適用してもよい。
Needless to say, the present invention is not limited to the above embodiments.
That is, the mutually replaceable members and configurations started in the above embodiments may be applied by changing the combination as appropriate.
Members and structures that are known techniques and can be mutually replaced with the members and structures disclosed in the above-described embodiments may be appropriately replaced, and combinations thereof may be changed and applied.
Those skilled in the art may appropriately replace the members and structures that can be assumed as substitutes for the members and structures disclosed in the above-described embodiments based on known techniques and the like, and change the combinations thereof.

1…クラウドサーバー、10…プリンター、20…ディスプレイ、30…操作パネル、40…CPU、41…バンドデーター生成部、42…スプール部、43…セキュリティー設定部、44…サムネイル出力部、50…DRAM、55…ROM、60…ASIC、62…空白内部出力回路、63…分岐回路、64…色変換圧縮回路、65…ラスタバッファ、66…縮小回路、67…出力回路、70…エンジン、80…バス、661…サンプリング回路、662…平均化回路、663…フィルターカウンターx、664…フィルターカウンターy、665…縮小サイズカウンターx、666…縮小サイズカウンターy、667…キャリーカウンターx、668…キャリーカウンターy、669…位置調整回路 DESCRIPTION OF SYMBOLS 1 ... Cloud server, 10 ... Printer, 20 ... Display, 30 ... Operation panel, 40 ... CPU, 41 ... Band data generation part, 42 ... Spool part, 43 ... Security setting part, 44 ... Thumbnail output part, 50 ... DRAM, 55 ... ROM, 60 ... ASIC, 62 ... Blank internal output circuit, 63 ... Branch circuit, 64 ... Color conversion compression circuit, 65 ... Raster buffer, 66 ... Reduction circuit, 67 ... Output circuit, 70 ... Engine, 80 ... Bus, 661 ... Sampling circuit, 662 ... Averaging circuit, 663 ... Filter counter x, 664 ... Filter counter y, 665 ... Reduced size counter x, 666 ... Reduced size counter y, 667 ... Carry counter x, 668 ... Carry counter y, 669 ... Position adjustment circuit

Claims (7)

元画像をもとに、所定の縮小率で縮小された縮小画像を生成する画像処理装置であって、
平均化される画素数を設定するフィルターサイズを、前記縮小率とは個別に設定する設定部と、
前記元画像に対して、前記フィルターサイズに応じた画素数毎に、画素の成分値を平均化する平均化部と、
前記平均化された前記元画像の各画素を、前記縮小率に応じた数だけ選択し、前記縮小画像として出力する出力部と、を有する画像処理装置。
An image processing apparatus that generates a reduced image reduced at a predetermined reduction rate based on an original image,
A setting unit for setting a filter size for setting the number of pixels to be averaged separately from the reduction ratio;
For the original image, an averaging unit that averages the component values of the pixels for each number of pixels corresponding to the filter size;
An image processing apparatus comprising: an output unit that selects each pixel of the averaged original image in a number corresponding to the reduction ratio and outputs the selected image as the reduced image.
前記設定部は、前記フィルターサイズを、前記縮小画像の機密度に応じて選択する、請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the setting unit selects the filter size according to sensitivity of the reduced image. 前記元画像に対して、前記フィルターサイズでサンプリングされた画素の成分値における平均値を出力する回数を決定する位置調整回路をさらに備える請求項1又は請求項2のいずれかに画像処理装置。 The image processing apparatus according to claim 1, further comprising a position adjustment circuit that determines a number of times of outputting an average value of component values of pixels sampled with the filter size with respect to the original image . 前記元画像を第1画像と、第2画像とに複製する複製部と、前記元画像をもとに、印刷画像を生成する第1の制御部と、をさらに有し、
前記第1の制御部は、前記第1画像に所定の処理を施して処理画像を生成し、
前記平均化部は、前記第2画像に対して平均化を行う、請求項1から請求項3のいずれか一項に記載の画像処理装置。
A replication unit that replicates the original image into a first image and a second image; and a first control unit that generates a print image based on the original image;
The first control unit performs a predetermined process on the first image to generate a processed image,
The image processing apparatus according to claim 1, wherein the averaging unit performs averaging on the second image.
前記印刷画像を記録する仮記録部と、
前記縮小画像に基づいて、前記元画像が処理対象として選択された場合に、前記仮記録部に記録された前記印刷画像に対して所定の処理を施す処理実行部を有する、請求項4に記載の画像処理装置。
A temporary recording unit for recording the print image;
Based on the reduced image, if the original image is selected for processing, with a processing execution unit for performing predetermined processing for the recorded the printed image on the temporary recording unit, the Motomeko 4 The image processing apparatus described.
前記元画像は、所定のページ記述言語に基づいて作成されており、
前記元画像が空白画素列を有する場合に、前記元画像の前記空白画素列の位置に、同空白画素列に応じた画素列を補って、前記平均化部に出力する空白バンド出力部を有する、請求項1から請求項5のいずれか一項に記載の画像処理装置。
The original image is created based on a predetermined page description language,
When the original image has a blank pixel column, a blank band output unit is provided that supplements a pixel column corresponding to the blank pixel column at the position of the blank pixel column of the original image and outputs the blank pixel column to the averaging unit. The image processing apparatus according to any one of claims 1 to 5.
元画像をもとに、所定の縮小率に応じた縮小画像を生成する画像処理装置による画像処理方法であって、
前記画像処理装置は、平均化される画素数を設定するフィルターサイズを、前記縮小率とは個別に設定し、
前記元画像に対して、前記フィルターサイズに応じた画素数毎に、画素の成分値を平均化し、
前記平均化された前記元画像の各画素を、前記縮小率に応じた数だけ選択し、前記縮小画像として出力する、画像処理方法。
An image processing method by an image processing apparatus that generates a reduced image corresponding to a predetermined reduction ratio based on an original image,
The image processing apparatus sets a filter size for setting the number of pixels to be averaged separately from the reduction ratio,
For the original image, pixel component values are averaged for each number of pixels corresponding to the filter size,
An image processing method of selecting each pixel of the averaged original image by a number corresponding to the reduction ratio and outputting the selected image as the reduced image.
JP2012187291A 2012-08-28 2012-08-28 Image processing apparatus and image processing method Active JP6064441B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012187291A JP6064441B2 (en) 2012-08-28 2012-08-28 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012187291A JP6064441B2 (en) 2012-08-28 2012-08-28 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2014045399A JP2014045399A (en) 2014-03-13
JP6064441B2 true JP6064441B2 (en) 2017-01-25

Family

ID=50396367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012187291A Active JP6064441B2 (en) 2012-08-28 2012-08-28 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP6064441B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7139778B2 (en) * 2018-08-20 2022-09-21 コニカミノルタ株式会社 IMAGE FORMING APPARATUS, PRINTING METHOD, AND COMPUTER PROGRAM

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092323A (en) * 2006-10-03 2008-04-17 Matsushita Electric Ind Co Ltd Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP2008154106A (en) * 2006-12-19 2008-07-03 Ricoh Co Ltd Concealing method, image processor and image forming apparatus
JP2009182746A (en) * 2008-01-31 2009-08-13 Konica Minolta Business Technologies Inc Image control method, and image control device

Also Published As

Publication number Publication date
JP2014045399A (en) 2014-03-13

Similar Documents

Publication Publication Date Title
US10027848B2 (en) Image processing apparatus and control method for applying spatial filters to images
EP3099051B1 (en) Apparatus, method, and storage medium storing program for processing image data
CN102868846B (en) Threshold matrix generation device and threshold matrix generation method
JPH06233120A (en) Blue noise type method for usage in half-tone tile type screener and for masking screener-induced badness of picture
US9639790B2 (en) Resolution conversion using dither processing
JP6210319B2 (en) Printing method and printing system
US8976408B2 (en) Apparatus, method, and computer-readable storage medium for maintaining reproducibility of lines or characters of image
JP5863001B2 (en) Image processing apparatus, image forming apparatus, and program
JP6331817B2 (en) Image processing apparatus, image processing method, and program
US9154665B2 (en) Image processing apparatus and control method thereof
JP6064441B2 (en) Image processing apparatus and image processing method
JP2014039181A (en) Image processor, image processing method, printer
US9171239B2 (en) Processing image data strips in columnar regions
US11423268B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
JP6566276B2 (en) Image processing device
JP5878167B2 (en) How to restore raster image edges
JP2010074627A (en) Image processor and method of processing image
US20120206737A1 (en) Image forming apparatus and image forming method for correcting registration deviation
RU2452126C1 (en) Image processing device, image processing method, and program
CN108632497B (en) Image processing apparatus, control method, and computer-readable recording medium
US10587775B2 (en) Image processing apparatus, image processing method, and storage medium for edge enhancement based on plural conditions
US8537413B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JPH10126609A (en) Image processor
JP6610897B2 (en) Image forming apparatus and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20150108

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150805

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160610

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161104

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161205

R150 Certificate of patent or registration of utility model

Ref document number: 6064441

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150