JP2021048578A - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP2021048578A
JP2021048578A JP2020083108A JP2020083108A JP2021048578A JP 2021048578 A JP2021048578 A JP 2021048578A JP 2020083108 A JP2020083108 A JP 2020083108A JP 2020083108 A JP2020083108 A JP 2020083108A JP 2021048578 A JP2021048578 A JP 2021048578A
Authority
JP
Japan
Prior art keywords
pixel
extraction
image
pixels
scanning direction
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.)
Pending
Application number
JP2020083108A
Other languages
Japanese (ja)
Inventor
健一郎 春田
Kenichiro Haruta
健一郎 春田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Publication of JP2021048578A publication Critical patent/JP2021048578A/en
Pending legal-status Critical Current

Links

Images

Abstract

To prevent a deterioration in image quality due to magnification varying processing.SOLUTION: An image processing apparatus of an embodiment provides an apparatus that processes image data for forming an image on a surface of a photoreceptor by using a plurality of light emitting devices arranged along a main scanning direction of the photoreceptor. The image processing apparatus has: specification means that, based on an image magnification for varying a magnification in a main scanning direction of an image that is formed from image data by inserting or deleting pixels into or from the image data, specifies a reference section for determining first and second insertion/withdrawal positions at which the insertion or deletion of the pixels is performed; first determination means that determines the first insertion/withdrawal position based on the reference section specified by the specification means; second determination means that determines the second insertion/withdrawal position based on the first insertion/withdrawal position; and magnification varying means that varies the magnification of the image by inserting the pixels into or deleting the pixels from the image data based on the first and second insertion/withdrawal positions.SELECTED DRAWING: Figure 7

Description

本発明は、画像処理装置および画像処理方法、並びにプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.

タンデム方式のカラー画像形成装置において、色毎に設けられ感光体の外周面に静電潜像を形成する露光手段として、多数のLED(Light Emitting Diode)がアレイ状に配列されたLEDアレイを複数備えたラインヘッドが知られている。ラインヘッドでは、LEDアレイ自体や駆動ICの発熱、及び、ラインヘッド周辺に配置される定着装置などからの熱でLEDアレイが熱膨張し、主走査方向(LEDの配列方向)の露光位置にずれが生じ、主走査方向の倍率が色毎に変化することがある。これが、例えばイエロー、マゼンタ、シアン、ブラックなどの各色のトナー像を重ねて転写する際の相対的な位置ずれ、ひいては色ずれの原因となる。 In a tandem color image forming apparatus, as an exposure means provided for each color and forming an electrostatic latent image on the outer peripheral surface of a photoconductor, a plurality of LED arrays in which a large number of LEDs (Light Emitting Diodes) are arranged in an array are provided. Equipped line heads are known. In the line head, the LED array thermally expands due to the heat generated by the LED array itself and the drive IC, and the heat from the fixing device arranged around the line head, and the LED array shifts to the exposure position in the main scanning direction (LED arrangement direction). May occur, and the magnification in the main scanning direction may change for each color. This causes a relative positional shift and eventually a color shift when the toner images of each color such as yellow, magenta, cyan, and black are superimposed and transferred.

特許文献1は、所定数の画素につきランダムに選択した1つの画素を挿入したり間引いたりする挿入処理・間引き処理(以後、挿入処理と間引き処理を合わせて挿抜処理と呼ぶ)を実行することで、印字画像情報の拡大と縮小を行う方法を開示している。 Patent Document 1 describes by executing an insertion process / thinning process (hereinafter, the insertion process and the thinning process are collectively referred to as an insertion / extraction process) in which one pixel randomly selected for a predetermined number of pixels is inserted or thinned out. , Discloses a method for enlarging and reducing printed image information.

多数のLEDがライン状に配置されたラインヘッドを書き込み光学系として備えた画像形成装置は、多値デジタル画像信号に基づいてLEDを駆動することで、その信号に応じた濃さの画素を記録媒体に形成する構成となっている。このような構成の画像形成装置では、レーザを書き込み光学系として備える画像形成装置のように画素幅を調整できないことから、1画素未満の画素片単位の挿抜である微小変倍を、画素に対応するLED単位で実行している。 An image forming apparatus equipped with a line head in which a large number of LEDs are arranged in a line shape as a writing optical system drives the LEDs based on a multi-valued digital image signal and records pixels having a density corresponding to the signal. It is configured to be formed on a medium. In an image forming apparatus having such a configuration, the pixel width cannot be adjusted unlike an image forming apparatus equipped with a laser as a writing optical system. It is executed in units of LEDs.

特開2012-124584号公報Japanese Unexamined Patent Publication No. 2012-124584

しかしながら、LEDの配置間隔に対応する解像度で挿抜処理を実行すると、記録媒体に形成された画像に視認できる段差が発生してしまう場合がある。一方で、LEDの配置間隔に対応する解像度よりも高い解像度で挿抜処理を実行すると、画像の位相がLEDの配置の位相からずれてしまい、画質劣化が発生してしまう。このような課題は、ラインヘッドの発光素子としてLEDを用いる場合に限らず、有機EL(Electro Luminescence)素子を用いる場合にも生じえる。 However, if the insertion / removal process is executed at a resolution corresponding to the LED arrangement interval, a visible step may occur in the image formed on the recording medium. On the other hand, if the insertion / extraction process is executed at a resolution higher than the resolution corresponding to the LED arrangement interval, the phase of the image deviates from the phase of the LED arrangement, and the image quality deteriorates. Such a problem may occur not only when an LED is used as a light emitting element of a line head but also when an organic EL (Electro Luminescence) element is used.

本発明は、変倍処理による画質の劣化を抑える技術を提供する。 The present invention provides a technique for suppressing deterioration of image quality due to scaling processing.

本発明の一態様に係る画像処理装置は、感光体の主走査方向に沿って配置された複数の発光素子を用いて前記感光体の表面に画像を形成するための画像データを処理する画像処理装置であって、前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像データから形成される前記画像を前記主走査方向にて変倍する画像の変倍率に基づき、前記画素の挿入または前記画素の削除を行う第一の挿抜位置および第二の挿抜位置を決定するための基準区間Lを特定する特定手段と、前記特定手段によって特定された前記基準区間Lを基に、前記第一の挿抜位置を決定する第一の決定手段と、前記第一の決定手段によって決定された前記第一の挿抜位置を基に、前記第二の挿抜位置を決定する第二の決定手段と、前記第一の挿抜位置および前記第二の挿抜位置に基づいて、前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像を変倍する変倍手段と、を有することを特徴とする。 The image processing apparatus according to one aspect of the present invention uses a plurality of light emitting elements arranged along the main scanning direction of the photoconductor to process image data for forming an image on the surface of the photoconductor. The apparatus is based on the scaling factor of an image in which the image formed from the image data is scaled in the main scanning direction by inserting or deleting the pixels in the image data. Based on the specific means for specifying the reference section L for determining the first insertion / extraction position and the second insertion / removal position for inserting or deleting the pixel, and the reference section L specified by the specific means. A first determining means for determining the first insertion / extraction position and a second determining means for determining the second insertion / extraction position based on the first insertion / extraction position determined by the first determining means. And a scaling means for scaling the image by inserting or deleting pixels in the image data based on the first insertion / extraction position and the second insertion / extraction position. It is characterized by.

本発明によれば、変倍処理による画質の劣化を抑えることができる。 According to the present invention, deterioration of image quality due to scaling processing can be suppressed.

画像形成装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image forming apparatus. 画像形成装置の断面図である。It is sectional drawing of the image forming apparatus. LEDラインヘッド部の構成例を示す図である。It is a figure which shows the structural example of the LED line head part. LEDチップおよびLEDの配置例を示す図である。It is a figure which shows the arrangement example of the LED chip and LED. 変倍処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a variable magnification process. 挿抜位置決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the insertion / removal position determination processing. 挿抜位置決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the insertion / removal position determination processing. 挿抜位置の説明図である。It is explanatory drawing of the insertion / removal position. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 挿抜処理の説明図である。It is explanatory drawing of the insertion / removal process. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 挿抜処理の説明図である。It is explanatory drawing of the insertion / removal process. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 挿抜位置決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the insertion / removal position determination processing. 挿抜位置の説明図である。It is explanatory drawing of the insertion / removal position. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 変倍処理の説明図である。It is explanatory drawing of the variable magnification processing. 感光体ドラム上に形成された静電潜像の電位分布を示す図である。It is a figure which shows the potential distribution of the electrostatic latent image formed on the photoconductor drum.

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施形態は、本発明を限定するものではなく、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。加えて、本発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれ、また、以下の実施形態の一部を適宜組み合わせることもできる。なお、同一の構成については、同じ符号を付して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the following embodiments do not limit the present invention, and not all combinations of features described in the present embodiment are essential for the means for solving the present invention. In addition, various embodiments that do not deviate from the gist of the present invention are also included in the present invention, and some of the following embodiments can be appropriately combined. The same configuration will be described with the same reference numerals.

<<実施形態1>>
図1は、本実施形態における電子写真方式カラー画像形成装置の、静電潜像作成に関係する構成例を示すブロック図である。カラー画像形成装置は、画像形成部101と画像処理部102とを有する。画像処理部102は、ビットマップ画像情報を生成する。画像形成部101は、画像処理部102で生成されたビットマップ画像情報に基づき記録媒体上に複数色(例えば、シアン/マゼンタ/イエロー/ブラック。以下、C/M/Y/Kと称する。)のトナー画像を重ね合わせた画像を形成する。
<< Embodiment 1 >>
FIG. 1 is a block diagram showing a configuration example related to creating an electrostatic latent image of the electrophotographic color image forming apparatus according to the present embodiment. The color image forming apparatus includes an image forming unit 101 and an image processing unit 102. The image processing unit 102 generates bitmap image information. The image forming unit 101 has a plurality of colors (for example, cyan / magenta / yellow / black; hereinafter referred to as C / M / Y / K) on the recording medium based on the bitmap image information generated by the image processing unit 102. An image is formed by superimposing the toner images of.

<画像形成装置の構成>
図2は、電子写真方式の画像形成装置の一例である、中間転写体を用いたタンデム方式のカラー画像形成装置の断面図である。図1を用いて、電子写真方式のカラー画像形成装置における画像形成部101の動作を説明する。なお、図面では、色毎に設けられた部材については、符号の末尾に各々の色を示すアルファベッド(C/M/Y/K)を付与して示すが、特に色を区別せずに説明する場合は、この符号末尾のアルファベットを省略して説明するものとする。
<Structure of image forming apparatus>
FIG. 2 is a cross-sectional view of a tandem color image forming apparatus using an intermediate transfer body, which is an example of an electrophotographic image forming apparatus. The operation of the image forming unit 101 in the electrophotographic color image forming apparatus will be described with reference to FIG. In the drawings, the members provided for each color are shown by adding an alpha bed (C / M / Y / K) indicating each color to the end of the code, but the description is given without particularly distinguishing the colors. In this case, the alphabet at the end of the code shall be omitted for explanation.

画像形成部101は、画像処理部102が処理したデータに基づく露光時間に応じて露光光を駆動し、静電潜像を形成して、更にこの静電潜像を現像して単色トナー像を形成する。この単色トナー像を重ね合わせて多色トナー像を形成し、この多色トナー像を図2に示す記録媒体11へ転写してその記録媒体上の多色トナー像を定着させる。 The image forming unit 101 drives the exposure light according to the exposure time based on the data processed by the image processing unit 102 to form an electrostatic latent image, and further develops the electrostatic latent image to produce a monochromatic toner image. Form. The monochromatic toner images are superposed to form a multicolor toner image, and the multicolor toner image is transferred to the recording medium 11 shown in FIG. 2 to fix the multicolor toner image on the recording medium.

次に、図2を用いて、画像形成部101の構成をより詳細に説明する。注入帯電器23は、Y,M,C,K順に色毎に感光体22の表面を予め定められた電位に一様に帯電させるためのものであり、スリーブ23Sを備える。 Next, the configuration of the image forming unit 101 will be described in more detail with reference to FIG. The injection charger 23 is for uniformly charging the surface of the photoconductor 22 to a predetermined potential for each color in the order of Y, M, C, and K, and includes a sleeve 23S.

感光体22は、不図示の駆動モータの駆動力が伝達されて回転するものである。不図示の駆動モータは、画像形成動作に応じて感光体22を図2において反時計周り方向に回転させる。露光手段は、感光体22へLEDラインヘッド部24より露光光を照射し、感光体22の表面を選択的に露光することにより、静電潜像を形成するように構成されている。なお、露光手段は、図1に示すPWM部113により、LEDラインヘッド部24におけるLEDなどの発光素子による露光時間を制御することができる。 The photoconductor 22 rotates by transmitting the driving force of a drive motor (not shown). A drive motor (not shown) rotates the photoconductor 22 in the counterclockwise direction in FIG. 2 in response to the image forming operation. The exposure means is configured to form an electrostatic latent image by irradiating the photoconductor 22 with exposure light from the LED line head portion 24 and selectively exposing the surface of the photoconductor 22. The exposure means can control the exposure time of the LED line head unit 24 by a light emitting element such as an LED by the PWM unit 113 shown in FIG.

現像手段は、静電潜像をトナーで可視化するために現像器26を備える構成である。現像器26には、スリーブ26Sが設けられている。なお、各々の現像器26は脱着が可能である。現像器26によって単色トナー像が感光体22に現像される。 The developing means includes a developing device 26 for visualizing the electrostatic latent image with toner. The developer 26 is provided with a sleeve 26S. Each developer 26 is removable. A monochromatic toner image is developed on the photoconductor 22 by the developer 26.

中間転写体28は、感光体22から単色トナー像を受け取るために図2において時計周り方向に回転する。感光体22とその対向に位置する一次転写ローラ27との回転に伴って、中間転写体28に単色トナー像が転写される。一次転写ローラ27に適当なバイアス電圧を印加すると共に感光体22の回転速度と中間転写体28の回転速度に差をつけることにより、単色トナー像が効率よく中間転写体28上に転写される。これを一次転写という。 The intermediate transfer member 28 rotates clockwise in FIG. 2 to receive a monochromatic toner image from the photoconductor 22. A monochromatic toner image is transferred to the intermediate transfer body 28 as the photoconductor 22 and the primary transfer roller 27 located opposite to the photoconductor 22 rotate. By applying an appropriate bias voltage to the primary transfer roller 27 and making a difference between the rotation speed of the photoconductor 22 and the rotation speed of the intermediate transfer body 28, the monochromatic toner image is efficiently transferred onto the intermediate transfer body 28. This is called primary transcription.

更に、CMYKのステーション毎の単色トナー像は、中間転写体28上に重ね合わされる。重ね合わされた多色トナー像は、中間転写体28の回転に伴い二次転写ローラ29まで搬送される。また、記録媒体11が給紙トレイ21aまたは給紙トレイ21bから二次転写ローラ29へ挟持搬送され、用紙等の記録媒体11に中間転写体28上の多色トナー像が転写される。このとき、二次転写ローラ29に適当なバイアス電圧を印加することで、静電的にトナー像が転写される。これを二次転写という。二次転写ローラ29は、記録媒体11上に多色トナー像を転写している間、位置29aで記録媒体11に当接し、印刷処理後は位置29bに離間する。 Further, the monochromatic toner image for each station of CMYK is superposed on the intermediate transfer body 28. The superimposed multicolor toner image is conveyed to the secondary transfer roller 29 as the intermediate transfer body 28 rotates. Further, the recording medium 11 is sandwiched and conveyed from the paper feed tray 21a or the paper feed tray 21b to the secondary transfer roller 29, and the multicolor toner image on the intermediate transfer body 28 is transferred to the recording medium 11 such as paper. At this time, by applying an appropriate bias voltage to the secondary transfer roller 29, the toner image is electrostatically transferred. This is called secondary transcription. The secondary transfer roller 29 comes into contact with the recording medium 11 at the position 29a while transferring the multicolor toner image onto the recording medium 11, and is separated from the position 29b after the printing process.

定着装置31は、記録媒体11に転写された多色トナー像を記録媒体11に溶融定着させるために、記録媒体11を加熱する定着ローラ32と記録媒体11を定着ローラ32に圧接させるための加圧ローラ33を備える。定着ローラ32と加圧ローラ33は中空状に形成され、内部にそれぞれヒータ34、35が内蔵される。定着装置31は、多色トナー像を保持した記録媒体11を定着ローラ32と加圧ローラ33とにより搬送するとともに、熱および圧力を加え、トナーを記録媒体11に定着させる。 The fixing device 31 applies a fixing roller 32 for heating the recording medium 11 and a fixing roller 32 for pressing the recording medium 11 against the fixing roller 32 in order to melt and fix the multicolor toner image transferred to the recording medium 11 on the recording medium 11. A pressure roller 33 is provided. The fixing roller 32 and the pressure roller 33 are formed in a hollow shape, and heaters 34 and 35 are built in, respectively. The fixing device 31 conveys the recording medium 11 holding the multicolor toner image by the fixing roller 32 and the pressure roller 33, and applies heat and pressure to fix the toner on the recording medium 11.

トナー定着後の記録媒体11は、その後、不図示の排出ローラによって不図示の排紙トレイに排出され、画像形成動作が終了する。クリーニング手段30は、中間転写体28上に残ったトナーをクリーニングするものであり、中間転写体28上に形成された4色の多色トナー像を記録媒体11に転写した後に残った廃トナーは、クリーナ容器に蓄えられる。 The recording medium 11 after the toner is fixed is then discharged to a paper discharge tray (not shown) by a discharge roller (not shown), and the image forming operation is completed. The cleaning means 30 cleans the toner remaining on the intermediate transfer body 28, and the waste toner remaining after transferring the four-color multicolor toner image formed on the intermediate transfer body 28 to the recording medium 11 is used. , Stored in a cleaner container.

<LEDラインヘッド部の構成>
次に、図3および図4を用いて、カラー画像形成装置が書き込み光学系であるユニットとして備えるLEDラインヘッド部の構成を説明する。図3は、LEDラインヘッド部24の構成例を示す図である。図4は、LEDチップおよびLEDの配置例を示す図である。
<Configuration of LED line head>
Next, the configuration of the LED line head portion included as a unit of the writing optical system in the color image forming apparatus will be described with reference to FIGS. 3 and 4. FIG. 3 is a diagram showing a configuration example of the LED line head unit 24. FIG. 4 is a diagram showing an arrangement example of the LED chip and the LED.

LEDラインヘッド部24は、感光体22の周面に対向して配置される。LEDラインヘッド部24は、プリント基板40と、プリント基板40の表面に搭載され、感光体22の回転軸線方向で主走査方向に沿って配列された複数のLEDチップ42と、レンズアレイ41とを有する。プリント基板40には、LEDラインヘッド部24の駆動を制御する各種信号を供給されるための不図示の回路が形成されている。 The LED line head portion 24 is arranged so as to face the peripheral surface of the photoconductor 22. The LED line head portion 24 includes a printed circuit board 40, a plurality of LED chips 42 mounted on the surface of the printed circuit board 40 and arranged along the main scanning direction in the rotation axis direction of the photoconductor 22, and a lens array 41. Have. The printed circuit board 40 is formed with a circuit (not shown) for supplying various signals for controlling the drive of the LED line head unit 24.

各LEDチップ42は、図4に示すように、サイズが等しいLED43を、主走査方向に沿ってライン状に等間隔で多数(例えば、512個)配置して構成される。すなわち、複数の発光素子であるLED43は、感光体22の回転軸線方向に沿って配列される。なお、複数のLEDチップ42は、主走査方向に沿う方向で、例えば1列に配置される発光素子列や、主走査方向の端部のLED43が主走査方向に直交する副走査方向で重なるような2列の千鳥配置となる発光素子列であってもよい。図4では、複数のLEDチップ42は、主走査方向の端部の2つのLED43が副走査方向で重なった状態で配置されている。LEDチップ42として、例えば、自己走査型LED(SLED:Self−scanningLED)アレイチップを使用するものとするが、これに限定されない。LEDチップ42は、主走査方向に沿う方向にLEDや有機EL素子などの発光素子を配列した発光素子アレイとすることも可能である。 As shown in FIG. 4, each LED chip 42 is configured by arranging a large number (for example, 512) of LEDs 43 having the same size in a line along the main scanning direction at equal intervals. That is, the LED 43, which is a plurality of light emitting elements, is arranged along the rotation axis direction of the photoconductor 22. The plurality of LED chips 42 are overlapped in a direction along the main scanning direction, for example, a row of light emitting elements arranged in one row and an LED 43 at an end in the main scanning direction are overlapped in a sub-scanning direction orthogonal to the main scanning direction. It may be a row of light emitting elements having a staggered arrangement of two rows. In FIG. 4, the plurality of LED chips 42 are arranged in a state in which two LEDs 43 at the ends in the main scanning direction overlap each other in the sub scanning direction. As the LED chip 42, for example, a self-scanning LED (SLED: Self-scanning LED) array chip is used, but the LED chip 42 is not limited thereto. The LED chip 42 can also be a light emitting element array in which light emitting elements such as LEDs and organic EL elements are arranged in a direction along the main scanning direction.

レンズアレイ41は、LEDチップ42と感光体22との間に配置されて結像レンズとして機能するデバイスである。レンズアレイ41は、LED屈折率分布型のロッドレンズ41aが、例えば、解像度に応じた各画素に対応したピッチで配列されており、各LED43から出射された光ビームを感光体22に結像させる。 The lens array 41 is a device that is arranged between the LED chip 42 and the photoconductor 22 and functions as an imaging lens. In the lens array 41, LED refractive index distribution type rod lenses 41a are arranged at a pitch corresponding to each pixel according to the resolution, for example, and the light beam emitted from each LED 43 is imaged on the photoconductor 22. ..

このように、LEDラインヘッド部24は、主走査方向に並べられた多数のLED43を有する。各LED43では、主走査方向に沿う方向で隣接するLEDの中心間の距離は、それぞれ約21.15μmに設定される。したがって、LEDラインヘッド部24は、主走査方向の出力解像度(第1の解像度)が1200dpi(dot per inch)となっている。 As described above, the LED line head portion 24 has a large number of LEDs 43 arranged in the main scanning direction. In each LED 43, the distance between the centers of adjacent LEDs in the direction along the main scanning direction is set to about 21.15 μm. Therefore, the LED line head unit 24 has an output resolution (first resolution) of 1200 dpi (dot per inch) in the main scanning direction.

<主走査方向の変倍処理>
次に、LEDラインヘッド部24における主走査方向の変倍処理を説明する。
<Variable magnification processing in the main scanning direction>
Next, the scaling process in the main scanning direction of the LED line head unit 24 will be described.

LEDチップ42や不図示の駆動ICの発熱、及び、定着装置などからの熱でプリント基板40が熱膨張して主走査方向で位置ずれが生じ、主走査方向(LEDチップ42のLED43の配列方向)の倍率が色毎に変化することがある。主走査方向の倍率の変化に起因した画質劣化を抑制するため、主走査方向における倍率の変化を補正する必要が生じる。 The printed circuit board 40 thermally expands due to the heat generated by the LED chip 42 and the drive IC (not shown) and the heat from the fixing device, etc., causing a positional shift in the main scanning direction, and the main scanning direction (the arrangement direction of the LEDs 43 of the LED chip 42). ) May change for each color. In order to suppress the deterioration of image quality due to the change in the magnification in the main scanning direction, it is necessary to correct the change in the magnification in the main scanning direction.

なお、以下、主走査方向における倍率の変化の補正を単に「変倍処理」と表記する。 Hereinafter, the correction of the change in the magnification in the main scanning direction is simply referred to as “magnification processing”.

<画像処理部102の処理詳細>
次に、図1を用いて、カラー画像形成装置における画像処理部102の処理について、詳細に説明する。
<Processing details of image processing unit 102>
Next, the processing of the image processing unit 102 in the color image forming apparatus will be described in detail with reference to FIG.

画像処理部102は、画像生成部104、色変換処理部105、記憶部106、拡大処理部107、HT処理部108、変倍処理部109、主走査解像度変換部110、記憶部111、PWM部113、CPU201、RAM202、ROM203を有する。画像処理部102の各構成要素は、各部をつなぐシステムバスである内部バス204によって相互に接続される。 The image processing unit 102 includes an image generation unit 104, a color conversion processing unit 105, a storage unit 106, an enlargement processing unit 107, an HT processing unit 108, a scaling processing unit 109, a main scanning resolution conversion unit 110, a storage unit 111, and a PWM unit. It has 113, a CPU 201, a RAM 202, and a ROM 203. Each component of the image processing unit 102 is connected to each other by an internal bus 204, which is a system bus connecting the units.

CPU(Central Processing Unit)201は、RAM202やROM203に格納されているプログラムやデータを用いて画像処理部102全体の制御を行う。 The CPU (Central Processing Unit) 201 controls the entire image processing unit 102 using programs and data stored in the RAM 202 and the ROM 203.

RAM(Random Access Memory)202は、CPU201が各種の処理を実行する際に用いるワークエリアを備える。 The RAM (Random Access Memory) 202 includes a work area used by the CPU 201 to execute various processes.

ROM(Read Only Memory)203は、後述の各種処理をCPU201に実行させるためのプログラムやデータ、また、画像処理部102の設定データなどが格納される。 The ROM (Read Only Memory) 203 stores programs and data for causing the CPU 201 to execute various processes described later, setting data of the image processing unit 102, and the like.

図1に示す画像処理部102の各部104〜111、113の一部もしくは全部は、専用のハードウェアによって実現することができる。あるいは、各部104〜111、113の一部もしくは全部は、ROM203に記憶されたプログラムをCPU201がRAM202に展開し、実行することで実現できる。 Part or all of each of the parts 104 to 111 and 113 of the image processing unit 102 shown in FIG. 1 can be realized by dedicated hardware. Alternatively, a part or all of the parts 104 to 111 and 113 can be realized by the CPU 201 expanding the program stored in the ROM 203 into the RAM 202 and executing the program.

画像生成部104は、不図示のコンピュータ装置等から受信する印刷データを基に、印刷処理が可能なラスターイメージデータを生成し、RGBデータとして画素毎に出力する。なお、画像生成部104は、コンピュータ装置等から受信した画像データではなく、カラー画像形成装置の内部に設けられた読取装置を有し、カラー画像形成装置内部の読取装置によって記録媒体表面を読み取って得た画像データを扱う構成としてもよい。読取装置は、例えば、CCD(Chaerged Couple Device)またはCIS(Contact Image sensor)を含む機器であり、読み取った画像データに対して所定の画像処理を行う処理部を併せてもつ機器であってもよい。また、読取装置をカラー画像形成装置内部に構成せず、不図示のインターフェースを介して、カラー画像形成装置外部の読取装置からデータを受け取るように構成してもよい。本実施形態では、前記画像データの解像度は600dpi×600dpiである場合を例にして説明する。ただし、画像データの解像度はこれに限定されるものではなく、画像データの解像度は、1200dpi×1200dpiでもよいし2400dpi×2400dpiでもよい。 The image generation unit 104 generates raster image data that can be printed based on print data received from a computer device (not shown) or the like, and outputs it as RGB data for each pixel. The image generation unit 104 has a reading device provided inside the color image forming device instead of the image data received from a computer device or the like, and reads the surface of the recording medium by the reading device inside the color image forming device. The configuration may be such that the obtained image data is handled. The reading device is, for example, a device including a CCD (Chaerged Couple Device) or a CIS (Control Image sensor), and may be a device having a processing unit that performs predetermined image processing on the read image data. .. Further, the reading device may not be configured inside the color image forming device, but may be configured to receive data from a reading device outside the color image forming device via an interface (not shown). In the present embodiment, the case where the resolution of the image data is 600 dpi × 600 dpi will be described as an example. However, the resolution of the image data is not limited to this, and the resolution of the image data may be 1200 dpi × 1200 dpi or 2400 dpi × 2400 dpi.

色変換処理部105は、前記RGBデータを画像形成部101のトナー色にあわせてCMYKデータに変換し、このCMKYデータを記憶部106へ格納する。 The color conversion processing unit 105 converts the RGB data into CMYK data according to the toner color of the image forming unit 101, and stores the CMYK data in the storage unit 106.

記憶部106は、画像処理部102が有する第1の記憶部であり、印刷処理を行うラスターイメージデータを一旦格納するものである。なお、記憶部106は、1ページ分のイメージデータを格納するページメモリとして用いてもよいし、複数ライン分のデータを記憶するバンドメモリとして用いてもよい。なお、記憶部106に格納されたデータは、拡大処理部107、HT処理部108、変倍処理部109、主走査解像度変換部110からの命令に従い、ページ単位またはライン単位で記憶部106から読み出され各処理部にて処理される。 The storage unit 106 is a first storage unit included in the image processing unit 102, and temporarily stores raster image data to be printed. The storage unit 106 may be used as a page memory for storing image data for one page, or may be used as a band memory for storing data for a plurality of lines. The data stored in the storage unit 106 is read from the storage unit 106 in page units or line units in accordance with instructions from the enlargement processing unit 107, the HT processing unit 108, the scaling processing unit 109, and the main scanning resolution conversion unit 110. It is taken out and processed by each processing unit.

拡大処理部107は、600dpi×600dpiのCMYKデータを2400dpi×2400dpiのCMYKデータに単純拡大を行う。拡大処理部107は、例えば、解像度が600dpi×600dpiであり、8bit(256階調)のCMYKデータを解像度が2400dpi×2400dpiであり、8bit(256階調)のCMYKデータに単純拡大する処理を実行する。 The enlargement processing unit 107 simply enlarges the CMYK data of 600 dpi × 600 dpi to the CMYK data of 2400 dpi × 2400 dpi. The enlargement processing unit 107 executes, for example, a process of simply enlarging CMYK data having a resolution of 600 dpi × 600 dpi and 8 bits (256 gradations) into CMYK data having a resolution of 2400 dpi × 2400 dpi and 8 bits (256 gradations). To do.

HT処理部108は、拡大処理部107で拡大された各色の画像データ(例えば8ビット256階調画像)に対して、ハーフトーニング処理により入力の階調をディザ法に代表されるような擬似中間調(例えば2階調)表現への変換を行う。HT処理部108は、例えば、解像度が2400dpi×2400dpiであり、8bit(256階調)のCMYKデータに対してハーフトーニング処理を実行して、解像度が2400dpi×2400dpiであり、1bit(2階調)のデータに変換する。 The HT processing unit 108 performs a half toning process on the image data of each color (for example, an 8-bit 256 gradation image) enlarged by the enlargement processing unit 107, and sets the input gradation to a pseudo intermediate as represented by the dither method. Conversion to a key (for example, two gradations) expression is performed. For example, the HT processing unit 108 executes half toning processing on CMYK data having a resolution of 2400 dpi × 2400 dpi and 8 bits (256 gradations), and has a resolution of 2400 dpi × 2400 dpi and 1 bit (2 gradations). Convert to the data of.

変倍処理部109は、補正する変倍率に応じて、入力された画像データに対して変倍処理を実行する。ここで実行される変倍処理は前述した、主走査方向における倍率の変化の補正処理である。詳細については後述する。変倍処理部109は、少なくとも、変倍率99.00%から101.00%の間で変倍処理を実行する。拡大倍率は、100.00%〜101.00%である。縮小倍率は、99.00%〜100.00%である。拡大倍率および縮小倍率はいずれも、例えば0.01%刻みで設定可能である。 The scaling processing unit 109 executes scaling processing on the input image data according to the scaling factor to be corrected. The scaling process executed here is the above-mentioned correction process for changing the magnification in the main scanning direction. Details will be described later. The scaling processing unit 109 executes the scaling processing at least between 99.00% and 101.00%. The magnification is 100.00% to 101.00%. The reduction ratio is 99.00% to 100.00%. Both the enlargement ratio and the reduction ratio can be set in increments of 0.01%, for example.

主走査解像度変換部(以下、解像度変換部という)110は、変倍処理部109から入力された画像データにおける主走査方向の解像度(2400dpi)をLEDラインヘッド部24のLED43の配置間隔に相当する解像度(1200dpi)に変換する。このとき、主走査方向の解像度が2400dpiであり、1bit(2階調)の2画素データから、主走査方向の解像度が1200dpiであり、2bit(4階調)の1画素データを生成する。例えば、2画素がともに白である場合、解像度変換部110は、1200dpiの1画素データの画素値を0に変換する。2画素の内、1つでも黒画素がある場合、解像度変換部110は、1200dpiの1画素データの画素値を1に変換する。2画素がともに黒画素である場合、1200dpiの1画素データの画素値を2に変換する。変換方法は、これに限定されず、隣接画素との平均や論理和を導出し、導出結果に変換してもよい。 The main scanning resolution conversion unit (hereinafter referred to as resolution conversion unit) 110 corresponds to the resolution (2400 dpi) in the main scanning direction of the image data input from the scaling processing unit 109 to the arrangement interval of the LEDs 43 of the LED line head unit 24. Convert to resolution (1200 dpi). At this time, the resolution in the main scanning direction is 2400 dpi, and the resolution in the main scanning direction is 1200 dpi, and the 1-pixel data of 2 bits (4 gradations) is generated from the 2-pixel data of 1 bit (2 gradations). For example, when both pixels are white, the resolution conversion unit 110 converts the pixel value of one pixel data of 1200 dpi to 0. When even one of the two pixels has a black pixel, the resolution conversion unit 110 converts the pixel value of one pixel data of 1200 dpi to 1. When both of the two pixels are black pixels, the pixel value of the 1200 dpi 1-pixel data is converted to 2. The conversion method is not limited to this, and the average or the logical sum with the adjacent pixels may be derived and converted into the derived result.

記憶部111は、画像処理部102が有する第2の記憶部であり、解像度変換部110によって主走査方向での解像度の変換処理が行われた画像データを記憶する。 The storage unit 111 is a second storage unit included in the image processing unit 102, and stores image data that has undergone resolution conversion processing in the main scanning direction by the resolution conversion unit 110.

パルス幅変調(PWM:Pulse Width Modulation)部113は、記憶部111から読み出された色毎の画像データに対して、各色に対応したLEDラインヘッド部24の露光時間を示す信号へ変換する。PWM部113で生成された変換後の画像データである露光時間の信号は、CMYKの各色に対応した、画像形成部101のLEDラインヘッド部24に対して出力される。 The pulse width modulation (PWM) unit 113 converts the image data for each color read from the storage unit 111 into a signal indicating the exposure time of the LED line head unit 24 corresponding to each color. The exposure time signal, which is the converted image data generated by the PWM unit 113, is output to the LED line head unit 24 of the image forming unit 101 corresponding to each color of CMYK.

LEDラインヘッド部24では、パルス幅変調された露光時間の信号に基づいてLED43を発光させ、感光体22に対して露光する。 The LED line head unit 24 causes the LED 43 to emit light based on the pulse width-modulated exposure time signal, and exposes the photoconductor 22 to light.

温度センサ116は、LEDラインヘッド部24内あるいはLEDラインヘッド部24近傍の温度を測定する。温度センサ116として、例えば、サーミスタが用いられる。温度センサ116による測定で得た測定データは、アナログデータとして画像処理部102に出力される。画像処理部102では、測定データがA/D変換され、変換結果としてLEDラインヘッド部24内の温度がデジタルデータ(以下、温度データともいう)として認識される。画像処理部102は、温度データを基に変倍率を導出する。なお、変倍率の導出方法の詳細は後述する。 The temperature sensor 116 measures the temperature inside the LED line head portion 24 or in the vicinity of the LED line head portion 24. As the temperature sensor 116, for example, a thermistor is used. The measurement data obtained by the measurement by the temperature sensor 116 is output to the image processing unit 102 as analog data. In the image processing unit 102, the measurement data is A / D converted, and as a result of the conversion, the temperature inside the LED line head unit 24 is recognized as digital data (hereinafter, also referred to as temperature data). The image processing unit 102 derives the variable magnification based on the temperature data. The details of the method for deriving the variable magnification will be described later.

本実施形態では、温度センサで得た測定データを基にした温度データから変倍率を導出するとしたが、変倍率の導出方法は、これに限定されない。例えば、画像形成装置101から補正用のパッチを出力し、出力したパッチにて色間のずれ量を計測し、計測結果を基に変倍率を導出してもよい。 In the present embodiment, the variable magnification is derived from the temperature data based on the measurement data obtained by the temperature sensor, but the method for deriving the variable magnification is not limited to this. For example, a correction patch may be output from the image forming apparatus 101, the amount of deviation between colors may be measured by the output patch, and the variable magnification may be derived based on the measurement result.

<変倍率の導出方法>
次に、温度データから変倍率を導出する方法について説明する。
<Driving method of variable magnification>
Next, a method of deriving the variable magnification from the temperature data will be described.

先ず、本実施形態の画像形成装置で印刷可能な最大紙サイズは、A3(297mm×420mm)であり、最大の主走査方向の長さは297mmであるとする。本実施形態では、最大紙サイズのA3を通紙しても、奥側と手前側にそれぞれ16.5mm画像領域外となる構成であるとする。すなわち、パターンが作成可能な主走査方向の長さは330mmであるとする。 First, it is assumed that the maximum paper size that can be printed by the image forming apparatus of the present embodiment is A3 (297 mm × 420 mm), and the maximum length in the main scanning direction is 297 mm. In the present embodiment, it is assumed that even if the maximum paper size A3 is passed through, the back side and the front side are each outside the 16.5 mm image area. That is, it is assumed that the length in the main scanning direction in which the pattern can be created is 330 mm.

LEDラインヘッド部24のプリント基板40が一般的な基板の材質であるガラスエポキシである場合、ガラスエポキシの線膨張係数は、約20[10-6/℃]である。本実施形態では、線膨張係数αが20×10-6/℃である場合を例にして説明する。 When the printed circuit board 40 of the LED line head portion 24 is glass epoxy, which is a general substrate material, the coefficient of linear expansion of the glass epoxy is about 20 [10 -6 / ° C]. In this embodiment, a case where the coefficient of linear expansion α is 20 × 10 -6 / ° C. will be described as an example.

プリント基板40の熱膨張量は、線膨張係数と温度変化量と長さとの関係式である以下の式(1)に基づき導出できる。一例としてプリント基板40の長さが330mmであり温度が20℃上昇した場合、式(1)は、以下の式(2)のように表せる。
熱膨張量=線膨張係数 ×温度変化量×長さ(mm)×μm換算・・・(1)
熱膨張量=(20×10-6)×20 ×330 ×103 ・・・(2)
=132μm
The amount of thermal expansion of the printed circuit board 40 can be derived based on the following equation (1), which is a relational expression between the coefficient of linear expansion, the amount of temperature change, and the length. As an example, when the length of the printed circuit board 40 is 330 mm and the temperature rises by 20 ° C., the formula (1) can be expressed as the following formula (2).
Thermal expansion = linear expansion coefficient x temperature change x length (mm) x μm conversion ... (1)
Coefficient of thermal expansion = (20 x 10 -6 ) x 20 x 330 x 10 3 ... (2)
= 132 μm

上述の式(2)に基づき、プリント基板40の熱膨張量として、132μmが導出される。 Based on the above formula (2), 132 μm is derived as the amount of thermal expansion of the printed circuit board 40.

膨張率は、熱膨張量と基板の長さの関係式である以下の式(3)に基づき導出できる。熱膨張量が132×10-6であり、基板の長さが330である場合、式(3)は、以下の式(4)のように表せる。
膨張率=(熱膨張量 /基板の長さ)×100 ・・・(3)
膨張率=(132×10-6/330) ×100 ・・・(4)
=0.04(%)
The coefficient of expansion can be derived based on the following equation (3), which is a relational expression between the amount of thermal expansion and the length of the substrate. When the amount of thermal expansion is 132 × 10 -6 and the length of the substrate is 330, the equation (3) can be expressed as the following equation (4).
Expansion rate = (thermal expansion amount / substrate length) x 100 ... (3)
Expansion rate = (132 x 10 -6/330 ) x 100 ... (4)
= 0.04 (%)

上述の式(4)に基づき、プリント基板40の熱膨率として、0.04%が導出される。 Based on the above formula (4), 0.04% is derived as the thermal expansion coefficient of the printed circuit board 40.

従って、温度が20℃上昇した場合の膨張率は、0.04%となるので、0.04%の変倍率での補正が必要となる。 Therefore, since the expansion coefficient when the temperature rises by 20 ° C. is 0.04%, it is necessary to correct it at a variable magnification of 0.04%.

CPU201は、温度データを基に膨張率(変倍率)を導出し、変倍率を変倍処理部109に通知する。 The CPU 201 derives the expansion coefficient (variable magnification) based on the temperature data, and notifies the variable magnification processing unit 109 of the variable magnification.

<変倍処理のフローチャート>
図5は、本実施形態における変倍処理の流れを示すフローチャートである。図5に示す処理は、CPU201が、ROM203内に格納された制御プログラムを読み込んでRAM202に展開し、これをCPU201が実行することで実現される。あるいはまた、図5におけるステップの一部または全部の機能をASICまたは電子回路等のハードウェアで実現してもよい。なお、記憶部106には、HT処理部108で得られたHT処理後のデータが格納されているとする。各処理の説明における記号「S」は、当該フローチャートにおけるステップであることを意味する(本明細書において同様である)。以下、図1と図5とを用いて説明する。
<Flowchart of variable magnification processing>
FIG. 5 is a flowchart showing the flow of the scaling process in the present embodiment. The process shown in FIG. 5 is realized by the CPU 201 reading the control program stored in the ROM 203, expanding it into the RAM 202, and executing this by the CPU 201. Alternatively, some or all of the functions of the steps in FIG. 5 may be realized by hardware such as an ASIC or an electronic circuit. It is assumed that the storage unit 106 stores the data after the HT processing obtained by the HT processing unit 108. The symbol "S" in the description of each process means that it is a step in the flowchart (the same applies in the present specification). Hereinafter, a description will be given with reference to FIGS. 1 and 5.

先ず、S501において、変倍処理部109は、パラメータの初期化処理を実行する。パラメータの初期化処理とは、変倍処理前後のハーフトーン画像の座標位置を表すパラメータxi、yi、xo、yoのリセットを行い、パラメータxi、yi、xo、yoのそれぞれを0にすることである。なお、パラメータxoは、変倍処理後のハーフトーン画像面内の主走査方向の座標位置を表すもので、以降の説明にて主走査位置xoと表現される。パラメータyoについてもパラメータxoと同様であり、パラメータyoは、変倍処理後のハーフトーン画像面内の副走査方向の座標位置を表すものであり、以降の説明にて副走査位置yoと表現される。パラメータxiは、変倍処理前のハーフトーン画像面内の主走査方向の座標位置を表すもので、以降の説明にて主走査位置xiと表現される。パラメータyiについても、パラメータxiと同様であり、パラメータyiは、変倍処理前のハーフトーン画像面内の副走査方向の座標位置を表すものであり、以降の説明にて副走査位置yiと表現される。また、変倍処理部109は、処理対象である1ページ分の画像データに関し、CPU201が入力画像データと変倍率とを基に導出した主走査方向の出力サイズ(主走査出力サイズともいう)を取得する。変倍処理部109は、CPU201が入力画像データから導出した副走査方向の出力サイズ(副走査出力サイズともいう)を取得する。 First, in S501, the scaling processing unit 109 executes the parameter initialization processing. The parameter initialization process resets the parameters xi, yi, xo, and yo that represent the coordinate positions of the halftone image before and after the scaling process, and sets each of the parameters xi, yi, xo, and yo to 0. is there. The parameter xo represents the coordinate position in the main scanning direction in the halftone image plane after the scaling process, and is expressed as the main scanning position xo in the following description. The parameter yo is the same as the parameter xo, and the parameter yo represents the coordinate position in the sub-scanning direction in the halftone image plane after the scaling process, and is expressed as the sub-scanning position yo in the following description. To. The parameter xi represents the coordinate position in the main scanning direction in the halftone image plane before the scaling process, and is expressed as the main scanning position xi in the following description. The parameter yi is the same as the parameter xi, and the parameter yi represents the coordinate position in the sub-scanning direction in the halftone image plane before the scaling process, and is expressed as the sub-scanning position y in the following description. Will be done. Further, the scaling processing unit 109 determines the output size in the main scanning direction (also referred to as the main scanning output size) derived by the CPU 201 based on the input image data and the variable magnification with respect to the image data for one page to be processed. get. The variable magnification processing unit 109 acquires the output size in the sub-scanning direction (also referred to as the sub-scanning output size) derived from the input image data by the CPU 201.

S502において、変倍処理部109は、挿抜位置決定処理を実行する。挿抜位置決定処理の詳細について、図6、図7および図8を用いて説明する。S502における挿抜位置決定処理の詳細なフローについて、比較例に関し図6に示し、本実施形態に関し図7に示している。挿抜位置決定処理を実行することで、注目のラインにおける挿抜位置を決定する。 In S502, the scaling processing unit 109 executes the insertion / removal position determination process. The details of the insertion / removal position determination process will be described with reference to FIGS. 6, 7, and 8. The detailed flow of the insertion / removal position determination process in S502 is shown in FIG. 6 for a comparative example and in FIG. 7 for the present embodiment. By executing the insertion / removal position determination process, the insertion / extraction position in the line of interest is determined.

<比較例の挿抜位置決定処理のフローチャート>
続いて、図6および図8を用いて、比較例の挿抜位置決定処理(S502)の詳細を説明する。図6は、比較例の挿抜位置決定処理の流れを示したフローチャートである。図8は、挿抜位置決定処理により決定した、挿抜処理対象となる挿抜位置の説明図である。図8(a)は、比較例の挿抜位置決定処理により決定した挿抜位置の説明図である。比較例の挿抜位置決定処理では、奇数番目および偶数番目の挿抜位置に関わらず、全ての挿抜位置について同じ方法で決定される。図8(a)において、斜線で塗られた座標は、挿抜位置を表している。なお、図8(b)は、本実施形態の挿抜位置決定処理により決定した挿抜位置の説明図である。本実施形態の挿抜位置決定処理の詳細については後述する。
<Flowchart of insertion / removal position determination process of comparative example>
Subsequently, the details of the insertion / removal position determination process (S502) of the comparative example will be described with reference to FIGS. 6 and 8. FIG. 6 is a flowchart showing the flow of the insertion / removal position determination process of the comparative example. FIG. 8 is an explanatory diagram of an insertion / extraction position to be an insertion / extraction process, which is determined by the insertion / extraction position determination process. FIG. 8A is an explanatory diagram of the insertion / extraction position determined by the insertion / extraction position determination process of the comparative example. In the insertion / extraction position determination process of the comparative example, all the insertion / extraction positions are determined by the same method regardless of the odd-numbered and even-numbered insertion / extraction positions. In FIG. 8A, the coordinates painted with diagonal lines represent the insertion / extraction positions. Note that FIG. 8B is an explanatory diagram of the insertion / extraction position determined by the insertion / extraction position determination process of the present embodiment. The details of the insertion / removal position determination process of this embodiment will be described later.

先ず、S601において、変倍処理部109は、CPU201からの通知により設定された変倍率を基に挿抜周期Lおよび挿抜回数INを導出する。挿抜周期Lとは、後述の挿抜座標を決定するための基準となる区間を示している。挿抜周期Lは、倍率との関係式である以下の式(5)に基づき導出できる。ここでは、10%の倍率の補正を行う場合について説明する。倍率が0.1である場合、式(5)は、以下の式(6)のように表せる。
挿抜周期L=1/倍率 ・・・(5)
挿抜周期L=1/0.1 ・・・(6)
=10(画素)
First, in S601, the scaling processing unit 109 derives the insertion / extraction cycle L and the number of insertion / extraction IN based on the scaling set by the notification from the CPU 201. The insertion / extraction period L indicates a section that serves as a reference for determining the insertion / extraction coordinates described later. The insertion / removal period L can be derived based on the following equation (5), which is a relational expression with the magnification. Here, a case where the correction of the magnification of 10% is performed will be described. When the magnification is 0.1, the equation (5) can be expressed as the following equation (6).
Insertion / extraction cycle L = 1 / magnification ・ ・ ・ (5)
Insertion / extraction cycle L = 1 / 0.1 ... (6)
= 10 (pixels)

上述の式(6)に基づき、挿抜周期Lとして10画素が導出される。 Based on the above equation (6), 10 pixels are derived as the insertion / extraction period L.

次に、変倍処理部109は、上述の式(5)に基づき導出した挿抜周期Lと、処理対象の1ページ分の画像データにおける主走査方向の画素数とを用いて挿抜回数INを導出する。挿抜回数INは、挿抜周期と主走査方向の画素数との関係式である以下の式(7)に基づき導出できる。ここで、図8(a)に示すように、比較例では、主走査方向の画素数が48画素の画像である場合について説明する。主走査方向の画素数が48であり、挿抜周期Lが10(画素)である場合、式(7)は、以下の式(8)のように表せる。
挿抜回数IN=主走査方向の画素数/挿抜周期L ・・・(7)
挿抜回数IN=48 /10 ・・・(8)
=4(回)
Next, the scaling processing unit 109 derives the number of insertions / extractions IN by using the insertion / extraction period L derived based on the above equation (5) and the number of pixels in the main scanning direction in the image data for one page to be processed. To do. The number of insertions / extractions IN can be derived based on the following equation (7), which is a relational expression between the insertion / extraction period and the number of pixels in the main scanning direction. Here, as shown in FIG. 8A, in the comparative example, a case where the number of pixels in the main scanning direction is 48 pixels will be described. When the number of pixels in the main scanning direction is 48 and the insertion / extraction period L is 10 (pixels), the equation (7) can be expressed as the following equation (8).
Number of insertions / extractions IN = number of pixels in the main scanning direction / insertion / extraction period L ... (7)
Number of insertions and removals IN = 48/10 ・ ・ ・ (8)
= 4 (times)

上述の式(8)に基づき、挿抜回数INとして、4回が導出される。つまり、挿抜周期Lを10(画素)とした場合、主走査方向にて画素数が48個の画像に対して、挿抜処理を4回実行することとなる。 Based on the above equation (8), 4 times are derived as the number of insertions / removals IN. That is, when the insertion / extraction period L is 10 (pixels), the insertion / extraction process is executed four times for an image having 48 pixels in the main scanning direction.

S602において、変倍処理部109は、パラメータiを初期化する。このパラメータiは、主走査方向において、上流側(図8(a)にて左側)から順に挿抜位置に割り当てた番号である。すなわち、パラメータi=1は主走査方向上流側から1番目の挿抜位置を示し、パラメータi=2、…、nはそれぞれ1番目、…、(n−1)番目の挿抜位置の次に挿抜処理が行わる、主走査方向上流側から2番目、…、n番目の挿抜位置を示している。nは自然数である。主走査方向にて最後の挿抜位置であるn番目は、S601で導出した挿抜回数INに対応する。 In S602, the scaling processing unit 109 initializes the parameter i. This parameter i is a number assigned to the insertion / extraction position in order from the upstream side (left side in FIG. 8A) in the main scanning direction. That is, the parameter i = 1 indicates the first insertion / extraction position from the upstream side in the main scanning direction, and the parameters i = 2, ..., N are the first, ..., (N-1) th insertion / extraction processing, respectively. Indicates the second, ..., Nth insertion / extraction positions from the upstream side in the main scanning direction. n is a natural number. The nth position, which is the last insertion / extraction position in the main scanning direction, corresponds to the number of insertions / extractions IN derived in S601.

S603において、変倍処理部109は、挿抜座標の基準となる座標である基本挿抜座標basepos[i]を決定する。基本挿抜座標basepos[i]は、挿抜周期Lに(i−1)を乗算し、予め設定された主走査方向の挿抜開始位置を示す挿抜開始座標STを加算することで決定される。すなわち、基本挿抜座標basepos[i]は、挿抜周期Lと(i−1)と挿抜開始座標STとの関係式である以下の式(9)に基づき導出できる。パラメータiが1であり、挿抜開始座標STが3である場合、式(9)は、以下の式(10)のように表せる。
basepos[i]=(挿抜周期L×(i−1))+挿抜開始座標ST ・・・(9)
basepos[1]=(10 ×(1−1))+3 ・・・(10)
=3
In S603, the scaling processing unit 109 determines the basic insertion / extraction coordinates basepos [i], which are the coordinates that serve as the reference for the insertion / extraction coordinates. The basic insertion / extraction coordinates basepos [i] are determined by multiplying the insertion / extraction period L by (i-1) and adding the insertion / extraction start coordinates ST indicating the insertion / extraction start position in the main scanning direction set in advance. That is, the basic insertion / extraction coordinates basepos [i] can be derived based on the following equation (9), which is a relational expression between the insertion / extraction period L, (i-1), and the insertion / extraction start coordinate ST. When the parameter i is 1 and the insertion / extraction start coordinate ST is 3, the equation (9) can be expressed as the following equation (10).
basepos [i] = (insertion / extraction period L × (i-1)) + insertion / extraction start coordinates ST ・ ・ ・ (9)
basepos [1] = (10 x (1-1)) +3 ... (10)
= 3

上述の式(10)に基づき、パラメータiが1であるときの基本挿抜座標basepos[1]として、3が導出される。 Based on the above equation (10), 3 is derived as the basic hot-swap coordinates basepos [1] when the parameter i is 1.

図8(a)に示すように、基本挿抜座標basepos[1]を3とする。 As shown in FIG. 8A, the basic hot-swap coordinate basepos [1] is set to 3.

S604において、変倍処理部109は、パラメータiに対応する乱数rand[i]を発生させる。乱数列の生成手法については、ボックス・ミュラー法などの公知の手法を用いればよい。なお、変倍処理部109の乱数列の生成手法は、比較例を限定するものではない。 In S604, the scaling processing unit 109 generates a random number random [i] corresponding to the parameter i. As a method for generating a random number sequence, a known method such as the Box-Muller method may be used. The method for generating the random number sequence of the scaling processing unit 109 is not limited to the comparative example.

S605において、変倍処理部109は、S603で決定した基本挿抜座標basepos[i]とS604で発生した乱数rand[i]とを基に、パラメータiに対応する挿抜座標fixpos[i]を導出する。挿抜座標fixpos[i]は、基本挿抜座標basepos[i]に乱数rand[i]を加算することで導出される。すなわち、挿抜座標fixpos[i]は、基本挿抜座標basepos[i]と乱数rand[i]との関係式である以下の式(11)に基づき導出できる。基本挿抜座標basepos[1]が3であり、rand[1]が3である場合、式(11)は、以下の式(12)のように表せる。
挿抜座標fixpos[i]=basepos[i]+rand[i] ・・・(11)
挿抜座標fixpos[1]=basepos[1]+rand[1] ・・・(12)
=3 +3
=6
In S605, the scaling processing unit 109 derives the insertion / extraction coordinates fixpos [i] corresponding to the parameter i based on the basic insertion / extraction coordinates basepos [i] determined in S603 and the random number land [i] generated in S604. .. The insertion / extraction coordinates fixpos [i] are derived by adding the random number random [i] to the basic insertion / extraction coordinates basepos [i]. That is, the insertion / extraction coordinates fixpos [i] can be derived based on the following equation (11), which is a relational expression between the basic insertion / extraction coordinates basepos [i] and the random number random [i]. When the basic hot-swap coordinates basepos [1] are 3 and the random [1] is 3, the equation (11) can be expressed as the following equation (12).
Insertion / extraction coordinates fixpos [i] = basepos [i] + land [i] ... (11)
Insertion / extraction coordinates fixpos [1] = basepos [1] + land [1] ... (12)
= 3 +3
= 6

上述の式(12)に基づき、挿抜座標fixpos[1]として、6が導出される。 Based on the above equation (12), 6 is derived as the insertion / extraction coordinates fixpos [1].

よって、図8(a)に示すように、挿抜座標fixpos[1]を6とする。 Therefore, as shown in FIG. 8A, the insertion / extraction coordinate fixpos [1] is set to 6.

S606において、変倍処理部109は、パラメータiが挿抜回数INと等しいかどうかを判定する。変倍処理部109は、パラメータiが挿抜回数INと等しくないとの判定結果を得た場合(S606のNO)、未だ挿抜座標が決定していない挿抜座標fixpos[i]が存在すると判断して、処理をS607へ移行する。S607にて、パラメータiに1を加算する処理を実行する。変倍処理部109は、加算処理を実行した後、処理をS603へ移行する。S603にて、変倍処理部109は、加算処理前のパラメータに対応する挿抜位置に続く、加算処理後のパラメータに対応する挿抜位置の導出処理を実行する。他方、変倍処理部109は、パラメータiが挿抜回数INと等しいとの判定結果を得た場合(S606のYES)、全ての挿抜座標fixpos[i]が決定されたと判断して、本フローを終了する。すなわち、変倍処理部109は、パラメータiが挿抜回数INと等しくなるまで、各パラメータiに対応する挿抜座標fixpos[i]を導出するための一連の処理(S603〜S607)を実行する。 In S606, the scaling processing unit 109 determines whether the parameter i is equal to the number of insertions / extractions IN. When the variable magnification processing unit 109 obtains a determination result that the parameter i is not equal to the number of insertion / extraction IN (NO in S606), the variable magnification processing unit 109 determines that there is an insertion / extraction coordinate fixpos [i] for which the insertion / extraction coordinate has not yet been determined. , The process shifts to S607. In S607, the process of adding 1 to the parameter i is executed. After executing the addition process, the variable magnification processing unit 109 shifts the process to S603. In S603, the scaling processing unit 109 executes a derivation process of the insertion / extraction position corresponding to the parameter after the addition processing, following the insertion / extraction position corresponding to the parameter before the addition processing. On the other hand, when the variable magnification processing unit 109 obtains a determination result that the parameter i is equal to the number of insertion / extraction times IN (YES in S606), the scaling processing unit 109 determines that all the insertion / extraction coordinates fixpos [i] have been determined, and performs this flow. finish. That is, the scaling processing unit 109 executes a series of processes (S603 to S607) for deriving the insertion / extraction coordinates fixpos [i] corresponding to each parameter i until the parameter i becomes equal to the number of insertion / extraction times IN.

このように、1番目から挿抜回数INに対応するn番目まで、パラメータiが示す番号順に基本挿抜座標basepos[i]と挿抜座標fixpos[i]とが導出される。 In this way, the basic insertion / extraction coordinates basepos [i] and the insertion / extraction coordinates fixpos [i] are derived in the order of the numbers indicated by the parameters i from the first to the nth corresponding to the number of insertions / extractions IN.

上述したS603の処理においてパラメータiが2である場合について説明する。パラメータiが2であり、挿抜開始座標STが3である場合、式(9)は、以下の式(13)のように表せる。
basepos[2]=(10 ×(2−1))+3 ・・・(13)
=13
The case where the parameter i is 2 in the process of S603 described above will be described. When the parameter i is 2 and the insertion / extraction start coordinate ST is 3, the equation (9) can be expressed as the following equation (13).
basepos [2] = (10 x (2-1)) +3 ... (13)
= 13

上述の式(13)に基づき、パラメータiが2であるときの基本挿抜座標basepos[2]として、13が導出される。 Based on the above equation (13), 13 is derived as the basic hot-swap coordinates basepos [2] when the parameter i is 2.

図8(a)に示すように、基本挿抜座標basepos[2]を13とする。 As shown in FIG. 8A, the basic hot-swap coordinates basepos [2] are set to 13.

上述したS605の処理においてパラメータiが2、3、4である場合について説明する。基本挿抜座標basepos[2]が13であり、rand[2]が5である場合、式(11)は、以下の式(14)のように表せる。
挿抜座標fixpos[2]=basepos[2]+rand[2] ・・・(14)
=13 +5
=18
The case where the parameters i are 2, 3 and 4 in the process of S605 described above will be described. When the basic hot-swap coordinates basepos [2] are 13 and the random [2] is 5, the equation (11) can be expressed as the following equation (14).
Insertion / extraction coordinates fixpos [2] = basepos [2] + land [2] ... (14)
= 13 + 5
= 18

上述の式(14)に基づき、2番目の挿抜座標fixpos[2]として、18が導出される。 Based on the above equation (14), 18 is derived as the second hot-swap coordinate fixpos [2].

次に、基本挿抜座標basepos[3]が23であり、rand[3]が1である場合、式(11)は、以下の式(15)のように表せる。
挿抜座標fixpos[3]=basepos[3]+rand[3] ・・・(15)
=23 +1
=24
Next, when the basic insertion / extraction coordinates basepos [3] are 23 and the random [3] is 1, the equation (11) can be expressed as the following equation (15).
Insertion / extraction coordinates fixpos [3] = basepos [3] + land [3] ... (15)
= 23 + 1
= 24

上述の式(15)に基づき、3番目の挿抜座標fixpos[3]として、24が導出される。 Based on the above equation (15), 24 is derived as the third hot-swap coordinate fixpos [3].

次に、基本挿抜座標basepos[4]が33であり、rand[4]が5である場合、式(11)は、以下の式(16)のように表せる。
挿抜座標fixpos[4]=basepos[4]+rand[4] ・・・(16)
=33 +5
=38
Next, when the basic hot-swap coordinates basepos [4] are 33 and the random [4] is 5, the equation (11) can be expressed as the following equation (16).
Hot-swap coordinates fixpos [4] = basepos [4] + land [4] ... (16)
= 33 +5
= 38

上述の式(16)に基づき、4番目の挿抜座標fixpos[4]として、38が導出される。 Based on the above equation (16), 38 is derived as the fourth hot-swap coordinate fixpos [4].

よって、図8(a)に示すように、fixpos[2]を18とし、fixpos[3]を24とし、fixpos[4]を38とする。 Therefore, as shown in FIG. 8A, fixpos [2] is set to 18, fixpos [3] is set to 24, and fixpos [4] is set to 38.

<本実施形態の挿抜位置決定処理のフローチャート>
続いて、図7および図8(b)を用いて、本実施形態の挿抜位置決定処理(S502)の詳細を説明する。図7は、本実施形態の挿抜位置決定処理の流れを示したフローチャートである。図8(b)において、斜線で塗られた座標は、挿抜位置を表している。
<Flowchart of insertion / removal position determination process of this embodiment>
Subsequently, the details of the insertion / removal position determination process (S502) of the present embodiment will be described with reference to FIGS. 7 and 8 (b). FIG. 7 is a flowchart showing the flow of the insertion / removal position determination process of the present embodiment. In FIG. 8B, the coordinates painted with diagonal lines represent the insertion / extraction positions.

本実施形態では、LEDの配置間隔に対応する解像度と同じ解像度で挿抜処理を実行すると、解像度変換処理で段差が発生してしまうという課題を解決する。また、LEDの配置間隔に対応する解像度よりも高い解像度で挿抜処理を実行すると、画像の位相がLEDの配置の位相からずれてしまうという課題も解決する。そのために、本実施形態では、偶数番目の挿抜位置を一つ前の奇数番目の挿抜位置に限りなく近づけることで、局所的には、高解像度で補正を行いながら、大局的には、LEDの配置間隔に対応する解像度と同じ解像度で挿抜処理を実施する。 In the present embodiment, if the insertion / removal process is executed at the same resolution as the resolution corresponding to the LED arrangement interval, the problem that a step is generated in the resolution conversion process is solved. Further, if the insertion / extraction process is executed at a resolution higher than the resolution corresponding to the LED arrangement interval, the problem that the phase of the image deviates from the phase of the LED arrangement is also solved. Therefore, in the present embodiment, by making the even-numbered insertion / extraction position as close as possible to the previous odd-numbered insertion / extraction position, the LED can be corrected locally with a high resolution, and the LED can be used in a broad sense. The insertion / extraction process is performed at the same resolution as the resolution corresponding to the arrangement interval.

先ず、S701において、変倍処理部109は、CPU201からの通知により設定された変倍率を基に挿抜周期Lおよび挿抜回数INを導出する。挿抜周期Lとは、後述の挿抜座標を決定するための基準となる区間を示している。すなわち、挿抜周期Lは、基準区間Lともいえる。挿抜周期Lは、比較例の場合と同様、倍率との関係式である以下の式(17)に基づき導出できる。ここでは、10%の倍率の補正を行う場合について説明する。倍率が0.1である場合、式(17)は、以下の式(18)のように表せる。
挿抜周期L=1/倍率 ・・・(17)
挿抜周期L=1/0.1 ・・・(18)
=10(画素)
First, in S701, the scaling processing unit 109 derives the insertion / extraction cycle L and the number of insertion / extraction IN based on the scaling set by the notification from the CPU 201. The insertion / extraction period L indicates a section that serves as a reference for determining the insertion / extraction coordinates described later. That is, the insertion / removal cycle L can be said to be the reference section L. The insertion / extraction period L can be derived based on the following equation (17), which is a relational expression with the magnification, as in the case of the comparative example. Here, a case where the correction of the magnification of 10% is performed will be described. When the magnification is 0.1, the equation (17) can be expressed as the following equation (18).
Insertion / extraction cycle L = 1 / magnification ・ ・ ・ (17)
Insertion / extraction cycle L = 1 / 0.1 ... (18)
= 10 (pixels)

上述の式(18)に基づき、挿抜周期Lとして10画素が導出される。式(18)の演算を行うことで、基準区間Lとして10画素が特定されるといえる。つまり、10%の倍率の補正を実行する場合、10画素に一回挿抜処理を実行することとなる。 Based on the above equation (18), 10 pixels are derived as the insertion / extraction period L. It can be said that 10 pixels are specified as the reference interval L by performing the calculation of the equation (18). That is, when the correction of the magnification of 10% is executed, the insertion / extraction process is executed once every 10 pixels.

次に、変倍処理部109は、上述の式(18)に基づき導出した挿抜周期Lと、処理対象の1ページ分の画像データにおける主走査方向の画素数とを用いて挿抜回数INを導出する。挿抜回数INは、挿抜周期と主走査方向の画素数との関係式である以下の式(19)に基づき導出できる。ここで、図8(b)に示すように、本実施形態では、主走査画素数が48画素の画像である場合について説明する。主走査方向の画素数が48であり、挿抜周期Lが10(画素)である場合、式(19)は、以下の式(20)のように表せる。 Next, the scaling processing unit 109 derives the number of insertions / extractions IN by using the insertion / extraction period L derived based on the above equation (18) and the number of pixels in the main scanning direction in the image data for one page to be processed. To do. The number of insertions / extractions IN can be derived based on the following equation (19), which is a relational expression between the insertion / extraction period and the number of pixels in the main scanning direction. Here, as shown in FIG. 8B, in the present embodiment, a case where the number of main scanning pixels is 48 pixels will be described. When the number of pixels in the main scanning direction is 48 and the insertion / extraction period L is 10 (pixels), the equation (19) can be expressed as the following equation (20).

挿抜回数IN=主走査方向の画素数/挿抜周期L ・・・(19)
=48 /10 ・・・(20)
=4(回)
Number of insertions / extractions IN = number of pixels in the main scanning direction / insertion / extraction period L ... (19)
= 48/10 ・ ・ ・ (20)
= 4 (times)

上述の式(20)に基づき、挿抜回数INとして、4回が導出される。 Based on the above equation (20), 4 times are derived as the number of insertions / removals IN.

S702において、変倍処理部109は、パラメータiを初期化する。パラメータiは、主走査方向において、上流側(図8(b)にて左側)から順に挿抜位置に割り当てた番号である。すなわち、パラメータi=1は主走査方向上流側から1番目の挿抜位置を示し、パラメータi=2、…、nはそれぞれ1番目、…、(n−1)番目の挿抜位置の次に挿抜処理が行わる、主走査方向上流側から2番目、…、n番目の挿抜位置を示している。nは自然数である。主走査方向にて最後の挿抜位置であるn番目は、S701で導出した挿抜回数INに対応する。 In S702, the scaling processing unit 109 initializes the parameter i. Parameter i is a number assigned to the insertion / extraction position in order from the upstream side (left side in FIG. 8B) in the main scanning direction. That is, the parameter i = 1 indicates the first insertion / extraction position from the upstream side in the main scanning direction, and the parameters i = 2, ..., N are the first, ..., (N-1) th insertion / extraction processing, respectively. Indicates the second, ..., Nth insertion / extraction positions from the upstream side in the main scanning direction. n is a natural number. The nth position, which is the last insertion / extraction position in the main scanning direction, corresponds to the number of insertions / extractions IN derived in S701.

S703において、変倍処理部109は、挿抜座標の基準となる座標である基本挿抜座標basepos[i]を決定する。基本挿抜座標basepos[i]は、挿抜周期Lに(i−1)を乗算し、予め設定された主走査方向の挿抜開始座標を示す挿抜開始座標STを加算することで決定される。すなわち、基本挿抜座標basepos[i]は、挿抜周期Lと(i−1)と挿抜開始座標STとの関係式である以下の式(21)に基づき導出できる。パラメータiが1であり、挿抜開始座標STが3である場合、式(21)は、以下の式(22)のように表せる。
basepos[i]=(挿抜周期L×(i−1))+挿抜開始座標ST・・・(21)
basepos[1]=(10 ×(1−1))+3 ・・・(22)
=3
In S703, the scaling processing unit 109 determines the basic insertion / extraction coordinates basepos [i], which are the coordinates that serve as the reference for the insertion / extraction coordinates. The basic insertion / extraction coordinates basepos [i] are determined by multiplying the insertion / extraction period L by (i-1) and adding the insertion / extraction start coordinates ST indicating the insertion / extraction start coordinates in the main scanning direction set in advance. That is, the basic insertion / extraction coordinates basepos [i] can be derived based on the following equation (21), which is a relational expression between the insertion / extraction period L, (i-1), and the insertion / extraction start coordinate ST. When the parameter i is 1 and the insertion / extraction start coordinate ST is 3, the equation (21) can be expressed as the following equation (22).
basepos [i] = (insertion / extraction period L × (i-1)) + insertion / extraction start coordinates ST ... (21)
basepos [1] = (10 x (1-1)) +3 ... (22)
= 3

上述の式(22)に基づき、パラメータiが1であるときの基本挿抜座標basepos[1]として、3が導出される。 Based on the above equation (22), 3 is derived as the basic hot-swap coordinates basepos [1] when the parameter i is 1.

図8(b)に示すように、基本挿抜座標basepos[1]を3とする。 As shown in FIG. 8B, the basic hot-swap coordinate basepos [1] is set to 3.

S704において、変倍処理部109は、パラメータiが基準位置の奇数であるかどうかを判定する。これは、パラメータiが奇数である場合とパラメータiが基準位置ではない偶数である場合とで挿抜座標fixpos[i]の導出方法を変えるためである。パラメータiが奇数であるとの判定結果を得た場合、基本挿抜座標basepos[i]に乱数rand[i]を加算することで、奇数番目の挿抜座標fixpos[i]を導出する。他方、パラメータiが偶数であるとの判定結果を得た場合、前回の挿抜座標である、奇数番目の挿抜座標fixpos[i−1]に予め定められたオフセット値であるoffsetを加算することで、偶数番目の挿抜座標fixpos[i]を導出する。 In S704, the scaling processing unit 109 determines whether the parameter i is an odd number of reference positions. This is because the method of deriving the hot-swap coordinate fixpos [i] differs depending on whether the parameter i is an odd number or an even number that is not the reference position. When the determination result that the parameter i is odd is obtained, the odd-numbered insertion / extraction coordinates fixpos [i] are derived by adding the random number random [i] to the basic insertion / extraction coordinates basepos [i]. On the other hand, when the determination result that the parameter i is an even number is obtained, the offset value offset, which is a predetermined offset value, is added to the odd-numbered insertion / extraction coordinates fixpos [i-1], which is the previous insertion / extraction coordinates. , The even-numbered insertion / extraction coordinates fixpos [i] are derived.

従って、変倍処理部109は、パラメータiが奇数であるとの判定結果を得た場合(S704のYES)、処理をS705へ移行する。変倍処理部109は、パラメータiが偶数であり奇数ではないとの判定結果を得た場合(S704のNO)、処理をS707へ移行する。 Therefore, when the variable magnification processing unit 109 obtains a determination result that the parameter i is an odd number (YES in S704), the scaling processing unit 109 shifts the processing to S705. When the variable magnification processing unit 109 obtains a determination result that the parameter i is an even number and not an odd number (NO in S704), the variable magnification processing unit 109 shifts the processing to S707.

S705において、変倍処理部109は、パラメータiに対応する乱数rand[i]を発生させる。乱数列の生成手法については、ボックス・ミュラー法などの公知の手法を用いればよい。なお、変倍処理部109の乱数列の生成手法は、本実施形態を限定するものではない。パラメータiに対応する乱数rand[i]としては、例えば、主走査方向にて100画素程度であり、変倍率が±1%である場合、63を最大値とする、0から63の何れかの数値が発生される。また、図8(b)に示す、主走査方向にて48画素であり、変倍率が10%である場合、パラメータiに対応する乱数rand[i]として、挿抜周期Lを超えない数値が発生される。 In S705, the scaling processing unit 109 generates a random number random [i] corresponding to the parameter i. As a method for generating a random number sequence, a known method such as the Box-Muller method may be used. The method for generating a random number sequence of the scaling processing unit 109 does not limit the present embodiment. The random number land [i] corresponding to the parameter i is, for example, any of 0 to 63 with 63 as the maximum value when the random number is about 100 pixels in the main scanning direction and the variable magnification is ± 1%. A number is generated. Further, when the number of pixels is 48 in the main scanning direction and the variable magnification is 10% as shown in FIG. 8B, a numerical value not exceeding the insertion / extraction period L is generated as the random number rank [i] corresponding to the parameter i. Will be done.

S706において、変倍処理部109は、S703で決定した基本挿抜座標basepos[i]とS705で発生した乱数rand[i]とを基に、パラメータiに対応する挿抜座標fixpos[i]を導出する。挿抜座標fixpos[i]は、基本挿抜座標basepos[i]に乱数rand[i]を加算することで導出される。すなわち、挿抜座標fixpos[i]は、基本挿抜座標basepos[i]と乱数rand[i]との関係式である以下の式(23)に基づき導出できる。基本挿抜座標basepos[1]が3であり、乱数rand[1]が3である場合、式(23)は、以下の式(24)のように表せる。
挿抜座標fixpos[i]=basepos[i]+rand[i] ・・・(23)
挿抜座標fixpos[1]=basepos[1]+rand[1] ・・・(24)
=3 +3
=6
In S706, the scaling processing unit 109 derives the insertion / extraction coordinates fixpos [i] corresponding to the parameter i based on the basic insertion / extraction coordinates basepos [i] determined in S703 and the random number land [i] generated in S705. .. The insertion / extraction coordinates fixpos [i] are derived by adding the random number random [i] to the basic insertion / extraction coordinates basepos [i]. That is, the insertion / extraction coordinates fixpos [i] can be derived based on the following equation (23), which is a relational expression between the basic insertion / extraction coordinates basepos [i] and the random number random [i]. When the basic insertion / extraction coordinates basepos [1] are 3 and the random number random [1] is 3, the equation (23) can be expressed as the following equation (24).
Insertion / extraction coordinates fixpos [i] = basepos [i] + land [i] ... (23)
Insertion / extraction coordinates fixpos [1] = basepos [1] + land [1] ... (24)
= 3 +3
= 6

上述の式(24)に基づき、挿抜座標fixpos[1]として、6が導出される。 Based on the above equation (24), 6 is derived as the insertion / extraction coordinates fixpos [1].

よって、図8(b)に示すように、挿抜座標fixpos[1]が6となる。 Therefore, as shown in FIG. 8B, the insertion / extraction coordinate fixpos [1] is 6.

S707において、変倍処理部109は、本挿抜座標fixpos[i]の一つ前の奇数番目の挿抜座標fixpos[i−1]と予め定められたオフセット値であるoffsetとを基に、偶数番目の挿抜座標fixpos[i]を導出する。偶数番目の挿抜座標fixpos[i]は、一つ前の奇数番目の挿抜座標fixpos[i−1]に予め定められたオフセット値であるoffsetを加算することで導出される。すなわち、偶数番目の挿抜座標fixpos[i]は、一つ前の奇数番目の挿抜座標fixpos[i−1]と予め定められたオフセット値であるoffsetとの関係式である以下の式(25)に基づき導出できる。2番目の挿抜座標fixpos[2]の一つ前の1番目の挿抜座標fixpos[1]が6であり、offsetが2である場合、式(25)は、以下の式(26)のように表せる。
挿抜座標fixpos[i]=fixpos[i−1]+offset ・・・(25)
挿抜座標fixpos[2]=fixpos[2−1]+2 ・・・(26)
=6 +2
=8
In S707, the scaling processing unit 109 is an even number based on the odd-numbered insertion / extraction coordinates fixpos [i-1] immediately before the main insertion / extraction coordinates fixpos [i] and the offset value offset. Derivation of the insertion / extraction coordinates fixpos [i] of. The even-numbered insertion / extraction coordinates fixpos [i] are derived by adding the offset value offset, which is a predetermined offset value, to the previous odd-numbered insertion / extraction coordinates fixpos [i-1]. That is, the even-numbered hot-swap coordinate fixpos [i] is the relational expression between the previous odd-numbered hot-swap coordinate fixpos [i-1] and the preset offset value offset (25). Can be derived based on. When the first hot-swap coordinate fixpos [1] immediately before the second hot-swap coordinate fixpos [2] is 6 and the offset is 2, the equation (25) is as shown in the following equation (26). Can be represented.
Insertion / extraction coordinates fixpos [i] = fixpos [i-1] + offset ... (25)
Hot-swap coordinates fixpos [2] = fixpos [2-1] +2 ... (26)
= 6 + 2
= 8

上述の式(26)に基づき、2番目である挿抜座標fixpos[2]として、8が導出される。 Based on the above equation (26), 8 is derived as the second insertion / extraction coordinate fixpos [2].

よって、図8(b)に示すように、2番目の挿抜座標fixpos[2]が8となる。上述した比較例の挿抜位置決定処理の方法では、図8(a)に示すように、挿抜位置がある一定距離を置いて配置されていることが分かる。一方で、本実施形態の挿抜位置決定処理の方法では、図8(b)に示すように、偶数番目の挿抜位置が奇数番目の挿抜位置に近い位置に配置されることが分かる。これにより、局所的に高い解像度で挿抜を実現しながら、大局的にはLEDの配置間隔で変倍処理を実現している。なお、上述したオフセット値であるoffsetの大きさは、ずれたとしても濃度のムラが目立たず視認できないくらいに十分に小さい大きさであって、例えば、10画素以下であってもよい。 Therefore, as shown in FIG. 8B, the second insertion / extraction coordinate fixpos [2] is 8. In the method of the insertion / extraction position determination processing of the comparative example described above, as shown in FIG. 8A, it can be seen that the insertion / extraction positions are arranged at a certain distance. On the other hand, in the method of the insertion / extraction position determination processing of the present embodiment, as shown in FIG. 8B, it can be seen that the even-numbered insertion / extraction positions are arranged at positions close to the odd-numbered insertion / extraction positions. As a result, while locally realizing high-resolution insertion / extraction, scaling processing is realized at the LED arrangement interval in the big picture. The size of the offset value, which is the offset value described above, is sufficiently small that even if the offset value is deviated, the unevenness of the density is not noticeable and cannot be visually recognized, and may be, for example, 10 pixels or less.

S708において、変倍処理部109は、パラメータiが挿抜回数INと等しいかどうかを判定する。変倍処理部109は、パラメータiが挿抜回数INと等しくないとの判定結果を得た場合(S708のNO)、未だ挿抜座標が決定していない挿抜座標fixpos[i]が存在すると判断して、処理をS709へ移行する。S709にて、パラメータiに1を加算する処理を実行する。変倍処理部109は、加算処理を実行した後、処理をS703へ移行する。S703にて、変倍処理部109は、加算処理前のパラメータに対応する挿抜位置に続く、加算処理後のパラメータに対応する挿抜位置の導出処理を実行する。他方、変倍処理部109は、パラメータiが挿抜回数INと等しいとの判定結果を得た場合(S708のYES)、全ての挿抜座標fixpos[i]が決定されたと判断して、本フローを終了する。すなわち、変倍処理部109は、パラメータiが挿抜回数INと等しくなるまで、各パラメータiに対応する挿抜座標fixpos[i]を導出するための一連の処理(S703〜S709)を実行する。 In S708, the scaling processing unit 109 determines whether the parameter i is equal to the number of insertions / extractions IN. When the variable magnification processing unit 109 obtains a determination result that the parameter i is not equal to the number of insertion / extraction IN (NO in S708), the variable magnification processing unit 109 determines that there is an insertion / extraction coordinate fixpos [i] for which the insertion / extraction coordinate has not yet been determined. , The process shifts to S709. In S709, the process of adding 1 to the parameter i is executed. After executing the addition process, the variable magnification processing unit 109 shifts the process to S703. In S703, the scaling processing unit 109 executes a derivation process of the insertion / extraction position corresponding to the parameter after the addition processing, following the insertion / extraction position corresponding to the parameter before the addition processing. On the other hand, when the variable magnification processing unit 109 obtains a determination result that the parameter i is equal to the number of insertion / extraction times IN (YES in S708), the scaling processing unit 109 determines that all the insertion / extraction coordinates fixpos [i] have been determined, and performs this flow. finish. That is, the scaling processing unit 109 executes a series of processes (S703 to S709) for deriving the insertion / extraction coordinates fixpos [i] corresponding to each parameter i until the parameter i becomes equal to the number of insertion / extraction times IN.

このように、1番目から挿抜回数INに対応するn番目まで、パラメータiが示す番号順に基本挿抜座標basepos[i]と挿抜座標fixpos[i]とが導出される。 In this way, the basic insertion / extraction coordinates basepos [i] and the insertion / extraction coordinates fixpos [i] are derived in the order of the numbers indicated by the parameters i from the first to the nth corresponding to the number of insertions / extractions IN.

上述したS706の処理においてパラメータiが3である場合について説明する。基本挿抜座標basepos[3]が23であり、rand[3]が1である場合、上述の式(23)は、以下の式(27)のように表せる。なお、基本挿抜座標basepos[3]は、上述の式(21)に、挿抜周期Lに10、iに3、挿抜開始座標STに3を代入することで導出される。
挿抜座標fixpos[3]=basepos[3]+rand[3] ・・・(27)
=23 +1
=24
The case where the parameter i is 3 in the process of S706 described above will be described. When the basic insertion / extraction coordinates basepos [3] are 23 and the random [3] is 1, the above equation (23) can be expressed as the following equation (27). The basic insertion / extraction coordinates basepos [3] are derived by substituting 10 for the insertion / extraction period L, 3 for i, and 3 for the insertion / extraction start coordinate ST in the above equation (21).
Insertion / extraction coordinates fixpos [3] = basepos [3] + land [3] ... (27)
= 23 + 1
= 24

上述の式(27)に基づき、3番目の挿抜座標fixpos[3]として、24が導出される。 Based on the above equation (27), 24 is derived as the third hot-swap coordinate fixpos [3].

よって、図8(b)に示すように、3番目の挿抜座標fixpos[3]が24となる。 Therefore, as shown in FIG. 8B, the third insertion / extraction coordinate fixpos [3] is 24.

上述したS707の処理においてパラメータが4である場合について説明する。3番目の挿抜座標fixpos[3]が24であり、offsetが2である場合、式(25)は、以下の式(28)のように表せる。
挿抜座標fixpos[4]=fixpos[4−1]+2 ・・・(28)
=24 +2
=26
The case where the parameter is 4 in the process of S707 described above will be described. When the third hot-swap coordinate fixpos [3] is 24 and the offset is 2, the equation (25) can be expressed as the following equation (28).
Hot-swap coordinates fixpos [4] = fixpos [4-1] +2 ... (28)
= 24 + 2
= 26

上述の式(28)に基づき、4番目の挿抜座標fixpos[4]として、26が導出される。 Based on the above equation (28), 26 is derived as the fourth hot-swap coordinate fixpos [4].

よって、図8(b)に示すように、4番目の挿抜座標fixpos[4]が26となる。 Therefore, as shown in FIG. 8B, the fourth insertion / extraction coordinate fixpos [4] is 26.

ここで、図5の変倍処理のフローチャートの説明に戻る。 Here, it returns to the explanation of the flowchart of the scaling process of FIG.

S503において、変倍処理部109は、S502で導出した挿抜位置で挿抜処理を実行するために、注目画素の座標xiが挿抜座標fixpos[i]と等しいかどうかを判定する。注目画素の座標xiと挿抜座標fixpos[i]が等しいとの判定結果を得た場合(S503のYES)、挿抜処理を実行するために、処理をS504へ移行する。注目画素の座標xiと挿抜座標fixpos[i]の値が等しくないとの判定結果を得た場合(S503のNO)、転送処理を実行するために、処理をS505へ移行する。 In S503, the scaling processing unit 109 determines whether or not the coordinate xi of the pixel of interest is equal to the hot-swap coordinate fixpos [i] in order to execute the hot-swap process at the hot-swap position derived in S502. When the determination result that the coordinate xi of the pixel of interest and the insertion / extraction coordinate fixpos [i] are equal (YES in S503) is obtained (YES in S503), the process shifts to S504 in order to execute the insertion / extraction process. When it is determined that the coordinates xi of the pixel of interest and the values of the insertion / extraction coordinates fixpos [i] are not equal (NO in S503), the process shifts to S505 in order to execute the transfer process.

S504において、変倍処理部109は、挿抜処理を実行する。変倍率が100.00%よりも大きい場合、変倍処理部109は、画素の挿入処理を実行する。変倍率が100.00%よりも小さい場合、変倍処理部109は、画素の間引き処理を実行する。 In S504, the scaling processing unit 109 executes the insertion / extraction process. When the variable magnification is larger than 100.00%, the variable magnification processing unit 109 executes the pixel insertion process. When the scaling factor is smaller than 100.00%, the scaling factor 109 executes pixel thinning processing.

画素の挿入処理では、変倍処理部109に入力された座標xiの画素の画素値を、入力座標xiの画素に対応する、変倍処理部109から出力する座標xoの画素と、出力座標xoに1を加算した座標の画素とに出力する処理が実行される。すなわち、画素の挿入処理を一回実行することにより、1画素分追加されることから、主走査方向下流側に1画素分拡大することになる。 In the pixel insertion process, the pixel value of the pixel of the coordinate xi input to the scaling processing unit 109 is output from the scaling processing unit 109, which corresponds to the pixel of the input coordinate xi, and the output coordinate xo. The process of outputting to the pixel of the coordinates obtained by adding 1 to is executed. That is, since one pixel is added by executing the pixel insertion process once, the pixel is enlarged by one pixel on the downstream side in the main scanning direction.

画素の間引き処理では、変倍処理部109に入力された座標xiの画素値を出力せず削除する。すなわち、画素の間引き処理を一回実行することにより、1画素分削除されることから、主走査方向上流側に1画素分縮小することになる。 In the pixel thinning process, the pixel value of the coordinate xi input to the scaling processing unit 109 is deleted without being output. That is, by executing the pixel thinning process once, one pixel is deleted, so that the pixel is reduced by one pixel on the upstream side in the main scanning direction.

S505において、変倍処理部109は、転送処理を実行する。転送処理では、変倍処理部109に入力された座標xiの画素の画素値を、入力座標xiの画素に対応する、変倍処理部109から出力する座標xoの画素に出力する処理が実行される。 In S505, the scaling processing unit 109 executes the transfer processing. In the transfer process, a process of outputting the pixel value of the pixel of the coordinate xi input to the scaling processing unit 109 to the pixel of the coordinate xo output from the scaling processing unit 109 corresponding to the pixel of the input coordinate xi is executed. To.

S506において、変倍処理部109は、出力座標xoがS501で取得した主走査方向の出力サイズよりも大きいかどうかを判定する。出力座標xoが主走査方向の出力サイズよりも大きいとの判定結果を得た場合(S506のYES)、主走査方向の処理が終了したと判断して、処理をS508へ移行する。出力座標xoが主走査方向の出力サイズよりも大きくなく、出力座標xoが主走査方向の出力サイズ以下であるとの判定結果を得た場合(S506のNO)、処理をS507へ移行する。 In S506, the scaling processing unit 109 determines whether or not the output coordinate xo is larger than the output size in the main scanning direction acquired in S501. When the determination result that the output coordinate xo is larger than the output size in the main scanning direction is obtained (YES in S506), it is determined that the processing in the main scanning direction is completed, and the processing is shifted to S508. When it is determined that the output coordinate xo is not larger than the output size in the main scanning direction and the output coordinate xo is equal to or less than the output size in the main scanning direction (NO in S506), the process shifts to S507.

S507において、変倍処理部109は、次に示すように、入力座標xiおよび出力座標xoに対して更新処理を実行する。入力座標xiの更新処理では、入力座標xiに1が加算されることで、注目画素の座標は主走査方向下流側に1画素分ずらされた画素の座標となる。出力座標xoの更新処理では、S506の前段の処理内容に応じた処理が実行される。すなわち、変倍処理部109は、S504の挿抜処理において拡大処理を実行した場合、出力座標xoに2が加算されることで、注目座標の画素は主走査方向下流側に2画素分進められた画素となる。これは、変倍処理部109が拡大処理を実行することで2画素を解像度変換部110に出力したためである。変倍処理部109は、S504の挿抜処理において縮小処理を実行した場合、出力座標xoの画素を更新せずに、処理をS502へ移行する。これは、変倍処理部109が縮小処理を実行しても解像度変換部110に対して何も出力していないためである。変倍処理部109は、S505の転送処理を実行した場合、出力座標xoに1が加算されることで、注目座標の座標は主走査方向下流側に1画素分進められた画素となる。これは、変倍処理部109が転送処理を実行することで1画素を解像度変換部110に出力したためである。変倍処理部109は、上述した、入力座標xiの更新処理と、必要に応じた出力座標xoの更新処理とを実行した後、処理をS503へ移行する。 In S507, the scaling processing unit 109 executes update processing on the input coordinate xi and the output coordinate xo as shown below. In the update process of the input coordinate xi, 1 is added to the input coordinate xi, so that the coordinate of the pixel of interest becomes the coordinate of the pixel shifted by one pixel to the downstream side in the main scanning direction. In the update process of the output coordinate xo, the process corresponding to the process content of the previous stage of S506 is executed. That is, when the scaling processing unit 109 executes the enlargement processing in the insertion / extraction processing of S504, 2 is added to the output coordinates xo, so that the pixels of the attention coordinates are advanced by two pixels downstream in the main scanning direction. It becomes a pixel. This is because the scaling processing unit 109 outputs two pixels to the resolution conversion unit 110 by executing the enlargement processing. When the reduction processing is executed in the insertion / extraction processing of S504, the scaling processing unit 109 shifts the processing to S502 without updating the pixels of the output coordinates xo. This is because even if the scaling processing unit 109 executes the reduction processing, nothing is output to the resolution conversion unit 110. When the variable magnification processing unit 109 executes the transfer processing of S505, 1 is added to the output coordinate xo, so that the coordinate of the attention coordinate becomes a pixel advanced by one pixel to the downstream side in the main scanning direction. This is because the scaling processing unit 109 executes the transfer processing to output one pixel to the resolution conversion unit 110. The variable magnification processing unit 109 executes the above-described update processing of the input coordinate xi and the update processing of the output coordinate xo as necessary, and then shifts the processing to S503.

S508において、変倍処理部109は、出力座標yoがS501で取得した副走査方向の出力サイズよりも大きいかどうかを判定する。出力座標yoが副走査方向の出力サイズ以下であるとの判定結果を得た場合(S508のNO)、処理をS509へ移行する。 In S508, the scaling processing unit 109 determines whether or not the output coordinate yo is larger than the output size in the sub-scanning direction acquired in S501. When the determination result that the output coordinate yo is equal to or less than the output size in the sub-scanning direction is obtained (NO in S508), the process shifts to S509.

S509において、変倍処理部109は、次に示すように、入力座標yiおよび出力座標yoに対して更新処理を実行する。入力座標yiおよび出力座標yoの更新処理では、入力座標yiおよび出力座標yoのそれぞれに1が加算されることで、注目のラインは副走査方向下流側に1ラインずらされる。変倍処理部109は、入力座標yiおよび出力座標yoの更新処理を実行した後、処理をS502へ移行する。S502にて、更新処理前のラインに続く、更新処理後のラインにて挿抜位置決定処理が行われる。 In S509, the scaling processing unit 109 executes update processing for the input coordinate yi and the output coordinate yo as shown below. In the update process of the input coordinate y and the output coordinate yo, 1 is added to each of the input coordinate y and the output coordinate yo, so that the line of interest is shifted by one line to the downstream side in the sub-scanning direction. The variable magnification processing unit 109 executes the update processing of the input coordinate yi and the output coordinate yo, and then shifts the processing to S502. In S502, the insertion / extraction position determination process is performed on the line after the update process following the line before the update process.

他方、出力座標yoが副走査方向の出力サイズよりも大きいとの判定結果を得た場合(S508のYES)、副走査方向の処理が終了したと判断して、処理を終了する。 On the other hand, when the determination result that the output coordinate yo is larger than the output size in the sub-scanning direction is obtained (YES in S508), it is determined that the processing in the sub-scanning direction is completed, and the processing is terminated.

<画素を間引いたときの変倍処理の詳細>
図9を用いて、変倍処理部109による、画素を間引いたときの変倍処理の詳細について説明する。
<Details of scaling processing when pixels are thinned out>
The details of the scaling process when the pixels are thinned out by the scaling processing unit 109 will be described with reference to FIG. 9.

図9(a)、(d)、(g)は、発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行した場合の説明図である。 9 (a), 9 (d), and 9 (g) are explanatory views when the insertion / removal process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements.

図9(b)、(e)、(h)は、発光素子の配置間隔に対応する解像度(1200dpi)よりも高い解像度(2400dpi)で挿抜処理を実行した場合の説明図である。 9 (b), (e), and (h) are explanatory views when the insertion / removal process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements.

図9(c)、(f)、(i)は、本実施形態の方法で挿抜処理を実行した場合の説明図である。 9 (c), (f), and (i) are explanatory views when the insertion / extraction process is executed by the method of the present embodiment.

図9(a)、(b)、(c)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。斜線で塗られた画素は挿抜位置の画素を示している。 9 (a), (b), and (c) show images input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels painted with diagonal lines indicate the pixels at the insertion / extraction position.

図9(d)、(e)、(f)では、変倍処理部109から出力された画像であって、図9(a)、(b)、(c)に示す挿抜位置に対して、挿抜処理のうちの画素の間引き処理を適用した後の画像を示している。 9 (d), (e), and (f) are images output from the scaling processing unit 109 with respect to the insertion / extraction positions shown in FIGS. 9 (a), (b), and (c). The image after applying the pixel thinning process of the insertion / extraction process is shown.

図9(g)、(h)、(i)では、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。挿抜処理を適用した後の画像は、図9(d)、(e)、(f)に示す画像である。2つの画素がともに黒画素である場合、解像度変換後の画素の画素値は2となることとする。2つの画素のうち一方が白画素であり、他方が黒画素である場合、解像度変換後の画素の画素値は、1となることとする。2つの画素がともに白画素である場合、解像度変換後の画素の画素値は、0となることとする。 In FIGS. 9 (g), 9 (h), and (i), the resolution conversion unit 110 has a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements in the main scanning direction with respect to the image after the insertion / extraction process is applied. The image after performing the resolution conversion process is shown. The images after the insertion / extraction process is applied are the images shown in FIGS. 9 (d), (e), and (f). When both of the two pixels are black pixels, the pixel value of the pixel after the resolution conversion is 2. When one of the two pixels is a white pixel and the other is a black pixel, the pixel value of the pixel after resolution conversion is 1. When both of the two pixels are white pixels, the pixel value of the pixel after the resolution conversion is set to 0.

<1200dpiの場合>
先ず、図9(a)、(d)、(g)を用いて、発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of 1200 dpi>
First, using FIGS. 9A, 9D, and 9G, when the insertion / extraction process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, the state of the insertion / extraction process and the main scanning direction. The state of the resolution conversion process will be described.

図9(d)は、図9(a)に示す、斜線で塗られた画素が削除されることで、画像が縮小した様子を示す図である。図9(a)に示す画素901は、間引き対象(削除対象)となる画素である。画素901が削除されると、図9(a)に示す画素902は、図9(d)に示すように、主走査方向上流側である左方向に移動し、画素903となる。 FIG. 9D is a diagram showing a state in which the image is reduced by deleting the pixels painted with diagonal lines shown in FIG. 9A. The pixel 901 shown in FIG. 9A is a pixel to be thinned out (deleted). When the pixel 901 is deleted, the pixel 902 shown in FIG. 9A moves to the left, which is the upstream side in the main scanning direction, and becomes the pixel 903, as shown in FIG. 9D.

次に、図9(g)に示す画素905は、図9(d)に示す画素903と画素904から変換される。画素903と画素904はともに黒画素であるので、画素905の画素値は、2となる。 Next, the pixel 905 shown in FIG. 9 (g) is converted from the pixels 903 and the pixel 904 shown in FIG. 9 (d). Since both the pixel 903 and the pixel 904 are black pixels, the pixel value of the pixel 905 is 2.

発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行すると、図9(g)に示すように、画素906と画素907の間で大きな段差が発生している様子が見てとれる。 When the insertion / removal process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, it can be seen that a large step is generated between the pixels 906 and the pixels 907 as shown in FIG. 9 (g).

<2400dpiの場合>
次に、図9(b)、(e)、(h)を用いて、発光素子の配置間隔に対応する解像度(1200dpi)より高い解像度(2400dpi)で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of 2400 dpi>
Next, when the insertion / removal process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements using FIGS. 9 (b), (e), and (h), the insertion / removal process is performed. The state and the state of the resolution conversion process in the main scanning direction will be described.

図9(e)は、図9(b)に示す、斜線で塗られた画素が削除されることで、画像が縮小した様子を示す図である。図9(b)に示す画素908は、間引き対象(削除対象)となる画素である。画素908が削除されると、図9(b)に示す画素909と画素910は、図9(e)に示すように、主走査方向上流側である左方向に移動し、画素911と画素912となる。 FIG. 9 (e) is a diagram showing a state in which the image is reduced by deleting the pixels painted with the diagonal lines shown in FIG. 9 (b). The pixel 908 shown in FIG. 9B is a pixel to be thinned out (deleted). When the pixel 908 is deleted, the pixel 909 and the pixel 910 shown in FIG. 9B move to the left, which is the upstream side in the main scanning direction, as shown in FIG. 9E, and the pixel 911 and the pixel 912 move to the left. It becomes.

次に、図9(h)に示す画素913は、図9(e)に示す画素911と画素912から変換される。画素911が白画素であり、画素912が黒画素であるので、画素913の画素値は、1となる。 Next, the pixel 913 shown in FIG. 9 (h) is converted from the pixels 911 and the pixel 912 shown in FIG. 9 (e). Since the pixel 911 is a white pixel and the pixel 912 is a black pixel, the pixel value of the pixel 913 is 1.

発光素子の配置間隔に対応する解像度(1200dpi)より高い解像度(2400dpi)で挿抜処理を実行すると、図9(h)に示すように、挿抜位置の前後で、細線の線幅が変わってしまうことが分かる。これは、発光素子の位相からずれてしまうことが原因である。 When the insertion / extraction process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, the line width of the thin line changes before and after the insertion / removal position as shown in FIG. 9 (h). I understand. This is due to the fact that the phase of the light emitting element is deviated.

<本実施形態の場合>
最後に、図9(c)、(f)、(i)を用いて、本実施形態の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of this embodiment>
Finally, using FIGS. 9 (c), (f), and (i), when the insertion / extraction process is executed by the method of the present embodiment, the state of the insertion / extraction process and the state of the resolution conversion process in the main scanning direction. Will be described.

図9(f)は、図9(c)に示す、斜線で塗られた画素が削除されることで、画像が縮小した様子を示す図である。図9(c)に示す画素914と画素915は、間引き対象(削除対象)となる画素である。画素914と画素915が削除されると、図9(f)に示すように、図9(c)に示す画素916と画素917は主走査方向上流側である左方向に移動し、画素918と画素919となる。 FIG. 9 (f) is a diagram showing a state in which the image is reduced by deleting the pixels painted with the diagonal lines shown in FIG. 9 (c). Pixels 914 and 915 shown in FIG. 9C are pixels to be thinned out (deleted). When the pixels 914 and 915 are deleted, as shown in FIG. 9 (f), the pixels 916 and 917 shown in FIG. 9 (c) move to the left, which is the upstream side in the main scanning direction, and become the pixels 918. It becomes pixel 919.

次に、図9(i)に示す画素920は、図9(f)に示す画素918と画素919から変換される。画素918と画素919はともに黒画素であるので、画素920の画素値は、2となる。 Next, the pixel 920 shown in FIG. 9 (i) is converted from the pixels 918 and the pixel 919 shown in FIG. 9 (f). Since both the pixel 918 and the pixel 919 are black pixels, the pixel value of the pixel 920 is 2.

本実施形態の方法で挿抜処理を実行すると、図9(i)に示すように、挿抜位置の前後で、細線の線幅が変わらないことが分かる。また、画素921と画素922の間において、局所的には、2400dpiの解像度で挿抜処理を実行しているので、図9(g)の場合と比べて段差が滑らかになっていることが分かる。また、画素921の画素値が1であり、画素921に対応するLEDの発光量が、画素値が2の場合の50%であるので、スムージング効果が得られ、段差が目立ちにくい状態となる。 When the insertion / extraction process is executed by the method of the present embodiment, as shown in FIG. 9 (i), it can be seen that the line width of the thin line does not change before and after the insertion / extraction position. Further, since the insertion / extraction process is locally performed between the pixels 921 and the pixels 922 at a resolution of 2400 dpi, it can be seen that the step is smoother than in the case of FIG. 9 (g). Further, since the pixel value of the pixel 921 is 1, and the amount of light emitted from the LED corresponding to the pixel 921 is 50% of the case where the pixel value is 2, a smoothing effect can be obtained and the step becomes inconspicuous.

<画素を挿入したときの変倍処理の詳細>
図10を用いて、変倍処理部109による、画素を挿入したときの変倍処理の詳細について説明する。
<Details of scaling processing when pixels are inserted>
The details of the scaling process when the pixel is inserted by the scaling processing unit 109 will be described with reference to FIG. 10.

図10(a)、(d)、(g)は、発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行した場合の説明図である。 10 (a), (d), and (g) are explanatory views when the insertion / removal process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements.

図10(b)、(e)、(h)は、発光素子の配置間隔に対応する解像度(1200dpi)よりも高い解像度(2400dpi)で挿抜処理を実行した場合の説明図である。 10 (b), (e), and (h) are explanatory views when the insertion / removal process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements.

図10(c)、(f)、(i)は、本実施形態の方法で挿抜処理を実行した場合の説明図である。 10 (c), (f), and (i) are explanatory views when the insertion / extraction process is executed by the method of the present embodiment.

図10(a)、(b)、(c)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。破線で囲まれた画素は挿抜位置の画素を示している。 10 (a), (b), and (c) show images input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels surrounded by the broken line indicate the pixels at the insertion / extraction position.

図10(d)、(e)、(f)では、変倍処理部109から出力された画像であって、図10(a)、(b)、(c)に示す挿抜位置に対して、挿抜処理のうち画素の挿入処理を適用した後の画像を示している。破線で囲まれる画素は挿抜位置の画素を示し、太線の1点鎖線で囲まれる画素は、挿入された画素を示している。 10 (d), (e), and (f) are images output from the scaling processing unit 109 with respect to the insertion / extraction positions shown in FIGS. 10 (a), (b), and (c). The image after applying the pixel insertion process among the insertion / extraction processes is shown. The pixel surrounded by the broken line indicates the pixel at the insertion / extraction position, and the pixel surrounded by the alternate long and short dash line indicates the inserted pixel.

図10(g)、(h)、(i)では、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。挿抜処理を適用した後の画像は、図10(d)、(e)、(f)に示す画像である。2つの画素がともに黒画素である場合、解像度変換後の画素の画素値は2となることとする。2つの画素のうち一方が白画素であり、他方が黒画素である場合、解像度変換後の画素の画素値は、1となることとする。2つの画素がともに白画素である場合、解像度変換後の画素の画素値は、0となることとする。 In FIGS. 10 (g), (h), and (i), the resolution conversion unit 110 has a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements in the main scanning direction with respect to the image after the insertion / extraction process is applied. The image after performing the resolution conversion process is shown. The images after the insertion / extraction process is applied are the images shown in FIGS. 10 (d), (e), and (f). When both of the two pixels are black pixels, the pixel value of the pixel after the resolution conversion is 2. When one of the two pixels is a white pixel and the other is a black pixel, the pixel value of the pixel after resolution conversion is 1. When both of the two pixels are white pixels, the pixel value of the pixel after the resolution conversion is set to 0.

<1200dpiの場合>
先ず、図10(a)、(d)、(g)を用いて、発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of 1200 dpi>
First, using FIGS. 10A, 10D, and 10G, when the insertion / extraction process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, the state of the insertion / extraction process and the main scanning direction. The state of the resolution conversion process will be described.

図10(d)は、図10(a)に示す、破線で囲まれた画素が挿入されることで、画像が拡大した様子を示す図である。図10(a)に示す画素1001は、挿入対象となる画素である。画素1001が挿入されると、図10(a)に示す画素1002は、図10(d)に示すように、主走査方向下流側である右方向に移動し、画素1003となる。 FIG. 10 (d) is a diagram showing a state in which the image is enlarged by inserting the pixel surrounded by the broken line shown in FIG. 10 (a). The pixel 1001 shown in FIG. 10A is a pixel to be inserted. When the pixel 1001 is inserted, the pixel 1002 shown in FIG. 10A moves to the right, which is the downstream side in the main scanning direction, and becomes the pixel 1003, as shown in FIG. 10D.

次に、図10(g)に示す画素1005は、図10(d)に示す画素1003と画素1004から変換される。画素1003と画素1004はともに黒画素であるので、画素1005の画素値は、2となる。 Next, the pixel 1005 shown in FIG. 10 (g) is converted from the pixels 1003 and the pixel 1004 shown in FIG. 10 (d). Since both the pixel 1003 and the pixel 1004 are black pixels, the pixel value of the pixel 1005 is 2.

発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行すると、図10(g)に示すように、画素1006と画素1007の間で大きな段差が発生している様子が見てとれる。 When the insertion / removal process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, it can be seen that a large step is generated between the pixels 1006 and the pixels 1007 as shown in FIG. 10 (g).

<2400dpiの場合>
次に、図10(b)、(e)、(h)を用いて、発光素子の配置間隔に対応する解像度(1200dpi)より高い解像度(2400dpi)で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of 2400 dpi>
Next, when the insertion / removal process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements using FIGS. 10 (b), (e), and (h), the insertion / removal process is performed. The state and the state of the resolution conversion process in the main scanning direction will be described.

図10(e)は、図10(b)に示す、破線で囲まれた画素が挿入されることで、画像が拡大した様子を示す図である。図10(b)に示す画素1008は、挿入対象となる画素である。画素1008が挿入されると、図10(b)に示す画素1009と画素1010は、図10(e)に示すように、主走査方向下流側である右方向に移動し、画素1011と画素1012となる。 FIG. 10 (e) is a diagram showing a state in which the image is enlarged by inserting the pixel surrounded by the broken line shown in FIG. 10 (b). Pixel 1008 shown in FIG. 10B is a pixel to be inserted. When the pixel 1008 is inserted, the pixel 1009 and the pixel 1010 shown in FIG. 10B move to the right, which is the downstream side in the main scanning direction, as shown in FIG. 10E, and the pixel 1011 and the pixel 1012 are moved. It becomes.

次に、図10(h)に示す画素1013は、図10(e)に示す画素1011と画素1012から変換される。画素1011は白画素であり、画素1012が黒画素であるので、画素1013の画素値は、1となる。 Next, the pixel 1013 shown in FIG. 10 (h) is converted from the pixel 1011 and the pixel 1012 shown in FIG. 10 (e). Since the pixel 1011 is a white pixel and the pixel 1012 is a black pixel, the pixel value of the pixel 1013 is 1.

発光素子の配置間隔に対応する解像度(1200dpi)より高い解像度(2400dpi)で挿抜処理を実行すると、図10(h)に示すように、挿抜位置の前後で、細線の線幅が変わってしまうことが分かる。これは、発光素子の位相からずれてしまうことが原因である。 When the insertion / extraction process is executed at a resolution (2400 dpi) higher than the resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, the line width of the thin line changes before and after the insertion / removal position as shown in FIG. 10 (h). I understand. This is due to the fact that the phase of the light emitting element is deviated.

<本実施形態の場合>
最後に、図10(c)、(f)、(i)を用いて、本実施形態の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
<In the case of this embodiment>
Finally, using FIGS. 10 (c), (f), and (i), when the insertion / extraction process is executed by the method of the present embodiment, the state of the insertion / extraction process and the state of the resolution conversion process in the main scanning direction. Will be described.

図10(f)は、図10(c)に示す、破線で囲まれた画素が挿入されることで、画像が拡大した様子を示す図である。図10(c)に示す画素1014と画素1015は挿入対象となる画素である。画素1014と画素1015が挿入されると、図10(f)に示すように、図10(c)に示す画素1016と画素1017は主走査方向下流側である右方向に移動し、画素1018と画素1019となる。 FIG. 10 (f) is a diagram showing a state in which the image is enlarged by inserting the pixel surrounded by the broken line shown in FIG. 10 (c). Pixels 1014 and 1015 shown in FIG. 10C are pixels to be inserted. When the pixels 1014 and 1015 are inserted, as shown in FIG. 10 (f), the pixels 1016 and 1017 shown in FIG. 10 (c) move to the right, which is the downstream side in the main scanning direction, and become the pixels 1018. It becomes pixel 1019.

次に、図10(i)に示す画素1020は、図10(f)に示す画素1018と画素1019から変換される。画素1018と画素1019はともに黒画素であるので、画素1020の画素値は、2となる。 Next, the pixel 1020 shown in FIG. 10 (i) is converted from the pixels 1018 and the pixel 1019 shown in FIG. 10 (f). Since both the pixel 1018 and the pixel 1019 are black pixels, the pixel value of the pixel 1020 is 2.

本実施形態の方法で挿抜処理を実行すると、図10(i)に示すように、挿抜位置の前後で、細線の線幅が変わらないことが分かる。また、画素1021と画素1022の間において、局所的には、2400dpiの解像度で挿抜処理を実行しているので、図10(g)の場合と比べて段差が滑らかになっていることが分かる。また、画素1021の画素値が1であり、画素1021に対応するLEDの発光量が、画素値が2の場合の50%であるので、スムージング効果が得られ、段差が目立ちにくい状態となる。 When the insertion / extraction process is executed by the method of the present embodiment, as shown in FIG. 10 (i), it can be seen that the line width of the thin line does not change before and after the insertion / extraction position. Further, since the insertion / extraction process is locally performed between the pixels 1021 and the pixels 1022 at a resolution of 2400 dpi, it can be seen that the step is smoother than in the case of FIG. 10 (g). Further, since the pixel value of the pixel 1021 is 1, and the amount of light emitted from the LED corresponding to the pixel 1021 is 50% of the case where the pixel value is 2, a smoothing effect can be obtained and the step becomes inconspicuous.

以上説明したように、発光素子の配置間隔に対応する解像度(1200dpi)で挿抜処理を実行すると、視認できる段差が発生する可能性がある。また、発光素子の配置間隔(1200dpi)よりも高い解像度(2400dpi)で挿抜処理を実行すると、画像の位相がずれて、細線等の線幅が不均一になる可能性がある。一方で、本実施形態では、偶数(2n)番目(nは自然数である。)の挿抜位置をこの偶数番より1小さい奇数(2n−1)番目の挿抜位置から近い位置に設定する。これにより、大局的には画像の位相を発光素子の配置間隔に対応する解像度に合わせ挿抜処理を実行しながら、局所的には発光素子の配置間隔に対応する解像度より高い解像度で挿抜処理を実行することで、挿抜処理による段差を軽減することが可能となる。 As described above, when the insertion / removal process is executed at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements, a visible step may occur. Further, if the insertion / extraction process is executed at a resolution (2400 dpi) higher than the arrangement interval (1200 dpi) of the light emitting elements, the phase of the image may shift and the line width such as thin lines may become non-uniform. On the other hand, in the present embodiment, the even (2n) th insertion / extraction position (n is a natural number) is set to a position closer to the odd (2n-1) th insertion / extraction position, which is one smaller than the even number. As a result, while performing the insertion / extraction process by adjusting the phase of the image to the resolution corresponding to the arrangement interval of the light emitting elements in a broad sense, the insertion / removal process is locally executed at a resolution higher than the resolution corresponding to the arrangement interval of the light emitting elements. By doing so, it is possible to reduce the step due to the insertion / extraction process.

本実施形態では、挿抜処理の解像度は、発光素子の配置間隔に対応する解像度の2倍に限定するものではない。発光素子の配置間隔に対応する解像度の2×N倍(Nは整数である。)であれば、位相を合わせることができるので、4800dpiや9600dpiでもよい。その際は、基準位置である挿抜位置に対して、(2×N−1)の挿抜位置を近い位置に配置すればよい。例えば、発光素子の配置間隔に対応する解像度の6倍の9600dpiであれば、fixpos[i]に対して、fixpos[i+1]からfixpos[i+5]までの5つの挿抜位置を近い位置に配置することになる。この場合、オフセット値であるoffsetの大きさは、ずれたとしても濃度のムラが目立たず視認できないくらいに十分に小さい大きさであって、例えば、オフセット値であるoffsetの5つ分の大きさが50画素以下であってもよい。また、この場合、基準位置となる画素の挿抜座標fixpos[i]ではなく、挿抜座標fixpos[i+2]とし、fixpos[i+2]の前後の挿抜座標を次のように設定することも可能である。fixpos[i]、fixpos[i+1]に関し、fixpos[i+2]−2×offset、fixpos[i+2]−offsetとする。fixpos[i+3]、fixpos[i+4]、fixpos[i+5]に関し、fixpos[i+2]+offset、fixpos[i+2]+2×offset、fixpos[i+2]+3×offsetとする。図7のS704の「iは奇数?」を「iを6で割った余りは2か?」とする。余りが2である場合、S705にて乱数rand[i+2]を発生し、S706にて基準位置となるfixpos[i+2]を導出する。基準位置ではない、余りが2以外である場合、S707にて挿抜座標を導出する。このように基準位置となる挿抜位置を第1番目以外とすることも可能である。 In the present embodiment, the resolution of the insertion / removal process is not limited to twice the resolution corresponding to the arrangement interval of the light emitting elements. If the resolution is 2 × N times (N is an integer) corresponding to the arrangement interval of the light emitting elements, the phases can be matched, so 4800 dpi or 9600 dpi may be used. In that case, the insertion / removal position of (2 × N-1) may be arranged closer to the insertion / removal position which is the reference position. For example, if the resolution is 9600 dpi, which is 6 times the resolution corresponding to the arrangement interval of the light emitting elements, the five insertion / extraction positions from fixpos [i + 1] to fixpos [i + 5] should be arranged close to the fixpos [i]. become. In this case, the size of the offset value, which is the offset value, is sufficiently small that even if the offset value is deviated, the unevenness of the density is not noticeable and cannot be visually recognized. May be 50 pixels or less. Further, in this case, it is also possible to set the insertion / extraction coordinates fixpos [i + 2] instead of the insertion / extraction coordinates fixpos [i] of the pixel as the reference position, and set the insertion / extraction coordinates before and after the fixpos [i + 2] as follows. Regarding fixpos [i] and fixpos [i + 1], let them be fixpos [i + 2] -2 x offset and fixpos [i + 2] -offset. Regarding fixpos [i + 3], fixpos [i + 4], and fixpos [i + 5], let them be fixpos [i + 2] + offset, fixpos [i + 2] + 2 × offset, and fixpos [i + 2] + 3 × offset. In S704 of FIG. 7, "is i an odd number?" Is changed to "is the remainder obtained by dividing i by 6?". When the remainder is 2, a random number random [i + 2] is generated in S705, and a fixpos [i + 2] serving as a reference position is derived in S706. If the remainder is other than 2 which is not the reference position, the insertion / extraction coordinates are derived in S707. In this way, the insertion / removal position that serves as the reference position can be set to a position other than the first.

<<実施形態2>>
本実施形態では、実施形態1と異なる処理についてのみ説明する。実施形態1では、挿抜処理の際に画素を単純に削除および挿入する方法を説明した。本実施形態では、挿抜処理の際に隣接画素から補間しながら挿抜処理を実行する方法について説明する。すなわち、本実施形態では、変倍処理のフローを示す図5のS504にて、補間処理を行いながら、挿抜処理を実行する。補間対象は、挿抜処理対象の画素に対して主走査方向上流側または主走査方向下流側で隣接する画素でもよい。補間対象は、主走査方向にて、挿抜処理対象の画素から、挿抜処理対象の画素と同じ画素値の画素までの大きさが大きい側で隣接する画素でもよい。
<< Embodiment 2 >>
In this embodiment, only the processing different from that of the first embodiment will be described. In the first embodiment, a method of simply deleting and inserting pixels during the insertion / removal process has been described. In the present embodiment, a method of executing the insertion / extraction process while interpolating from adjacent pixels during the insertion / extraction process will be described. That is, in the present embodiment, in S504 of FIG. 5, which shows the flow of the scaling process, the insertion / extraction process is executed while performing the interpolation process. The interpolation target may be pixels adjacent to the pixels to be inserted / removed on the upstream side in the main scanning direction or the downstream side in the main scanning direction. The interpolation target may be pixels adjacent to each other on the side having a large size from the pixel to be inserted / removed to the pixel having the same pixel value as the pixel to be inserted / removed in the main scanning direction.

<補間処理を含む画素の間引き処理の概要>
図11を用いて、本実施形態の挿抜処理のうち、補間処理を含む画素の間引き処理(以下、本実施形態の画素間引き処理という)の概要について、説明する。図11は、本実施形態の画素間引き処理の説明図である。図11において、上側には、本実施形態の画素間引き処理を行う前の状態の画像を示し、下側には、本実施形態の画素間引き処理を行った後の状態の画像を示している。図11にて、各枠は各画素を示している。
<Overview of pixel thinning processing including interpolation processing>
The outline of the pixel thinning process including the interpolation process (hereinafter, referred to as the pixel thinning process of the present embodiment) among the insertion / extraction processes of the present embodiment will be described with reference to FIG. FIG. 11 is an explanatory diagram of the pixel thinning process of the present embodiment. In FIG. 11, the upper side shows an image of the state before the pixel thinning process of the present embodiment is performed, and the lower side shows an image of the state after the pixel thinning process of the present embodiment is performed. In FIG. 11, each frame shows each pixel.

図11の上側に示すように、本実施形態の画素間引き処理を行う前にあっては、主走査方向上流側から、画素A、画素B、画素C、画素D、画素E、画素F、画素Gの順番に並んでいるとする。画素Cと画素Eは、本実施形態の画素間引き処理対象の画素に設定されているとする。主走査方向にて上流側または下流側で隣接する画素であって、画素間引き処理対象の画素の画素値と同じ画素値となる画素までの大きさが大きくなる側の画素が、補間対象の画素として設定されるとする。ここでは、画素間引き対象の画素Cに対する補間対象の画素が画素Bに設定されるとする。そのため、変倍処理部109は、挿抜処理のうちの画素間引き処理によって画素Cを削除する際には、画素Bを用いた補間処理を実行して画素B’を生成する。画素B’の画素値として、例えば、画素Bの画素値と画素Cの画素値の和が用いられる。また、画素間引き対象の画素Eに対する補間対象の画素が画素Fに設定されるとする。そのため、変倍処理部109は、挿抜処理のうちの画素間引き処理によって画素Eを削除する際には、画素Fを用いた補間処理を実行して画素F’を生成する。画素F’の画素値として、例えば、画素Eの画素値と画素Fの画素値の和が用いられる。 As shown on the upper side of FIG. 11, before the pixel thinning process of the present embodiment is performed, pixel A, pixel B, pixel C, pixel D, pixel E, pixel F, and pixels are viewed from the upstream side in the main scanning direction. It is assumed that they are arranged in the order of G. It is assumed that the pixels C and E are set as the pixels to be processed for pixel thinning in the present embodiment. Pixels that are adjacent on the upstream side or downstream side in the main scanning direction and whose size up to the pixel that has the same pixel value as the pixel value of the pixel thinning processing target pixel is larger are the pixels to be interpolated. Suppose it is set as. Here, it is assumed that the pixel to be interpolated with respect to the pixel C to be thinned out is set to the pixel B. Therefore, when the pixel C is deleted by the pixel thinning process in the insertion / extraction process, the scaling processing unit 109 executes an interpolation process using the pixel B to generate the pixel B'. As the pixel value of the pixel B', for example, the sum of the pixel value of the pixel B and the pixel value of the pixel C is used. Further, it is assumed that the pixel to be interpolated with respect to the pixel E to be thinned out is set to the pixel F. Therefore, when the pixel E is deleted by the pixel thinning process in the insertion / extraction process, the scaling processing unit 109 executes an interpolation process using the pixel F to generate the pixel F'. As the pixel value of the pixel F', for example, the sum of the pixel value of the pixel E and the pixel value of the pixel F is used.

よって、変倍処理部109は、図11の上側に示す画像に対して本実施形態の画素間引き処理を行うと、処理結果として、図11の下側に示すように、主走査方向上流側から、画素A、画素B’、画素D、画素F’、画素Gとなる画像を出力する。 Therefore, when the scaling processing unit 109 performs the pixel thinning process of the present embodiment on the image shown on the upper side of FIG. 11, as a processing result, as shown on the lower side of FIG. 11, from the upstream side in the main scanning direction. , Pixel A, Pixel B', Pixel D, Pixel F', and Pixel G are output.

本実施形態では、変倍処理前の画素データは、1bit(0〜1)の値である。変倍処理後の画素データは、2bit(0〜2)の値となる。画素間引き処理対象でない画素は、画素値が1であれば、変倍処理後の画素データの画素値として2を出力する。挿抜処理対象でない画素は、画素値が0であれば、変倍処理後の画素データの画素値として0を出力する。補間対象画素については、2つの画素を加算することで、出力する画素データの画素値を決定する。例えば、画素Bの画素値が1であり画素Cの画素値が0である場合、2つの画素を加算し、画素B’の画素値は1となる。 In the present embodiment, the pixel data before the scaling process is a value of 1 bit (0 to 1). The pixel data after the scaling process has a value of 2 bits (0 to 2). If the pixel value is 1, the pixel that is not the target of the pixel thinning process outputs 2 as the pixel value of the pixel data after the scaling process. If the pixel value is 0, the pixel that is not the target of the insertion / extraction process outputs 0 as the pixel value of the pixel data after the scaling process. For the pixel to be interpolated, the pixel value of the pixel data to be output is determined by adding two pixels. For example, when the pixel value of pixel B is 1 and the pixel value of pixel C is 0, the two pixels are added and the pixel value of pixel B'is 1.

<補間しながら画素を間引いたときの変倍処理の詳細>
図12を用いて、変倍処理部109による、補間しながら画素を間引いたときの変倍処理の詳細について説明する。図12は、本実施形態の方法で挿抜処理を実行した場合の説明図である。
<Details of scaling processing when pixels are thinned out while interpolating>
The details of the scaling process when the pixels are thinned out while interpolating by the scaling processing unit 109 will be described with reference to FIG. FIG. 12 is an explanatory diagram when the insertion / extraction process is executed by the method of the present embodiment.

図12(a)は、本実施形態の挿抜処理を適用する前の画像例を示す図である。図12(a)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。斜線で塗られた画素は挿抜位置の画素を示している。 FIG. 12A is a diagram showing an example of an image before applying the insertion / extraction process of the present embodiment. FIG. 12A shows an image input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels painted with diagonal lines indicate the pixels at the insertion / extraction position.

図12(b)は、本実施形態の挿抜処理を適用した後の画像例を示す図である。図12(b)では、変倍処理部109から出力された画像であって、図12(a)に示す挿抜位置に対して、挿抜処理のうちの、補間しながらの、画素の間引き処理を適用した後の画像を示している。 FIG. 12B is a diagram showing an example of an image after applying the insertion / extraction process of the present embodiment. In FIG. 12B, the image output from the scaling processing unit 109 is subjected to pixel thinning processing while interpolating in the insertion / extraction processing with respect to the insertion / extraction position shown in FIG. 12A. The image after application is shown.

図12(c)は、主走査方向にて解像度の変換処理を実行した後の画像例を示す図である。図12(c)では、図12(b)に示す、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。 FIG. 12C is a diagram showing an example of an image after performing the resolution conversion process in the main scanning direction. In FIG. 12 (c), with respect to the image after the insertion / extraction process shown in FIG. 12 (b), the resolution conversion unit 110 has a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements in the main scanning direction. The image after performing the resolution conversion process is shown.

なお、実施形態1では、変倍処理後に取り得る値が0、1、2であるので、変倍処理後の画像フォーマットは、2400dpi×2400dpi×1bitであった。本実施形態においては、補間しながら変倍処理を実行して取り得る値が0、1、2であるので、変倍処理後の画像フォーマットは、2400dpi×2400dpi×2bitとなる。また、実施形態1では、主走査方向における解像度の変換処理後に取り得る値が0、1、2であるので、主走査方向における解像度の変換処理後の画像フォーマットは、1200dpi×2400dpi×2bitであった。本実施形態においては、補間しながら変倍処理を実行して取り得る値が0、1、2、4であるので、主走査方向における解像度の変換処理後の画像フォーマットは、1200dpi×2400dpi×3bitとなる。 In the first embodiment, the values that can be obtained after the scaling process are 0, 1, and 2, so the image format after the scaling process is 2400 dpi × 2400 dpi × 1 bit. In the present embodiment, since the values that can be obtained by executing the scaling process while interpolating are 0, 1, and 2, the image format after the scaling process is 2400 dpi × 2400 dpi × 2 bit. Further, in the first embodiment, since the values that can be obtained after the resolution conversion process in the main scanning direction are 0, 1, and 2, the image format after the resolution conversion process in the main scanning direction is 1200 dpi × 2400 dpi × 2 bit. It was. In the present embodiment, the values that can be obtained by performing the scaling process while interpolating are 0, 1, 2, and 4, so that the image format after the resolution conversion process in the main scanning direction is 1200 dpi × 2400 dpi × 3 bit. It becomes.

続いて、図12(a)、(b)、(c)を用いて、本実施形態の画素間引き処理を行った場合の、本実施形態の画素間引き処理の前後の様子と、主走査方向における解像度の変換処理後の様子とについて、説明する。 Subsequently, when the pixel thinning process of the present embodiment is performed using FIGS. 12A, 12B, and 12C, the state before and after the pixel thinning process of the present embodiment and the state in the main scanning direction. The state after the resolution conversion process will be described.

図12(b)では、図12(a)の斜線で塗られた画素に対して画素間引き処理が行われることで、画像が縮小した様子を示している。図12(a)に示す画素1201は、間引き処理の対象となる画素である。このとき、画素1201と画素1202を用いて画素1201を削除する。画素1201の画素値は1であり、画素1202の画素値は0であるので、本実施形態の画素間引き処理である、補間しながら画素を間引くことにより、画素1205の画素値は1となる。 FIG. 12B shows how the image is reduced by performing the pixel thinning process on the pixels painted with the diagonal lines in FIG. 12A. The pixel 1201 shown in FIG. 12A is a pixel to be thinned out. At this time, the pixel 1201 is deleted by using the pixel 1201 and the pixel 1202. Since the pixel value of the pixel 1201 is 1 and the pixel value of the pixel 1202 is 0, the pixel value of the pixel 1205 becomes 1 by thinning out the pixels while interpolating, which is the pixel thinning process of the present embodiment.

同様に、画素1203と画素1204を用いて画素1204を削除する。画素1203の画素値は0であり、画素1204の画素値は1であるので、本実施形態の画素間引き処理により、画素1206の画素値は1となる。 Similarly, pixel 1203 and pixel 1204 are used to delete pixel 1204. Since the pixel value of the pixel 1203 is 0 and the pixel value of the pixel 1204 is 1, the pixel value of the pixel 1206 becomes 1 by the pixel thinning process of the present embodiment.

次に、図12(b)に示す画像に対して、主走査方向にて解像度の変換処理を実行すると、図12(c)に示すようになる。画素1208は、画素1205と画素1207から変換される。画素1205の画素値は1であり、画素1207の画素値は0であるので、画素1208の画素値は画素1205の画素値と画素1207の画素値とを加算した1となる。 Next, when the resolution conversion process is executed on the image shown in FIG. 12B in the main scanning direction, the image shown in FIG. 12C is obtained. Pixel 1208 is converted from pixel 1205 and pixel 1207. Since the pixel value of the pixel 1205 is 1 and the pixel value of the pixel 1207 is 0, the pixel value of the pixel 1208 is 1 which is the sum of the pixel value of the pixel 1205 and the pixel value of the pixel 1207.

本実施形態の画素間引き処理で得た画像データに対して主走査方向にて解像度の変換処理を実行することで、図12(c)に示す変換後の画像データは、図9(i)の場合と比べて、変倍処理による段差がさらに滑らかになっていることが分かる。 By executing the resolution conversion process in the main scanning direction on the image data obtained by the pixel thinning process of the present embodiment, the converted image data shown in FIG. 12 (c) can be obtained in FIG. 9 (i). It can be seen that the step due to the scaling process is smoother than in the case.

<補間処理を含む画素挿入処理の概要>
図13を用いて、本実施形態の挿抜処理のうち、補間処理を含む画素挿入処理(以下、本実施形態の画素挿入処理という)の概要について、説明する。図13は、本実施形態の画素挿入処理の説明図である。図13において、上側には、本実施形態の画素挿入処理を行う前の状態の画像を示し、下側には、本実施形態の画素挿入処理を行った後の状態の画像を示している。図13にて、各枠は各画素を示している。
<Overview of pixel insertion processing including interpolation processing>
The outline of the pixel insertion process (hereinafter, referred to as the pixel insertion process of the present embodiment) including the interpolation process among the insertion / extraction processes of the present embodiment will be described with reference to FIG. FIG. 13 is an explanatory diagram of the pixel insertion process of the present embodiment. In FIG. 13, the upper side shows an image of the state before the pixel insertion process of the present embodiment is performed, and the lower side shows an image of the state after the pixel insertion process of the present embodiment is performed. In FIG. 13, each frame shows each pixel.

図13の上側に示すように、本実施形態の画素挿入処理を行う前にあっては、主走査方向上流側から、画素A、画素B、画素C、画素D、画素E、画素F、画素Gの順番に並んでいるとする。画素Cと画素Eは、本実施形態の画素挿入処理対象の画素に設定されているとする。主走査方向にて上流側または下流側で隣接する画素であって、画素挿入処理対象の画素の画素値と同じ画素値となる画素までの大きさが大きくなる側の画素が、補間対象の画素として設定されるとする。ここでは、画素挿入対象の画素Cに対する補間対象の画素が画素Bに設定されるとする。そのため、変倍処理部109は、挿抜処理のうちの画素挿入処理によって画素Cを挿入する際には、画素Bを用いた補間処理を実行して画素C’を生成する。画素C’の画素値として、例えば、画素Bの画素値と画素Cの画素値の和が用いられる。また、画素挿入対象の画素Eに対する補間対象の画素が画素Fに設定されるとする。そのため、変倍処理部109は、挿抜処理のうちの画素挿入処理によって画素Eを挿入する際には、画素Fを用いた補間処理を実行して画素E’を生成する。画素E’の画素値として、例えば、画素Eの画素値と画素Fの画素値の和が用いられる。 As shown on the upper side of FIG. 13, before performing the pixel insertion process of the present embodiment, pixel A, pixel B, pixel C, pixel D, pixel E, pixel F, and pixels are viewed from the upstream side in the main scanning direction. It is assumed that they are arranged in the order of G. It is assumed that the pixel C and the pixel E are set to the pixels to be processed for pixel insertion in the present embodiment. Pixels that are adjacent on the upstream side or downstream side in the main scanning direction and whose size up to the pixel that has the same pixel value as the pixel value of the pixel insertion processing target pixel is larger are the pixels to be interpolated. Suppose it is set as. Here, it is assumed that the pixel to be interpolated with respect to the pixel C to be inserted is set to the pixel B. Therefore, when the pixel C is inserted by the pixel insertion process in the insertion / extraction process, the scaling processing unit 109 executes an interpolation process using the pixel B to generate the pixel C'. As the pixel value of the pixel C', for example, the sum of the pixel value of the pixel B and the pixel value of the pixel C is used. Further, it is assumed that the pixel to be interpolated with respect to the pixel E to be inserted is set to the pixel F. Therefore, when the pixel E is inserted by the pixel insertion process in the insertion / extraction process, the scaling processing unit 109 executes an interpolation process using the pixel F to generate the pixel E'. As the pixel value of the pixel E', for example, the sum of the pixel value of the pixel E and the pixel value of the pixel F is used.

よって、変倍処理部109は、図13の上側に示す画像に対して本実施形態の画素挿入処理を行うと、次に示す処理結果を出力する。すなわち、変倍処理部109は、処理結果として、図13の下側に示すように、主走査方向上流側から、画素A、画素B、画素C’、画素C、画素D、画素E、画素E’、画素F、画素Gとなる画像を出力する。 Therefore, when the pixel insertion processing of the present embodiment is performed on the image shown on the upper side of FIG. 13, the scaling processing unit 109 outputs the processing result shown below. That is, as a processing result, the scaling processing unit 109 has pixel A, pixel B, pixel C', pixel C, pixel D, pixel E, and pixels from the upstream side in the main scanning direction as shown in the lower side of FIG. An image that becomes E', pixel F, and pixel G is output.

本実施形態では、変倍処理前の画素データは、1bit(0〜1)の値である。変倍処理後の画素データは、2bit(0〜2)の値となる。画素挿入処理対象でない画素は、画素値が1であれば、変倍処理後の画素データの画素値として2を出力する。挿抜処理対象でない画素は、画素値が0であれば、変倍処理後の画素データの画素値として0を出力する。補間対象画素については、2つの画素を加算することで、出力する画素データの画素値を決定する。例えば、画素Bの画素値が1であり画素Cの画素値が0である場合、2つの画素を加算し、画素C’の画素値は1となる。 In the present embodiment, the pixel data before the scaling process is a value of 1 bit (0 to 1). The pixel data after the scaling process has a value of 2 bits (0 to 2). If the pixel value is 1, the pixel that is not the target of the pixel insertion process outputs 2 as the pixel value of the pixel data after the scaling process. If the pixel value is 0, the pixel that is not the target of the insertion / extraction process outputs 0 as the pixel value of the pixel data after the scaling process. For the pixel to be interpolated, the pixel value of the pixel data to be output is determined by adding two pixels. For example, when the pixel value of the pixel B is 1 and the pixel value of the pixel C is 0, the two pixels are added and the pixel value of the pixel C'is 1.

<補間しながら画素を挿入したときの変倍処理の詳細>
図14を用いて、変倍処理部109による、補間しながら画素を挿入したときの変倍処理の詳細について説明する。図14は、本実施形態の方法で挿抜処理を実行した場合の説明図である。
<Details of scaling processing when pixels are inserted while interpolating>
The details of the scaling process when pixels are inserted while interpolating by the scaling processing unit 109 will be described with reference to FIG. FIG. 14 is an explanatory diagram when the insertion / extraction process is executed by the method of the present embodiment.

図14(a)は、本実施形態の挿抜処理を適用する前の画像例を示す図である。図14(a)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。斜線で塗られた画素は挿抜位置の画素を示している。 FIG. 14A is a diagram showing an example of an image before applying the insertion / extraction process of the present embodiment. FIG. 14A shows an image input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels painted with diagonal lines indicate the pixels at the insertion / extraction position.

図14(b)は、本実施形態の挿抜処理を適用した後の画像例を示す図である。図14(b)では、変倍処理部109から出力された画像であって、図14(a)に示す挿抜位置に対して、挿抜処理のうちの、補間しながらの、画素の挿入処理を適用した後の画像を示している。 FIG. 14B is a diagram showing an example of an image after applying the insertion / extraction process of the present embodiment. In FIG. 14B, the image output from the scaling processing unit 109 is subjected to the pixel insertion processing while interpolating in the insertion / extraction processing with respect to the insertion / extraction position shown in FIG. 14A. The image after application is shown.

図14(c)は、主走査方向にて解像度の変換処理を実行した後の画像例を示す図である。図14(c)では、図14(b)に示す、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。 FIG. 14C is a diagram showing an example of an image after performing the resolution conversion process in the main scanning direction. In FIG. 14 (c), with respect to the image after the insertion / extraction process shown in FIG. 14 (b), the resolution conversion unit 110 has a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements in the main scanning direction. The image after performing the resolution conversion process is shown.

なお、実施形態1では、変倍処理後に取り得る値が0、1、2であるので、変倍処理後の画像フォーマットは、2400dpi×2400dpi×1bitであった。本実施形態においては、補間しながら変倍処理を実行して取り得る値が0、1、2であるので、変倍処理後の画像フォーマットは、2400dpi×2400dpi×2bitとなる。また、実施形態1では、主走査方向における解像度の変換処理後に取り得る値が0、1、2であるので、主走査方向における解像度の変換処理後の画像フォーマットは、1200dpi×2400dpi×2bitであった。本実施形態においては、補間しながら変倍処理を実行して取り得る値が0、1、2、4であるので、主走査方向における解像度の変換処理後の画像フォーマットは、1200dpi×2400dpi×3bitとなる。 In the first embodiment, the values that can be obtained after the scaling process are 0, 1, and 2, so the image format after the scaling process is 2400 dpi × 2400 dpi × 1 bit. In the present embodiment, since the values that can be obtained by executing the scaling process while interpolating are 0, 1, and 2, the image format after the scaling process is 2400 dpi × 2400 dpi × 2 bit. Further, in the first embodiment, since the values that can be obtained after the resolution conversion process in the main scanning direction are 0, 1, and 2, the image format after the resolution conversion process in the main scanning direction is 1200 dpi × 2400 dpi × 2 bit. It was. In the present embodiment, the values that can be obtained by performing the scaling process while interpolating are 0, 1, 2, and 4, so that the image format after the resolution conversion process in the main scanning direction is 1200 dpi × 2400 dpi × 3 bit. It becomes.

続いて、図14(a)、(b)、(c)を用いて、本実施形態の画素挿入処理を行った場合の、本実施形態の画素挿入処理の前後の様子と、主走査方向における解像度の変換処理後の様子とについて、説明する。 Subsequently, when the pixel insertion processing of the present embodiment is performed using FIGS. 14A, 14B, and 14C, the state before and after the pixel insertion processing of the present embodiment and the state in the main scanning direction. The state after the resolution conversion process will be described.

図14(b)では、図14(a)の斜線で塗られた画素に対して画素挿入処理が行われることで、画像が拡大した様子を示している。図14(a)に示す画素1401は、挿入処理の対象となる画素である。このとき、画素1401と画素1402を用いて画素1401を挿入する。画素1401の画素値は1であり、画素1402の画素値は0であるので、本実施形態の画素挿入処理である、補間しながら画素を挿入することにより、画素1405の画素値は1となる。 FIG. 14 (b) shows how the image is enlarged by performing the pixel insertion process on the pixels painted with the diagonal lines in FIG. 14 (a). The pixel 1401 shown in FIG. 14A is a pixel to be inserted. At this time, the pixel 1401 is inserted using the pixel 1401 and the pixel 1402. Since the pixel value of the pixel 1401 is 1 and the pixel value of the pixel 1402 is 0, the pixel value of the pixel 1405 becomes 1 by inserting the pixels while interpolating, which is the pixel insertion process of the present embodiment. ..

同様に、画素1403と画素1404を用いて画素1404を挿入する。画素1403の画素値は0であり、画素1404の画素値は1であるので、本実施形態の画素挿入処理により、画素1406の画素値は2となる。 Similarly, pixel 1404 is inserted using pixel 1403 and pixel 1404. Since the pixel value of the pixel 1403 is 0 and the pixel value of the pixel 1404 is 1, the pixel value of the pixel 1406 becomes 2 by the pixel insertion process of the present embodiment.

次に、図14(b)に示す画像に対して、主走査方向にて解像度の変換処理を実行すると、図14(c)に示すようになる。画素1408は、画素1405と画素1407から変換される。画素1405の画素値は2であり、画素1407の画素値は0であるので、画素1408の画素値は画素1405の画素値と画素1407の画素値とを加算した2となる。 Next, when the resolution conversion process is executed on the image shown in FIG. 14 (b) in the main scanning direction, the image is shown in FIG. 14 (c). Pixel 1408 is converted from pixel 1405 and pixel 1407. Since the pixel value of the pixel 1405 is 2 and the pixel value of the pixel 1407 is 0, the pixel value of the pixel 1408 is 2 which is the sum of the pixel value of the pixel 1405 and the pixel value of the pixel 1407.

本実施形態の画素挿入処理で得た画像データに対して主走査方向にて解像度の変換処理を実行することで、図14(c)に示す変換後の画像データは、図10(i)の場合と比べて、変倍処理による段差がさらに滑らかになっていることが分かる。 By executing the resolution conversion process in the main scanning direction on the image data obtained by the pixel insertion process of the present embodiment, the converted image data shown in FIG. 14 (c) can be obtained in FIG. 10 (i). It can be seen that the step due to the scaling process is smoother than in the case.

以上説明したように、挿抜処理の際に隣接画素から補間しながら挿抜処理を実行すると変倍処理による段差をさらに滑らかにすることが可能となる。 As described above, if the insertion / extraction process is performed while interpolating from adjacent pixels during the insertion / extraction process, it is possible to further smooth the step due to the scaling process.

<<実施形態3>>
本実施形態では、実施形態1、2と異なる処理についてのみ説明する。実施形態1では、主走査方向における奇数番目と偶数番目の挿抜位置の決定方法について説明した。また、実施形態2では、挿抜処理の際に隣接画素から補間しながら挿抜処理を実行することで、段差のつながりを滑らかにする方法について説明した。本実施形態では、n+2mライン目とnライン目とにおける主走査方向の挿抜位置を同じ位置にして、副走査方向に挿抜区間を設けることで、挿抜処理による段差を軽減する。このとき、mを大きくすればするほど、滑らかな挿抜処理が可能となる。
<< Embodiment 3 >>
In this embodiment, only the processes different from those of the first and second embodiments will be described. In the first embodiment, a method of determining the odd-numbered and even-numbered insertion / extraction positions in the main scanning direction has been described. Further, in the second embodiment, a method of smoothing the connection of steps by executing the insertion / extraction process while interpolating from adjacent pixels during the insertion / extraction process has been described. In the present embodiment, the insertion / extraction positions in the main scanning direction on the n + 2m line and the nth line are set to the same position, and the insertion / extraction section is provided in the sub-scanning direction to reduce the step due to the insertion / extraction process. At this time, the larger m is, the smoother the insertion / removal process becomes possible.

<挿抜位置決定処理のフローチャート>
図15および図16を用いて、本実施形態における挿抜位置決定処理(S502)の詳細を説明する。図15は、本実施形態の挿抜位置決定処理の流れを示したフローチャートである。ここでは、図7(実施形態1)と異なる点に着目して説明する。具体的には、繰り返しカウンタの判定処理S1505、S1514、繰り返し画素数の判定処理S1508、挿抜位置の導出処理S1509、S1510、繰り返しカウンタの導出(決定)処理S1515、S1516に着目して説明する。なお、S1501−S1503はS701−S703と、S1506−S1507はS705−S706と、S1511−S1513はS707−S709とそれぞれ同じであり、その詳細な説明を省略する。本実施形態(図16)では、主走査画素数が48画素の画像であり、挿抜周期Lが10(画素)であり、挿抜回数INが4回であり、挿抜開始座標STが3であり、パラメータiが1であるときの基本挿抜座標basepos[1]が3である場合を説明する。本実施形態では、実施形態1の基本挿抜座標basepos[i]を基本挿抜座標basepos[i][yi]として記載する。
<Flowchart of insertion / removal position determination process>
The details of the insertion / removal position determination process (S502) in the present embodiment will be described with reference to FIGS. 15 and 16. FIG. 15 is a flowchart showing the flow of the insertion / removal position determination process of the present embodiment. Here, the description will be focused on the points different from those of FIG. 7 (Embodiment 1). Specifically, the repetition counter determination processing S1505 and S1514, the repetition pixel number determination processing S1508, the insertion / extraction position derivation processing S1509 and S1510, and the repetition counter derivation (determination) processing S1515 and S1516 will be described. Note that S1501-S1503 is the same as S701-S703, S1506-S1507 is the same as S705-S706, and S1511-S1513 is the same as S707-S709, and detailed description thereof will be omitted. In the present embodiment (FIG. 16), the image has a main scanning pixel number of 48 pixels, the insertion / extraction cycle L is 10 (pixels), the number of insertion / extraction IN is 4, and the insertion / extraction start coordinate ST is 3. The case where the basic insertion / extraction coordinates basepos [1] when the parameter i is 1 is 3 will be described. In the present embodiment, the basic hot-swap coordinates basepos [i] of the first embodiment are described as the basic hot-swap coordinates basepos [i] [yi].

S1501からS1503までの処理を実行して、挿抜座標の基準となる座標である基本挿抜座標basepos[i]を決定すると、S1504において、変倍処理部109は、パラメータiが基準位置の奇数であるかどうかを判定する。これは、パラメータiが奇数である場合とパラメータiが基準位置ではない偶数である場合とで挿抜座標fixpos[i][yi]の導出方法を変えるためである。 When the processes from S1501 to S1503 are executed to determine the basic hot-swap coordinate basepos [i] which is the reference coordinate of the hot-swap coordinate, in S1504, the variable magnification processing unit 109 has the parameter i which is an odd number of the reference position. Determine if. This is because the method of deriving the insertion / extraction coordinates fixpos [i] [yi] is changed depending on whether the parameter i is an odd number or the parameter i is an even number that is not the reference position.

従って、パラメータiが奇数であるとの判定結果を得た場合(S1504のYES)、変倍処理部109は、処理をS1505へ移行する。他方、パラメータiが偶数であり奇数ではないとの判定結果を得た場合(S1504のNO)、変倍処理部109は、処理をS1511へ移行する。 Therefore, when the determination result that the parameter i is an odd number is obtained (YES in S1504), the scaling processing unit 109 shifts the processing to S1505. On the other hand, when the determination result that the parameter i is an even number and not an odd number is obtained (NO in S1504), the scaling processing unit 109 shifts the processing to S1511.

S1505において、変倍処理部109は、繰り返しカウンタrepeat_cnt[i]が0であるか否かを判定する。これは、繰り返しカウンタrepeat_cnt[i]が0である場合とそれ以外とで、挿抜座標fixpos[i][yi]の導出方法を変えるためである。繰り返し画素数repeat_pixは、予め設定される単位であって、副走査方向における挿抜区間を示す単位である。繰り返し画素数repeat_pixは、変倍方向と直交する方向にて、第一の挿抜位置の次の第三の挿抜位置や、第三の挿抜位置の次の位置で、第一の挿抜位置と主走査方向で同じ位置を第四の挿抜位置として決定する挿抜区間を示す単位ともいえる。本実施形態では、副走査方向にて所定の単位(図16では8画素)で、挿抜座標が副走査方向に1ライン飛ばしで主走査方向において同じとなるようにしている。上記の予め定められた単位は、繰り返し画素数repeat_pixを基準として設定される。そして、繰り返しカウンタrepeat_cnt[i]を用いて、この繰り返しの制御が行われる。繰り返し画素数repeat_pixは、8以上の数が設定される。これは、1ライン飛ばしで挿抜位置を繰り返している区間において、疑似的に2400dpiで処理を行うためである。この区間が短すぎる(繰り返し画素数repeat_pixが1や2である)と、1200dpiの段差が視認されてしまう。実験の結果によると、繰り返し区間の幅が約88μm以上ある場合、細線の段差を視認しづらくなることが確認されている。つまり、2400dpiで8画素以上が設定されることが望ましい。ただし、この繰り返し区間が20cm等、長い区間続くと、スジとなって視認されるので、適正な長さに設定することが望ましい。つまり、2400dpiで18182画素未満が設定されることが望ましい。 In S1505, the scaling processing unit 109 determines whether or not the repetition counter repeat_ct [i] is 0. This is to change the derivation method of the insertion / extraction coordinates fixpos [i] [yi] depending on whether the repetition counter repeat_ct [i] is 0 or not. The number of repeated pixels repeat_pix is a preset unit and is a unit indicating an insertion / extraction section in the sub-scanning direction. The number of repeating pixels repeat_pix is the first insertion / removal position and the main scan at the third insertion / removal position next to the first insertion / removal position and the position next to the third insertion / removal position in the direction orthogonal to the scaling direction. It can also be said to be a unit indicating an insertion / extraction section in which the same position in the direction is determined as the fourth insertion / extraction position. In the present embodiment, the insertion / extraction coordinates are skipped by one line in the sub-scanning direction and are the same in the main scanning direction in a predetermined unit (8 pixels in FIG. 16) in the sub-scanning direction. The above-mentioned predetermined unit is set with reference to the number of repeating pixels repeat_pix. Then, the repetition is controlled by using the repetition counter repeat_ct [i]. The number of repeated pixels repeat_pix is set to 8 or more. This is because the processing is performed at 2400 dpi in a pseudo manner in the section where the insertion / extraction position is repeated by skipping one line. If this section is too short (the number of repeated pixels repeat_pix is 1 or 2), a step of 1200 dpi will be visually recognized. According to the results of the experiment, it has been confirmed that when the width of the repeating section is about 88 μm or more, it becomes difficult to visually recognize the step of the thin line. That is, it is desirable that 8 pixels or more are set at 2400 dpi. However, if this repeating section continues for a long section such as 20 cm, it will be visually recognized as a streak, so it is desirable to set it to an appropriate length. That is, it is desirable that less than 18182 pixels are set at 2400 dpi.

繰り返しカウンタrepeat_cnt[i]が0である場合は挿抜位置の基準となる。繰り返しカウンタrepeat_cnt[i]が0であるとの判定結果を得た場合(S1505のYES)、変倍処理部109は、処理をS1506に移行する。他方、繰り返しカウンタrepeat_cnt[i]が0ではないとの判定結果を得た場合(S1505のNO)、変倍処理部109は、処理をS1508に移行する。 When the repeat counter repeat_ct [i] is 0, it serves as a reference for the insertion / extraction position. When the determination result that the repetition counter repeat_ct [i] is 0 is obtained (YES in S1505), the scaling processing unit 109 shifts the processing to S1506. On the other hand, when the determination result that the repetition counter repeat_ct [i] is not 0 is obtained (NO in S1505), the scaling processing unit 109 shifts the processing to S1508.

S1506の処理を実行して、S705と同様、乱数rand[i]を発生させると、S1507において、変倍処理部109は、次のように、挿抜座標fixpos[i][yi]を導出する。すなわち、変倍処理部109は、S706で用いる上述の式(23)に副走査方向[yi]を加味した、以下の(29)式に基づき、挿抜座標fixpos[i][yi]を導出する。基本挿抜座標basepos[1]が3であり、乱数rand[1]が3である場合、式(29)は、以下の式(30)のように表せる。
挿抜座標fixpos[i][yi]=basepos[i][yi]+rand[i] ・・・(29)
挿抜座標fixpos[1][0]=basepos[1]+rand[1]
・・・(30)
=3 +3
=6
When the process of S1506 is executed and a random number random [i] is generated as in S705, in S1507, the scaling processing unit 109 derives the hot-swap coordinates fixpos [i] [yi] as follows. That is, the scaling processing unit 109 derives the hot-swap coordinates fixpos [i] [yi] based on the following equation (29) in which the sub-scanning direction [y] is added to the above equation (23) used in S706. .. When the basic hot-swap coordinates basepos [1] are 3 and the random number random [1] is 3, the equation (29) can be expressed as the following equation (30).
Hot-swap coordinates fixpos [i] [yi] = basepos [i] [yi] + land [i] ... (29)
Hot-swap coordinates fixpos [1] [0] = basepos [1] + land [1]
... (30)
= 3 +3
= 6

上述の式(30)に基づき、挿抜座標fixpos[1][0]として、6が導出される。 Based on the above equation (30), 6 is derived as the insertion / extraction coordinates fixpos [1] [0].

よって、図16に示すように、挿抜座標fixpos[1][0]が6となる。 Therefore, as shown in FIG. 16, the insertion / extraction coordinates fixpos [1] [0] are 6.

S1508において、変倍処理部109は、繰り返しカウンタrepeat_cnt[i]が偶数であるかどうかを判定する。これは、繰り返しカウンタrepeat_cnt[i]が偶数の場合とそれ以外とで、挿抜座標fixpos[i][yi]の導出方法を変えるためである。 In S1508, the scaling processing unit 109 determines whether or not the repetition counter repeat_ct [i] is an even number. This is to change the derivation method of the insertion / extraction coordinates fixpos [i] [yi] depending on whether the repetition counter repeat_ct [i] is an even number or not.

繰り返しカウンタrepeat_cnt[i]が奇数であり、偶数ではないとの判定結果を得た場合(S1508のNO)、変倍処理部109は、処理をS1510に移行する。他方、繰り返しカウンタrepeat_cnt[i]が偶数であるとの判定結果を得た場合(S1508のYES)、変倍処理部109は、処理をS1509に移行する。 When the repeat counter repeat_ct [i] is an odd number and a determination result of not being an even number is obtained (NO in S1508), the scaling processing unit 109 shifts the processing to S1510. On the other hand, when the determination result that the repetition counter repeat_ct [i] is an even number is obtained (YES in S1508), the scaling processing unit 109 shifts the processing to S1509.

S1509において、変倍処理部109は、2ライン前の挿抜座標である挿抜座標fixpos[i][yi−2]を代入することで、奇数番目の座標fixpos[i]を導出する。すなわち、挿抜座標fixpos[i][yi]は、以下の式(31)に基づき導出できる。
挿抜座標fixpos[i][yi]=fixpos[i][yi−2]・・・(31)
挿抜座標fixpos[1][2] =fixpos[1][2−2] ・・・(32)
=fixpos[1][0]
=6
In S1509, the scaling processing unit 109 derives the odd-numbered coordinates fixpos [i] by substituting the insertion / extraction coordinates fixpos [i] [y-2], which are the insertion / extraction coordinates two lines before. That is, the insertion / extraction coordinates fixpos [i] [yi] can be derived based on the following equation (31).
Insertion / extraction coordinates fixpos [i] [yi] = fixpos [i] [y-2] ... (31)
Insertion / extraction coordinates fixpos [1] [2] = fixpos [1] [2-2] ... (32)
= Fixpos [1] [0]
= 6

上述の式(32)に基づき、挿抜座標fixpos[1][2]として、6が導出される。 Based on the above equation (32), 6 is derived as the insertion / extraction coordinates fixpos [1] [2].

S1510において、変倍処理部109は、本挿抜座標fixpos[i][yi]の一ライン前の挿抜座標fixpos[i][yi−1]と予め定められたオフセット値であるshift_pixとを基に、挿抜座標fixpos[i][yi]を導出する。S1510では、奇数番目の挿抜座標fixpos[i][yi]が導出される。挿抜座標fixpos[i][yi]は、一ライン前の、前回の挿抜座標である、奇数番目の挿抜座標fixpos[i][yi−1]に予め定められたオフセット値であるshift_pixを加算することで導出される。すなわち、挿抜座標fixpos[i][yi]は、一ライン前の挿抜座標fixpos[i][yi−1]と予め定められたオフセット値であるshift_pixとの関係式である以下の式(33)に基づき導出できる。2番目の挿抜座標fixpos[2]の一つ前の1番目の挿抜座標fixpos[1]が6であり、shift_pixが2である場合、式(33)は、以下の式(34)のように表せる。
挿抜座標fixpos[i][yi]=fixpos[i][yi−1]+shift_pix ・・・(33)
挿抜座標fixpos[1][1] =fixpos[1][0] +6
・・・(34)
=6 +6
=12
In S1510, the scaling processing unit 109 is based on the insertion / extraction coordinates fixpos [i] [y-1] one line before the main insertion / extraction coordinates fixpos [i] [yi] and shift_pix which is a predetermined offset value. , The insertion / extraction coordinates fixpos [i] [yi] are derived. In S1510, odd-numbered hot-swap coordinates fixpos [i] [yi] are derived. The insertion / extraction coordinates fixpos [i] [yi] add shift_pix, which is a predetermined offset value, to the odd-numbered insertion / extraction coordinates fixpos [i] [y-1], which are the previous insertion / extraction coordinates one line before. It is derived by. That is, the insertion / extraction coordinates fixpos [i] [yi] are the relational expressions between the insertion / extraction coordinates fixpos [i] [y-1] one line before and the preset offset value shift_pix (33). Can be derived based on. When the first hot-swap coordinate fixpos [1] immediately before the second hot-swap coordinate fixpos [2] is 6 and shift_pix is 2, the equation (33) is as shown in the following equation (34). Can be represented.
Hot-swap coordinates fixpos [i] [yi] = fixpos [i] [y-1] + shift_pix ... (33)
Hot-swap coordinates fixpos [1] [1] = fixpos [1] [0] +6
... (34)
= 6 + 6
= 12

上述の式(34)に基づき、挿抜座標fixpos[1][1]として、12が導出される。 Based on the above equation (34), 12 is derived as the insertion / extraction coordinates fixpos [1] [1].

S1511において、変倍処理部109は、S707で用いる上述の式(25)に副走査方向[yi]を加味した、以下の(35)式に基づき、偶数番目の挿抜座標fixpos[i][yi]を導出する。1ライン目の2番目の挿抜座標fixpos[2][0]の一つ前の1番目の挿抜座標fixpos[1][0]が6であり、offsetが2である場合、式(35)は、以下の式(36)のように表せる。
挿抜座標fixpos[i][yi]=fixpos[i−1][yi]+offset ・・・(35)
挿抜座標fixpos[2][0] =fixpos[2−1][0] +2 ・・・(36)
=6 +2
=8
In S1511, the scaling processing unit 109 adds the sub-scanning direction [yi] to the above-mentioned equation (25) used in S707, and based on the following equation (35), the even-numbered hot-swap coordinates fixpos [i] [yi] ] Is derived. When the first insertion / extraction coordinates fixpos [1] [0] immediately before the second insertion / extraction coordinates fixpos [2] [0] of the first line are 6 and the offset is 2, the equation (35) is , Can be expressed as the following equation (36).
Insertion / extraction coordinates fixpos [i] [yi] = fixpos [i-1] [yi] + offset ... (35)
Insertion / extraction coordinates fixpos [2] [0] = fixpos [2-1] [0] +2 ... (36)
= 6 + 2
= 8

上述の式(36)に基づき、1ライン目の2番目である挿抜座標fixpos[2][0]として、8が導出される。 Based on the above equation (36), 8 is derived as the second insertion / extraction coordinates fixpos [2] [0] of the first line.

S1512において、変倍処理部109は、パラメータiが挿抜回数INと等しいかどうかを判定する。パラメータiが挿抜回数INと等しくないとの判定結果を得た場合(S1512のNO)、変倍処理部109は、注目ラインにおいて、未だ挿抜座標が決定していない挿抜座標fixpos[i][yi]が存在すると判断して、処理をS1513へ移行する。S1513にて、変倍処理部109は、パラメータiに1を加算する処理を実行する。変倍処理部109は、加算処理を実行した後、処理をS1503へ移行する。S1503にて、変倍処理部109は、加算処理前のパラメータに対応する挿抜位置に続く、加算処理後のパラメータに対応する挿抜位置の導出処理を実行する。他方、パラメータiが挿抜回数INと等しいとの判定結果を得た場合(S1512のYES)、変倍処理部109は、注目ラインにおいて、全ての挿抜座標fixpos[i]が決定されたと判断して、終了する。すなわち、変倍処理部109は、パラメータiが挿抜回数INと等しくなるまで、各パラメータiに対応する挿抜座標fixpos[i]を導出するための一連の処理(S1503からS1513)を実行する。 In S1512, the scaling processing unit 109 determines whether the parameter i is equal to the number of insertions / extractions IN. When the determination result that the parameter i is not equal to the number of insertion / extraction IN is obtained (NO in S1512), the scaling processing unit 109 determines the insertion / extraction coordinates fixpos [i] [yi] in the line of interest. ] Exists, and the process shifts to S1513. In S1513, the scaling processing unit 109 executes a process of adding 1 to the parameter i. After executing the addition process, the variable magnification processing unit 109 shifts the process to S1503. In S1503, the scaling processing unit 109 executes a derivation process of the insertion / extraction position corresponding to the parameter after the addition processing, following the insertion / extraction position corresponding to the parameter before the addition processing. On the other hand, when the determination result that the parameter i is equal to the number of insertion / extraction IN is obtained (YES in S1512), the scaling processing unit 109 determines that all the insertion / extraction coordinates fixpos [i] have been determined in the line of interest. ,finish. That is, the scaling processing unit 109 executes a series of processes (S1503 to S1513) for deriving the insertion / extraction coordinates fixpos [i] corresponding to each parameter i until the parameter i becomes equal to the number of insertion / extraction times IN.

S1514において、変倍処理部109は、繰り返しカウンタrepeat_cnt[i]が繰り返し画素数repeat_pixと等しいか否かを判断する。繰り返しカウンタrepeat_cnt[i]が繰り返し画素数repeat_pixと等しいとの判定結果を得た場合(S1514のYES)、変倍処理部109は、処理をS1515に移行する。他方、繰り返しカウンタrepeat_cnt[i]が繰り返し画素数repeat_pixと等しくないとの判定結果を得た場合(S1514のNO)、変倍処理部109は、処理をS1516に移行する。 In S1514, the scaling processing unit 109 determines whether or not the repetition counter repeat_ct [i] is equal to the number of repetition pixels repeat_pix. When the determination result that the repetition counter repeat_ct [i] is equal to the number of repetition pixels repeat_pix is obtained (YES in S1514), the scaling processing unit 109 shifts the processing to S1515. On the other hand, when the determination result that the repetition counter repeat_ct [i] is not equal to the number of repetition pixels repeat_pix is obtained (NO in S1514), the scaling processing unit 109 shifts the processing to S1516.

S1515において、変倍処理部109は、繰り返しカウンタrepeat_cnt[i]に0を代入することで、繰り返しカウンタrepeat_cnt[i]の初期化を行う。変倍処理部109は、繰り返しカウンタrepeat_cnt[i]の初期化処理後、本フローを終了する。 In S1515, the scaling processing unit 109 initializes the repetition counter repeat_ct [i] by substituting 0 for the repetition counter repeat_ct [i]. The variable magnification processing unit 109 ends this flow after the initialization processing of the repeat counter repeat_ct [i].

S1516において、変倍処理部109は、繰り返しカウンタrepeat_cnt[i]に1を加算することで、繰り返しカウンタrepeat_cnt[i]の更新を行う。変倍処理部109は、繰り返しカウンタrepeat_cnt[i]の更新処理後、本フローを終了する。 In S1516, the scaling processing unit 109 updates the repetition counter repeat_ct [i] by adding 1 to the repetition counter repeat_ct [i]. The variable magnification processing unit 109 ends this flow after the repetitive counter repeat_ct [i] is updated.

上述した繰り返しカウンタrepeat_cnt[i]は、副走査方向のカウンタである。繰り返しカウンタrepeat_cnt[i]の値が0である場合、S1507の式(29)に基づき挿抜位置が導出される。繰り返しカウンタrepeat_cnt[i]の値が0ではなく、かつ、偶数である場合は、S1509の式(31)に基づき挿抜位置が導出される。繰り返しカウンタrepeat_cnt[i]の値が0ではなく、かつ、奇数である場合は、S1510の式(33)に基づき挿抜位置が導出される。 The repeat counter repeat_ct [i] described above is a counter in the sub-scanning direction. When the value of the repeat counter repeat_ct [i] is 0, the insertion / extraction position is derived based on the equation (29) of S1507. When the value of the repeat counter repeat_ct [i] is not 0 and is even, the insertion / extraction position is derived based on the equation (31) of S1509. When the value of the repetition counter repeat_ct [i] is not 0 and is an odd number, the insertion / extraction position is derived based on the equation (33) of S1510.

<変倍処理の詳細>
図17を用いて、変倍処理部109による、画素を間引いたときの変倍処理の詳細について説明する。図17(a)、(c)、(e)は、上述した実施形態1の方法で挿抜処理を実行した場合の説明図である。図17(b)、(d)、(f)は、本実施形態(実施形態3)の方法で挿抜処理を実行した場合の説明図である。
<Details of scaling processing>
The details of the scaling process when the pixels are thinned out by the scaling processing unit 109 will be described with reference to FIG. 17 (a), (c), and (e) are explanatory views when the insertion / removal process is executed by the method of the first embodiment described above. 17 (b), (d), and (f) are explanatory views when the insertion / extraction process is executed by the method of the present embodiment (embodiment 3).

図17(a)、(b)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。斜線で塗られた画素は挿抜位置の画素を示している。 17 (a) and 17 (b) show images input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels painted with diagonal lines indicate the pixels at the insertion / extraction position.

図17(c)、(d)では、変倍処理部109から出力された画像であって、図17(a)、(b)に示す挿抜位置に対して、挿抜処理のうちの画素の間引き処理を適用した後の画像を示している。 17 (c) and 17 (d) are images output from the scaling processing unit 109, and the pixels in the insertion / extraction process are thinned out with respect to the insertion / extraction positions shown in FIGS. 17 (a) and 17 (b). The image after applying the processing is shown.

図17(e)、(f)では、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。図17(a)から(f)では、横方向が主走査方向を示し、縦方向が副走査方向を示している。 In FIGS. 17 (e) and 17 (f), the resolution conversion unit 110 performs resolution conversion processing in the main scanning direction at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements with respect to the image after the insertion / extraction processing is applied. The image after executing is shown. In FIGS. 17A to 17F, the horizontal direction indicates the main scanning direction and the vertical direction indicates the sub-scanning direction.

(実施形態1の場合)
図17(a)、(c)、(e)を用いて、実施形態1の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
(In the case of Embodiment 1)
A state of the insertion / extraction process and a state of the resolution conversion process in the main scanning direction when the insertion / extraction process is executed by the method of the first embodiment will be described with reference to FIGS. 17 (a), (c), and (e). To do.

図17(c)は、図17(a)に示す、斜線で塗られた画素が削除されることで、画像が縮小した様子を示す図である。図17(a)に示す画素1701と画素1702は、間引き対象(削除対象)となる画素である。画素1701と画素1702が削除されると、図17(c)に示すように、図17(a)に示す画素1703と画素1704は主走査方向上流側である左方向に移動し、画素1705と画素1706となる。 FIG. 17 (c) is a diagram showing a state in which the image is reduced by deleting the pixels painted with the diagonal lines shown in FIG. 17 (a). Pixels 1701 and 1702 shown in FIG. 17A are pixels to be thinned out (deleted). When the pixels 1701 and 1702 are deleted, as shown in FIG. 17 (c), the pixels 1703 and 1704 shown in FIG. 17 (a) move to the left, which is the upstream side in the main scanning direction, and become the pixels 1705. The number of pixels is 1706.

次に、図17(e)に示す画素1707は、図17(c)に示す画素1705と画素1706から変換される。画素1705と画素1706はともに黒画素であるので、画素1707の画素値は、2となる。 Next, the pixel 1707 shown in FIG. 17 (e) is converted from the pixels 1705 and the pixel 1706 shown in FIG. 17 (c). Since both the pixel 1705 and the pixel 1706 are black pixels, the pixel value of the pixel 1707 is 2.

(実施形態3の場合)
図17(b)、(d)、(f)と図19を用いて、実施形態3の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
(In the case of Embodiment 3)
A state of the insertion / extraction process and a state of the resolution conversion process in the main scanning direction when the insertion / extraction process is executed by the method of the third embodiment using FIGS. 17 (b), (d), (f) and FIG. Will be described.

図17(d)は、図17(b)に示す、斜線で塗られた画素が削除されることで、画像が縮小した様子を示す図である。図17(b)に示す画素1708と画素1709は、間引き対象(削除対象)となる画素である。画素1708と画素1709が削除されると、図17(d)に示すように、図17(b)に示す画素1710と画素1711は主走査方向上流側である左方向に移動し、画素1712と画素1713となる。 FIG. 17D is a diagram showing a state in which the image is reduced by deleting the pixels painted with diagonal lines shown in FIG. 17B. Pixels 1708 and 1709 shown in FIG. 17B are pixels to be thinned out (deleted). When the pixels 1708 and 1709 are deleted, as shown in FIG. 17 (d), the pixels 1710 and 1711 shown in FIG. 17 (b) move to the left, which is the upstream side in the main scanning direction, and become the pixels 1712. It becomes pixel 1713.

図19は、感光体ドラム上に形成された静電潜像の電位分布を示す図である。なお、図19において、横方向が主走査方向を示し、縦方向が副走査方向を示している。 FIG. 19 is a diagram showing the potential distribution of the electrostatic latent image formed on the photoconductor drum. In FIG. 19, the horizontal direction indicates the main scanning direction, and the vertical direction indicates the sub-scanning direction.

図19(a)は、図17(e)に示す画像のデータに基づいて感光体ドラム上に形成された静電潜像の電位分布を示す図である。 FIG. 19A is a diagram showing the potential distribution of the electrostatic latent image formed on the photoconductor drum based on the image data shown in FIG. 17E.

図19(b)は、図17(f)に示す画像のデータに基づいて感光体ドラム上に形成された静電潜像の電位分布を示す図である。 FIG. 19 (b) is a diagram showing the potential distribution of the electrostatic latent image formed on the photoconductor drum based on the image data shown in FIG. 17 (f).

次に、図17(f)に示す画素1714は、図17(d)に示す画素1712と画素1713から変換される。画素1712と画素1713はともに黒画素であるので、画素1714の画素値は、2となる。 Next, the pixel 1714 shown in FIG. 17 (f) is converted from the pixel 1712 and the pixel 1713 shown in FIG. 17 (d). Since both the pixel 1712 and the pixel 1713 are black pixels, the pixel value of the pixel 1714 is 2.

実施形態1の方法で挿抜処理を実行すると、図19(a)に示すように、細線に段差が発生していることがわかる。実施形態3の方法で挿抜処理を実行すると、図19(b)に示すように、細線をまたいで挿抜位置が繰り返されている箇所において、1200dpiの位相の間の2400dpiの位置に細線を配置できていることがわかる。細線をまたいで挿抜位置が繰り返されている箇所は、細線を挟み主走査方向の上流側および下流側で挿抜位置が繰り返されている箇所ともいえる。これにより、段差の幅が1200dpiから2400dpiに軽減し、かつ、一定の幅(副走査方向にて所定の大きさ)で挿抜処理の繰り返しを行うので、段差を軽減することができる。 When the insertion / extraction process is executed by the method of the first embodiment, it can be seen that a step is generated in the thin line as shown in FIG. 19 (a). When the insertion / extraction process is executed by the method of the third embodiment, as shown in FIG. 19B, the thin line can be arranged at the position of 2400 dpi between the phases of 1200 dpi at the place where the insertion / extraction position is repeated across the thin line. You can see that. A place where the insertion / extraction position is repeated across the thin line can be said to be a place where the insertion / removal position is repeated on the upstream side and the downstream side in the main scanning direction across the thin line. As a result, the width of the step is reduced from 1200 dpi to 2400 dpi, and the insertion / removal process is repeated with a constant width (a predetermined size in the sub-scanning direction), so that the step can be reduced.

<画素を挿入したときの変倍処理の詳細>
図18、図19を用いて、変倍処理部109による、画素を挿入したときの変倍処理の詳細について説明する。図18(a)、(c)、(e)は、実施形態1の方法で挿抜処理を実行した場合の説明図である。図18(b)、(d)、(f)は、本実施形態(実施形態3)の方法で挿抜処理を実行した場合の説明図である。
<Details of scaling processing when pixels are inserted>
The details of the scaling process when the pixel is inserted by the scaling processing unit 109 will be described with reference to FIGS. 18 and 19. 18 (a), (c), and (e) are explanatory views when the insertion / extraction process is executed by the method of the first embodiment. 18 (b), (d), and (f) are explanatory views when the insertion / extraction process is executed by the method of the present embodiment (embodiment 3).

図18(a)、(b)では、変倍処理部109に入力された画像であって、挿抜処理を適用する前の画像を示している。破線で囲まれた画素は挿抜位置の画素を示している。 18 (a) and 18 (b) show images input to the scaling processing unit 109 before the insertion / extraction process is applied. The pixels surrounded by the broken line indicate the pixels at the insertion / extraction position.

図18(c)、(d)では、変倍処理部109から出力された画像であって、図18(a)、(b)に示す挿抜位置に対して、挿抜処理のうち画素の挿入処理を適用した後の画像を示している。破線で囲まれる画素は挿抜位置の画素を示し、太線の1点鎖線で囲まれる画素は、挿入された画素を示している。 18 (c) and 18 (d) are images output from the scaling processing unit 109, and the pixel insertion process of the insertion / extraction processes is performed with respect to the insertion / extraction positions shown in FIGS. 18 (a) and 18 (b). The image after applying is shown. The pixel surrounded by the broken line indicates the pixel at the insertion / extraction position, and the pixel surrounded by the alternate long and short dash line indicates the inserted pixel.

図18(e)、(f)では、挿抜処理を適用した後の画像に対して、解像度変換部110が発光素子の配置間隔に対応する解像度(1200dpi)で主走査方向にて解像度の変換処理を実行した後の画像を示している。 In FIGS. 18 (e) and 18 (f), the resolution conversion unit 110 performs resolution conversion processing in the main scanning direction at a resolution (1200 dpi) corresponding to the arrangement interval of the light emitting elements with respect to the image after the insertion / extraction processing is applied. The image after executing is shown.

図19(c)は、図18(e)に示す画像のデータに基づいて感光体ドラム上に形成された静電潜像の電位分布を示す図である。図19(d)は、図18(f)に示す画像のデータに基づいて感光体ドラム上に形成された静電潜像の電位分布を示す図である。 FIG. 19 (c) is a diagram showing the potential distribution of the electrostatic latent image formed on the photoconductor drum based on the image data shown in FIG. 18 (e). FIG. 19 (d) is a diagram showing the potential distribution of the electrostatic latent image formed on the photoconductor drum based on the image data shown in FIG. 18 (f).

(実施形態1の場合)
図18(a)、(c)、(e)を用いて、実施形態1の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
(In the case of Embodiment 1)
A state of the insertion / extraction process and a state of the resolution conversion process in the main scanning direction when the insertion / extraction process is executed by the method of the first embodiment will be described with reference to FIGS. 18 (a), (c), and (e). To do.

図18(c)は、図18(a)に示す、破線で囲まれた画素が挿入されることで、画像が拡大した様子を示す図である。図18(a)に示す画素1801と画素1802は、挿入対象となる画素である。画素1801と画素1802が挿入されると、図18(c)に示すように、図18(a)に示す画素1803と画素1804は主走査方向下流側である右方向に移動し、画素1805と画素1806となる。 FIG. 18 (c) is a diagram showing a state in which the image is enlarged by inserting the pixel surrounded by the broken line shown in FIG. 18 (a). Pixels 1801 and 1802 shown in FIG. 18A are pixels to be inserted. When the pixels 1801 and 1802 are inserted, as shown in FIG. 18 (c), the pixels 1803 and 1804 shown in FIG. 18 (a) move to the right, which is the downstream side in the main scanning direction, and become the pixels 1805. The number of pixels is 1806.

次に、図18(e)に示す画素1807は、図18(c)に示す画素1805と画素1806から変換される。画素1805と画素1806はともに黒画素であるので、画素1807の画素値は、2となる。 Next, the pixel 1807 shown in FIG. 18 (e) is converted from the pixels 1805 and the pixel 1806 shown in FIG. 18 (c). Since both the pixel 1805 and the pixel 1806 are black pixels, the pixel value of the pixel 1807 is 2.

(実施形態3の場合)
図18(b)、(d)、(f)を用いて、実施形態3の方法で挿抜処理を実行した場合の、挿抜処理の様子と、主走査方向における解像度の変換処理の様子について、説明する。
(In the case of Embodiment 3)
A state of the insertion / extraction process and a state of the resolution conversion process in the main scanning direction when the insertion / extraction process is executed by the method of the third embodiment will be described with reference to FIGS. 18 (b), (d), and (f). To do.

図18(d)は、図18(b)に示す、破線で囲まれた画素が挿入されることで、画像が拡大した様子を示す図である。図18(b)に示す画素1808と画素1809は、挿入対象となる画素である。画素1808と画素1809が挿入されると、図18(d)に示すように、図18(b)に示す画素1810と画素1811は主走査方向下流側である右方向に移動し、画素1812と画素1813となる。 FIG. 18D is a diagram showing a state in which the image is enlarged by inserting the pixel surrounded by the broken line shown in FIG. 18B. Pixels 1808 and 1809 shown in FIG. 18B are pixels to be inserted. When the pixels 1808 and 1809 are inserted, as shown in FIG. 18 (d), the pixels 1810 and 1811 shown in FIG. 18 (b) move to the right, which is the downstream side in the main scanning direction, and become the pixels 1812. It becomes pixel 1813.

次に、図18(f)に示す画素1814は、図18(d)に示す画素1812と画素1813から変換される。画素1812と画素1813はともに黒画素であるので、画素1814の画素値は、2となる。 Next, the pixel 1814 shown in FIG. 18 (f) is converted from the pixel 1812 and the pixel 1813 shown in FIG. 18 (d). Since both the pixel 1812 and the pixel 1813 are black pixels, the pixel value of the pixel 1814 is 2.

実施形態1の方法で挿抜処理を実行すると、図19(c)に示すように、細線に段差が発生していることがわかる。実施形態3の方法で挿抜処理を実行すると、図19(d)に示すように、細線をまたいで挿抜位置が繰り返されている箇所において、1200dpiの位相の間の2400dpiの位置に細線を配置できていることがわかる。細線をまたいで挿抜位置が繰り返されている箇所は、細線を挟み主走査方向の上流側および下流側で挿抜位置が繰り返されている箇所ともいえる。これにより、段差の幅が1200dpiから2400dpiに軽減し、かつ、一定の幅(副走査方向にて所定の大きさ)で挿抜処理の繰り返しを行うので、段差を軽減することができる。 When the insertion / extraction process is executed by the method of the first embodiment, it can be seen that a step is generated in the thin line as shown in FIG. 19 (c). When the insertion / extraction process is executed by the method of the third embodiment, as shown in FIG. 19D, the thin line can be arranged at the position of 2400 dpi between the phases of 1200 dpi at the place where the insertion / extraction position is repeated across the thin line. You can see that. A place where the insertion / extraction position is repeated across the thin line can be said to be a place where the insertion / removal position is repeated on the upstream side and the downstream side in the main scanning direction across the thin line. As a result, the width of the step is reduced from 1200 dpi to 2400 dpi, and the insertion / removal process is repeated with a constant width (a predetermined size in the sub-scanning direction), so that the step can be reduced.

以上説明した通り、本実施形態によれば、人間の視認範囲において、挿抜処理による段差を軽減して、段差の繋がりをより滑らかにすることができる。 As described above, according to the present embodiment, it is possible to reduce the step due to the insertion / removal process in the human visual range and make the connection of the steps smoother.

[その他の実施形態]
実施形態1では、奇数番目の挿抜座標fixpos[2n−1](nは自然数である。)を基準に、この奇数番目に続く偶数番目の挿抜座標fixpos[2n]を決定する挿抜位置決定処理について説明した。例えば、1番目の画素の挿抜位置を固定とし、2番目の画素の挿抜位置を図7の説明で基準とした奇数番目に対応させ、3番目の画素の挿抜位置を図7の説明の偶数番目に対応させて挿抜座標を決定する挿抜位置決定処理とすることも可能である。偶数番目の挿抜座標fixpos[2n](nは自然数である。)を基準とし、この偶数番目の前の奇数番目の挿抜座標fixpos[2n−1]を決定する挿抜位置決定処理とすることも可能である。すなわち、連続する2つの画素の挿抜位置に関し、次のように導出して挿抜座標を決定する挿抜位置決定処理とすることも可能である。基本挿抜座標basepos[i]と乱数rand[i]の和を導出して一方の画素の挿抜位置fixpos[i]を決定する。そして、挿抜座標fixpos[i]とオフセット値であるoffsetの和または差を導出して、他方の画素の挿抜位置fixpos[i±1]を決定する。
[Other Embodiments]
In the first embodiment, the insertion / extraction position determination process for determining the even-numbered insertion / extraction coordinates fixpos [2n] following the odd-numbered number based on the odd-numbered insertion / extraction coordinates fixpos [2n-1] (n is a natural number). explained. For example, the insertion / extraction position of the first pixel is fixed, the insertion / extraction position of the second pixel corresponds to the odd number based on the explanation of FIG. 7, and the insertion / extraction position of the third pixel is the even number of the explanation of FIG. It is also possible to perform the insertion / extraction position determination process for determining the insertion / extraction coordinates in correspondence with. It is also possible to perform the insertion / extraction position determination process for determining the odd-numbered insertion / extraction coordinates fixpos [2n-1] before the even-numbered number based on the even-numbered insertion / extraction coordinates fixpos [2n] (n is a natural number). Is. That is, it is also possible to perform the insertion / extraction position determination process of deriving the insertion / extraction positions of two consecutive pixels and determining the insertion / extraction coordinates as follows. The sum of the basic insertion / extraction coordinates basepos [i] and the random number random [i] is derived to determine the insertion / extraction position fixpos [i] of one pixel. Then, the sum or difference between the insertion / extraction coordinates fixpos [i] and the offset value offset is derived to determine the insertion / extraction position fixpos [i ± 1] of the other pixel.

実施形態2では、挿抜処理対象の2つの画素が主走査方向で近接する場合の補間処理について説明した。挿抜処理対象の3つの画素が主走査方向で近接し、隣接する挿抜処理対象の画素の間の大きさが同じである場合には、次のような処理を実行できる。すなわち、主走査方向で隣接する挿抜処理対象の3つの画素のうち中央の画素に対して主走査方向上流側または下流側で隣接する画素を補間対象の画素として補間処理を実行できる。 In the second embodiment, the interpolation processing when the two pixels to be inserted / removed are close to each other in the main scanning direction has been described. When the three pixels to be inserted / removed are close to each other in the main scanning direction and the adjacent pixels to be inserted / removed have the same size, the following processing can be executed. That is, among the three pixels of the insertion / extraction processing target adjacent in the main scanning direction, the pixel adjacent to the central pixel on the upstream side or the downstream side in the main scanning direction can be used as the pixel to be interpolated to perform the interpolation processing.

また、挿抜処理対象の4つの画素が主走査方向で近接し、隣接する挿抜処理対象の画素の間の大きさが同じである場合には、次のような処理を実行できる。すなわち、主走査方向で隣接する挿抜処理対象の4つの画素のうち上流側の2つ画素に対して主走査方向上流側で隣接する画素を補間対象の画素として補間処理を実行できる。主走査方向で隣接する挿抜処理対象の4つの画素のうち下流側の2つ画素に対して主走査方向下流側で隣接する画素を補間対象の画素として補間処理を実行できる。 Further, when the four pixels of the insertion / extraction processing target are close to each other in the main scanning direction and the sizes of the adjacent pixels of the insertion / extraction processing target are the same, the following processing can be executed. That is, the interpolation processing can be performed by using the pixels adjacent to the upstream two pixels in the main scanning direction as the pixels to be interpolated from the four pixels to be inserted and removed that are adjacent to each other in the main scanning direction. Of the four pixels to be inserted and removed that are adjacent in the main scanning direction, the pixels that are adjacent to the downstream two pixels in the main scanning direction can be used as the pixels to be interpolated.

このような補間処理を実行することで、変倍処理による段差をさらに滑らかにすることが可能となる。 By executing such an interpolation process, it is possible to further smooth the step due to the scaling process.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

S501 挿抜位置決定処理
S701 基準区間特定処理
S706 第一の挿抜位置決定処理
S707 第二の挿抜位置決定処理
S501 Insertion / removal position determination process S701 Reference section identification process S706 First insertion / removal position determination process S707 Second insertion / removal position determination process

Claims (19)

感光体の主走査方向に沿って配置された複数の発光素子を用いて前記感光体の表面に画像を形成するための画像データを処理する画像処理装置であって、
前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像データから形成される前記画像を前記主走査方向にて変倍する画像の変倍率に基づき、前記画素の挿入または前記画素の削除を行う第一の挿抜位置および第二の挿抜位置を決定するための基準区間Lを特定する特定手段と、
前記特定手段によって特定された前記基準区間Lを基に、前記第一の挿抜位置を決定する第一の決定手段と、
前記第一の決定手段によって決定された前記第一の挿抜位置を基に、前記第二の挿抜位置を決定する第二の決定手段と、
前記第一の挿抜位置および前記第二の挿抜位置に基づいて、前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像を変倍する変倍手段と、
を有することを特徴とする画像処理装置。
An image processing device that processes image data for forming an image on the surface of the photoconductor using a plurality of light emitting elements arranged along the main scanning direction of the photoconductor.
By inserting or deleting pixels in the image data, the pixels are inserted or the pixels are inserted or deleted based on the scaling factor of the image in which the image formed from the image data is scaled in the main scanning direction. A specific means for specifying the reference section L for determining the first insertion / extraction position and the second insertion / extraction position for deleting the image, and
Based on the reference section L specified by the specific means, the first determination means for determining the first insertion / removal position and the first determination means.
Based on the first insertion / removal position determined by the first determination means, the second determination means for determining the second insertion / extraction position and the second determination means.
A scaling means for scaling the image by inserting or deleting pixels in the image data based on the first insertion / extraction position and the second insertion / extraction position.
An image processing device characterized by having.
前記第二の決定手段は、前記第一の挿抜位置と、予め設定されたオフセット値とを基に、前記第二の挿抜位置を決定する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the second determination means determines the second insertion / extraction position based on the first insertion / extraction position and a preset offset value. ..
前記第二の決定手段は、前記第一の挿抜位置に前記オフセット値を加算することで前記第二の挿抜位置を決定する
ことを特徴とする請求項2に記載の画像処理装置。
The image processing apparatus according to claim 2, wherein the second determination means determines the second insertion / extraction position by adding the offset value to the first insertion / extraction position.
前記第一の決定手段は、前記基準区間Lと、予め設定された挿抜開始位置と、予め設定された乱数とを基に、前記第一の挿抜位置を決定する
ことを特徴とする請求項1から3の何れか一項に記載の画像処理装置。
The first determination means is characterized in that the first insertion / extraction position is determined based on the reference section L, a preset insertion / extraction start position, and a preset random number. The image processing apparatus according to any one of 3 to 3.
前記第一の決定手段は、前記基準区間L×N(Nは整数である)に前記挿抜開始位置と前記乱数とを加算することで前記第一の挿抜位置を決定する
ことを特徴とする請求項4に記載の画像処理装置。
The first determination means determines the first insertion / extraction position by adding the insertion / extraction start position and the random number to the reference interval L × N (N is an integer). Item 4. The image processing apparatus according to item 4.
前記画素の挿入または前記画素の削除を行う挿抜位置を、前記第一の決定手段または前記第二の決定手段のどちらを用いて決定するかを判定する判定手段を有し、
前記判定手段によって前記挿抜位置が基準位置であると判定されたときに、前記第一の決定手段が前記第一の挿抜位置を前記挿抜位置に決定し、
前記判定手段によって前記挿抜位置が前記基準位置ではないと判定されたときに、前記第二の決定手段が前記第二の挿抜位置を前記挿抜位置に決定する
ことを特徴とする請求項5に記載の画像処理装置。
It has a determination means for determining whether to determine the insertion / extraction position for inserting or deleting the pixel by using the first determination means or the second determination means.
When the determination means determines that the insertion / removal position is the reference position, the first determination means determines the first insertion / extraction position at the insertion / extraction position.
The fifth aspect of claim 5, wherein when the determination means determines that the insertion / removal position is not the reference position, the second determination means determines the second insertion / removal position at the insertion / extraction position. Image processing equipment.
前記基準位置が、m(mは自然数である)×前記Nである
ことを特徴とする請求項6に記載の画像処理装置。
The image processing apparatus according to claim 6, wherein the reference position is m (m is a natural number) × N.
前記基準位置が、奇数または偶数である
ことを特徴とする請求項6に記載の画像処理装置。
The image processing apparatus according to claim 6, wherein the reference position is an odd number or an even number.
前記第一の挿抜位置および前記第二の挿抜位置に対し、主走査方向の上流側または下流側で隣接する画素を補間対象に設定する設定手段をさらに有し、
前記変倍手段は、前記設定手段で設定された前記補間対象の画素を用いて補間しながら、前記第一の挿抜位置および前記第二の挿抜位置に対し前記画素の挿入または前記画素の削除を行う
ことを特徴とする請求項1から8の何れか一項に記載の画像処理装置。
Further, it has a setting means for setting pixels adjacent to the first insertion / extraction position and the second insertion / extraction position on the upstream side or the downstream side in the main scanning direction as interpolation targets.
The scaling means inserts the pixel or deletes the pixel with respect to the first insertion / extraction position and the second insertion / extraction position while interpolating using the pixel to be interpolated set by the setting means. The image processing apparatus according to any one of claims 1 to 8, wherein the image processing apparatus is to be performed.
前記設定手段は、前記第一の挿抜位置または前記第二の挿抜位置の画素の画素値と同じ画素値を示す画素までの大きさに基づいて、前記補間対象の画素を設定する
ことを特徴とする請求項9に記載の画像処理装置。
The setting means is characterized in that the pixel to be interpolated is set based on the size up to the pixel showing the same pixel value as the pixel value of the pixel at the first insertion / extraction position or the second insertion / extraction position. The image processing apparatus according to claim 9.
前記補間は、前記補間対象の画素の画素値を、前記第一の挿抜位置の画素の画素値、および前記第二の挿抜位置の画素の画素値に対してそれぞれ加算する
ことを特徴とする請求項9または10に記載の画像処理装置。
The interpolation is characterized in that the pixel values of the pixels to be interpolated are added to the pixel values of the pixels at the first insertion / extraction position and the pixel values of the pixels at the second insertion / extraction position, respectively. Item 9. The image processing apparatus according to Item 9.
前記変倍の方向と直交する方向において前記第一の挿抜位置の次の第三の挿抜位置を決定する第三の決定手段と、
前記変倍の方向と直交する方向において前記前記第三の挿抜位置の次の位置であって、前記第一の挿抜位置と主走査方向において同じ前記位置を第四の挿抜位置として決定する第四の決定手段と、
を有することを特徴とする請求項1から11の何れか一項に記載の画像処理装置。
A third determining means for determining a third insertion / extraction position next to the first insertion / extraction position in a direction orthogonal to the scaling direction,
A fourth position that is next to the third insertion / extraction position in a direction orthogonal to the scaling direction and is the same as the first insertion / extraction position in the main scanning direction as the fourth insertion / extraction position. Determining means and
The image processing apparatus according to any one of claims 1 to 11, wherein the image processing apparatus has.
前記第四の決定手段は、予め定められた第一の回数、前記第四の挿抜位置を決定する処理を行う
ことを特徴とする請求項12に記載の画像処理装置。
The image processing apparatus according to claim 12, wherein the fourth determination means performs a process of determining the fourth insertion / extraction position a predetermined number of times.
前記第四の決定手段は、予め定められた第一の回数よりも前記第四の挿抜位置を決定する回数が少ない場合、前記第一の挿抜位置と主走査方向において同じ位置に前記第四の挿抜位置を決定する
ことを特徴とする請求項12に記載の画像処理装置。
When the number of times the fourth insertion / removal position is determined is less than the predetermined first number of times, the fourth determination means places the fourth insertion / removal position at the same position in the main scanning direction as the first insertion / removal position. The image processing apparatus according to claim 12, wherein the insertion / removal position is determined.
前記第四の決定手段は、予め定められた第一の回数よりも前記第四の挿抜位置を決定する回数が多い場合、前記第一の挿抜位置と主走査方向において別の位置に前記第四の挿抜位置を決定する
ことを特徴とする請求項12に記載の画像処理装置。
When the fourth insertion / removal position is determined more times than the predetermined first number of times, the fourth determination means places the fourth insertion / removal position at a different position in the main scanning direction from the first insertion / extraction position. The image processing apparatus according to claim 12, wherein the insertion / removal position of the image processing apparatus is determined.
感光体の主走査方向に沿い、第二の解像度に対応して配置された複数の発光素子を含む書き込みユニットを色毎に備え、第一の解像度で変倍した、色毎の画像データに基づく画像を重ね合わせてカラー画像を形成する画像形成装置であって、
入力された前記画像データを処理する請求項1から15の何れか一項に記載の画像処理装置と、
前記第一の解像度から前記第二の解像度に解像度を変換する変換手段と、
を有することを特徴とする画像形成装置。
Based on image data for each color, which is provided with a writing unit containing a plurality of light emitting elements arranged along the main scanning direction of the photoconductor for each color and scaled at the first resolution. An image forming apparatus that superimposes images to form a color image.
The image processing apparatus according to any one of claims 1 to 15, which processes the input image data.
A conversion means for converting the resolution from the first resolution to the second resolution, and
An image forming apparatus characterized by having.
前記第一の解像度は、前記第二の解像度のN(N:整数)倍である
ことを特徴とする請求項16に記載の画像形成装置。
The image forming apparatus according to claim 16, wherein the first resolution is N (N: integer) times the second resolution.
感光体の主走査方向に沿って配置された複数の発光素子を用いて前記感光体の表面に画像を形成するための画像データを処理する画像処理方法であって、
前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像データから形成される前記画像を前記主走査方向にて変倍する画像の変倍率に基づき、前記画素の挿入または前記画素の削除を行う第一の挿抜位置および第二の挿抜位置を特定するための基準区間を特定する特定ステップと、
前記特定ステップにて特定された前記基準区間を基に、前記第一の挿抜位置を決定する第一の決定ステップと、
前記第一の決定ステップにて決定された前記第一の挿抜位置を基に、前記第二の挿抜位置を決定する第二の決定ステップと、
前記第一の挿抜位置および前記第二の挿抜位置に基づいて、前記画像データに対し画素の挿入または画素の削除を行うことで、前記画像を変倍する変倍ステップと、
を有することを特徴とする画像処理方法。
An image processing method for processing image data for forming an image on the surface of the photoconductor using a plurality of light emitting elements arranged along the main scanning direction of the photoconductor.
By inserting or deleting pixels in the image data, the pixels are inserted or the pixels are inserted or deleted based on the scaling factor of the image in which the image formed from the image data is scaled in the main scanning direction. A specific step to specify the reference section for specifying the first insertion / removal position and the second insertion / removal position to delete the
Based on the reference section specified in the specific step, the first determination step for determining the first insertion / removal position and the first determination step.
Based on the first insertion / removal position determined in the first determination step, the second determination step for determining the second insertion / extraction position and the second determination step.
A scaling step of scaling the image by inserting or deleting pixels in the image data based on the first insertion / extraction position and the second insertion / extraction position.
An image processing method characterized by having.
コンピュータに請求項18に記載の画像処理方法を実行させるためのプログラム。 A program for causing a computer to execute the image processing method according to claim 18.
JP2020083108A 2019-09-13 2020-05-11 Image processing apparatus, image processing method, and program Pending JP2021048578A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019167158 2019-09-13
JP2019167158 2019-09-13

Publications (1)

Publication Number Publication Date
JP2021048578A true JP2021048578A (en) 2021-03-25

Family

ID=74876699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020083108A Pending JP2021048578A (en) 2019-09-13 2020-05-11 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2021048578A (en)

Similar Documents

Publication Publication Date Title
JP5006731B2 (en) Image forming apparatus and image correction method
US8824015B2 (en) Image processing apparatus, image processing method, and storage medium
JP5217426B2 (en) Image processing apparatus, image forming apparatus, image processing program, and recording medium recording the program
JP2009100229A (en) Image processing apparatus and method thereof
US9146514B2 (en) Image forming apparatus and image forming method for correcting registration deviation
JP2008099114A (en) Image processing device, image forming apparatus and program
JP2014015047A (en) Image forming apparatus, image forming method, image forming program and recording medium
JP2017130751A (en) Image processing system and image processing method, and program
JPH05244371A (en) Recorder and its reloading method
JP2015096922A (en) Image forming apparatus, controller, and control method thereof
US8446641B2 (en) Image processing apparatus and image processing method
JP2005131961A (en) Image forming apparatus
JP2021048578A (en) Image processing apparatus, image processing method, and program
US20050030365A1 (en) Image forming apparatus
JP2011135387A (en) Image processing apparatus and image forming apparatus
JPH10108019A (en) Image-processing method, device therefor and medium
JP2009177307A (en) Image forming apparatus and method for generating thumbnail image
JP7337237B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP6029714B2 (en) Apparatus and method for handling image data
JP7116638B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP4839106B2 (en) Image processing apparatus and image processing method
JP3260883B2 (en) Information recording device
JP6750490B2 (en) Image forming device
JPH08238797A (en) Image forming device
JP2010120179A (en) Image processing apparatus, image processing method and image forming apparatus