JP2014038629A - Image processing device, image processing method and program - Google Patents

Image processing device, image processing method and program Download PDF

Info

Publication number
JP2014038629A
JP2014038629A JP2013174620A JP2013174620A JP2014038629A JP 2014038629 A JP2014038629 A JP 2014038629A JP 2013174620 A JP2013174620 A JP 2013174620A JP 2013174620 A JP2013174620 A JP 2013174620A JP 2014038629 A JP2014038629 A JP 2014038629A
Authority
JP
Japan
Prior art keywords
area
image processing
structured document
image data
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013174620A
Other languages
Japanese (ja)
Other versions
JP5646019B2 (en
Inventor
Nobunari Aoki
伸成 青木
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
Priority to JP2013174620A priority Critical patent/JP5646019B2/en
Publication of JP2014038629A publication Critical patent/JP2014038629A/en
Application granted granted Critical
Publication of JP5646019B2 publication Critical patent/JP5646019B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve a problem that only an element unit is selected but an optional area is not selected, when selecting a web page displayed by a browser in the browser.SOLUTION: An image processing device inserts and displays an object displayed on a front face of a web page and indicating an area of the web page, in a structured document. An intermediate data file capable of extracting the area is prepared corresponding to the web page, on the basis of the structured document. An image of an area indicated by the object is extracted out of the intermediate data file, to be displayed.

Description

本発明は構造化文書に基づき画像を処理する画像処理装置、画像処理方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program for processing an image based on a structured document.

近年、インターネット上のWebページにアクセスして様々な情報を獲ることが可能となった。これらのWebページはHTML(Hyper Text Markup Language)またはXHTML(Extensible Hyper Text Markup Language)等のような構造化言語で記述された構造化文書である。この構造化文書に対応したブラウザーと呼ばれるソフトウェアでWebページをディスプレイ上に表示し、参照することが可能である。   In recent years, it has become possible to obtain various information by accessing Web pages on the Internet. These Web pages are structured documents described in a structured language such as HTML (Hyper Text Markup Language) or XHTML (Extensible Hyper Text Markup Language). A Web page can be displayed on a display and referred to by software called a browser corresponding to the structured document.

またこれらWebページの一部の領域を画像として抽出して印刷することが可能である。この場合はブラウザーでWebページをディスプレイ上で表示し、この表示中のWebページ内の一部領域をマウス等のポインティングデバイスを用いて選択する方法が一般的である。(例えば[特許文献1]参照)   Further, it is possible to extract and print a partial area of these Web pages as an image. In this case, a method is generally used in which a web page is displayed on a display by a browser, and a partial area in the web page being displayed is selected using a pointing device such as a mouse. (For example, see [Patent Document 1])

特登録03588337号公報Japanese Patent Registration No. 035883337

しかしながら従来の方法では、ブラウザーで表示しているWebページの領域をそのブラウザーにおいて選択する場合では、要素単位の選択のみしかできなかった。つまり、例えば画像要素の一部やテキスト要素の一部といったユーザにとって任意の領域を選択することができないといった問題があった。   However, according to the conventional method, when the Web page area displayed in the browser is selected by the browser, only the element unit can be selected. That is, there is a problem that an arbitrary area cannot be selected for the user, for example, a part of an image element or a part of a text element.

上記課題を解決するために本発明は、構造化文書に含まれる複数の要素が配置されたページにおける抽出対象の領域を特定する特定手段と、前記ページにおいて前記特定手段により特定された抽出対象の領域に対応する画像データを抽出する抽出手段と、を有し、前記特定手段により特定された前記抽出対象の領域の境界が前記複数の要素のうちの1つの要素の一部分に対応する場合、前記抽出手段は、当該1つの要素を選択し、当該選択された1つの要素に基づく画像データを作成し、当該作成された画像データのうちの当該一部分に対応する画像データを切り取ることで、当該一部分に対応する当該画像データを抽出する。   In order to solve the above-described problems, the present invention provides a specifying unit that specifies an extraction target region in a page in which a plurality of elements included in a structured document are arranged, and an extraction target specified by the specifying unit in the page. Extracting means for extracting image data corresponding to a region, and when a boundary of the extraction target region specified by the specifying unit corresponds to a part of one of the plurality of elements, The extraction unit selects the one element, creates image data based on the selected one element, and cuts out the image data corresponding to the part of the created image data, thereby extracting the part. The image data corresponding to is extracted.

構造化文書に基づき印刷する印刷システムの例を示す図である。It is a figure which shows the example of the printing system which prints based on a structured document. PC101の構成を示すブロック図である。2 is a block diagram showing a configuration of a PC 101. FIG. 実施例1におけるPC101のソフトウェア構成を示すブロック図である。3 is a block diagram illustrating a software configuration of the PC 101 in Embodiment 1. FIG. GUI画面の一例を示す図である。It is a figure which shows an example of a GUI screen. 範囲選択ボタン406押下後のGUI画面を示す図である。It is a figure which shows the GUI screen after the range selection button 406 is pressed. 構造化文書の一例を示す図である。It is a figure which shows an example of a structured document. 構造化文書印刷モジュール302の処理手順を示す図である。It is a figure which shows the process sequence of the structured document printing module. 実施例2におけるPC101のソフトウェア構成を示すブロック図である。FIG. 10 is a block diagram illustrating a software configuration of a PC 101 according to a second embodiment. 実施例2の領域選択ウインドウ901を示す図である。It is a figure which shows the area | region selection window 901 of Example 2. FIG. 実施例3におけるPC101のソフトウェア構成を示すブロック図である。FIG. 10 is a block diagram illustrating a software configuration of a PC 101 according to a third embodiment. 実施例3の領域選択ウインドウのGUI画面を示す図である。FIG. 10 is a diagram illustrating a GUI screen of an area selection window according to the third embodiment.

以下、添付図面を参照して本発明の好適な実施の形態を詳しく説明する。尚、以下の実施の形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are essential to the solution means of the present invention. Not exclusively.

図1は、構造化文書に基づき印刷する印刷システムの例を示す図である。図1に示したPC(Personal Computer)101はプリンタ104と接続されており印刷制御装置としてプリンタ104に画像を印刷させる。またPC101は、インターネット102を介してWWWサーバ103と接続されており、構造化言語で記載された構造化文書をダウンロードして、その構造化文書に基づきWebページを表示する。なお、この構造化文書はHTMLやXHTML等の言語で記述されている。さらに、このダウンロードした構造化文書に基づき、プリンタ104に画像を印刷させる。   FIG. 1 is a diagram illustrating an example of a printing system that performs printing based on a structured document. A PC (Personal Computer) 101 shown in FIG. 1 is connected to a printer 104 and causes the printer 104 to print an image as a print control apparatus. The PC 101 is connected to the WWW server 103 via the Internet 102, downloads a structured document written in a structured language, and displays a Web page based on the structured document. This structured document is described in a language such as HTML or XHTML. Further, based on the downloaded structured document, the printer 104 prints an image.

図2はPC101の構成を示すブロック図である。CPU201は、プログラムに従ってデータの演算や命令を行い、PC101の各部や接続された装置に対する制御を行う。   FIG. 2 is a block diagram showing the configuration of the PC 101. The CPU 201 performs data operations and instructions according to a program, and controls each unit of the PC 101 and connected devices.

RAM202は、一時記憶領域として使用されるメモリであり、ROM203は、CPU201により実行される各種のプログラムを保存するメモリである。ハードディスク204はオペレーティングシステム(OS)、ブラウザーやその他のアプリケーションソフトのプログラムやデータ等を記録する。つまり、CPU201が、ROM203或いはハードディスク204に格納されたプログラムをRAM202に読出し、RAM202をワークメモリとしてプログラムを実行することで各種の制御が行われる。   A RAM 202 is a memory used as a temporary storage area, and a ROM 203 is a memory that stores various programs executed by the CPU 201. The hard disk 204 records an operating system (OS), a browser, other application software programs, data, and the like. That is, the CPU 201 reads out a program stored in the ROM 203 or the hard disk 204 to the RAM 202 and executes the program using the RAM 202 as a work memory to perform various controls.

USBインターフェース205は、USBケーブルが接続されるインターフェースであり、プリンタ104とのデータ通信を行うためのインターフェースである。なおプリンタ104との通信はUSBケーブル以外でも、例えばSCSIや無線により行われてもよい。   The USB interface 205 is an interface to which a USB cable is connected, and is an interface for performing data communication with the printer 104. Note that communication with the printer 104 may be performed by other than the USB cable, for example, by SCSI or wireless.

表示装置206はCRTや液晶ディスプレイとグラフィックコントローラとからなり、PC101が表示制御装置として種々の表示を行う。例えば、WWWサーバ103からダウンロードしたWebページや、印刷プレビュー画像、またグラフィックユーザインターフェース(GUI)などの表示が行われる。入力装置207はユーザがPC101に対して各種指示を与えるための装置であり、例えばマウスやキーボードがある。システムバス209は、CPU201やRAM202、ROM203、ハードディスク204等との間のデータのやり取りを行う。   The display device 206 includes a CRT, a liquid crystal display, and a graphic controller, and the PC 101 performs various displays as a display control device. For example, a Web page downloaded from the WWW server 103, a print preview image, a graphic user interface (GUI), or the like is displayed. The input device 207 is a device for the user to give various instructions to the PC 101, and includes, for example, a mouse and a keyboard. A system bus 209 exchanges data with the CPU 201, RAM 202, ROM 203, hard disk 204, and the like.

LANインターフェース208はLANケーブルが接続されるインターフェースであり、不図示のルータ、またインターネット102を介して外部のWWWサーバ103とのデータ通信が行われる。なおこのデータ通信は、例えば無線に対応したインターフェースにより、無線で行われてもよい。   A LAN interface 208 is an interface to which a LAN cable is connected, and performs data communication with an external WWW server 103 via a router (not shown) or the Internet 102. Note that this data communication may be performed wirelessly using, for example, a wireless interface.

また図2では、PC101が表示装置206と入力装置207、CPU201、RAM202等の制御部と一体となった所謂ノート型のPCの場合を示している。しかし本発明はこれに限らず、PCは、表示装置と入力装置とが制御部と別体となった所謂デスクトップ型のものでもよい。   FIG. 2 shows a so-called notebook PC in which the PC 101 is integrated with a control unit such as the display device 206, the input device 207, the CPU 201, and the RAM 202. However, the present invention is not limited to this, and the PC may be a so-called desktop type in which the display device and the input device are separated from the control unit.

図3は、実施例1におけるPC101のソフトウェア構成を示すブロック図である。この図3に示された各ブロックはROM203やハードディスク204に保存されているプログラムを機能ごとに分類したものであり、これらのプログラムはCPU201により実行される。以下にPC101上で動作するプログラムとそのデータ処理構成について図3を用いて説明する。   FIG. 3 is a block diagram illustrating a software configuration of the PC 101 according to the first embodiment. Each block shown in FIG. 3 is obtained by classifying programs stored in the ROM 203 or the hard disk 204 by function, and these programs are executed by the CPU 201. A program that runs on the PC 101 and its data processing configuration will be described below with reference to FIG.

図3においてブラウザー301はWebページを表示するためのアプリケーションであり、WWWサーバ103から受信した構造化文書に基づきWebページを表示する。つまりは、HTMLファイル等の構造化文書ファイルをPC101上のハードディスク204へダウンロードし、それに基づいて表示装置206へ表示させる。WebページはHTMLやXHTML等の構造化文書ファイルであり、テキストや画像等の構造化文書を構成する要素がタグを用いて記述されている。またこれら要素の表示スタイルを指定するCascading Style Sheet(以下CSSと略す)と呼ばれる別ファイルが構造化文書内に指定されている。ブラウザー301はこれらの構造化文書ファイルを解析して表示装置206に表示させる。   In FIG. 3, a browser 301 is an application for displaying a Web page, and displays a Web page based on a structured document received from the WWW server 103. That is, a structured document file such as an HTML file is downloaded to the hard disk 204 on the PC 101 and displayed on the display device 206 based on the downloaded file. The Web page is a structured document file such as HTML or XHTML, and elements constituting the structured document such as text and images are described using tags. Also, another file called Cascading Style Sheet (hereinafter abbreviated as CSS) that specifies the display style of these elements is specified in the structured document. The browser 301 analyzes these structured document files and displays them on the display device 206.

図3において構造化文書印刷モジュール302はブラウザー301から呼び出されるプラグインソフトウェアであり、ユーザがブラウザー301に対して領域選択指示を行ったときこの構造化文書印刷モジュール302が実行される。この構造化文書印刷モジュール302により、Webページの一部を抽出する処理が行われる。   In FIG. 3, the structured document printing module 302 is plug-in software called from the browser 301, and the structured document printing module 302 is executed when the user gives an area selection instruction to the browser 301. The structured document printing module 302 performs processing for extracting a part of the Web page.

構造化文書印刷モジュール302において、領域選択オブジェクト挿入部303はブラウザー内に表示されている構造化文書に領域選択のための矩形領域を模った1つまたは複数の領域選択オブジェクトを挿入する。このとき領域選択オブジェクト挿入部303は領域選択オブジェクトを最前面に挿入するために、構造化文書内の各要素のZ−orderと呼ばれる表示順序を取得する。そして、既存の最前面の要素よりも前面に表示するためのZ−order属性を挿入する領域選択オブジェクトに設定する。   In the structured document printing module 302, the area selection object insertion unit 303 inserts one or more area selection objects imitating a rectangular area for area selection into the structured document displayed in the browser. At this time, the region selection object insertion unit 303 acquires a display order called Z-order of each element in the structured document in order to insert the region selection object in the foreground. And it sets to the area | region selection object which inserts the Z-order attribute for displaying on the front rather than the existing frontmost element.

領域選択オブジェクト変更部304は、マウス等の入力装置207を用いてユーザが行う選択領域の変更指示を受け取り、領域選択オブジェクト挿入部303が挿入した領域選択オブジェクトの座標を変更する。これによりユーザは構造化文書の任意の矩形領域をマウス等の入力装置207を用いて選択領域として指定することができる。   The area selection object changing unit 304 receives an instruction to change the selection area performed by the user using the input device 207 such as a mouse, and changes the coordinates of the area selection object inserted by the area selection object insertion unit 303. As a result, the user can specify an arbitrary rectangular area of the structured document as a selection area using the input device 207 such as a mouse.

選択領域データ抽出部305は、ユーザが構造化文書内の領域を選択後、印刷もしくは印刷プレビューの開始指示をブラウザーに対して行った場合に実行される。この選択領域データ抽出部305は、領域選択オブジェクト変更部304で設定された領域選択オブジェクトの座標を取得し、この選択領域に含まれる構造化文書内の要素を抽出し、一部領域を抽出可能な中間データファイルを作成する。この中間データファイルは印刷のための画像データであり、ビットマップデータではなく、文字情報、図形情報をベクターデータとして保持することが望ましい。このときWebページの任意の領域を抽出可能にする、つまり言い換えればWebページの要素の一部を抽出可能にするため、中間データはベクターデータの一部に対してクリップ領域が設定可能な中間データファイルであることが望ましい。たとえばPDF(Portable Document Format)またはEMF(Enhanced Metafile Format)などが中間データファイルとして用いることができる。   The selection area data extraction unit 305 is executed when the user gives an instruction to start printing or print preview to the browser after selecting an area in the structured document. The selection area data extraction unit 305 can acquire the coordinates of the area selection object set by the area selection object change unit 304, extract elements in the structured document included in the selection area, and extract a partial area A simple intermediate data file. This intermediate data file is image data for printing, and it is desirable to store character information and graphic information as vector data, not bitmap data. At this time, in order to be able to extract an arbitrary area of the Web page, in other words, to be able to extract a part of the elements of the Web page, the intermediate data is intermediate data in which a clip area can be set for part of the vector data A file is desirable. For example, PDF (Portable Document Format) or EMF (Enhanced Metafile Format) can be used as the intermediate data file.

印刷レイアウト部306は、選択領域データ抽出部305が抽出した中間データファイルを、印刷設定を用いて用紙サイズにレイアウトする。なお、この印刷設定は用紙サイズ、解像度、印刷可能領域等の情報を含み、OS309を介してプリンタドライバ310から取得する。   The print layout unit 306 lays out the intermediate data file extracted by the selection area data extraction unit 305 to a paper size using print settings. This print setting includes information such as the paper size, resolution, and printable area, and is acquired from the printer driver 310 via the OS 309.

印刷プレビュー部307は印刷レイアウト部306でレイアウトした要素を印刷プレビューとして表示装置206に表示する。   The print preview unit 307 displays the elements laid out by the print layout unit 306 on the display device 206 as a print preview.

印刷処理部308はユーザより印刷開始指示をうけた場合に、印刷レイアウト部306でレイアウトした要素の配置情報を用いて、OS309を介してプリンタドライバ310に対して描画処理を実行する。   When the print processing unit 308 receives a print start instruction from the user, the print processing unit 308 executes a drawing process on the printer driver 310 via the OS 309 using the arrangement information of the elements laid out by the print layout unit 306.

OS309は構造化文書印刷モジュール302とプリンタドライバ310とが印刷設定データのやり取りを行うためのAPI(Application Programming Interface)や描画処理を行うためのAPIを提供する。またOS309には印刷のジョブを管理するスプーラーシステム、プリンタコマンドをポートへ出力するポートモニター等の各種制御ソフトウェアが含まれるが詳細については省略する。   The OS 309 provides an API (Application Programming Interface) for the structured document printing module 302 and the printer driver 310 to exchange print setting data and an API for performing drawing processing. The OS 309 includes various control software such as a spooler system that manages print jobs and a port monitor that outputs printer commands to a port.

プリンタドライバ310は印刷処理部308により実行された描画処理に基づいて印刷データを生成し、プリンタコマンドに変換後、OS309を介してプリンタコマンドをプリンタ104に送信、プリンタ104が用紙へ記録する。   The printer driver 310 generates print data based on the drawing process executed by the print processing unit 308, converts the print data into a printer command, transmits the printer command to the printer 104 via the OS 309, and the printer 104 records it on a sheet.

図4、図5を用いて、本実施例の構造化文書の表示制御装置としてのPC101が表示装置206に表示するGUI画面を説明する。図4は、GUI画面の一例を示す図である。ブラウザー301はWebページをGUI上に表示する。さらにブラウザー301には、表示するWebページを切り替えるための戻るボタン401、進むボタン402、アドレス入力領域403などが配置されている。さらにウインドウ内には印刷ボタン404、印刷プレビューボタン405およびWebページの範囲選択を行うための範囲選択ボタン406が配置されている。ユーザが範囲選択ボタン406を押下するとブラウザー301が構造化文書印刷モジュール302を呼び出す。そして構造化文書印刷モジュール302において領域選択オブジェクト挿入部303が、初期座標が設定された領域選択オブジェクトをブラウザー301の構造化文書内に挿入する。   A GUI screen displayed on the display device 206 by the PC 101 as the structured document display control device of this embodiment will be described with reference to FIGS. 4 and 5. FIG. 4 is a diagram illustrating an example of a GUI screen. The browser 301 displays a web page on the GUI. Further, the browser 301 is provided with a return button 401, a forward button 402, an address input area 403, and the like for switching the Web page to be displayed. Further, a print button 404, a print preview button 405, and a range selection button 406 for selecting a range of the Web page are arranged in the window. When the user presses the range selection button 406, the browser 301 calls the structured document printing module 302. In the structured document printing module 302, the area selection object insertion unit 303 inserts the area selection object in which the initial coordinates are set into the structured document of the browser 301.

図5は、範囲選択ボタン406押下後のGUI画面を示す図である。図5の502は、領域選択オブジェクト挿入部303によって挿入された複数の要素からなる領域選択オブジェクトである。領域選択オブジェクト502の初期座標は領域選択オブジェクト502が、ブラウザーの構造化文書表示領域の中央に配置されるように設定し、領域選択オブジェクトの初期サイズは予め決められた値を用いる。   FIG. 5 shows a GUI screen after the range selection button 406 is pressed. Reference numeral 502 in FIG. 5 denotes a region selection object including a plurality of elements inserted by the region selection object insertion unit 303. The initial coordinates of the area selection object 502 are set so that the area selection object 502 is placed at the center of the structured document display area of the browser, and a predetermined value is used as the initial size of the area selection object.

領域選択オブジェクト502は選択領域をあらわす矩形オブジェクト503と、矩形の四隅および矩形の四辺に配された矩形サイズ変更用のオブジェクト504〜511から構成される。矩形オブジェクト503は、半透明の描画属性をもった矩形オブジェクトであり、構造化文書のどの部分が選択されているかが、透けてわかるように構成されている。   The area selection object 502 includes a rectangular object 503 representing a selection area, and rectangular size changing objects 504 to 511 arranged at four corners and four sides of the rectangle. The rectangular object 503 is a rectangular object having a semi-transparent drawing attribute, and is configured to show through which part of the structured document is selected.

ユーザは矩形部分をマウス等の入力装置207でドラッグして、領域選択オブジェクト502の座標を任意に変更することができる。また矩形サイズ変更用オブジェクト504〜511をマウス等でドラッグすることで、矩形サイズを任意に変更することができる。   The user can arbitrarily change the coordinates of the region selection object 502 by dragging the rectangular portion with the input device 207 such as a mouse. Also, the rectangle size can be arbitrarily changed by dragging the rectangle size changing objects 504 to 511 with a mouse or the like.

この矩形サイズ変更指示に対応して、領域選択オブジェクト変更部304が領域選択オブジェクト502のサイズ、位置を変更する。   In response to this rectangular size change instruction, the region selection object changing unit 304 changes the size and position of the region selection object 502.

更に図5に示すように、選択領域を印刷対象として印刷を開始するための印刷ボタン512を配置する。印刷ボタン512が押されると、選択領域データ抽出部305が領域選択オブジェクト502の座標を取得し、この矩形に含まれる構造化文書を中間データファイルとして抽出する。また図5では領域選択を中止するためのキャンセルボタン513も表示し、キャンセルボタン513が押された場合は図4の状態に戻る。   Further, as shown in FIG. 5, a print button 512 for starting printing with the selected area as a printing target is arranged. When the print button 512 is pressed, the selection area data extraction unit 305 acquires the coordinates of the area selection object 502 and extracts the structured document included in the rectangle as an intermediate data file. 5 also displays a cancel button 513 for canceling the area selection. When the cancel button 513 is pressed, the state returns to the state shown in FIG.

図6は、構造化文書の一例を示す図である。この図6の構造化文書601はXHTML形式で記述されている。また図示しないが構造化文書601ではCSSにより要素のレイアウト情報を別ファイルとして記述している。   FIG. 6 is a diagram illustrating an example of a structured document. The structured document 601 in FIG. 6 is described in the XHTML format. Although not shown, in the structured document 601, element layout information is described as a separate file by CSS.

構造化文書601で<span>タグ602は、領域選択オブジェクト502を表示するためのタグである。図6の<span>タグ602では領域選択オブジェクト502を任意の座標に表示可能にするため、Webページにおける絶対座標で表示位置を指定するための、”position:absolute”属性を指定している。つまりは、表示画面における座標や、またブラウザーのウインドウに対する座標ではないため、ブラウザーのウインドウを移動や拡大・縮小してもその座標は変更されない。また図6の<span>タグ602では領域選択オブジェクト502の左上の座標がleft:100px、right:100pxの位置に幅200px、高さ200pxの矩形オブジェクトを挿入している。なお、このpxは、画素(ピクセル)数を示す。   In the structured document 601, a <span> tag 602 is a tag for displaying the area selection object 502. In the <span> tag 602 in FIG. 6, a “position: absolute” attribute for designating a display position with absolute coordinates on the Web page is designated in order to enable the region selection object 502 to be displayed at an arbitrary coordinate. That is, since it is not the coordinates on the display screen or the coordinates for the browser window, the coordinates are not changed even if the browser window is moved, enlarged or reduced. In the <span> tag 602 in FIG. 6, a rectangular object having a width of 200 px and a height of 200 px is inserted at the position where the upper left coordinates of the area selection object 502 are left: 100 px and right: 100 px. Note that px indicates the number of pixels.

図6でz−index属性603は、領域選択オブジェクト502のz−orderを指定するための属性であり、ここでは最前面に表示するためにz−index:1000が指定されている。これにより、領域選択オブジェクト502以外の他のオブジェクトのz−indexが1000未満である場合に、領域選択オブジェクト502は最前面に表示される。また領域選択オブジェクト502のための<span>タグのidは、以降サイズ変更の際にオブジェクトの取得に使用するため、構造化文書内でユニークなIDを指定する必要がある。   In FIG. 6, the z-index attribute 603 is an attribute for designating the z-order of the area selection object 502, and here, z-index: 1000 is designated for displaying in the foreground. Thereby, when the z-index of other objects other than the region selection object 502 is less than 1000, the region selection object 502 is displayed in the foreground. Further, since the id of the <span> tag for the area selection object 502 is used to acquire the object when the size is changed, it is necessary to specify a unique ID in the structured document.

なお、図6では図示していないが、領域選択オブジェクト502はその他に矩形領域の色や背景属性、透過処理のためのフィルタ属性等を指定する必要がある。さらに図6では図示していないが、領域選択オブジェクト502では、矩形領域503用のタグ以外にも矩形サイズ変更用オブジェクト504〜511のためのタグも挿入する必要があるが、ここでは省略する。   Although not shown in FIG. 6, the area selection object 502 needs to specify the color of the rectangular area, the background attribute, the filter attribute for the transparency process, and the like. Further, although not shown in FIG. 6, in the area selection object 502, it is necessary to insert tags for the rectangular size changing objects 504 to 511 in addition to the tags for the rectangular area 503, but they are omitted here.

図7は、構造化文書印刷モジュール302の処理手順を示す図である。なお、この図で示す処理を実行するためのプログラムがROM203やハードディスク204に保存されている。そして、CPU201がこのプログラムをRAM202に読出し実行することにより、ここで説明する処理を行うことができる。   FIG. 7 is a diagram showing a processing procedure of the structured document printing module 302. A program for executing the processing shown in this figure is stored in the ROM 203 and the hard disk 204. The CPU 201 reads out this program to the RAM 202 and executes it, so that the processing described here can be performed.

まずStep701において、ブラウザー301の範囲選択ボタン406が押下されたとき、構造化文書印刷モジュール302が起動されて処理を開始する。Step702では、表示されたブラウザー301のうち構造化文書に基づき表示された領域内でのマウスイベントのキャプチャー処理を開始する。なお、このマウスイベントのキャプチャーは、PC101に接続されたマウスから入力した情報に基づき、領域選択オブジェクト変更部304で処理される。次にStep703では、領域選択オブジェクト挿入部303が構造化文書内の要素のz−index属性を取得し、最も最前面に表示されるオブジェクトのz−index属性を特定する。   First, in step 701, when the range selection button 406 of the browser 301 is pressed, the structured document printing module 302 is activated to start processing. In Step 702, a mouse event capture process is started in the displayed area of the browser 301 based on the structured document. The capture of the mouse event is processed by the area selection object changing unit 304 based on information input from the mouse connected to the PC 101. Next, in Step 703, the region selection object insertion unit 303 acquires the z-index attribute of the element in the structured document, and specifies the z-index attribute of the object displayed in the foreground.

Step704では、領域選択オブジェクト挿入部303が、領域選択オブジェクト502の初期座標、初期サイズおよび最前面に表示するためのz−index属性を設定して、構造化文書の<body>要素に挿入する。なお、領域選択オブジェクト502を最前面に挿入するために、この領域選択オブジェクトのz−index属性はStep703で取得したその他の要素のz−index属性より大きい値を設定する。   In Step 704, the region selection object insertion unit 303 sets the initial coordinates, the initial size, and the z-index attribute to be displayed in the foreground of the region selection object 502, and inserts them into the <body> element of the structured document. In order to insert the area selection object 502 in the foreground, the z-index attribute of this area selection object is set to a value larger than the z-index attribute of other elements acquired in Step 703.

Step705ではマウスからの情報に基づく指示の入力を待つ。マウス操作によりキャンセルボタン513が選択される指示が入力された場合はStep710でキャプチャーを解除し、Step711において領域選択処理を終了する。またStep705で領域選択オブジェクト502の位置およびサイズ変更の指示が入力された場合は、Step709に進む。そしてStep709において、マウス操作に基づき入力された指示に応じて、構造化文書内の領域選択オブジェクト502の位置およびサイズを変更し、Step705に戻る。   In Step 705, input of an instruction based on information from the mouse is awaited. When an instruction to select the cancel button 513 is input by a mouse operation, the capture is canceled at Step 710 and the region selection process is ended at Step 711. If an instruction to change the position and size of the area selection object 502 is input in Step 705, the process proceeds to Step 709. In Step 709, the position and size of the area selection object 502 in the structured document are changed according to the instruction input based on the mouse operation, and the process returns to Step 705.

Step705で印刷ボタン512を選択する指示を入力した場合は、Step706、Step707およびStep708の印刷処理を実行し、Step705の入力待ち処理に戻る。まずStep706では、選択領域データ抽出部305が構造化文書内に挿入されている領域選択オブジェクト502の座標を取得する。次にStep707では、選択領域データ抽出部305が、構造化文書に基づくWebページのうちStep706で取得した座標と重なる領域に配置されたオブジェクトおよびクリップ情報を抽出して中間データファイルを描画する。なお、このクリップ情報は、Webページを上述の領域で抽出する場合に、その一部を切り取られるオブジェクトの切り取られる位置を示す。Step708では、印刷レイアウト部306が中間データファイルに基づき印刷対象を印刷領域に配置し、印刷処理部308が印刷処理を実行する。   When an instruction to select the print button 512 is input in Step 705, the printing process in Step 706, Step 707, and Step 708 is executed, and the process returns to the input wait process in Step 705. First, in Step 706, the selection area data extraction unit 305 acquires the coordinates of the area selection object 502 inserted in the structured document. Next, in Step 707, the selection area data extraction unit 305 extracts the object and clip information arranged in the area overlapping the coordinates acquired in Step 706 from the Web page based on the structured document, and draws the intermediate data file. Note that this clip information indicates a position where an object to be cut out when a Web page is extracted in the above-described region. In Step 708, the print layout unit 306 arranges a print target in the print area based on the intermediate data file, and the print processing unit 308 executes the print process.

以上の処理手順により構造化文書印刷モジュール302は、ユーザのマウス操作に応じてブラウザーに表示されたWebページの一部領域を選択し、選択された領域を抽出して印刷することができる。したがって、ユーザは、Webページの所望の領域を指定して印刷させることができる。また、複数回のマウス操作により選択領域を変更することが可能となるため、構造化文書のサイズが大きく、領域選択のために画面のスクロールが必要となる場合においても、任意の領域を選択することが可能となる。   With the above processing procedure, the structured document printing module 302 can select a partial area of the Web page displayed on the browser in accordance with the user's mouse operation, extract the selected area, and print it. Therefore, the user can designate and print a desired area of the Web page. In addition, since the selection area can be changed by a plurality of mouse operations, an arbitrary area is selected even when the size of the structured document is large and the screen needs to be scrolled to select the area. It becomes possible.

また本実施例では、構造化文書に領域選択用のオブジェクトを挿入することで選択領域を表示していた。この方法ではJava(登録商標)Scriptなどのプラットフォームに依存しないスクリプト言語での実装が可能となるため、Webアプリケーション等でのスクリプト言語を用いたソフトウェアでの実施が容易となる。更に本実施例では、ブラウザーのプラグインソフトウェアで構造化文書の領域を選択する場合の処理について述べたが、単一のアプリケーションソフトウェアで実現しても良い。   In this embodiment, the selected area is displayed by inserting an object for area selection into the structured document. This method allows implementation in a platform-independent script language such as Java (registered trademark) Script, so that implementation with software using a script language in a Web application or the like is facilitated. Furthermore, in the present embodiment, the processing in the case where the structured document area is selected by the plug-in software of the browser has been described.

本発明の他の実施例である実施例2について図面を用いて説明する。この実施例2におけるシステム構成およびPC構成は実施例1の図1、図2と同様である。   A second embodiment which is another embodiment of the present invention will be described with reference to the drawings. The system configuration and PC configuration in the second embodiment are the same as those in FIGS. 1 and 2 of the first embodiment.

図8は実施例2におけるPC101のソフトウェア構成を示すブロック図である。以下にPC101上で動作するプログラムとそのデータ処理構成について図8を用いて説明する。   FIG. 8 is a block diagram illustrating a software configuration of the PC 101 according to the second embodiment. A program operating on the PC 101 and its data processing configuration will be described below with reference to FIG.

図8においてブラウザー301は、実施例1のブラウザー301と同一であるため詳細については省略する。図8において構造化文書印刷モジュール802はブラウザー301から呼び出されるプラグインソフトウェアであり、ユーザがブラウザー301に対して領域選択指示を行ったときこの構造化文書印刷モジュール802が実行される。   In FIG. 8, the browser 301 is the same as the browser 301 of the first embodiment, and thus details thereof are omitted. In FIG. 8, the structured document printing module 802 is plug-in software called from the browser 301, and the structured document printing module 802 is executed when the user gives an area selection instruction to the browser 301.

構造化文書印刷モジュール802において、領域選択画面制御部803はブラウザーの
前面に構造化文書の任意の領域を選択するための領域選択ウインドウを表示する。
In the structured document printing module 802, the area selection screen control unit 803 displays an area selection window for selecting an arbitrary area of the structured document in front of the browser.

図9は、実施例2の領域選択ウインドウ901を示す図である。領域選択ウインドウ901は透過な領域と、半透明の選択矩形領域902とから構成される領域選択画像としてのウインドウである。透過および半透明な領域から構成される領域選択ウインドウ901がブラウザー301の構造化文書表示領域の前面に表示されることで、構造化文書に重ねて選択領域を表示することが可能となる。   FIG. 9 is a diagram illustrating an area selection window 901 according to the second embodiment. The area selection window 901 is a window as an area selection image composed of a transparent area and a semi-transparent selection rectangular area 902. An area selection window 901 composed of transparent and translucent areas is displayed in front of the structured document display area of the browser 301, so that the selected area can be displayed over the structured document.

領域選択画面制御部803は、マウス等の入力装置207を用いてユーザが行う選択領域の変更指示を入力し、その指示に応じて選択矩形領域902の座標を変更する。これによりユーザは構造化文書の任意の矩形領域をマウス等の入力デバイスを用いて選択領域として指定することができる。   The area selection screen control unit 803 inputs an instruction to change the selection area performed by the user using the input device 207 such as a mouse, and changes the coordinates of the selection rectangular area 902 according to the instruction. As a result, the user can specify an arbitrary rectangular area of the structured document as a selection area using an input device such as a mouse.

このようにユーザが構造化文書内の領域を選択後、その領域を印刷もしくは印刷プレビューの開始指示をブラウザーに対して行うと、選択領域データ抽出部804が実行される。選択領域データ抽出部804は、領域選択画面制御部803で設定された領域選択矩形の座標を取得し、この矩形領域に含まれる構造化文書内の要素を実施例1で示したのと同様に中間データファイルとして抽出する。   As described above, when the user selects an area in the structured document and instructs the browser to start printing or print preview of the area, the selected area data extraction unit 804 is executed. The selected area data extraction unit 804 acquires the coordinates of the area selection rectangle set by the area selection screen control unit 803, and the elements in the structured document included in the rectangular area are the same as those described in the first embodiment. Extract as an intermediate data file.

印刷レイアウト部306、印刷プレビュー部307、印刷処理部308、OS309、およびプリンタドライバ310は実施例1の図3と同一であるため説明は省略する。   The print layout unit 306, print preview unit 307, print processing unit 308, OS 309, and printer driver 310 are the same as those in FIG.

以上で述べたように本実施例では、ブラウザーの前面に透過および半透明な領域から構成される領域選択ウインドウを表示することで、構造化文書の任意の領域を選択することが可能となる。   As described above, in this embodiment, it is possible to select an arbitrary area of the structured document by displaying an area selection window composed of transparent and translucent areas on the front surface of the browser.

実施例2では、ブラウザーとは別の透明および半透明領域から構成されるウインドウに選択領域を表示したが、ブラウザーの移動やサイズ変更にあわせて領域選択ウインドウの位置やサイズを変更する必要がありブラウザーの情報を監視する必要がある。そこで、実施例3では上記問題を解消する方法を説明する。なお、実施例3におけるシステム構成およびPC構成は実施例1の図1、図2と同様である。   In the second embodiment, the selection area is displayed in a window composed of transparent and semi-transparent areas different from the browser. However, it is necessary to change the position and size of the area selection window in accordance with the movement and size change of the browser. You need to monitor browser information. In the third embodiment, a method for solving the above problem will be described. The system configuration and the PC configuration in the third embodiment are the same as those in FIGS. 1 and 2 of the first embodiment.

図10は、実施例3におけるPC101のソフトウェア構成を示すブロック図である。
以下にPC101上で動作するプログラムとそのデータ処理構成について図10を用いて説明する。
FIG. 10 is a block diagram illustrating a software configuration of the PC 101 according to the third embodiment.
Hereinafter, a program operating on the PC 101 and its data processing configuration will be described with reference to FIG.

図10においてブラウザー301は、実施例1のブラウザー301と同一であるため詳細については省略する。図10において構造化文書印刷モジュール1002はブラウザー301から呼び出されるプラグインソフトウェアであり、ユーザがブラウザー301に対して領域選択指示を行ったときこの構造化文書印刷モジュール1002が実行される。   In FIG. 10, since the browser 301 is the same as the browser 301 of the first embodiment, the details are omitted. In FIG. 10, the structured document printing module 1002 is plug-in software called from the browser 301, and when the user gives an area selection instruction to the browser 301, the structured document printing module 1002 is executed.

構造化文書印刷モジュール1002において、領域選択子ウインドウ制御部1003はブラウザーの子ウインドウとしてWebページの任意の領域を選択するための領域選択ウインドウを生成する。この子ウインドウとは、ブラウザーのウインドウ上に配置されブラウザーとの相対位置が固定されたウインドウのことである。   In the structured document printing module 1002, the area selector window control unit 1003 generates an area selection window for selecting an arbitrary area of the Web page as a child window of the browser. The child window is a window that is arranged on the browser window and the position relative to the browser is fixed.

図11は、実施例3の領域選択ウインドウのGUI画面を示す図である。領域選択子ウインドウ制御部1003は、領域選択ウインドウ1101をブラウザーの子ウインドウとして構成し、ブラウザーのWebページが表示される領域と同じ位置、同じサイズの子ウインドウをブラウザー上に配置する。   FIG. 11 is a diagram illustrating a GUI screen of the area selection window according to the third embodiment. The area selector window control unit 1003 configures the area selection window 1101 as a child window of the browser, and places a child window of the same position and the same size as the area where the web page of the browser is displayed on the browser.

図11に示すように領域選択ウインドウ1101には、ブラウザーから取得した構造化文書に基づきWebページを描画する。また領域選択ウインドウ1101は必要に応じてスクロールバー1103を表示し、スクロールバー1103をスクロールすることによりWebページのすべての領域を表示することができる。   As shown in FIG. 11, a web page is drawn in the area selection window 1101 based on the structured document acquired from the browser. The area selection window 1101 displays a scroll bar 1103 as necessary, and all areas of the Web page can be displayed by scrolling the scroll bar 1103.

領域選択ウインドウ1101は更に領域選択矩形1102を半透明な矩形として表示する。領域選択子ウインドウ制御部1003は、マウス等の入力装置207を用いてユーザが行う選択領域の変更指示を入力し、この入力に応じて、選択矩形領域1102の座標を変更し、選択矩形領域1102を再描画する。これによりユーザは構造化文書の任意の矩形領域をマウス等の入力装置207を用いて選択領域として指定することができる。   The area selection window 1101 further displays the area selection rectangle 1102 as a semi-transparent rectangle. The area selector window control unit 1003 inputs an instruction to change the selection area performed by the user using the input device 207 such as a mouse, changes the coordinates of the selection rectangular area 1102 in accordance with this input, and selects the selection rectangular area 1102. Redraw. As a result, the user can specify an arbitrary rectangular area of the structured document as a selection area using the input device 207 such as a mouse.

このようにユーザが構造化文書内の領域を選択した後、その領域を対象として印刷もしくは印刷プレビューの開始指示をブラウザーに対して行った場合に選択領域データ抽出部1004が実行される。この選択領域データ抽出部1004は、領域選択子ウインドウ制御部1003で設定された選択矩形の座標を取得し、実施例1と同様に、この矩形領域に含まれる構造化文書内の要素を中間データファイルとして抽出する。   After the user selects an area in the structured document in this way, the selected area data extraction unit 1004 is executed when the browser is instructed to start printing or print preview for the area. The selected area data extraction unit 1004 acquires the coordinates of the selected rectangle set by the area selector window control unit 1003, and, as in the first embodiment, elements in the structured document included in the rectangular area are intermediate data. Extract as a file.

印刷レイアウト部306、印刷プレビュー部307、印刷処理部308、OS309、およびプリンタドライバ310は実施例1の図3と同一であるため説明は省略する。   The print layout unit 306, print preview unit 307, print processing unit 308, OS 309, and printer driver 310 are the same as those in FIG.

以上述べたように本実施例では領域選択ウインドウ1101をブラウザーの子ウインドウとすることでWebページの任意の領域を選択することができる。特に本実施例では、ブラウザーの情報を監視することなく、ブラウザーの移動やサイズ変更に対応することができる。   As described above, in this embodiment, an arbitrary area of the Web page can be selected by using the area selection window 1101 as a child window of the browser. In particular, in this embodiment, it is possible to cope with browser movement and size change without monitoring browser information.

本発明は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記録媒体をシステムあるいは装置に供給するものであってもよい。その場合、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによって、本発明の目的が達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコード自体、またそれを記憶した記憶媒体は本発明を構成することになる。   The present invention may supply a recording medium recording a program code of software that realizes the functions of the above-described embodiments to a system or apparatus. In that case, the object of the present invention is achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the recording medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the program code itself and the storage medium storing the program code constitute the present invention.

また本発明は、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけに限らない。例えば、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOperating System(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合であってもよい。   The present invention is not limited to the implementation of the functions of the above-described embodiments by executing the program code read by the computer. For example, when the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. There may be.

201 CPU
202 RAM
203 ROM
204 ハードディスク
205 USBインターフェース
206 表示装置
207 入力装置
208 LANインターフェース
209 システムバス
201 CPU
202 RAM
203 ROM
204 Hard disk 205 USB interface 206 Display device 207 Input device 208 LAN interface 209 System bus

Claims (16)

構造化文書に含まれる複数の要素が配置されたページにおける抽出対象の領域を特定する特定手段と、
前記ページにおいて前記特定手段により特定された抽出対象の領域に対応する画像データを抽出する抽出手段と、を有し、
前記特定手段により特定された前記抽出対象の領域の境界が前記複数の要素のうちの1つの要素の一部分に対応する場合、前記抽出手段は、当該1つの要素を選択し、当該選択された1つの要素に基づく画像データを作成し、当該作成された画像データのうちの当該一部分に対応する画像データを切り取ることで、当該一部分に対応する当該画像データを抽出することを特徴とする画像処理装置。
A specifying means for specifying a region to be extracted in a page on which a plurality of elements included in a structured document are arranged;
Extracting means for extracting image data corresponding to the extraction target area specified by the specifying means in the page;
When the boundary of the region to be extracted specified by the specifying unit corresponds to a part of one of the plurality of elements, the extracting unit selects the one element, and the selected 1 An image processing apparatus that creates image data based on one element and extracts the image data corresponding to the part by cutting out the image data corresponding to the part of the created image data .
前記抽出手段により抽出され、所定の出力領域に配置された画像データを出力する出力手段を有することを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an output unit that outputs image data extracted by the extraction unit and arranged in a predetermined output area. 前記抽出手段は、前記選択された前記1つの要素が前記所定の出力領域に対応する大きさで当該出力領域に配置されるように、当該1つの要素に基づく画像データを作成することを特徴とする請求項1または2に記載の画像処理装置。   The extraction unit creates image data based on the one element so that the selected one element is arranged in the output area with a size corresponding to the predetermined output area. The image processing apparatus according to claim 1 or 2. 前記出力手段は、前記画像データを印刷装置に出力して、当該印刷装置に当該画像データに基づく画像を印刷させることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   4. The image processing apparatus according to claim 1, wherein the output unit outputs the image data to a printing apparatus, and causes the printing apparatus to print an image based on the image data. 5. . 前記出力手段は、前記画像データを表示装置に出力して、当該表示装置に当該画像データに基づく画像を表示させることを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。   5. The image processing apparatus according to claim 1, wherein the output unit outputs the image data to a display device and causes the display device to display an image based on the image data. 6. . 前記特定手段は前記ページにおける前記抽出対象の領域の座標を特定し、前記抽出手段は前記構造化文書と前記特定手段により特定された座標とに基づいて当該座標に対応する画像データを抽出することを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。   The specifying means specifies the coordinates of the extraction target area in the page, and the extracting means extracts image data corresponding to the coordinates based on the structured document and the coordinates specified by the specifying means. The image processing apparatus according to claim 1, wherein: 前記抽出手段は、前記抽出対象の領域の座標と前記1つの要素の座標とに基づく、当該1つの要素において切り取られる位置を示すクリップ情報を取得し、取得された当該クリップ情報に基づいて前記一部分に対応する画像データを切り取ることを特徴とする請求項6に記載の画像処理装置。   The extraction unit acquires clip information indicating a position to be cut out in the one element based on the coordinates of the extraction target region and the coordinates of the one element, and the partial information is acquired based on the acquired clip information. The image processing apparatus according to claim 6, wherein the image data corresponding to is cut out. 前記特定手段は、前記構造化文書に基づくWebページにおいて前記抽出対象の領域を特定することを特徴とする請求項1乃至7のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the specifying unit specifies the extraction target region in a Web page based on the structured document. 前記特定手段は、前記構造化文書に基づき表示装置に表示された前記ページにおいてユーザにより指定された領域を、前記抽出対象の領域として特定することを特徴とする請求項1乃至8のいずれか1項に記載の画像処理装置。   9. The method according to claim 1, wherein the specifying unit specifies, as the extraction target area, an area specified by a user in the page displayed on a display device based on the structured document. The image processing apparatus according to item. 前記構造化文書に、当該構造化文書に基づくページよりも前面に表示される、当該ページにおける領域を特定するための要素を挿入する挿入手段を有し、
前記特定手段は、前記挿入手段により前記要素が挿入された前記構造化文書に基づいて表示されたページにおいて、ユーザによる指示に応じて前記要素により指定された領域を特定することを特徴とする請求項9に記載の画像処理装置。
Inserting means for inserting an element for specifying an area in the page, which is displayed in front of the page based on the structured document, in the structured document,
The specifying unit specifies an area specified by the element in response to a user instruction in a page displayed based on the structured document in which the element is inserted by the inserting unit. Item 10. The image processing apparatus according to Item 9.
前記特定手段は、ユーザによる指示に応じて前記構造化文書に含まれる前記要素により特定される領域の座標または大きさを変更し、変更された当該座標または大きさにより特定される領域を前記抽出対象の領域として特定することを特徴とする請求項10に記載の画像処理装置。   The specifying unit changes the coordinates or size of an area specified by the element included in the structured document according to an instruction from a user, and extracts the area specified by the changed coordinate or size. The image processing apparatus according to claim 10, wherein the image processing apparatus is specified as a target area. 前記表示されたページの領域を特定するための領域選択画像を前記当該ページに重なるように前記表示装置に表示させる表示制御手段を有し、
前記特定手段は、ユーザによる指示に応じて、前記表示制御手段により表示された前記領域選択画像により特定される領域を前記抽出対象の領域として特定することを特徴とする請求項1乃至11のいずれか1項に記載の画像処理装置。
Display control means for causing the display device to display an area selection image for specifying the area of the displayed page so as to overlap the page;
The said specifying means specifies the area | region specified by the said area | region selection image displayed by the said display control means as said extraction object area | region according to the instruction | indication by a user. The image processing apparatus according to claim 1.
前記特定手段は、ユーザによる指示に応じて前記構造化文書に含まれる前記領域選択画像により特定される領域の座標または大きさを変更し、変更された当該座標または大きさにより特定される領域を前記抽出対象の領域として特定することを特徴とする請求項12に記載の画像処理装置。   The specifying unit changes a coordinate or size of a region specified by the region selection image included in the structured document according to an instruction from a user, and determines a region specified by the changed coordinate or size. The image processing device according to claim 12, wherein the image processing device is specified as the extraction target region. 前記抽出手段は、前記構造化文書に含まれるベクターデータの要素の一部分に対応する場合に、当該ベクターデータの要素における当該一部分に対応する画像データを作成し、当該作成された画像データのうちの当該一部分に対応する画像データを切り取ることで、当該ベクターデータの要素の一部分に対応する当該画像データを抽出することを特徴とする請求項1乃至13のいずれか1項に記載の画像処理装置。   The extraction unit creates image data corresponding to the part of the element of the vector data when corresponding to a part of the element of the vector data included in the structured document. The image processing apparatus according to claim 1, wherein the image data corresponding to a part of the element of the vector data is extracted by cutting out the image data corresponding to the part. 構造化文書に含まれる複数の要素が配置されたページにおける抽出対象の領域を特定し、
前記特定された前記抽出対象の領域の境界が前記複数の要素のうちの1つの要素の一部分に対応する場合、当該1つの要素を選択し、当該選択された当該1つの要素に基づく画像データを作成し、当該作成された画像データのうちの当該一部分に対応する画像データを切り取ることで、当該一部分に対応する当該画像データを抽出することを特徴とする画像処理方法。
Identify the extraction target area on the page where multiple elements included in the structured document are placed,
When a boundary of the specified region to be extracted corresponds to a part of one of the plurality of elements, the one element is selected, and image data based on the selected one element is selected. An image processing method characterized in that the image data corresponding to the part is extracted by cutting out the image data corresponding to the part of the generated image data.
コンピュータを請求項1乃至14のいずれか1項に記載の画像処理装置の各手段として機能させるための、または請求項15に記載の画像処理方法をコンピュータに実行させるためのプログラム。
A program for causing a computer to function as each unit of the image processing apparatus according to any one of claims 1 to 14, or causing the computer to execute the image processing method according to claim 15.
JP2013174620A 2013-08-26 2013-08-26 Image processing apparatus, image processing method, and program Active JP5646019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013174620A JP5646019B2 (en) 2013-08-26 2013-08-26 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013174620A JP5646019B2 (en) 2013-08-26 2013-08-26 Image processing apparatus, image processing method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009138399A Division JP5455456B2 (en) 2009-06-09 2009-06-09 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2014038629A true JP2014038629A (en) 2014-02-27
JP5646019B2 JP5646019B2 (en) 2014-12-24

Family

ID=50286661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013174620A Active JP5646019B2 (en) 2013-08-26 2013-08-26 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP5646019B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111330A1 (en) * 2006-03-27 2007-10-04 Pioneer Corporation Video image display device and video image displaying method
JP2008226202A (en) * 2007-03-16 2008-09-25 Hitoshi Yamanaka Information processor, information processing method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111330A1 (en) * 2006-03-27 2007-10-04 Pioneer Corporation Video image display device and video image displaying method
JP2008226202A (en) * 2007-03-16 2008-09-25 Hitoshi Yamanaka Information processor, information processing method and program

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
CSND200701294002; 'Webページがカンタンにスクラップできる!クリッピングソフト「Kamicopi」' Windows100% 第10巻 第11号 第10巻 第11号, 20071101, P.18, 株式会社晋遊舎 *
CSNJ200710050248; 浅見 昌平: 'エージェントに基づくWebクリッピングシステムの試作' 情報処理学会 第69回全国大会講演論文集(2) 人工知能と認知科学 5R-1, 20070306, P.2-507〜2-508, 情報処理学会 *
JPN6014029372; 浅見 昌平: 'エージェントに基づくWebクリッピングシステムの試作' 情報処理学会 第69回全国大会講演論文集(2) 人工知能と認知科学 5R-1, 20070306, P.2-507〜2-508, 情報処理学会 *
JPN6014029373; 浅見 昌平: 'コンテンツエージェントに基づくWebClipシステムの試作' 人工知能学会第21回全国大会 3G7-2, 20070618, P.1-4, 社団法人 人工知能学会 *
JPN6014029374; 'Webページがカンタンにスクラップできる!クリッピングソフト「Kamicopi」' Windows100% 第10巻 第11号 第10巻 第11号, 20071101, P.18, 株式会社晋遊舎 *

Also Published As

Publication number Publication date
JP5646019B2 (en) 2014-12-24

Similar Documents

Publication Publication Date Title
JP5455456B2 (en) Information processing apparatus, information processing method, and program
US9659107B2 (en) Image processing apparatus, image processing method, and storage medium
JP5629435B2 (en) Information processing apparatus, information processing method, and program
JP5483934B2 (en) Information processing apparatus, information processing method, and program
US9389811B2 (en) Image processing apparatus, image processing method, and recording medium
US8751923B2 (en) Image processing apparatus, image processing method, and storage medium
US20130176597A1 (en) Information processing apparatus, information processing method, and storage medium storing a program thereof
US20140126013A1 (en) Printing control apparatus and method
JP5735778B2 (en) Information processing apparatus, information processing method, and program
JP5646019B2 (en) Image processing apparatus, image processing method, and program
JP5947508B2 (en) Information processing apparatus, information processing method, and program
US20130097483A1 (en) Information processing apparatus, web browser control method, and storage medium storing program thereof
JP5766257B2 (en) Information processing apparatus, information processing method, and program
JP2010257220A (en) Method and apparatus for printing structured document, and program
JP2021063863A (en) Information processing apparatus, program, and information processing method
JP2012014282A (en) Layout editing method, layout editing device and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140916

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141007

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141104

R151 Written notification of patent or utility model registration

Ref document number: 5646019

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151