JP2013178798A - Image conversion device and program - Google Patents

Image conversion device and program Download PDF

Info

Publication number
JP2013178798A
JP2013178798A JP2013086173A JP2013086173A JP2013178798A JP 2013178798 A JP2013178798 A JP 2013178798A JP 2013086173 A JP2013086173 A JP 2013086173A JP 2013086173 A JP2013086173 A JP 2013086173A JP 2013178798 A JP2013178798 A JP 2013178798A
Authority
JP
Japan
Prior art keywords
image
area
tone
conversion
designating
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
JP2013086173A
Other languages
Japanese (ja)
Other versions
JP2013178798A5 (en
Inventor
Shingo Komata
伸五 小俣
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013086173A priority Critical patent/JP2013178798A/en
Publication of JP2013178798A publication Critical patent/JP2013178798A/en
Publication of JP2013178798A5 publication Critical patent/JP2013178798A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To implement an image conversion device which easily converts a desired area of an original image into various tones without trimming.SOLUTION: A user terminal 10 designates an image area to be subjected to image conversion, in an original image by a window image. A picture conversion server 20 converts the image tone of the image area surrounded with the window image in the original image and pastes the image of the tone-converted image area to the image area surrounded with the window image and transmits the image to the user terminal 10. The image resulting from tone conversion of the area surrounded with the window image in the original image is displayed on the user terminal 10. Each time a prescribed time passes after designation of the window image arranged in the original image, the picture conversion server 20 changes a conversion algorithm parameter group for use in tone conversion. As a result, the area surrounded with the window image is converted to a tone changed at intervals of the prescribed time and is displayed by only designating the image area to be subjected to tone conversion in the original image by the window image.

Description

本発明は、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換する画調変換装置およびプログラムに関する。   The present invention relates to a tone conversion device and program for easily converting a desired area of an original image into various tone without trimming.

画像を絵画調に変換する技術が知られている。この種の技術として、例えば特許文献1には、原画像の各部分をより均一な輝度、彩度および色相を持つように修正して、所謂筆運びを表現したり、原画像中のコントラストエッジを検出し、検出したコントラストエッジに沿う輝度を修正して輪郭線を強調したりすることで原画像を油絵風の絵画に変換する技術が開示されている。   A technique for converting an image into a painting style is known. As this type of technology, for example, in Patent Document 1, each part of an original image is modified to have more uniform luminance, saturation, and hue to express so-called brush strokes, or contrast edges in the original image. And a technique for converting an original image into an oil painting-like painting by correcting the brightness along the detected contrast edge and enhancing the contour line.

特開平8−44867号公報JP-A-8-44867

ところで、原画像中の所望の画像領域について絵画調に変換する等の画調変換を施す場合には、先ず原画像から所望の画像領域をトリミングして切り出し、各種の画調(水彩画、油彩画(印象派)、油彩画(野獣派)、ガッシュ画、パステル画など)の中から選択した画調に従い、トリミングされて切り出された画像領域を画調変換することになるが、そうして画調変換された画像が意図したイメージ通りのものでなければ、最初からやり直しすることになり、極めて煩雑な作業を強いられる。つまり、言い換えれば、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換することが出来ない、という問題がある。   By the way, when performing a tone conversion such as converting a desired image area in the original image into a painting style, the desired image area is first trimmed and cut out from the original image, and various tones (watercolor painting, oil painting) (Impressionism), oil painting (beast), gouache painting, pastel painting, etc.), the trimmed and cropped image area will be transformed into a tone. If the converted image does not match the intended image, it will be re-executed from the beginning, and an extremely complicated operation will be forced. That is, in other words, there is a problem that a desired area of the original image cannot be easily converted into various tone without trimming.

本発明は、このような事情に鑑みてなされたもので、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換することができる画調変換装置およびプログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a tone conversion device and a program that can easily convert a desired area of an original image into various tone without trimming. It is said.

上記目的を達成するため、請求項1に記載の発明では、原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段と、前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定手段と、前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換手段と、を備え、前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換していくことを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, a region designating unit for designating a region of a desired size at a desired position in the original image, and a process after the region is designated by the region designating unit. A tone designating unit that sequentially designates different types of image tone according to time, an image conversion unit that converts the image of the designated area into the image tone designated by the image tone designating unit, And only the image in the designated region in the original image is sequentially converted into different types of image tone according to the elapsed time.

上記請求項1に従属する請求項2に記載の発明では、前記画像変換手段は、前記枠形画像のサイズ又は位置を変更している間は、当該枠形画像で囲まれた原画像中の画像の領域を変換しないことを特徴とする。また、請求項1または2に従属する請求項3に記載の発明では、前記領域指定手段は、原画像中に複数の領域を指定する複数領域指定手段を含み、前記画調指定手段は、前記複数領域指定手段が指定した複数の領域について、それぞれ異なる画調を指定する複数画調指定手段を含むことを特徴とする。   In the invention according to claim 2 subordinate to claim 1, the image conversion means changes the size or position of the frame-shaped image in the original image surrounded by the frame-shaped image. The image area is not converted. Further, in the invention according to claim 3 that is dependent on claim 1 or 2, the area specifying means includes a plurality of area specifying means for specifying a plurality of areas in an original image, and the image tone specifying means includes The image processing apparatus includes a plurality of image tone designating means for designating different image tones for the plurality of areas designated by the plurality of area designating means.

請求項4に記載の発明では、コンピュータに、原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段ステップと、前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定ステップと、前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換ステップと、を備え、前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換ことを特徴とする。
請求項5に記載の発明では、端末装置と、この端末装置とネットワークを介して接続されたサーバとを備えたシステムであって、前記端末装置は、原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段と、前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定手段と、を備え、前記サーバは、前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換手段と、を備え、前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換していくことを特徴とする。
According to the fourth aspect of the present invention, the computer designates an area designating step for designating an area of a desired size at a desired position in the original image, and an elapsed time after the area is designated by the area designating means. An image designating step for sequentially designating different types of image tone, and an image conversion step for converting the image in the designated area into the image tone designated by the image tone designating means, Only the image in the designated area in the original image is sequentially converted into different types of image tone according to the elapsed time.
The invention according to claim 5 is a system comprising a terminal device and a server connected to the terminal device via a network, wherein the terminal device has a desired size at a desired position in the original image. An area designating unit for designating an area of the image, and an image designating unit for designating different types of image tones sequentially in accordance with an elapsed time since the area was designated by the area designating unit, Image conversion means for converting the image in the designated area into the image tone designated by the image tone designation means, and only the image in the designated area in the original image is subjected to an elapsed time. It is characterized in that it is converted into different types of image tones sequentially.

本発明では、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換することが出来る。   In the present invention, a desired area of an original image can be easily converted into various image tones without trimming.

実施の一形態による絵画変換システム100の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of a picture conversion system 100 according to an embodiment. 絵画変換サーバ20の構成を示すブロック図である。3 is a block diagram showing a configuration of a picture conversion server 20. FIG. RAM20cのメモリ構成を示すメモリマップである。It is a memory map which shows the memory structure of RAM20c. 画像データのデータ形式を説明するための図である。It is a figure for demonstrating the data format of image data. 筆触パターンの一例を示す図である。It is a figure which shows an example of a writing pattern. 端末処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a terminal process. サーバ処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a server process. サーバ処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a server process. 画像変換処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an image conversion process. 変換処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a conversion process. 画像変換処理の動作の一例を説明するための図である。It is a figure for demonstrating an example of operation | movement of an image conversion process. 原画像(1)の一例を示す画像である。It is an image which shows an example of an original image (1). 原画像(1)中にウインドウ画像を重ねた画像である。This is an image obtained by superimposing a window image on the original image (1). 原画像(1)中に重ねたウインドウ画像内部を油彩画に変換した一例である。It is an example which converted the inside of the window image superimposed on the original image (1) into the oil painting. 原画像(2)の一例を示す画像である。It is an image which shows an example of an original image (2). 原画像(2)中にウインドウ画像を重ねた画像である。This is an image obtained by superimposing a window image on the original image (2). 原画像(2)中に重ねたウインドウ画像内部を油彩画に変換した一例である。It is an example which converted the inside of the window image superimposed on the original image (2) into the oil painting.

以下、図面を参照して本発明の実施形態について説明する。
A.構成
(1)システム概要(発明の概要)
図1は、実施の一形態による絵画変換システム100の全体構成を示すブロック図である。この図に示す絵画変換システム100は、インターネットを介して絵画変換サーバ20にアクセスする複数のユーザ端末10−1〜10−Nからなる。ユーザ端末10は、インターネット接続機能およびブラウザ機能を備えるパーソナルコンピュータから構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration (1) System Overview (Summary of Invention)
FIG. 1 is a block diagram illustrating an overall configuration of a picture conversion system 100 according to an embodiment. A picture conversion system 100 shown in this figure includes a plurality of user terminals 10-1 to 10-N that access the picture conversion server 20 via the Internet. The user terminal 10 is composed of a personal computer having an Internet connection function and a browser function.

ユーザ端末10では、インターネットを介して絵画変換サーバ20にアクセスし、表示ページをトップページから絵画変換ページに移動させると、絵画変換サーバ20側から送出される原画像を受信して画面表示する。原画像とは、例えば図12に図示される原画像(1)や、図15に図示される原画像(2)等の絵画調変換される元の画像を指す。   When the user terminal 10 accesses the picture conversion server 20 via the Internet and moves the display page from the top page to the picture conversion page, the user terminal 10 receives the original image sent from the picture conversion server 20 and displays it on the screen. The original image refers to an original image subjected to painting-like transformation such as the original image (1) illustrated in FIG. 12 and the original image (2) illustrated in FIG.

絵画変換ページでは、複数の原画像(1)〜(N)が画面表示される。ユーザ端末10では、これら原画像(1)〜(N)の中から絵画調変換したい原画像中に、枠のサイズ(大きさ)および配置位置がユーザ操作に応じて変更可能なウインドウ画像を配置する。具体的には、図13に図示するように、原画像(1)の中央から下部を囲むウインドウ画像を配置したり、図16に図示するように、原画像(2)の右下部を囲むウインドウ画像を
配置したりする。
On the picture conversion page, a plurality of original images (1) to (N) are displayed on the screen. In the user terminal 10, a window image whose frame size (size) and arrangement position can be changed according to a user operation is arranged in the original image to be subjected to painting-like conversion from among these original images (1) to (N). To do. Specifically, as shown in FIG. 13, a window image surrounding the lower part from the center of the original image (1) is arranged, or as shown in FIG. 16, a window surrounding the lower right part of the original image (2). Place images.

なお、図13および図16に図示した一例では、黒枠のウインドウ画像であるが、額縁を模した形状のウインドウ画像を用いる方が好ましい。すなわち、原画像中に配置されるウインドウ画像とは、絵画調変換したい画像領域を指定するものである為、ウインドウ画像が額縁を模していれば、絵画調変換された画像領域にマッチする。   In the example shown in FIGS. 13 and 16, the window image is a black frame, but it is preferable to use a window image having a shape imitating a frame. That is, the window image arranged in the original image designates an image region to be subjected to painting-like conversion. Therefore, if the window image imitates a frame, it matches the image region that has undergone painting-like transformation.

ユーザ端末10側が、こうして原画像中の絵画調変換したい画像領域をウインドウ画像で指定すると、そのウインドウ画像の枠のサイズおよび配置位置をそれぞれ表すサイズデータおよび位置データが絵画変換サーバ20側へ送出される。絵画変換サーバ20では、ユーザ端末10から供給されるサイズデータおよび位置データで指定されるウインドウ画像によって囲まれる原画像中の画像領域を絵画調変換し、絵画調変換された画像領域の画像を、ウインドウ画像によって囲まれる原画像中の画像領域に貼り付けてユーザ端末10
へ送出する。
When the user terminal 10 side thus designates an image area in the original image that is to be subjected to painting-like conversion by a window image, size data and position data representing the size and arrangement position of the frame of the window image are sent to the painting conversion server 20 side. The In the painting conversion server 20, the image area in the original image surrounded by the window image specified by the size data and the position data supplied from the user terminal 10 is subjected to painting-like conversion, and the image of the image area subjected to the painting-like conversion is converted into The user terminal 10 is pasted on the image area in the original image surrounded by the window image.
To send.

これにより、ユーザ端末10では、図14や図17に図示する一例のように、原画像中のウインドウ画像で囲まれた領域が油絵調に変換された画像として表示される。そして、絵画変換サーバ20では、ユーザ端末10から供給されるサイズデータおよび位置データで指定される原画像中の画像領域を絵画調変換する際に用いる変換アルゴリズム・パラメータ群を経時変化させる。具体的には、原画像中に配置するウインドウ画像の枠のサイズおよび配置位置が指定された時点からの経過時間に応じて、例えば「油彩画」、「水彩画」、「パステル画」の順に、絵画調変換に用いる変換アルゴリズム・パラメータ群を異ならせる。   As a result, the user terminal 10 displays the region surrounded by the window image in the original image as an image converted to oil painting as in the example illustrated in FIGS. 14 and 17. Then, the painting conversion server 20 changes with time a conversion algorithm / parameter group used when performing painting-like conversion on the image area in the original image specified by the size data and position data supplied from the user terminal 10. Specifically, according to the elapsed time from the time when the size and arrangement position of the window image frame to be arranged in the original image are specified, for example, in the order of “oil painting”, “watercolor painting”, “pastel painting” Different conversion algorithms and parameters are used for painting-like conversion.

したがって、ユーザ端末10では、原画像中の絵画調変換したい画像領域をウインドウ画像で指定するだけで、そのウインドウ画像で囲まれた領域が所定時間経過する毎に「油彩画」、「水彩画」、「パステル画」へ順番に絵画調変換されて表示されるので、従来のように、トリミングして切り出した画像領域を絵画調変換し、それが意図したイメージ通りのものでなければ、最初からやり直すといった煩雑な操作を不要とする結果、トリミングすること無く原画像の所望領域を容易かつ各種の絵画調に変換することが可能になる。   Therefore, the user terminal 10 simply designates an image area in the original image that is to be transformed into a painting-like image with a window image, and each time an area surrounded by the window image elapses for a predetermined time, an “oil painting”, a “watercolor painting” Since it is displayed in “Pastel” after being transformed into a painting style, the image area that was trimmed and cut out is transformed into a painting style as before, and if it does not match the intended image, it starts over from the beginning. As a result of eliminating the need for such complicated operations, it is possible to easily convert the desired area of the original image into various painting styles without trimming.

(2)絵画変換サーバ20の構成
次に、図2〜図5を参照して絵画変換サーバ20の構成を説明する。絵画変換サーバ20は、構成要素20a〜20eを備える。CPU20aは、操作部20dが発生する操作イベントに応じてサーバ各部を制御する。本発明の要旨に係わるCPU20aの処理動作(サーバ処理)については追って詳述する。ROM20bには、CPU20aにロードされる各種の制御プログラムや制御データが記憶される。各種の制御プログラムとは、後述のサーバ処理を含む。
(2) Configuration of Painting Conversion Server 20 Next, the configuration of the painting conversion server 20 will be described with reference to FIGS. The painting conversion server 20 includes components 20a to 20e. The CPU 20a controls each part of the server in accordance with an operation event generated by the operation unit 20d. The processing operation (server processing) of the CPU 20a according to the gist of the present invention will be described in detail later. The ROM 20b stores various control programs and control data loaded into the CPU 20a. Various control programs include server processing described later.

RAM20cは、図3に図示するように、原画像データエリアGE、ウインドウ画像エリアWE、表示エリアDE、変換元画像エリアTHE、変換画像エリアTME、位置データPDを格納するエリア、サイズデータSDを格納するエリアおよび筆触パターンエリアHEから構成される。原画像データエリアGEには、複数の原画像(1)〜(N)が記憶される。これら複数の原画像(1)〜(N)は、絵画変換ページに表示される画像群として表示エリアDEにコピーされる。なお、本実施形態で扱う画像は、説明の簡略化を図る為、例えば図4に図示するn行m列の画素P(1)〜P(n×m)からなる公知のビットマップ形式で表現されるものとする。   As shown in FIG. 3, the RAM 20c stores an original image data area GE, a window image area WE, a display area DE, a conversion source image area THE, a conversion image area TME, an area for storing position data PD, and size data SD. Area and a brush pattern area HE. In the original image data area GE, a plurality of original images (1) to (N) are stored. The plurality of original images (1) to (N) are copied to the display area DE as an image group displayed on the picture conversion page. Note that the images handled in the present embodiment are expressed in a known bitmap format including pixels P (1) to P (n × m) of n rows and m columns shown in FIG. Shall be.

ウインドウ画像エリアWEには、例えば図13および図16に図示した一例のように、黒枠のウインドウ画像が記憶される。変換元画像エリアTHEは、絵画調変換する為の作業エリアであり、絵画調変換の対象となる画像、すなわち原画像に配置されるウインドウ画像によって囲まれた領域の画像データが一時記憶される。変換画像エリアTMEには、変換元画像エリアTHEに一時記憶された画像について変換アルゴリズム・パラメータに基づき絵画調変換された画像データが一時記憶される。   In the window image area WE, a window image with a black frame is stored as in the example illustrated in FIGS. 13 and 16, for example. The conversion source image area THE is a work area for painting-style conversion, and temporarily stores image data to be subjected to painting-style conversion, that is, image data of an area surrounded by window images arranged in the original image. In the converted image area TME, image data obtained by performing painting-like conversion on the image temporarily stored in the conversion source image area THE based on the conversion algorithm parameter is temporarily stored.

位置データPDを格納するエリアには、原画像中に配置されるウインドウ画像の位置を表す位置データPDが記憶される。位置データPDが表すウインドウ画像の位置とは、例えばウインドウ画像が形成する枠の左上頂角の座標位置であり、ユーザ端末10側から受領する。サイズデータSDを格納するエリアには、原画像中に配置されるウインドウ画像の大きさを表すサイズデータSDが記憶される。サイズデータSDが表すウインドウ画像の大きさとは、例えばウインドウ画像が形成する枠のアスペクト比(縦横比率)および対角線長からなり、ユーザ端末10側から受領する。   In the area for storing the position data PD, position data PD representing the position of the window image arranged in the original image is stored. The position of the window image represented by the position data PD is, for example, the coordinate position of the upper left apex angle of the frame formed by the window image, and is received from the user terminal 10 side. In the area for storing the size data SD, size data SD representing the size of the window image arranged in the original image is stored. The size of the window image represented by the size data SD includes, for example, an aspect ratio (vertical / horizontal ratio) and a diagonal length of a frame formed by the window image, and is received from the user terminal 10 side.

筆触パターンエリアHEには、筆触図形(タッチ形状)を示す複数種の筆触パターンHP(1)〜HP(N)が格納される。これら筆触パターンHP(1)〜HP(N)は、上述の変換元画像エリアTHEにストアされた画像(原画像に配置されるウインドウ画像によって囲まれた領域の画像)を、絵画調の画像に変換する際に用いられる。   In the brush pattern area HE, a plurality of types of brush patterns HP (1) to HP (N) indicating a brush figure (touch shape) are stored. These stroke patterns HP (1) to HP (N) are obtained by converting the image stored in the above-mentioned conversion source image area THE (the image of the area surrounded by the window image arranged in the original image) into a pictorial image. Used when converting.

例えば油彩画における筆触図形であれば、図5に図示する一例の筆触パターンHP(1)〜HP(4)が筆触パターンエリアHEに登録される。筆触パターンHP(1)は、筆触図形1を形成する10個の画素から構成される。筆触パターンHP(2)は、筆触図形2を形成する13個の画素から構成される。筆触パターンHP(3)は、筆触図形3を形成する13個の画素から構成される。筆触パターンHP(4)は、筆触図形4を形成する9個の画素から構成される。   For example, in the case of a stroke figure in an oil painting, the example stroke patterns HP (1) to HP (4) illustrated in FIG. 5 are registered in the stroke pattern area HE. The writing pattern HP (1) is composed of ten pixels that form the writing pattern 1. The brush pattern HP (2) is composed of 13 pixels forming the brush graphic 2. The writing pattern HP (3) is composed of 13 pixels that form the writing pattern 3. The brush pattern HP (4) is composed of nine pixels that form the brush graphic 4.

操作部20dは、キーボードやマウスなどの入力デバイスから構成され、入力に応じた操作イベントを発生する。操作イベントはCPU20aに取り込まれる。通信部20eは、CPU20aの制御の下に、インターネットを介してアクセスするユーザ端末10側とデータ授受する。   The operation unit 20d includes input devices such as a keyboard and a mouse, and generates an operation event corresponding to the input. The operation event is captured by the CPU 20a. The communication unit 20e exchanges data with the user terminal 10 side accessed via the Internet under the control of the CPU 20a.

B.動作
次に、図6〜図17を参照して上記構成による実施形態の動作について説明する。以下では、最初にユーザ端末10が実行する端末処理について説明した後、絵画変換サーバ20が実行するサーバ処理について説明する。なお、サーバ処理は、画像変換処理および変換処理を含む。
B. Action
Next, the operation of the embodiment having the above configuration will be described with reference to FIGS. Below, after explaining the terminal process which the user terminal 10 performs first, the server process which the painting conversion server 20 performs is demonstrated. The server process includes an image conversion process and a conversion process.

(1)端末処理の動作
インターネット接続機能およびブラウザ機能を備えるパーソナルコンピュータから構成されるユーザ端末10が、図6に図示する端末処理を実行すると、先ずステップSA1において絵画変換サーバ20とのネットワーク接続を確立させるサーバ接続処理を行う。そして、絵画変換サーバ20とのネットワーク接続が確立すると、ステップSA2に進み、絵画変換サーバ20が提供するトップページを画面表示する。次いで、ステップSA3に進み、ユーザ操作に応じてトップページから絵画変換ページへ移動させると、ステップSA4に進み、絵画変換サーバ20側から送出される原画像およびウインドウ画像を受信したか否かを判断する。
(1) Operation of terminal processing When the user terminal 10 composed of a personal computer having an Internet connection function and a browser function executes the terminal processing shown in FIG. 6, first, in step SA1, a network connection with the picture conversion server 20 is established. Perform server connection processing to be established. When the network connection with the painting conversion server 20 is established, the process proceeds to step SA2, and the top page provided by the painting conversion server 20 is displayed on the screen. Next, the process proceeds to step SA3, and when the page is moved from the top page to the painting conversion page according to the user operation, the process proceeds to step SA4, where it is determined whether the original image and the window image sent from the painting conversion server 20 are received. To do.

表示ページをトップページから絵画変換ページに移動させた場合には、複数の原画像(1)〜(N)およびデフォルトのウインドウ画像を受信するので、上記ステップSA4の判断結果は「YES」になり、絵画変換サーバ20側から受信した複数の原画像(1)〜(N)のなかでいずれか選択された原画像とウインドウ画像とを画面表示する。これにより、例えば図12に図示される原画像(1)あるいは、図15に図示される原画像(2)などがユーザ端末10の表示手段(不図示)において画面表示される。なお、デフォルトのウインドウ画像とは、絵画変換ページ中の所定位置に表示される所定サイズのウインドウ画像である。   When the display page is moved from the top page to the painting conversion page, since a plurality of original images (1) to (N) and a default window image are received, the determination result in step SA4 is “YES”. The original image and window image selected from among the plurality of original images (1) to (N) received from the painting conversion server 20 are displayed on the screen. Thereby, for example, the original image (1) shown in FIG. 12 or the original image (2) shown in FIG. 15 is displayed on the screen on the display means (not shown) of the user terminal 10. The default window image is a window image of a predetermined size displayed at a predetermined position in the picture conversion page.

複数の原画像(1)〜(N)のいずれかを画面表示し終えると、ステップSA6およびステップSA9においてウインドウ移動指示操作の有無およびウインドウサイズ変更操作の有無を判断する。ウインドウ移動指示操作とは、マウスなどの入力デバイスを用い、絵画変換サーバ20側から受信したウインドウ画像を、表示された原画像中に配置する操作を指す。また、ウインドウサイズ変更操作とは、ウインドウ移動指示操作により原画像中に配置されたウインドウ画像の枠のサイズ(大きさ)を、マウスなどの入力デバイスを用いて設定する操作を指す。   When any one of the plurality of original images (1) to (N) has been displayed on the screen, the presence / absence of a window movement instruction operation and the presence / absence of a window size change operation are determined in steps SA6 and SA9. The window movement instruction operation refers to an operation of placing a window image received from the picture conversion server 20 side in a displayed original image using an input device such as a mouse. The window size changing operation refers to an operation for setting the size (size) of the frame of the window image arranged in the original image by the window moving instruction operation using an input device such as a mouse.

ユーザがウインドウ移動指示操作を行った場合には、上記ステップSA6の判断結果が「YES」になり、ステップSA7に進み、ウインドウ移動指示操作に応じて位置データPDを更新し、続くステップSA8では、更新された位置データPDを絵画変換サーバ20へ送出した後、上述のステップSA4に処理を戻す。なお、ここで言う位置データPDとは、前述した通り、例えばウインドウ画像が形成する枠の左上頂角の座標位置である。   When the user performs a window movement instruction operation, the determination result in step SA6 is “YES”, the process proceeds to step SA7, the position data PD is updated according to the window movement instruction operation, and in the subsequent step SA8, After the updated position data PD is sent to the picture conversion server 20, the process returns to step SA4. The position data PD referred to here is, for example, the coordinate position of the upper left apex angle of the frame formed by the window image as described above.

ユーザがウインドウサイズ変更操作を行った場合には、上記ステップSA9の判断結果が「YES」になり、ステップSA10に進み、ウインドウサイズ変更操作に応じてサイズデータSDを更新し、続くステップSA11では、更新されたサイスデータSDを絵画変換サーバ20へ送出した後、上述のステップSA4に処理を戻す。なお、ここで言うサイスデータSDとは、前述した通り、例えばウインドウ画像が形成する枠のアスペクト比(縦横比率)および対角線長からなるデータである。   When the user performs a window size changing operation, the determination result in step SA9 is “YES”, the process proceeds to step SA10, the size data SD is updated in accordance with the window size changing operation, and in the subsequent step SA11, After sending the updated size data SD to the picture conversion server 20, the process returns to step SA4. Note that the size data SD referred to here is data including, for example, an aspect ratio (vertical / horizontal ratio) and a diagonal length of a frame formed by a window image as described above.

そして、ウインドウ移動指示操作やウインドウサイズ変更操作が為されると、絵画変換サーバ20では、位置又はサイズが更新されたウインドウ画像によって囲まれる原画像中の画像領域を絵画調変換し、絵画調変換された画像領域の画像を、ウインドウ画像によって囲まれる原画像中の画像領域に貼り付けてユーザ端末10へ送出する。すると、上述したステップSA4の判断結果が「YES」になり、ステップSA5に進み、ウインドウ画像によって囲まれた画像領域が絵画調変換された原画像、すなわち図14や図15に図示される一例の原画像がユーザ端末10の表示手段(不図示)において画面表示される。   When a window movement instruction operation or a window size changing operation is performed, the painting conversion server 20 performs painting-like conversion on the image area in the original image surrounded by the window image whose position or size has been updated, and painting-like conversion. The image in the image area is pasted on the image area in the original image surrounded by the window image and sent to the user terminal 10. Then, the determination result in step SA4 described above becomes “YES”, and the process proceeds to step SA5, where the image area surrounded by the window image is an original image obtained by painting-like conversion, that is, the example shown in FIGS. The original image is displayed on a screen on display means (not shown) of the user terminal 10.

このように、ユーザ端末10が実行する端末処理では、絵画変換サーバ20にアクセスしてトップページから絵画変換ページに移動すると、絵画変換サーバ20側から送出される複数の原画像(1)〜(N)の中からいずれか選択された原画像とウインドウ画像とを受信して画面表示し、ウインドウ移動指示操作およびウインドウサイズ変更操作に応じて、画面表示された原画像中に、所望の枠のサイズ(大きさ)および位置にウインドウ画像を配置すると、当該ウインドウ画像の位置を表す位置データPDおよび大きさを表すサイズデータSDを発生して絵画変換サーバ20側へ送出する。   Thus, in the terminal processing executed by the user terminal 10, when the picture conversion server 20 is accessed and moved from the top page to the picture conversion page, a plurality of original images (1) to (1) to (s) sent from the picture conversion server 20 side. N) receives an original image selected from any of the above and a window image, displays it on the screen, and displays a desired frame in the original image displayed on the screen in response to a window move instruction operation and a window size change operation. When the window image is arranged at the size (size) and position, position data PD representing the position of the window image and size data SD representing the size are generated and sent to the picture conversion server 20 side.

そして、ウインドウ移動指示操作やウインドウサイズ変更操作に応じて位置又はサイズが更新されたウインドウ画像に基づき、絵画変換サーバ20が当該ウインドウ画像によって囲まれる原画像中の画像領域を絵画調変換し、絵画調変換された画像領域の画像を、ウインドウ画像によって囲まれる原画像中の画像領域に貼り付けてユーザ端末10へ送出すると、ユーザ端末10ではそれを受信して画面表示するようになっている。   Then, based on the window image whose position or size has been updated according to the window movement instruction operation or the window size changing operation, the painting conversion server 20 performs painting-like conversion on the image area in the original image surrounded by the window image, When the image of the image area subjected to the tone conversion is pasted to the image area in the original image surrounded by the window image and sent to the user terminal 10, the user terminal 10 receives it and displays it on the screen.

(2)サーバ処理の動作
次に、図7〜図8を参照して絵画変換サーバ20が実行するサーバ処理の動作を説明する。絵画変換サーバ20は、先ず図7に図示するステップSB1において、インターネットを介してアクセスしてきたユーザ端末10との接続を確立する。そして、接続確立したユーザ端末10側から絵画変換ページへの移動要求が有ると、ステップSB2に進み、表示エリアDEにコピーされた複数の原画像(1)〜(N)およびウインドウ画像をユーザ端末10へ転送する。これにより、ユーザ端末10では、複数の原画像(1)〜(N)の中からいずれか選択された原画像およびウインドウ画像からなる絵画変換ページが画面表示される。
(2) Operation of Server Process Next, the operation of the server process executed by the painting conversion server 20 will be described with reference to FIGS. The picture conversion server 20 first establishes a connection with the user terminal 10 that has accessed via the Internet in step SB1 shown in FIG. If there is a request for movement from the established user terminal 10 side to the painting conversion page, the process proceeds to step SB2, and the plurality of original images (1) to (N) and window images copied to the display area DE are displayed on the user terminal. Forward to 10. As a result, the user terminal 10 displays a picture conversion page composed of the original image and the window image selected from any of the plurality of original images (1) to (N) on the screen.

次いで、ステップSB3では、ユーザ端末10側から位置データPD又はサイズデータSDの何れかを受信したか否かを判断する。ユーザ端末10側で行われるウインドウ移動指示操作又はウインドウサイズ変更操作に応じて更新される位置データPD又はサイズデータSDを受信した場合には、判断結果は「YES」になり、ステップSB4に進む。そして、ステップSB4〜SB5では、サイズデータSDに対応したウインドウ画像を作成し、作成したウインドウ画像を位置データPDで指定される位置で原画像に重ねた画像を作成する。   Next, in step SB3, it is determined whether or not position data PD or size data SD has been received from the user terminal 10 side. When the position data PD or the size data SD updated in response to the window movement instruction operation or the window size changing operation performed on the user terminal 10 side is received, the determination result is “YES”, and the process proceeds to Step SB4. In steps SB4 to SB5, a window image corresponding to the size data SD is created, and an image in which the created window image is superimposed on the original image at a position specified by the position data PD is created.

続いて、ステップSB6では、原画像に、位置データPD又はサイズデータSDに応じて更新されたウインドウ画像を重ねて作成した画像をユーザ端末10に送付する。次いで、ステップSB7では、タイマTをゼロクリアすると共に、タイマTの計時をスタートさせる。この後、上述のステップSB3に処理を戻し、ユーザ端末10側から位置データPD又はサイズデータSDの何れかを受信しなければ、判断結果は「NO」になり、図8に図示するステップSB8に進む。   Subsequently, in step SB6, an image created by superimposing a window image updated according to the position data PD or the size data SD on the original image is sent to the user terminal 10. Next, in step SB7, the timer T is cleared to zero and the timer T starts to be timed. Thereafter, the process returns to the above-described step SB3, and if either the position data PD or the size data SD is not received from the user terminal 10, the determination result is “NO”, and the process returns to step SB8 illustrated in FIG. move on.

ステップSB8〜SB13では、画面表示された原画像中に、所望の枠のサイズ(大きさ)および位置にウインドウ画像を配置した時点からタイマTによって計時される経過時間に応じて、絵画調変換に用いる変換アルゴリズム・パラメータ群を異ならせる。すなわち、タイマ計時開始から時間t0が経過すると、ステップSB8の判断結果が「YES」になり、ステップSB9に進み、油彩画変換アルゴリズム・パラメータ群を指定した後、ステップSB14に進む。   In steps SB8 to SB13, painting-style conversion is performed in accordance with the elapsed time measured by the timer T from the time when the window image is arranged in the desired frame size (size) and position in the original image displayed on the screen. Different conversion algorithms and parameters are used. That is, when the time t0 has elapsed from the start of timer timing, the determination result in step SB8 becomes “YES”, the process proceeds to step SB9, the oil painting conversion algorithm / parameter group is designated, and then the process proceeds to step SB14.

タイマ計時開始から時間t1が経過すると、ステップSB10の判断結果が「YES」になり、ステップSB11に進み、水彩画変換アルゴリズム・パラメータ群を指定した後、ステップSB14に進む。タイマ計時開始から時間t2が経過すると、ステップSB12の判断結果が「YES」になり、ステップSB13に進み、パステル画変換アルゴリズム・パラメータ群を指定した後、ステップSB14に進む。   When the time t1 has elapsed from the start of the timer timing, the determination result in step SB10 is “YES”, the process proceeds to step SB11, the watercolor conversion algorithm / parameter group is designated, and then the process proceeds to step SB14. When the time t2 has elapsed from the start of timer timing, the determination result in step SB12 is “YES”, the process proceeds to step SB13, the pastel image conversion algorithm / parameter group is designated, and then the process proceeds to step SB14.

そして、ステップSB14では、ウインドウ画像によって囲まれる原画像中の領域の画像を抽出する。次いで、ステップSB15では、現在選択されている変換アルゴリズム・パラメータ群に従って上記ステップSB14にて抽出された領域の画像を絵画調変換する画像変換処理を実行する。画像変換処理については追って詳述する。   In step SB14, an image of an area in the original image surrounded by the window image is extracted. Next, in step SB15, an image conversion process is executed to transform the image of the area extracted in step SB14 according to the currently selected conversion algorithm / parameter group. The image conversion process will be described in detail later.

続いて、ステップSB16〜SB17では、上記ステップSB15の画像変換処理で得られた変換画像を、ウインドウ画像によって囲まれる原画像中の領域に貼り付けてユーザ端末10へ送出する。この後、前述したステップSB3(図7参照)に処理を戻し、ユーザ端末10側でウインドウ移動指示操作又はウインドウサイズ変更操作に応じて位置データPD又はサイズデータSDが更新された場合には、再びステップSB3〜SB17の動作を繰り返す。   Subsequently, in Steps SB16 to SB17, the converted image obtained by the image conversion process in Step SB15 is pasted on an area in the original image surrounded by the window image and sent to the user terminal 10. Thereafter, the process is returned to the above-described step SB3 (see FIG. 7), and when the position data PD or the size data SD is updated in response to the window movement instruction operation or the window size change operation on the user terminal 10 side, again. Steps SB3 to SB17 are repeated.

(3)画像変換処理の動作
次に、図9〜図11を参照して画像変換処理の動作を説明する。上述したサーバ処理のステップSB15(図8参照)を介して本処理が実行されると、絵画変換サーバ20は図9に図示するステップSC1に進み、筆触パターンエリアHE(図3参照)に格納される各種筆触パターンHP(1)〜(N)の中から、現在選択されている変換アルゴリズム・パラメータ群で指定される筆触パターンを設定する。ここでは、説明の簡略化を図る為、例えば油彩画に変換する筆触パターンHP(1)を設定したものとする。続いて、ステップSC2を介して変換処理を実行する。
(3) Operation of Image Conversion Process Next, the operation of the image conversion process will be described with reference to FIGS. When this process is executed via step SB15 (see FIG. 8) of the server process described above, the painting conversion server 20 proceeds to step SC1 shown in FIG. 9, and is stored in the touch pattern area HE (see FIG. 3). A brush pattern designated by the currently selected conversion algorithm / parameter group is set from the various brush patterns HP (1) to (N). Here, in order to simplify the description, it is assumed that, for example, a brush pattern HP (1) to be converted into an oil painting is set. Subsequently, the conversion process is executed via step SC2.

変換処理が実行されると、絵画変換サーバ20は、図10に図示するステップSD1に進む。ステップSD1では、前述したサーバ処理のステップSB14(図8参照)において抽出した画像、すなわちウインドウ画像によって囲まれる原画像中の領域の画像データを、変換元画像エリアTHEにコピーする。続いて、ステップSD2では、変換を開始する開始画素Pを設定する。開始画素Pは、ビットマップ形式の画素P(1)〜P(n×m)の何れか一つを選択する。具体的には、例えば図11(a)に図示する変換画像エリアTMEの画素P(1)を開始画素Pに設定する。   When the conversion process is executed, the picture conversion server 20 proceeds to step SD1 illustrated in FIG. In step SD1, the image extracted in step SB14 (see FIG. 8) of the server process described above, that is, the image data of the area in the original image surrounded by the window image is copied to the conversion source image area THE. Subsequently, in step SD2, a start pixel P for starting conversion is set. As the start pixel P, any one of the bitmap format pixels P (1) to P (n × m) is selected. Specifically, for example, the pixel P (1) of the converted image area TME illustrated in FIG.

次に、ステップSD3では、現在選択されている変換アルゴリズム・パラメータ群に基づき離間値Nを設定する。離間値Nとは、図11(a)に図示する通り、開始画素Pに設定した画素P(1)と次に変換を開始する画素P(2)との間の離間距離を画素数で表すものであり、筆触パターンHPの重なり具合を表す。続いて、ステップSD4では、変換元画像エリアTHEにコピーされた画像において、変換を開始する開始画素P(画素P(1))の色Cpを取得する。   Next, in step SD3, the separation value N is set based on the currently selected conversion algorithm / parameter group. As shown in FIG. 11A, the separation value N represents the separation distance between the pixel P (1) set as the start pixel P and the pixel P (2) where conversion is started next by the number of pixels. It represents the degree of overlap of the brush pattern HP. Subsequently, in step SD4, the color Cp of the start pixel P (pixel P (1)) for starting the conversion is acquired in the image copied to the conversion source image area THE.

そして、ステップSD5では、上述のステップSC1(図9参照)において設定された筆触パターンHP(1)を構成する画素の番号を指定するポインタnに初期値「1」をセットする。次いで、ステップSD6では、変換元画像エリアTHEの開始画素Pと同じ位置の画素に、筆触パターンHP(1)の1番目の画素を合わせる。なお、筆触パターンHP(1)は、図5に図示する一例のように、筆触図形1を形成する10個の画素から構成される。   In step SD5, an initial value “1” is set to a pointer n that designates the number of the pixel constituting the brush pattern HP (1) set in step SC1 (see FIG. 9). Next, in step SD6, the first pixel of the writing pattern HP (1) is aligned with the pixel at the same position as the start pixel P of the conversion source image area THE. The brush pattern HP (1) is composed of ten pixels forming the brush graphic 1 as in the example illustrated in FIG.

続いて、ステップSD7では、1番目の画素が開始画素Pに位置合わせされた筆触パターンHP(1)において、ポインタnで指定されるn番目の画素に対応した画素を検索する。ステップSD8では、その検索した画素が対象画像内に収まっているか否かを判断する。対象画像外ならば、判断結果は「NO」になり、後述のステップSD10に進む。   Subsequently, in step SD7, a pixel corresponding to the nth pixel designated by the pointer n is searched for in the writing pattern HP (1) in which the first pixel is aligned with the start pixel P. In step SD8, it is determined whether or not the retrieved pixel is within the target image. If it is outside the target image, the determination result is “NO”, and the process proceeds to Step SD10 described later.

一方、検索した画素が対象画像内に収まっていれば、判断結果は「YES」となり、ステップSD9に進み、その検索した画素の色を、上記ステップSD4で取得した色Cpに設定する。この後、ステップSD10に進み、ポインタnをインクリメントして歩進させる。   On the other hand, if the retrieved pixel is within the target image, the determination result is “YES”, the process proceeds to step SD9, and the color of the retrieved pixel is set to the color Cp acquired in step SD4. Thereafter, the process proceeds to step SD10, where the pointer n is incremented and stepped.

次いで、ステップSD11では、歩進されたポイントnの値が筆触パターンHP(1)の最終画素の番号以上になったか否か、つまり筆触パターンHP(1)を構成する全ての画素について色設定し終えたかどうかを判断する。全ての画素について色設定し終えていなければ、判断結果は「NO」になり、ステップSD7に処理を戻す。以後、筆触パターンHP(1)を構成する全ての画素について色設定し終えるまで上記ステップSD7〜SD11を繰り返す。これにより、上述の一例の場合、図11(b)に図示する通り、画素P(1)に対応する位置の開始画素Pを1番目の画素とした筆触パターンHP(1)が、ステップSD4で取得した色Cpで塗り潰されることになる。   Next, in step SD11, whether or not the value of the advanced point n is equal to or greater than the number of the last pixel of the brush pattern HP (1), that is, the colors are set for all the pixels constituting the brush pattern HP (1). Determine if finished. If the color setting has not been completed for all the pixels, the determination result is “NO”, and the process returns to step SD7. Thereafter, the above steps SD7 to SD11 are repeated until the color setting is completed for all the pixels constituting the writing pattern HP (1). Thereby, in the case of the above example, as shown in FIG. 11B, the writing pattern HP (1) with the start pixel P at the position corresponding to the pixel P (1) as the first pixel is obtained in step SD4. The acquired color Cp is filled.

こうして、最初の開始画素P(画素P(1))について筆触パターンHP(1)による塗り潰しを終えると、上記ステップSD11の判断結果が「YES」になり、ステップSD12に進み、開始画素P(画素P(1))に離間値Nを加算して次の開始画素P(画素P(2))に更新する。そして、ステップSD13に進むと、更新された次の開始画素P(画素P(2))が最終画素に達したか否かを判断する。   Thus, when the first start pixel P (pixel P (1)) is completely filled with the brush pattern HP (1), the determination result in step SD11 is “YES”, and the process proceeds to step SD12 to start pixel P (pixel). The separation value N is added to P (1)) and updated to the next start pixel P (pixel P (2)). In step SD13, it is determined whether or not the updated next start pixel P (pixel P (2)) has reached the final pixel.

更新された次の開始画素P(画素P(2))が最終画素に達していない場合には、判断結果は「NO」になり、上述したステップSD4以降の処理を繰り返す。これにより、例えば図11(a)に図示するように、離間値Nを隔てて並ぶ画素P(1)、P(2)、P(3)がそれぞれ開始画素Pに設定された場合には、これら開始画素Pを1番目の画素として配置された筆触パターンHP(1)が、同図(b)に図示する通り、それぞれの取得色Cpで塗り潰されて重ね合わされる結果、同図(c)のように筆触図形1のタッチで描かれる油彩画として画像変換される。そして、更新された次の開始画素Pが最終画素に達した場合には、上述したステップSD13の判断結果が「YES」となり、本処理を終える。   If the updated next start pixel P (pixel P (2)) has not reached the final pixel, the determination result is “NO”, and the processing from step SD4 described above is repeated. Thus, for example, as illustrated in FIG. 11A, when the pixels P (1), P (2), and P (3) arranged with the separation value N are set as the start pixels P, respectively, As shown in FIG. 5B, the writing pattern HP (1) in which the start pixel P is arranged as the first pixel is filled with the respective acquired colors Cp and overlapped as shown in FIG. As described above, the image is converted as an oil painting drawn by touching the brush pattern 1. When the updated next start pixel P reaches the final pixel, the determination result in step SD13 described above is “YES”, and the process ends.

このように、画像変換処理では、変換元画像エリアTHEにコピーされた変換対象画像(ウインドウ画像によって囲まれる原画像中の画像領域)から任意選択した開始画素Pを起点として、画素数(離間値N)置きの各画素をパターン始点となるように各筆触パターンHPの重なり具合を決め、変換対象画像から各パターン始点の画素に対応する色Cpを取得し、取得した色Cpに従って対応する筆触パターンを塗り潰すことによって油絵調に変換される。   As described above, in the image conversion process, the number of pixels (separation value) starts from the start pixel P arbitrarily selected from the conversion target image (image area in the original image surrounded by the window image) copied to the conversion source image area THE. N) The degree of overlap of each brush pattern HP is determined so that every other pixel becomes the pattern start point, the color Cp corresponding to the pixel of each pattern start point is acquired from the conversion target image, and the corresponding touch pattern according to the acquired color Cp It is converted into oil painting by painting.

従って、例えば図13に図示するように、原画像(1)中の所望の領域を囲む位置およびサイズのウインドウ画像を配置すると、図14に図示する通り、ウインドウ画像で囲まれた領域が油絵調に変換された画像として表示され、また例えば図16に図示するように、原画像(2)中の所望の領域を囲む位置およびサイズのウインドウ画像を配置すると、図17に図示する通り、ウインドウ画像で囲まれた領域が油絵調に変換された画像として表示される。   Therefore, for example, as shown in FIG. 13, when a window image having a position and size surrounding a desired region in the original image (1) is arranged, the region surrounded by the window image is oil-painted as shown in FIG. When a window image having a position and size surrounding a desired area in the original image (2) is arranged as shown in FIG. 16, for example, as shown in FIG. 16, the window image is displayed as shown in FIG. The area surrounded by is displayed as an image converted to oil painting.

以上のように、本実施形態では、原画像中の画調変換したい画像領域をウインドウ画像で指定すると、原画像中でウインドウ画像によって囲まれた画像領域を画調変換し、画調変換された画像領域の画像を、ウインドウ画像によって囲まれた画像領域に貼り付けて表示する。画調変換に用いる変換アルゴリズム・パラメータ群の種別を、原画像中に配置するウインドウ画像が指定された時点からの経過時間に応じて、例えば「油彩画」、「水彩画」、「パステル画」の順に異ならせる。   As described above, in this embodiment, when an image area to be converted in the original image is designated by the window image, the image area surrounded by the window image is converted in the original image, and the converted image is converted. The image in the image area is pasted and displayed in the image area surrounded by the window image. Depending on the elapsed time from the point in time when the window image to be placed in the original image is specified, the type of conversion algorithm / parameter group used for image tone conversion, for example, “oil painting”, “watercolor painting”, “pastel painting” Different in order.

この結果、原画像中の画調変換したい画像領域をウインドウ画像で指定するだけで、そのウインドウ画像で囲まれた領域が所定時間経過する毎に「油彩画」から「水彩画」へ、さらに「パステル画」と順番に種類の異なる画調に変換されて表示される結果、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換することが出来る。   As a result, the image area to be converted in the original image is simply specified in the window image, and the area surrounded by the window image is changed from “oil painting” to “watercolor” every time a predetermined time elapses. As a result of the conversion to different image tones and the order of “image”, the desired area of the original image can be easily converted into various image tones without trimming.

なお、上述の実施形態では、ユーザ端末10と絵画変換サーバ20とから構成される絵画変換システムについて言及したが、本発明の要旨はこれに限定されず、絵画変換サーバ20と同等の画像処理能力を備えたユーザ端末10であれば、絵画変換サーバ20に接続することなくスタンドアローンの実行環境において、トリミングすること無く原画像の所望領域を容易かつ各種の画調に変換することが可能になる。   In the above-described embodiment, the picture conversion system including the user terminal 10 and the picture conversion server 20 has been described. However, the gist of the present invention is not limited to this, and the image processing capability equivalent to the picture conversion server 20 is provided. If the user terminal 10 is provided with the above, it is possible to easily convert the desired area of the original image into various image styles without trimming in the stand-alone execution environment without connecting to the picture conversion server 20. .

また、本実施形態では、説明の簡略化を図る為、ビットマップ形式の画像を扱うものとしたが、本発明の要旨はビットマップ形式の画像にのみ適用されるものではなく、jpeg(登録商標)等の他のデータ形式で表現される画像であっても適用可能であることは言うまでもない。   Further, in this embodiment, in order to simplify the explanation, the bitmap format image is handled. However, the gist of the present invention is not applied only to the bitmap format image, and jpeg (registered trademark) is used. Needless to say, the present invention can also be applied to images expressed in other data formats.

さらに、本実施形態では、ウインドウ画像で囲まれた原画像中の領域が所定時間経過する毎に「油彩画」から「水彩画」へ、さらに「パステル画」と順番に種類の異なる画調に変換される態様としたが、これに限らず画調変換する種類を循環的、すなわち「油彩画」→「水彩画」→「パステル画」→「油彩画」→・・・の順に繰り返す態様としても構わない。   Furthermore, in the present embodiment, every time the area in the original image surrounded by the window image elapses, it is converted from “oil painting” to “watercolor painting”, and further to “pastel painting” in order of different types of painting. However, the present invention is not limited to this, and the type of image tone conversion may be cyclic, that is, an “oil painting” → “watercolor painting” → “pastel painting” → “oil painting” →... Absent.

加えて、上述の実施形態では、一つのウインドウ画像で囲まれた原画像中の領域を画調変換するが、これに替えて、複数のウインドウ画像を備え、原画像中で画調変換したい複数の領域をそれら複数のウインドウ画像で囲い、各ウインドウ画像で囲われた複数の領域を、それぞれ異なる画調に同時変換する態様にすることも可能である。こうすることで、原画像にマッチした画調変換の種類を一目瞭然にすることが出来る。   In addition, in the above-described embodiment, tone conversion is performed on the area in the original image surrounded by one window image. Instead, a plurality of window images are provided, and a plurality of tone images to be converted in the original image are to be converted. It is also possible to enclose these areas with the plurality of window images, and simultaneously convert the plurality of areas surrounded by the window images into different image tones. In this way, the type of tone conversion matching the original image can be made clear at a glance.

10 ユーザ端末
20 絵画変換サーバ
20a CPU
20b ROM
20c RAM
20d 操作部
20e 通信部
100 絵画変換システム
10 User terminal 20 Painting conversion server 20a CPU
20b ROM
20c RAM
20d operation unit 20e communication unit 100 painting conversion system

Claims (5)

原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段と、
前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定手段と、
前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換手段と、を備え、
前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換していくことを特徴とする画調変換装置。
Area designating means for designating an area of a desired size at a desired position in the original image;
According to the elapsed time since the area is specified by the area specifying means, the tone specifying means for sequentially specifying different types of image tone;
Image conversion means for converting the image of the designated area into the image tone designated by the image tone designation means,
An image tone conversion apparatus for converting only an image in a designated area in the original image into different types of image tone sequentially according to the elapsed time.
前記画像変換手段は、前記枠形画像のサイズ又は位置を変更している間は、当該枠形画像で囲まれた原画像中の画像の領域を変換しないことを特徴とする請求項1記載の画調変換装置。   2. The image conversion unit according to claim 1, wherein the image conversion unit does not convert an image area in the original image surrounded by the frame image while changing the size or position of the frame image. Image tone conversion device. 前記領域指定手段は、原画像中に複数の領域を指定する複数領域指定手段を含み、
前記画調指定手段は、前記複数領域指定手段が指定した複数の領域について、それぞれ異なる画調を指定する複数画調指定手段を含むことを特徴とする請求項1または2記載の画調変換装置。
The area specifying means includes a plurality of area specifying means for specifying a plurality of areas in the original image,
3. The image tone conversion apparatus according to claim 1, wherein the image tone designating unit includes a plurality of image tone designating units for designating different image tones for the plurality of areas designated by the plurality of area designating units. .
コンピュータに、
原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段ステップと、
前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定ステップと、
前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換ステップと、を備え、
前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換ことを特徴とするプログラム。
On the computer,
An area designating step for designating an area of a desired size at a desired position in the original image;
An image tone designating step for sequentially designating different types of image tones according to the elapsed time since the area was designated by the area designating unit;
An image conversion step of converting the image of the designated area into the image tone designated by the image tone designating means,
A program characterized in that only an image in a specified area in the original image is sequentially converted into different types of image tone according to the elapsed time.
端末装置と、この端末装置とネットワークを介して接続されたサーバとを備えたシステムであって、
前記端末装置は、
原画像中の所望の位置に所望のサイズの領域を指定する領域指定手段と、
前記領域指定手段により領域が指定されてからの経過時間に応じて、順次異なる種類の画調を指定していく画調指定手段と、
を備え、
前記サーバは、
前記指定された領域の画像を、前記画調指定手段により指定された画調に変換する画像変換手段と、
を備え、
前記原画像中の指定された領域内の画像のみを、経過時間に応じて順次異なる種類の画調に変換していくことを特徴とするシステム。
A system comprising a terminal device and a server connected to the terminal device via a network,
The terminal device
Area designating means for designating an area of a desired size at a desired position in the original image;
According to the elapsed time since the area is specified by the area specifying means, the tone specifying means for sequentially specifying different types of image tone;
With
The server
Image converting means for converting the image of the designated area into the image tone designated by the image tone designating means;
With
Only the image in the designated area in the original image is converted into different types of image tone sequentially according to the elapsed time.
JP2013086173A 2013-04-17 2013-04-17 Image conversion device and program Pending JP2013178798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013086173A JP2013178798A (en) 2013-04-17 2013-04-17 Image conversion device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013086173A JP2013178798A (en) 2013-04-17 2013-04-17 Image conversion device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010261154A Division JP5263630B2 (en) 2010-11-24 2010-11-24 Image conversion device and program

Publications (2)

Publication Number Publication Date
JP2013178798A true JP2013178798A (en) 2013-09-09
JP2013178798A5 JP2013178798A5 (en) 2014-01-16

Family

ID=49270311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013086173A Pending JP2013178798A (en) 2013-04-17 2013-04-17 Image conversion device and program

Country Status (1)

Country Link
JP (1) JP2013178798A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0844867A (en) * 1994-04-15 1996-02-16 Sony Electron Inc Method and equipment for correction of original image
JPH11327520A (en) * 1998-05-13 1999-11-26 Sony Corp Display control method and display controller
JP2003281562A (en) * 2002-03-25 2003-10-03 Fuji Photo Film Co Ltd Image display method and image processor for executing it
WO2010071189A1 (en) * 2008-12-18 2010-06-24 ソニー株式会社 Image processing device, method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0844867A (en) * 1994-04-15 1996-02-16 Sony Electron Inc Method and equipment for correction of original image
JPH11327520A (en) * 1998-05-13 1999-11-26 Sony Corp Display control method and display controller
JP2003281562A (en) * 2002-03-25 2003-10-03 Fuji Photo Film Co Ltd Image display method and image processor for executing it
WO2010071189A1 (en) * 2008-12-18 2010-06-24 ソニー株式会社 Image processing device, method, and program

Similar Documents

Publication Publication Date Title
US9870646B2 (en) Three-dimensional model generation based on two-dimensional images
US8866848B2 (en) Image processing device, control method for an image processing device, program, and information storage medium
CN109271983B (en) Display method and display terminal for identifying object in screenshot
KR960025239A (en) Texture mapping device and method
JP7070417B2 (en) Image processing equipment and methods
KR20090001667A (en) Apparatus and method for embodying contents using augmented reality
CN107564084B (en) Method and device for synthesizing motion picture and storage equipment
RU2735066C1 (en) Method for displaying augmented reality wide-format object
JP2020014075A (en) Image projection system, image projection method, and program
JP5263630B2 (en) Image conversion device and program
JP5083389B2 (en) Image conversion device, image conversion system, image conversion method and program
JP6011092B2 (en) Image processing apparatus, image tone conversion method, and program
JP2013178798A (en) Image conversion device and program
CN111640190A (en) AR effect presentation method and apparatus, electronic device and storage medium
CN116702246A (en) Method and system for interaction between digital clothing CAD drawing and 3D clothing DIY cloud design
JP4870474B2 (en) Parts catalog display system and control method thereof
TWI640952B (en) Virtual object collection method and portable electronic device
JP3192116U (en) Image processing device
JP2012033012A (en) Image tone conversion device, image tone conversion system, image tone conversion method and program
CN103838708B (en) Electronic typesetting method and electronic typesetting device
JP2020161885A (en) Image processing device and image processing program
JP6481204B2 (en) Information processing apparatus, processing method thereof, and program
JP4904013B2 (en) Image generation program and image generation apparatus
JP2015041233A (en) Image processor and method thereof
JP2016136325A (en) Image processing device and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131121

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140820

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150106