JP4381484B2 - Image display control apparatus and method - Google Patents
Image display control apparatus and method Download PDFInfo
- Publication number
- JP4381484B2 JP4381484B2 JP25293196A JP25293196A JP4381484B2 JP 4381484 B2 JP4381484 B2 JP 4381484B2 JP 25293196 A JP25293196 A JP 25293196A JP 25293196 A JP25293196 A JP 25293196A JP 4381484 B2 JP4381484 B2 JP 4381484B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- compressed
- length
- displayed
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は画像表示制御装置および方法に関し、特に1枚の画像を限られた範囲の表示領域(ウインドウ)に、その全体が判るように表示するようにした、画像表示制御装置および方法に関する。
【0002】
【従来の技術】
図26は、従来の1枚の画像のイメージデータの範囲と、この画像を表示するウインドウの表示範囲の関係を表している。同図に示すように、イメージデータの範囲が表示範囲より広いとき、イメージデータの範囲の一部を表示するようにしている。
【0003】
図27は、この場合における表示例を示している。ディスプレイ1には、ウインドウ2が表示されており、このウインドウ2に所定の文字を表示するようになされている。図27の表示例においては、図26に示すイメージデータの範囲全部をウインドウ2に表示することができないため、イメージデータの範囲の一部の表示範囲を切り出して、ウインドウ2に表示している。
【0004】
また、図27の表示例においては、限られた大きさのウインドウ2に1枚の画像の一部を表示するとともに、ウインドウ2の右側の端部と下側の端部にスクロールバー4,7を設け、そこに現在表示されている範囲を感覚的に理解できるように、表示範囲に対応する長さのバーを表示するようにしている。図27の例においては、ハッチングを施して示す長さが、1枚の画像の範囲のうちウインドウ2に表示されている範囲を表している。
【0005】
そして、スクロールバー4の上下の端部には、上ボタン5と下ボタン6が設けられ、スクロールバー7の左右の端部には、左ボタン8と右ボタン9が、それぞれ設けられている。これらのボタンを、マウスなどを操作してカーソルで指定することにより、表示範囲を上下左右にスクロールできるようになっている。
【0006】
図28は、A4の大きさの1枚(1ページ)の画像をウインドウ2に表示した例を表している。同図に示すように、この例においては、A4の1枚の画像の上方の部分のみが表示され、下方の部分はその表示がカットされている。
【0007】
【発明が解決しようとする課題】
このように、1枚の画像を表示する場合、従来の装置においては、その一部のみを表示するようにし、残りの部分を見たいときは、画面をスクロールするようにしている。そして、全体の中の実際の表示位置は、スクロールバーで表示するようにしている。
【0008】
しかしながら、スクロールバーは、ウインドウの端部近傍に極めて狭い範囲に設けてあるに過ぎず、全体の表示範囲を迅速かつ確実に認識することが困難である課題があった。
【0009】
また、例えば、図28の表示例においては、その下方部において、連続する直線がウインドウの端部で途切れた状態で表示されているため、その下方に、表示されていない画像が隠れていることを認識し易いが、たまたまこのウインドウの端部において、画像が途切れていないような表示状態にあるとき、その下方に未表示の範囲が存在することを見過ごしてしまうようなことがある。その結果、所定の記事を探しているような場合において、検索の見落としをしてしまうようなことがあった。
【0010】
本発明はこのような状況に鑑みてなされたものであり、1枚の画像の全体の範囲を迅速かつ確実に認識することができるようにし、以て、見落としなどが発生するのを抑制するものである。
【0011】
【課題を解決するための手段】
請求項1に記載の画像表示制御装置は、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、ウインドウの対応する方向の長さとを比較する比較手段と、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、ウインドウの対応する方向の長さより長いとき、1枚の画像のデータをメモリから読み出して、1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、ウインドウの長さに対応させる処理を行う圧縮手段と、圧縮手段により一部が圧縮され、かつ、残りの部分が圧縮されていない1枚の画像のデータを格納する表示バッファと、表示バッファに格納された1枚の画像のデータを出力する出力手段とを備え、1枚の画像の圧縮しない範囲を変更して1枚の画像を更新表示する場合、全体の長さをウインドウの長さに対応させる処理を行う圧縮手段は、更新表示する1枚の画像のうち、表示バッファに格納されている1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータをメモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータをメモリから読み出して圧縮することで、全体の長さを、ウインドウの長さに対応させる処理を行うことを特徴とする。
【0012】
請求項9に記載の画像表示制御方法は、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、ウインドウの対応する方向の長さとを比較し、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、ウインドウの対応する方向の長さより長いとき、1枚の画像のデータをメモリから読み出して、1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、ウインドウの長さに対応させる処理を行い、一部が圧縮され、かつ、残りの部分が圧縮されていない1枚の画像のデータを表示バッファに格納し、表示バッファから、1枚の画像のデータを出力して、ウインドウに1枚の画像の全体を表示させ、1枚の画像の圧縮しない範囲を変更して1枚の画像を更新表示する場合、更新表示する1枚の画像のうち、表示バッファに格納されている1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータをメモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータをメモリから読み出して圧縮することで、全体の長さを、ウインドウの長さに対応させる処理を行うことを特徴とする。
【0013】
請求項1に記載の画像表示制御装置においては、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、ウインドウの対応する方向の長さとが比較され、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、ウインドウの対応する方向の長さより長いとき、1枚の画像のデータをメモリから読み出して、1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、ウインドウの長さに対応させる処理が行われ、一部が圧縮され、かつ、残りの部分が圧縮されていない1枚の画像のデータが表示バッファに格納され、表示バッファに格納された1枚の画像のデータが出力される。そして、1枚の画像の圧縮しない範囲を変更して1枚の画像を更新表示する場合、更新表示する1枚の画像のうち、表示バッファに格納されている1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータをメモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータをメモリから読み出して圧縮することで、全体の長さを、ウインドウの長さに対応させる処理が行われる。
【0014】
請求項9に記載の画像表示制御方法においては、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、ウインドウの対応する方向の長さとが比較され、1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、ウインドウの対応する方向の長さより長いとき、1枚の画像のデータをメモリから読み出して、1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、ウインドウの長さに対応させる処理が行われ、一部が圧縮され、かつ、残りの部分が圧縮されていない1枚の画像のデータが表示バッファに格納され、表示バッファに格納された1枚の画像のデータが出力される。そして、1枚の画像の圧縮しない範囲を変更して1枚の画像を更新表示する場合、更新表示する1枚の画像のうち、表示バッファに格納されている1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータをメモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータをメモリから読み出して圧縮することで、全体の長さを、ウインドウの長さに対応させる処理が行われる。
【0015】
【発明の実施の形態】
図1は、本発明の画像表示制御装置が接続されるネットワークの構成例を表している。同図に示すように、世界規模で接続されたコンピュータネットワークとしてのインターネットには多くのサーバとプロバイダが接続されており、サーバはユーザに各種の情報、サービスを提供し、プロバイダは、ユーザをインターネットにアクセスさせるサービスを提供する。
【0016】
図2は、本発明の画像表示制御装置の一実施の形態の構成例を示すブロック図である。この実施の形態においては、ネットワークインタフェース(I/F)23が、インターネット、その他のネットワークから供給されるデータを受信し、文書データ格納部18に供給し、記憶させるようになされている。この文書データ格納部18は、ハードディスク、光ディスク、光磁気ディスクなどの他、固体メモリなどにより構成することができる。また、文書データ格納部18に格納されるデータ構造は、イメージデータ、MMR(modified modified READ)やMH(modified Huffman)などにより圧縮されたイメージデータ、テキストデータ、DTPなどで用いられるPostscriptなどのページ記述言語などとすることができる。
【0017】
イメージ展開処理部19は、CPU11からの指令に対応して、文書データ格納部18に記憶されているデータを、データ構造に対応してビットマップなどのイメージデータに展開し、メインメモリ12に出力するようになされている。データ構造が、例えばファクシミリなどで用いられているMMRやMHなどにより圧縮されているイメージデータである場合においては、イメージ展開処理部19は伸長処理を行う。また、Postscriptなどのページ記述言語であれば、フォントを展開しページ割り付けを行うラスタイメージ展開処理を行う。
【0018】
メインメモリ12に記憶されたデータは、イメージデータ転送部20またはイメージデータ圧縮転送部21を介して、表示バッファ13に供給され、記憶されるようになされている。基本的には、イメージデータ転送部20は、メインメモリ12に記憶されたデータをそのまま表示バッファ13に転送し、イメージデータ圧縮転送部21は、メインメモリ12に記憶されている画像を圧縮して、表示バッファ13に供給し、記憶させる。
【0019】
イメージデータ圧縮転送部21は、数行おきにデータを間引きながら転送する処理や、行間で論理ORなどの演算をしながら行数を減らす処理によって圧縮処理を行う。あるいはまた、イメージデータのドットの数を計数し、その数に対応して、圧縮処理を行うようにする。
【0020】
また、イメージデータ圧縮転送部21とイメージデータ転送部20は、メインメモリ12から読み出したデータを表示バッファ13に転送するとき、2値のイメージデータを多値化することにより、比較的解像度の低いディスプレイにおいても、細かい文字をつぶさないで、表示できるようにしている。ただし、多値化解像度変換処理には時間がかかるため、例えば特開平4−337800号公報に開示されているように、先に粗い画像をまず表示し、そのデータを多値化されたデータに、後で順次置き換えて行くようにする。これにより、反応の速さときれいな表示の要求を両方満足することができる。
【0021】
また、領域コピー処理部22は、表示バッファ13に記憶されている画像データの一部を、表示バッファ13の他の領域にコピー(移動)する処理を実行する。
【0022】
ビデオ信号発生部14は、表示バッファ13に記憶されている画像データを読み出し、ビデオ信号に変換し、ディスプレイ15に出力し、表示させるようになされている。
【0023】
キーボード17は、少なくともカーソルキー17Aを有し、CPU11に対して各種の指令を入力するとき、使用者により操作されるようになされている。また、マウスなどのポインティングデバイス16は、ディスプレイ15に表示されたカーソルを用いて所定の位置を指定するような場合に、使用者によって操作される。
【0024】
次に、図2の実施の形態の動作について説明する。まず最初に、インターネット上の所定のホームページに対してアクセスするために、キーボード17を操作して、例えば、Netscape Navigator(Netscape Communications社の商標)等のWWW(World Wide Web)ブラウザを起動する。そして、所定のホームページを指定するためのURL(Uniform Resource Locator)を入力する。すると、ディスプレイ15には、例えば図3に示すように、WWWブラウザのウインドウ30に所定のホームページが表示される。このホームページには、インターネットに接続されている各種サーバにアクセスするためのアイコン31等が表示されている。
【0025】
ここで、使用者が、ポインティングデバイス16を操作して、例えば「Faxin」のアイコン31を選択すると、CPU11は、ネットワークインタフェース23を制御し、インターネットに接続されている、そのアイコンに対応するサーバにアクセスさせる。このサーバは、外部からFax受信回路で受信したイメージデータ、またはHTML(Hyper Text Markup Language)エディタなどのソフトウェアを用いて、新聞、雑誌などの切り抜きをイメージスキャナで読み取ったイメージデータ(ビットマップデータ)を記憶しており、そのデータを提供するサービス(Fax inサービス)を行っている。
【0026】
ネットワークインタフェース23は、インターネットを介してアクセスしたそのサーバから供給されたデータを文書データ格納部18に供給し、記憶させる。また、このデータの一部は、そのままイメージ展開処理部19に供給され、伸長処理などが施され、ビットマップデータに変換され、メインメモリ12に供給され、記憶される。
【0027】
メインメモリ12に記憶されたデータは、イメージデータ転送部20を介して表示バッファ13に供給され、そこに書き込まれる。表示バッファ13に書き込まれたデータは、ビデオ信号発生部14に供給されビデオ信号に変換され、ディスプレイ15に供給され、表示される。このようにして、ディスプレイ15に、例えばアクセスしたサーバの図4に示すようなホームページが最初に表示される。
【0028】
この図4に示す例においては、WWWブラウザのウインドウ30に、新聞の切り抜きのファイルを指定するためのアイコン81−1,81−2であって、各々の新聞の切り抜きの縮小イメージを模したアイコン81−1,81ー2が配列表示されている。そして、使用者が、このホームページを見ながら、ポインティングデバイス16やキーボード17を操作し、希望する新聞の切り抜きのファイルを指定するためのアイコン81−2を選択する。ここで、もし仮に、そのファイルのデータが未だ文書データ格納部18に格納されていない場合、CPU11は、ネットワークインタフェース23を介してサーバにデータの転送を要求する。サーバがこの要求に対応してデータを転送すると、このデータは、ネットワークインタフェース23を介して文書データ格納部18に供給され、記憶される。
【0029】
次に、CPU11は、文書データ格納部18に記憶されたファイルのデータ(文書データ)を読み出させ、イメージ展開処理部19によりビットマップデータに変換させた後、メインメモリ12に供給させ、記憶させる。そして、このデータが、イメージデータ転送部20またはイメージデータ圧縮転送部21を介して表示バッファ13に供給され、記憶される。表示バッファ13に書き込まれた1枚(1ページ)の画像データは、ビデオ信号発生部14に供給され、ビデオ信号に変換され、ディスプレイ15に出力され、表示される。
【0030】
次に、1枚の画像を表示する原理について、図5を参照して説明する。今、ディスプレイ15にウインドウ41が表示されており、このウインドウ41に文書データ格納部18より読み出された1枚(1ページ)のA4の大きさの新聞記事の切り抜きの画像を表示させるものとする。メインメモリ12に記憶された1枚の画像のイメージデータ42が、図5に示すように、幅Wと高さHを有するものとする。
【0031】
これに対して、ウインドウ41は、その幅がw、高さがhであり、イメージデータ42の幅Wと高さHが、ウインドウ41の幅wと高さhより大きいものとする。この場合、イメージデータ42をウインドウ41に、その全部をそのまま表示することはできない。そこで、この実施の形態においては、例えばイメージデータ42の幅Wを、ウインドウ41の幅wに合わせる(調整する)処理が行われる。すなわち、イメージデータ42は、その幅および高さが全体的に、w/Wの圧縮率で圧縮される。
【0032】
さらにまた、このようにして、幅および高さ方向に全体的にw/Wに圧縮されたイメージデータ52が、さらに次のようにして高さ方向に圧縮される。すなわち、ウインドウ41の高さhは、イメージデータ52の高さH×(w/W)より小さいため、ウインドウ41の高さhの、例えば70%の高さa2の領域A2と、その上部の高さa1の領域A1、およびその下部の高さa3の領域A3とに、ウインドウ41が区分される。この区分に対応して、イメージデータ52にも、高さr2(=a2)の領域R2と、その上部の高さr1の領域R1、およびその下部の高さr3の領域R3とに区分される。
【0033】
そして、イメージデータ52の領域R2のデータは、ウインドウ41の領域A2に、そのまま(圧縮せずに)転送、表示される。これに対して、領域R1のデータは、領域A1に、縦方向に圧縮されて転送、表示され、また領域R3のデータは、領域A3に、縦方向に圧縮されて転送、表示される。領域A2の高さa2は、ウインドウ41の高さhの70%の値とされ、イメージデータ52の領域R2の高さr2は、a2と同一の値とされているので、領域A2は、文字が正しい比率(縦方向と横方向の比率)で表示される標準部とされるのに対して、領域A1とA3は、文字が縦方向に圧縮されて表示される圧縮部とされる。
【0034】
標準部の領域A2の位置は、カーソルで移動させることができるようになされている。図6と図7は、この関係を表している。すなわち、図6に示すように、表示バッファ13(従ってウインドウ41)のカーソル61の位置を中心として、上方向にKまでの範囲と、下方向にKまでの範囲が、標準部の領域A2とされ、その上部と下部の領域がA1またはA3とされる。従って、例えば、図6に示す状態から、カーソル61を下方に移動させると、図7に示すように、標準部の領域A2は、図6における位置より下方に移動する。その結果、領域A1の範囲は、図7における場合の方が図6における場合より拡大し、また、領域A3の範囲は、図6における場合より図7における場合の方が狭くなる。
【0035】
次に、図8のフローチャートを参照して、このような原理に基づく表示を実行するための処理の詳細を説明する。最初にステップS1において、画像の横方向の長さをウインドウの長さに対応させる処理が実行される。すなわち、図5を参照して説明したように、メインメモリ12に記憶されているイメージデータ42の1枚の画像の幅Wを、ウインドウ41の幅wに変換する処理が実行される。実際にはこの処理は、イメージ展開処理部19により行われる。すなわち、イメージ展開処理部19は、文書データ格納部18から読み出したビットマップデータの縦・横方向に、w/Wに圧縮してメインメモリ12に書き込む。
【0036】
次に、ステップS2において、CPU11は、メインメモリ12に記憶されている1枚の画像データの高さ(イメージデータ52の高さ)pagehと、表示バッファ13の高さ(ウインドウ41の高さ)dhとを比較する。
【0037】
すなわち、図8に示す処理を実行するに当たって、メインメモリ12のイメージデータと表示バッファ13のイメージデータの大きさは、図9に示すように記述される。すなわち、メインメモリ12のビットマップデータの高さは、pageh(図5におけるイメージデータ52の高さH×(w/W))とされ、上方の圧縮部の領域R1の高さがyofs(図5のr1)、標準部の領域R2の高さがlh(図5のr2(=a2))とされる。
【0038】
また、表示バッファ13の高さがdh(図5におけるウインドウ41の高さh)とされ、上方の圧縮部A1の高さがlofs(図5におけるa1)とされる。領域A2の高さは、表示バッファ13においてもlhである。
【0039】
ここで、圧縮対象領域である領域R1,R3の高さの和を、lm(=pageh−lh)、圧縮表示領域である領域A1,A3の高さの和をln(=dh−lh)とすると、領域R1とR3の圧縮率を均等にするために、領域A1の高さlofsを次式に設定する。
すなわち、高さ方向の圧縮率は、ln/lmとなる。
【0040】
図8に戻って、ステップS2において、pagehがdhと等しいか、それより小さいと判定された場合、メインメモリ12に記憶された1枚の画像データの高さpagehは、ウインドウ41の高さdhと等しいか、それより小さいことになる。従って、この場合においては、高さ方向に画像データを圧縮せずとも、1枚の画像データの全てをウインドウ41にそのまま表示させることが可能である。
【0041】
そこで、この場合においてはステップS3に進み、イメージデータ転送部20に対して、メインメモリ12から読み出すデータのy方向の座標syとして0を設定し、また、読み出す範囲(高さ)shとしてpagehを設定する。また、メインメモリ12から読み出したデータの表示バッファ13の転送先のy方向の座標dyとして0を設定する。
【0042】
図10は、以上の設定された状態を表している。すなわち、メインメモリ12の読み出し始点としては、(0,sy)が指定され、読み出す範囲としてのshとしては、pagehが指定される。そして、このデータを転送する転送先の表示バッファ13のアドレスとしては、その始点として、(0,dy)が指定される。従って、イメージデータ転送部20が、メインメモリ12の始点(0,sy)からpagehまでの範囲のデータを読み出し、表示バッファ13の始点(0,dy)から順次書き込むと、メインメモリ12に記憶されている1枚の画像のデータが、縦方向と横方向の圧縮率が等しい標準的な状態で全て書き込まれる。従って、ディスプレイ15のウインドウ41には、1枚の画像のデータが全て正しい状態で表示される。
【0043】
一方、ステップS2において、pagehがdhより大きいと判定された場合、1枚の画像の高さpagehがウインドウ41の高さdhより大きいことになる。従って、この場合においては、1枚の画像をそのままウインドウ41に正しい状態で全て表示することはできない。そこで、この場合ステップS4に進み、lastyofsに−1を初期設定する。このlastyofsは、直前の画像のyofs(図9)を表しており、このステップS4において−1を初期設定することにより、初めての画像であることを表すようにする。初めての画像であるか否かは、後述するステップS11において判定され、初めての画像である場合、ステップS12の処理が実行される。そして、その後、ステップS13に進み、lastyofsにyofs(0または正)が設定されるため、それ以降の画像との識別がなされるようになされている。
【0044】
次にステップS5に進み、ウインドウ41(表示バッファ13)上のカーソル61のy座標が読み取られ、その値がpyに設定される。なお、この場合における原点はウインドウ41の左上の角の点とされ、そこから水平に右方向にx軸がとられ、垂直に下方向にy軸がとられる。
【0045】
そして、ステップS6において、カーソル61のy座標pyが標準部A2の1/2の高さであるlh/2より小さいか否かが判定される。図11に示すように、カーソル61のy座標pyがlh/2より小さいとき、標準部の領域A2の表示位置を、それ以上上方に移動することはできない。そこで、この場合においては、ステップS7で、メインメモリ12の標準部の領域R2のy座標を規定するyofsを0に設定する。これにより、この場合においては、ウインドウ41には、標準部の領域A2の上方の圧縮部の領域A1は表示されず、標準部の領域A2とその下方の圧縮部の領域A3のみが表示されることになる。
【0046】
これに対して、ステップS6において、カーソル61のy座標pyが、lh/2と等しいか、それより大きいと判定された場合、ステップS8に進み、座標pyがdh−lh/2より大きいか否かが判定される。すなわち、図12に示すように、カーソル61のy座標pyが、ウインドウ41の下端から方のlh/2の位置よりさらに下方に位置しているとき、それ以上標準部の領域A2をウインドウ41の下方に移動することはできない。そこで、この場合においてはステップS9に進み、メインメモリ12の標準部の領域R2の始点としてのy座標を表すyofsにpageh−lhを設定する。
【0047】
これに対してステップS8において、座標pyが、dh−lh/2と等しいかそれより小さいと判定された場合、図13に示すように、標準部の領域A2を、さらに上方または下方に移動表示することが可能である。すなわち、この場合においては、標準部の領域A2の上方に圧縮部の領域A1が形成され、また、下方に圧縮部の領域A3が表示可能となる。そこで、この場合においてはステップS10に進み、メインメモリ12の標準部の領域R2のy座標の先頭としての座標yofsに次式で表す値を設定する。
yofs=(py−lh/2)×(lm/ln)
【0048】
ステップS7,S9またはS10の処理の次にステップS11に進み、lastyofsが0より小さいか否か、すなわち負であるか否かを判定する。初めてウインドウ41に画像を表示する場合、上述したように、ステップS4において、lastyofsに−1が設定されている。従って、この場合においてはステップS12に進み、ウインドウ41の全ての領域を作成する処理が実行される。すなわち、領域A1,領域A2,領域A3の全てを作成する処理が実行される。
【0049】
図14のフローチャートは、このステップS12の全領域作成指示処理の詳細を表している。最初に、ステップS31において、イメージデータ圧縮転送部21に、図15に示すように、メインメモリ12の読み出し元アドレスのy座標tyとして0を、また、読み出す範囲(高さ)thとしてyofsをセットする。このyofsは、上述したように、ステップS7,S9,S10のいずれかで設定されている。
【0050】
また、転送先の表示バッファ13(ウインドウ41)のy座標の最初のアドレスとしての座標uyに0を設定し、その範囲(高さ)uhとして、lofsを設定する。このlofsは、上述したように、次式より演算されるものである。
lofs=yofs×(dh−lh)/(pageh−lh)
【0051】
このような設定が行われた後、イメージデータ圧縮転送部21に作動が指示されると、図15に示すように、メインメモリ12のy座標ty(=0)からthの範囲の領域R1のデータが、縦方向に圧縮されて、表示バッファ13(ウインドウ41)のy座標uy(=0)からuhの範囲の領域A1に転送され、書き込まれる(表示される)。
【0052】
次にステップS32に進み、イメージデータ転送部20の読み出し元のメインメモリ12のy座標syとして、図16に示すようにyofsをセットし、読み出す範囲(高さ)shとして、lhをセットする。さらに、読み出し先の表示バッファ13のy座標dyとして、lofsをセットする。そして、イメージデータ転送部20に作動を指示すると、メインメモリ12のyofsのy座標からlhの範囲の領域R2のデータが、そのまま(圧縮されずに)表示バッファ13の領域A2に転送される。
【0053】
次にステップS33に進み、イメージデータ圧縮転送部21に対して、図17に示すように、読み出し元のメインメモリ12のy座標tyとして、yofs+lhを設定し、読み出す範囲(高さ)thとして、pageh−yofs−lhを設定する。さらに、読み出し先の表示バッファ13のy座標uyとして、lofs+lhを設定し、読み出し先の範囲(高さ)uhとして、dh−lofs−lhを設定する。そして、イメージデータ圧縮転送部21の作動を指示すると、メインメモリ12のy座標tyからthの範囲の領域R3のデータが、縦方向に圧縮されて、表示バッファ13のuyからuhの範囲に、領域A3のデータとして転送、記憶される。
【0054】
以上のようにして、領域A1,A2,A3の画像が表示バッファ13に書き込まれ、そしてこれがディスプレイ15のウインドウ41に表示される。
【0055】
図8に戻り、次にステップS13に進み、直前のyofsを表す変数としてのlastyofsに現在のyofsを設定する。そして、ステップS5に戻り、それ以降の処理を繰り返し実行する。
【0056】
このように、lastyofsにyofsが一度でも設定されると、yofsは0または正の整数であるため、ステップS11において、NOの判定が行われ、ステップS14に進む。ステップS14においては、直前のウインドウ41の標準部の領域A2のy座標を表すlastlofsを次式より演算する。
lastlofs=lastyofs×(ln/lm)
【0057】
すなわち、lastyofsに圧縮率ln/lmを乗算することで、lastlofsを求める。
【0058】
さらに、次式よりimgyを演算する。
imgy=yofs−lastyofs
【0059】
すなわち、このimgyは、現在のyofsと直前のyofsとしてのlastyofsとの差を表している。
【0060】
次にステップS15において、ステップS14で求めたimgyが0より大きいか否かが判定される。imgyは、現在のyofsと直前のyofsとしてのlastyofsとの差であるから、imgyが正であるということは、現在のyofsの方が直前のyofsとしてのlastyofsより大きいことを、すなわち、標準部の領域A2の表示位置を下方に移動表示する必要があることを意味する。そこで、この場合においてはステップS16に進み、下方移動時表示指示処理が実行される。この処理の詳細は、図18のフローチャートに示されている。
【0061】
最初にステップS41において、図19に示すように、領域コピー処理部22のコピー元のy座標csyとして、lastlofs+imgyをセットする。すなわち、ウインドウ41の直前の標準部の領域A2の先頭からimgyだけ下の位置が設定される。また、読み出す範囲の幅(高さ)chとして、lh−imgyが設定される。すなわち、直前の標準部の領域A2のimgyを除く範囲がchとして設定される。さらに、コピー先のy座標cdyとしてlofsが設定される。
【0062】
そして、領域コピー処理部22の作動が指示されると、表示バッファ13において、今までcsyからchの範囲に書き込まれていた標準部の領域A2の一部のデータが、cdyからchの範囲にそのまま移転コピーされる。
【0063】
次に、ステップS42に進み、イメージデータ圧縮転送部21の転送元座標tyとして、メインメモリ12のlastyofsを設定する。すなわち、前回の画像の領域R2の先頭の座標を設定する。また、転送範囲(高さ)thとして、imgyを設定する。すなわち、前回の標準部の領域R2の先頭の座標lastyofsから、今回の標準部の領域R2の先頭の座標yofsまでのimgyの範囲を転送範囲として設定する。
【0064】
また、転送先座標uyとして、表示バッファ13の前回の標準部の領域A2の先頭のy座標lastlofsを設定する。そして、転送する範囲(高さ)uhとして、lofs−lastlofsを設定する。すなわち、今回の圧縮部の領域の範囲はlofsの範囲であるが、そのうちのlastlofsまでの範囲は、前回の表示バッファ13にすでに圧縮されて存在している。従って今回は、lastlofsからlofsまでのuhの範囲(図19においてハッチングを施して示す領域A11)の範囲についてだけ、新たに画像を圧縮して記憶すれば良い。
【0065】
そこで、以上の設定を完了した後、イメージデータ圧縮転送部21の作動を指示すると、メインメモリ12のlastyofsからimgyの範囲の画像データが縦方向に圧縮されて、表示バッファ13のlastlofsからlofsまでのuhの範囲に転送され、領域A11の画像が完成する。
【0066】
さらに、ステップS43に進み、イメージデータ転送部20の転送元座標syとして、lastyofs+lhを設定する。すなわち、前回の標準部の領域R2の最後の座標を転送元の先頭の座標として設定する。また、転送元の範囲shとして、imgyを設定する。さらに、転送先座標dyとして、lofs+lh−imgyを設定する。
【0067】
そして、イメージデータ転送部20の作動を指示すると、図19に示すように、メインメモリ12のlastyofs+lhからimgyの範囲のデータが、表示バッファ13のlofs+lh−imgyからimgyの範囲にそのまま転送され、記憶される。これにより、図19において、ハッチングを施して示す領域A22の画像が完成する。
【0068】
このようにして、前回の標準部の一部の領域をそのままコピーすることで生成した領域A21と、新たに生成した領域A22とにより、今回の標準部の領域が形成される。今回の標準部の下側の圧縮部は、前回の圧縮部の領域A3の画像データの一部がそのまま利用される。
【0069】
このように、新たな画像を表示するとき、その都度メインメモリ12からデータを読み出し、処理するのではなく、表示バッファ13にすでに書き込まれていて、そのまま使用することができる画像データは、それを移動してそのまま用いるようにし、新たに処理する必要のある画像データだけを読み込み、処理するようにすることで、高速に新たな画像を更新表示させることが可能となる。また、標準部の画像データを最初に移動コピーするようにすることで、使用者が注目している画像を最も迅速に表示させることが可能となる。
【0070】
以上のようにして、カーソル61をポインティングデバイス16またはキーボード17のカーソルキー17Aを操作することで下方に移動したとき、1枚の画像データのより下方の画像が正しい比率の状態で表示されることになる。この場合、その上部の圧縮された領域が広がり、下方の圧縮された領域が狭くなることになる。
【0071】
図8に戻って、このようにステップS16の下方移動時表示指示処理が実行された後、ステップS13に進み、lastyofsにyofsを設定し、ステップS5に戻り、それ以降の処理を実行する。
【0072】
一方、ステップS15において、imgyが正ではないと判定された場合、ステップS17に進み、imgyが負であるか否かが判定される。imgyが負である場合、カーソル61が現在の位置より上方に移動されたことになるので、ステップS18に進み、上方移動時表示指示処理が実行される。この上方移動時表示指示処理の詳細は、図20のフローチャートに示されている。
【0073】
すなわち、この場合、ステップS51において、領域コピー処理部22に転送元座標csyとして、図21に示すように、lastlofsを設定する。すなわち、前回の表示バッファ13のlofsを設定する。そして、転送範囲chとして、lh+imgyを設定する。いまの場合、imgyは、負(−)であるため、転送範囲は、csyからlhの範囲のうち、下側のimgyの範囲を除く範囲となる。
【0074】
また、転送先座標cdyとして、lofs−imgyを設定する。上述したように、imgyは、いまの場合負であるため、図21に示すように、実際には、表示バッファ13の座標lofsからさらにimgyだけ下側の座標が転送先の先頭の座標となる。
【0075】
そこで、領域コピー処理部22の作動を指示すると、表示バッファ13のlastlofsからchの範囲の標準部の領域A2のデータが、表示バッファ13のcdyからchの範囲に移動コピーされる。これにより、標準部の領域A23の画像が生成される。
【0076】
次にステップS52に進み、イメージデータ転送部20に対して、転送元の座標syとして、図21に示すように、メインメモリ12のyofsを設定する。また、転送する範囲shとして、−imgyを設定する。いまの場合、imgyは負であるため、範囲shは正の範囲となる。さらに、転送先座標dyとしてlofsが設定される。
【0077】
そして、イメージデータ転送部20の作動が指示されると、メインメモリ12のyofsからimgyの範囲のデータが、表示バッファ13のlofsからimgyの範囲に転送される。これにより、標準部の上部の領域A24の画像が完成することになる。ステップS51で転送された領域A23とステップS52で転送された領域A24の画像により、標準部の画像が構成される。
【0078】
次に、ステップS53に進み、イメージデータ圧縮転送部21に対して転送元座標tyとして、yofs+lhを設定する。すなわち、今回の下側の圧縮部の領域R3のメインメモリ12の座標が設定される。また、転送範囲thとして−imgyが設定される。上述したように、いまの場合、imgyは負であるため、範囲thとしては、実質的に正の範囲が指定されることになる。
【0079】
さらに、転送先座標uyとして、lofs+lhが設定される。また、転送先の範囲uhとして、lastlofs−lofsが設定される。
【0080】
すなわち、転送先座標としては、標準部A23の最も下側の座標が設定され、そこからuhの範囲が指定される。
【0081】
そして、イメージデータ圧縮転送部21の作動が指示されると、メインメモリ12のyofs+lhからimgyの範囲のデータが、表示バッファ13のlofs+lhからuhの範囲に転送される。これにより、図21において、ハッチングを施して示す領域A31の圧縮部の画像が完成する。圧縮部の残りの画像は、前回の圧縮部A3の画像の一部がそのまま利用される。
【0082】
以上のようにして、図21に示すように、カーソル61の上方への移動に対応して、1枚の画像のうち、より上方の範囲が標準部の画像として表示される。その結果、上方の圧縮部の領域A1の範囲は、前回の場合より狭くなり、下方の圧縮部の領域A3の範囲は前回の場合より広くなる。
【0083】
この場合においても、図18におけるステップS41乃至S43における場合と同様に、標準部の移動コピーを先に実行するようにしているので、最も注目している画像が先に表示され、内容の確認が迅速に行えるようになる。また、メインメモリ12から読み込み処理するデータが少なくてすむので、迅速に表示を完了(更新)することができる。
【0084】
図8に戻って、ステップS18の処理が完了したとき、ステップS13に進み、lastyofsにyofsを設定し、ステップS5に戻り、それ以降の処理を繰り返し実行する。
【0085】
ステップS17でimgyが負ではないと判定された場合、結局、この場合imgyは0であるということになる。この場合、結局、表示位置を変更する必要がないので、特別の処理を行うことなく、ステップS13からステップS5に戻り、それ以降の処理を繰り返し実行する。
【0086】
以上のような処理を実行すると、例えば、図22に示す1枚(1ページ)の画像は、例えば図23に示すように表示される。図23においては、標準部が最も上方に位置する状態となされている(標準部の上方の圧縮部が存在しない状態とされている)。これに対して、カーソルキー17Aまたはポインティングデバイス16を操作して、カーソル61を下方に移動させると、表示状態は、図24に示すように変化する。この場合においては、標準部の上下に圧縮部が表示されている。
【0087】
この図23と図24を、図22と比較して明らかなように、いずれの場合も1枚の画像の全体が表示されている。また、カーソルを上下に移動することで、注目する画像を正しい比率の状態で見ることができる。さらに、圧縮部の画像も、その文字が大きければ、これを認識することができる。従って、この1枚の画像から、所定の情報を検索するような場合に、見落としが発生するような恐れが少なくなる。
【0088】
以上の実施の形態においては、イメージデータ42の横方向の幅Wをウインドウ41の幅wに合わせるようにして、垂直方向のみを圧縮するようにしたが、例えば図25に示すように、イメージデータ42の幅Wをウインドウ41の幅wに全体的に圧縮することをせず、イメージデータ42の幅WのうちのW1の範囲を横方向に圧縮してウインドウ41の領域B1に表示し、W2の範囲を圧縮せずに、そのまま領域B2に表示し、範囲W3の範囲を横方向に圧縮して領域B3に表示するようにしても良い。さらに、幅方向のみを圧縮するようにしてもよいことは勿論である。
【0089】
以上においては、ビットマップデータを表示するようにしたが、表示するデータはこれに限られるものではない。
【0090】
【発明の効果】
以上の如く、請求項1に記載の画像表示制御装置および請求項9に記載の画像表示制御方法によれば、高速に新たな画像を更新表示させることができるので、注目する範囲を確実に観察しながら、全体の範囲における注目範囲を、迅速かつ確実に把握することができる。また、画像の全体が表示されるため、情報の見落としが抑制される。
【図面の簡単な説明】
【図1】本発明の画像表示制御装置を接続するネットワークを説明する図である。
【図2】本発明の画像表示制御装置の一実施の形態の構成を示すブロック図である。
【図3】メニューの表示例を示す図である。
【図4】ホームページの表示例を示す図である。
【図5】本発明における表示の原理を説明する図である。
【図6】本発明におけるカーソルと表示範囲の関係を説明する図である。
【図7】本発明におけるカーソルを移動した場合における表示の原理を説明する図である。
【図8】図1の実施の形態の動作を説明するフローチャートである。
【図9】図8の処理における変数を説明する図である。
【図10】図8のステップS3における処理を説明する図である。
【図11】図8のステップS7における処理を説明する図である。
【図12】図8のステップS9の処理を説明する図である。
【図13】図8のステップS10の処理を説明する図である。
【図14】図8のステップS12の詳細を説明するフローチャートである。
【図15】図14のステップS31の処理を説明する図である。
【図16】図14のステップS32における処理を説明する図である。
【図17】図14のステップS33における処理を説明するフローチャートである。
【図18】図8のステップS16における処理の詳細を説明するフローチャートである。
【図19】図18の処理を説明する図である。
【図20】図8のステップS18の処理の詳細を説明するフローチャートである。
【図21】図20の処理を説明する図である。
【図22】オリジナルの画像を説明する図である。
【図23】図21の画像をウインドウに表示した状態を示す図である。
【図24】図21の画像をウインドウに表示した状態を示す図である。
【図25】本発明の他の表示の原理を説明する図である。
【図26】イメージデータの範囲と表示の範囲を説明する図である。
【図27】従来の表示例の原理を示す図である。
【図28】従来の表示例を示す図である。
【符号の説明】
11 CPU,12 メインメモリ,13 表示バッファ,14 ビデオ信号発生部,15 ディスプレイ,16 ポインティングデバイス,17 キーボード,17A カーソルキー,18 文書データ格納部,19 イメージ展開処理部,20 イメージデータ転送部,21 イメージデータ圧縮転送部,23 ネットワークインタフェース[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image display control apparatus and method, and more particularly, to an image display control apparatus and method that displays a single image in a limited display area (window) so that the entire image can be seen.
[0002]
[Prior art]
FIG. 26 shows the relationship between the image data range of one conventional image and the display range of the window displaying this image. As shown in the figure, when the range of the image data is wider than the display range, a part of the range of the image data is displayed.
[0003]
FIG. 27 shows a display example in this case. A
[0004]
In the display example of FIG. 27, a part of one image is displayed in the
[0005]
An upper button 5 and a lower button 6 are provided at the upper and lower ends of the scroll bar 4, and a
[0006]
FIG. 28 shows an example in which one image (one page) of A4 size is displayed in the
[0007]
[Problems to be solved by the invention]
In this way, when displaying one image, in the conventional apparatus, only a part of the image is displayed, and when it is desired to view the remaining part, the screen is scrolled. The actual display position in the whole is displayed by a scroll bar.
[0008]
However, the scroll bar is provided in an extremely narrow range near the end of the window, and there is a problem that it is difficult to quickly and reliably recognize the entire display range.
[0009]
In addition, for example, in the display example of FIG. 28, since a continuous straight line is displayed in a state where it is interrupted at the edge of the window, an image that is not displayed is hidden below the display. However, when an image is displayed in an unbroken state at the edge of this window, it may be overlooked that there is an undisplayed area below it. As a result, when searching for a predetermined article, the search may be overlooked.
[0010]
The present invention has been made in view of such a situation, and makes it possible to quickly and surely recognize the entire range of one image, thereby suppressing occurrence of oversight or the like. It is.
[0011]
[Means for Solving the Problems]
The image display control apparatus according to
[0012]
The image display control method according to
[0013]
The image display control apparatus according to
[0014]
The image display control method according to
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a configuration example of a network to which an image display control apparatus of the present invention is connected. As shown in the figure, a large number of servers and providers are connected to the Internet as a computer network connected on a global scale. Servers provide various information and services to users. Providers connect users to the Internet. Provide services to access
[0016]
FIG. 2 is a block diagram showing a configuration example of an embodiment of the image display control apparatus of the present invention. In this embodiment, a network interface (I / F) 23 receives data supplied from the Internet and other networks, supplies it to the document
[0017]
The image
[0018]
Data stored in the
[0019]
The image data compression /
[0020]
The image data
[0021]
The area
[0022]
The
[0023]
The
[0024]
Next, the operation of the embodiment of FIG. 2 will be described. First, in order to access a predetermined homepage on the Internet, the
[0025]
Here, when the user operates the
[0026]
The
[0027]
The data stored in the
[0028]
In the example shown in FIG. 4, icons 81-1 and 81-2 for designating a newspaper clipping file in the
[0029]
Next, the
[0030]
Next, the principle of displaying one image will be described with reference to FIG. Now, a window 41 is displayed on the
[0031]
On the other hand, the window 41 has a width w and a height h, and the width W and the height H of the
[0032]
Furthermore, in this way, the
[0033]
The region R of the
[0034]
Standard area A 2 The position of can be moved with a cursor. 6 and 7 illustrate this relationship. That is, as shown in FIG. 6, the range up to K and the range up to K around the position of the
[0035]
Next, details of processing for executing display based on such a principle will be described with reference to the flowchart of FIG. First, in step S1, processing for associating the horizontal length of the image with the window length is executed. That is, as described with reference to FIG. 5, processing for converting the width W of one image of the
[0036]
Next, in step S <b> 2, the
[0037]
That is, in executing the processing shown in FIG. 8, the sizes of the image data in the
[0038]
Further, the height of the
[0039]
Here, the sum of the heights of the regions R1 and R3 that are the compression target regions is lm (= pageh-lh), and the sum of the heights of the regions A1 and A3 that are the compression display regions is ln (= dh-lh). Then, in order to equalize the compression rates of the regions R1 and R3, the height lofs of the region A1 is set to the following equation.
That is, the compression ratio in the height direction is ln / lm.
[0040]
Returning to FIG. 8, when it is determined in step S <b> 2 that pageh is equal to or smaller than dh, the height pageh of one piece of image data stored in the
[0041]
Therefore, in this case, the process proceeds to step S3, where 0 is set as the y-direction coordinate sy of the data to be read from the
[0042]
FIG. 10 shows the above set state. That is, (0, sy) is specified as the read start point of the
[0043]
On the other hand, if it is determined in step S2 that pageh is greater than dh, the height pageh of one image is greater than the height dh of the window 41. Therefore, in this case, one image cannot be displayed in the correct state in the window 41 as it is. In this case, therefore, the process proceeds to step S4, and -1 is initially set in lastofofs. This lastofs represents the previous image ofofs (FIG. 9), and by initializing -1 in step S4, it represents the first image. Whether or not it is the first image is determined in step S11 described later. If it is the first image, the process in step S12 is executed. After that, the process proceeds to step S13, and yofs (0 or positive) is set in the lastofs, so that it is discriminated from the subsequent images.
[0044]
In step S5, the y coordinate of the
[0045]
In step S6, the y coordinate py of the
[0046]
On the other hand, if it is determined in step S6 that the y coordinate py of the
[0047]
On the other hand, when it is determined in step S8 that the coordinate py is equal to or smaller than dh-lh / 2, as shown in FIG. 2 Can be moved and displayed further upward or downward. That is, in this case, the standard area A 2 The area A of the compression part above 1 Is formed, and the area A of the compression portion is formed below. Three Can be displayed. Therefore, in this case, the process proceeds to step S10 and the standard area R of the main memory 12 2 A value represented by the following expression is set to the coordinate yofs as the head of the y coordinate.
yofs = (py−lh / 2) × (lm / ln)
[0048]
After the process of step S7, S9 or S10, the process proceeds to step S11, and it is determined whether or not lastyofs is smaller than 0, that is, negative. When an image is displayed on the window 41 for the first time, as described above, -1 is set in the lastofs in step S4. Accordingly, in this case, the process proceeds to step S12, and processing for creating all areas of the window 41 is executed. That is, region A 1 , Region A 2 , Region A Three A process for creating all of the above is executed.
[0049]
The flowchart in FIG. 14 shows the details of the all area creation instruction process in step S12. First, in step S31, 0 is set as the y coordinate ty of the read source address of the
[0050]
Also, 0 is set to the coordinate uy as the first address of the y coordinate of the display buffer 13 (window 41) of the transfer destination, and lofs is set as its range (height) uh. As described above, the lofs are calculated from the following equation.
lofs = yofs × (dh−lh) / (pageh−lh)
[0051]
When the image data compression /
[0052]
Next, proceeding to step S32, as shown in FIG. 16, yofs is set as the y coordinate sy of the
[0053]
In step S33, the image data compression /
[0054]
As described above, the region A 1 , A 2 , A Three Are written in the
[0055]
Returning to FIG. 8, next, the process proceeds to step S <b> 13, where the current yofs is set in the lastofs as a variable representing the previous yofs. Then, the process returns to step S5, and the subsequent processing is repeatedly executed.
[0056]
Thus, if yofs is set even once in lastyofs, since yofs is 0 or a positive integer, NO is determined in step S11, and the process proceeds to step S14. In step S14, the standard area A of the previous window 41 is displayed. 2 The lastlofs representing the y-coordinate is calculated from the following equation.
lastlofs = lastofofs × (ln / lm)
[0057]
That is, lastlofs is obtained by multiplying lastyofs by the compression rate ln / lm.
[0058]
Furthermore, imgy is calculated from the following equation.
imgy = yofs-lastofifs
[0059]
That is, this imgy represents the difference between the current yofs and the lastofs as the previous yofs.
[0060]
Next, in step S15, it is determined whether or not imgy obtained in step S14 is greater than zero. Since imgy is the difference between the current yoofs and the lastofs as the previous yofs, the fact that imgy is positive means that the current yofs is greater than the lastofs as the previous yofs, ie, the standard part. Region A 2 This means that it is necessary to move and display the display position downward. Therefore, in this case, the process proceeds to step S16, and a display instruction process during downward movement is executed. The details of this processing are shown in the flowchart of FIG.
[0061]
First, in step S41, as shown in FIG. 19, lastlofs + imgy is set as the copy source y coordinate csy of the area
[0062]
When the operation of the area
[0063]
In step S42, the lastofs of the
[0064]
Further, the area A of the previous standard part of the
[0065]
Therefore, when the operation of the image data compression /
[0066]
In step S43, lastofs + lh is set as the transfer source coordinate sy of the image
[0067]
Then, when the operation of the image
[0068]
Thus, the area A generated by copying a part of the previous standard part as it is twenty one And newly created region A twenty two As a result, the region of the current standard part is formed. The compression part below the current standard part is the area A of the previous compression part. Three A part of the image data is used as it is.
[0069]
In this way, when displaying a new image, instead of reading and processing the data from the
[0070]
As described above, when the
[0071]
Returning to FIG. 8, after the display instruction process at the time of downward movement in step S <b> 16 is executed in this way, the process proceeds to step S <b> 13 where yofs is set in lastofs, and the process returns to step S <b> 5 and subsequent processes are executed.
[0072]
On the other hand, when it is determined in step S15 that imgy is not positive, the process proceeds to step S17, and it is determined whether or not imgy is negative. If imgy is negative, it means that the
[0073]
That is, in this case, in step S51, lastlofs are set as the transfer source coordinates csy in the area
[0074]
Further, lofs-imgy is set as the transfer destination coordinate cdy. As described above, imgy is negative in this case. Therefore, as shown in FIG. 21, in reality, coordinates lower by imgy from the coordinates lofs of the
[0075]
Therefore, when the operation of the area
[0076]
In step S52, the image
[0077]
When the operation of the image
[0078]
In step S53, yofs + lh is set as the transfer source coordinate ty for the image data compression /
[0079]
Further, lofs + lh is set as the transfer destination coordinate uy. Also, lastlofs-lofs is set as the transfer destination range uh.
[0080]
That is, as the transfer destination coordinates, the standard part A twenty three Is set to the lowermost coordinate, and the range of uh is designated therefrom.
[0081]
When the operation of the image data compression /
[0082]
As described above, as shown in FIG. 21, in correspondence with the upward movement of the
[0083]
Also in this case, as in the case of steps S41 to S43 in FIG. 18, since the standard part of the moving copy is executed first, the image of the most attention is displayed first, and the confirmation of the contents is performed. It can be done quickly. Further, since the data to be read from the
[0084]
Returning to FIG. 8, when the process of step S <b> 18 is completed, the process proceeds to step S <b> 13, “ofs” is set in lastofs, the process returns to step S <b> 5, and the subsequent processes are repeated.
[0085]
If it is determined in step S17 that imgy is not negative, it means that imgy is 0 in this case. In this case, since it is not necessary to change the display position after all, the process returns from step S13 to step S5 without performing special processing, and the subsequent processing is repeatedly executed.
[0086]
When the processing as described above is executed, for example, one (one page) image shown in FIG. 22 is displayed as shown in FIG. In FIG. 23, the standard part is in the uppermost position (the compression part above the standard part is not present). On the other hand, when the
[0087]
As is clear from the comparison of FIG. 23 and FIG. 24 with FIG. 22, the entire image is displayed in both cases. Further, by moving the cursor up and down, it is possible to view the image of interest in a correct ratio. Furthermore, the image of the compression unit can be recognized if the character is large. Accordingly, when searching for predetermined information from this single image, there is less risk of oversight.
[0088]
In the above embodiment, the horizontal width W of the
[0089]
In the above, bitmap data is displayed, but the data to be displayed is not limited to this.
[0090]
【The invention's effect】
As described above, the image display control device according to
[Brief description of the drawings]
FIG. 1 is a diagram for explaining a network connecting image display control apparatuses of the present invention.
FIG. 2 is a block diagram showing a configuration of an embodiment of an image display control device of the present invention.
FIG. 3 is a diagram illustrating a display example of a menu.
FIG. 4 is a diagram illustrating a display example of a home page.
FIG. 5 is a diagram illustrating a display principle in the present invention.
FIG. 6 is a diagram illustrating a relationship between a cursor and a display range in the present invention.
FIG. 7 is a diagram for explaining the principle of display when the cursor is moved according to the present invention.
FIG. 8 is a flowchart for explaining the operation of the embodiment of FIG. 1;
FIG. 9 is a diagram for explaining variables in the process of FIG. 8;
FIG. 10 is a diagram for explaining the processing in step S3 of FIG.
FIG. 11 is a diagram illustrating the process in step S7 of FIG.
FIG. 12 is a diagram for explaining the processing in step S9 of FIG.
FIG. 13 is a diagram for explaining the processing in step S10 of FIG.
FIG. 14 is a flowchart for explaining details of step S12 in FIG.
FIG. 15 is a diagram for explaining the processing in step S31 in FIG. 14;
FIG. 16 is a diagram illustrating the process in step S32 of FIG.
FIG. 17 is a flowchart illustrating processing in step S33 of FIG.
FIG. 18 is a flowchart illustrating details of processing in step S16 of FIG.
FIG. 19 is a diagram for explaining the processing of FIG. 18;
FIG. 20 is a flowchart illustrating details of the process in step S18 of FIG.
FIG. 21 is a diagram for explaining the processing of FIG. 20;
FIG. 22 is a diagram illustrating an original image.
FIG. 23 is a diagram showing a state in which the image of FIG. 21 is displayed on a window.
FIG. 24 is a diagram showing a state in which the image of FIG. 21 is displayed on a window.
FIG. 25 is a diagram illustrating another display principle of the present invention.
FIG. 26 is a diagram illustrating a range of image data and a display range.
FIG. 27 is a diagram illustrating the principle of a conventional display example.
FIG. 28 is a diagram showing a conventional display example.
[Explanation of symbols]
11 CPU, 12 main memory, 13 display buffer, 14 video signal generation unit, 15 display, 16 pointing device, 17 keyboard, 17A cursor key, 18 document data storage unit, 19 image development processing unit, 20 image data transfer unit, 21 Image data compression and transfer unit, 23 Network interface
Claims (9)
前記1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、前記ウインドウの対応する方向の長さとを比較する比較手段と、
前記1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、前記ウインドウの対応する方向の長さより長いとき、前記1枚の画像のデータをメモリから読み出して、前記1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、前記ウインドウの長さに対応させる処理を行う圧縮手段と、
前記圧縮手段により一部が圧縮され、かつ、残りの部分が圧縮されていない前記1枚の画像のデータを格納する表示バッファと、
前記表示バッファに格納された前記1枚の画像のデータを出力する出力手段と
を備え、
前記1枚の画像の前記圧縮しない範囲を変更して前記1枚の画像を更新表示する場合、全体の長さを前記ウインドウの長さに対応させる処理を行う前記圧縮手段は、更新表示する前記1枚の画像のうち、前記表示バッファに格納されている前記1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、前記表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータを前記メモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータを前記メモリから読み出して圧縮することで、前記全体の長さを、前記ウインドウの長さに対応させる処理を行う
ことを特徴とする画像表示制御装置。In an image display control device for controlling display of a single image of a predetermined size on a window,
Comparison means for comparing the length of at least one of the vertical direction and the horizontal direction of the one image with the length of the corresponding direction of the window;
When the length of at least one direction of the one image is longer than the length of the corresponding direction of the window, the data of the one image is read from the memory, and the 1 Compression means for compressing a part of the image in that direction and compressing the remaining part without compressing the remaining part, so that the entire length corresponds to the length of the window;
A display buffer that stores data of the one image that is partially compressed by the compression means and the remaining portion is not compressed;
Output means for outputting data of the one image stored in the display buffer,
In the case where the uncompressed range of the single image is changed and the single image is updated and displayed, the compression means for performing processing for making the entire length correspond to the length of the window is updated and displayed. Of one image, a portion that is compressed and displayed at the same compression rate as the data of the one image stored in the display buffer and a portion that is displayed without being compressed are stored in the display buffer. For the part that is displayed as it is without compressing the previously compressed image data, the data of that part is read from the memory but not compressed, and the part that has not been compressed before is compressed processing the portion to display, in Rukoto compress reads the data of the portion from the memory, the length of the entire, to correspond to the length of said window The image display control device and performing.
ことを特徴とする請求項1に記載の画像表示制御装置。In the case where the uncompressed range of the single image is changed and the single image is updated and displayed, the compression unit stores the one of the single images to be updated and stored in the display buffer. As for a part of the portion displayed at the same compression rate as that of the data of one image, a part of the data of the uncompressed portion of the data of the one image stored in the display buffer is stored. The image display control apparatus according to claim 1, wherein the image display control apparatus is used by being moved to another area of the display buffer as it is.
ことを特徴とする請求項1に記載の画像表示制御装置。The image display control apparatus according to claim 1, further comprising a specifying unit that specifies a range that is not compressed by the compression unit.
ことを特徴とする請求項3に記載の画像表示制御装置。The image display control apparatus according to claim 3, wherein the compression unit sets a predetermined range from the center with the position designated by the designation unit as a center.
ことを特徴とする請求項4に記載の画像表示制御装置。The image display control apparatus according to claim 4, wherein the specifying unit specifies the center with a cursor.
ことを特徴とする請求項1に記載の画像表示制御装置。Adjusting means for compressing the entire image in a direction in which a portion of the image is not compressed and adjusting the length of the image to correspond to the length of the window in the direction; The image display control device according to claim 1, further comprising:
ことを特徴とする請求項1に記載の画像表示制御装置。The image display control apparatus according to claim 1, wherein the compression unit compresses a part of the one image at a constant compression rate.
ことを特徴とする請求項7に記載の画像表示制御装置。The compression means is configured such that the length of the one image in the compression direction is pageh, the length of the uncompressed range is lh, and the corresponding length of the window is dh. The image display control apparatus according to claim 7, wherein a part of the image is compressed at a ratio of (dh−lh) / (pageh−lh).
前記1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さと、前記ウインドウの対応する方向の長さとを比較し、
前記1枚の画像の縦方向と横方向のうち、少なくとも1つの方向の長さが、前記ウインドウの対応する方向の長さより長いとき、前記1枚の画像のデータをメモリから読み出して、前記1枚の画像の一部をその方向において圧縮し、残りの部分を圧縮しないで、全体の長さを、前記ウインドウの長さに対応させる処理を行い、
一部が圧縮され、かつ、残りの部分が圧縮されていない前記1枚の画像のデータを表示バッファに格納し、
前記表示バッファから、前記1枚の画像のデータを出力して、前記ウインドウに前記1枚の画像の全体を表示させ、
前記1枚の画像の前記圧縮しない範囲を変更して前記1枚の画像を更新表示する場合、更新表示する前記1枚の画像のうち、前記表示バッファに格納されている前記1枚の画像のデータと同一の圧縮率で圧縮して表示する部分および圧縮しないで表示する部分については、前記表示バッファに格納されている画像のデータをそのまま用い、それまで圧縮されていた部分で圧縮しないで表示する部分については、その部分のデータを前記メモリから読み出すが圧縮せず、それまで圧縮されていなかった部分で圧縮して表示する部分については、その部分のデータを前記メモリから読み出して圧縮することで、前記全体の長さを、前記ウインドウの長さに対応させる処理を行う
ことを特徴とする画像表示制御方法。In an image display control method for controlling display of a single image of a predetermined size on a window,
Comparing the length of at least one of the vertical direction and the horizontal direction of the one image with the length of the corresponding direction of the window;
When the length of at least one direction of the one image is longer than the length of the corresponding direction of the window, the data of the one image is read from the memory, and the 1 Compressing a portion of the image in that direction and compressing the rest of the image without compressing the rest of the image,
Storing data of the one image in which a part is compressed and the remaining part is not compressed in a display buffer;
From the display buffer, the data of the single image is output, and the entire single image is displayed in the window.
When the one image is updated and displayed by changing the uncompressed range of the one image, of the one image to be updated and displayed, the one image stored in the display buffer is updated. For the part that is compressed and displayed at the same compression rate as the data and the part that is not compressed, the image data stored in the display buffer is used as it is, and the compressed part is displayed without being compressed. the portions are not but reading the data of the portion from the memory compression, portions displayed by compressing in a compressed and were not part far, you compress reads the data of the portion from the memory The image display control method characterized by performing the process which makes the said whole length respond | correspond to the length of the said window by this.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25293196A JP4381484B2 (en) | 1995-09-28 | 1996-09-25 | Image display control apparatus and method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7-250539 | 1995-09-28 | ||
| JP25053995 | 1995-09-28 | ||
| JP25293196A JP4381484B2 (en) | 1995-09-28 | 1996-09-25 | Image display control apparatus and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09152957A JPH09152957A (en) | 1997-06-10 |
| JP4381484B2 true JP4381484B2 (en) | 2009-12-09 |
Family
ID=26539810
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25293196A Expired - Fee Related JP4381484B2 (en) | 1995-09-28 | 1996-09-25 | Image display control apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4381484B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3916124B2 (en) | 2001-02-15 | 2007-05-16 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Digital document browsing system, browser, digital document display method, program, and storage medium |
| JP5264276B2 (en) * | 2007-07-10 | 2013-08-14 | キヤノン株式会社 | Image display device, image display method, and program |
| JP5814821B2 (en) * | 2012-02-22 | 2015-11-17 | 京セラ株式会社 | Portable terminal device, program, and screen control method |
-
1996
- 1996-09-25 JP JP25293196A patent/JP4381484B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09152957A (en) | 1997-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6081277A (en) | Apparatus and method for controlling image display | |
| JP3890621B2 (en) | Image display apparatus and method | |
| CN1784664B (en) | Document data display apparatus, output apparatus, printing apparatus, and related method | |
| US20070279437A1 (en) | Method and apparatus for displaying document image, and information processing device | |
| JP2012059275A (en) | System and method for digital document processing | |
| JP4776995B2 (en) | Computer apparatus and control method and program thereof | |
| JP2004118477A (en) | Information processing apparatus and method, recording medium, and program | |
| JP2004118478A (en) | Information processing apparatus and method, recording medium, and program | |
| JP2008234147A (en) | Document image display device, document image display method, and document image display program | |
| JP4381484B2 (en) | Image display control apparatus and method | |
| JP2011086050A (en) | Information processing terminal and computer program | |
| JP2996933B2 (en) | Drawing display device | |
| JPH11143670A (en) | Internet information printing system | |
| JP4812077B2 (en) | DATA DISPLAY METHOD, DATA DISPLAY DEVICE, AND PROGRAM | |
| JP2000035843A (en) | Hypertext display device and system | |
| JP2002202935A (en) | Server device | |
| JP3755674B2 (en) | Image processing apparatus and method | |
| JP2006185064A (en) | Data processing apparatus and program | |
| JP6372116B2 (en) | Display processing apparatus, screen display method, and computer program | |
| JP5539070B2 (en) | Information processing apparatus, information processing method, and program | |
| JP4463282B2 (en) | Information management apparatus and method | |
| JP2001256100A (en) | World Wide Web Browser Device and World Wide Web Update Notification Method | |
| JP2001117550A (en) | Data conversion device, data conversion method, and computer-readable recording medium | |
| JPH09190372A (en) | Information management device and method | |
| JP2001117918A (en) | Document editing processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050617 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051220 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060217 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061102 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061227 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20070601 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090731 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090916 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121002 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121002 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131002 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |