⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.htm

📁 The J2000 codec was written in an effort to produce the cleanest and simplest implementation possibl
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0105)http://www.j2000.org/cgi-bin/viewcvs.cgi/*checkout*/j2k/docs/install.html?rev=HEAD&content-type=text/html -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<H3>Testing the decoder</H3>
<UL>
  <LI>To test the decoder, you must start by downloading the source-code of the 
  <B>libj2k</B> C library. This library can be downloaded from the 
  <B>J2000.org</B> website using the online CVS browser. <BR><BR><IMG 
  src="install.files/img1.jpg"></IMG> 
  <LI>You can create a <B>c:\j2000\</B> folder and extract the contents of the 
  archive there using WinZip for example. 
  <LI>The next step is to compile the DLL of the library using Visual Studio 6. 
  To do this, you can simply double-click on the 
  <B>c:\j2000\libj2k\libj2k.dsp</B> icon in Windows Explorer and press F7 once 
  the project is opened. 
  <LI>Now that the J2000 library is compiled, you can build one of the 
  applications that use the library. To easily test the decoder, you can 
  download the graphical <B>j2kview</B> JPEG-2000 viewer program. You should 
  also download the <B>sample JPEG-2000 codestreams</B> to test the decoder on. 
  The <B>j2kview</B> program and the sample codestreams can be downloaded using 
  the online CVS browser. Once the tarballs are downloaded, extract the contents 
  int the <B>c:\j2000\</B> folder. 
  <LI>The <B>j2kview</B> program is written in C# and uses the .NET framework. 
  If you don't have the .NET framework SDK installed, you can download it <A 
  href="http://www.microsoft.com/italy/msdn/download/frameworksdk.asp">here</A>. 
  Once the .NET framework SDK is installed, you can compile <B>j2kview</B> using 
  the command <B>csc /unsafe j2kview.cs</B>. The <B>/unsafe</B> switch must be 
  used because <B>j2kview.cs</B> calls the libj2k DLL written in C. 
  <LI>When <B>libj2k</B> and <B>j2kview</B> are compiled, you must add their 
  path to the PATH environment variable. This can be done using the <B>Control 
  Panel</B> by clicking on the <B>System</B> icon and selecting the 
  <B>Advanced</B> tab. The path of the libj2k library is generally 
  <B>c:\j2000\libj2k\debug\</B> and the path of j2kview is 
  <B>c:\j2000\j2kview</B>.<BR><BR><IMG src="install.files/img2.jpg"></IMG> 
  <LI>For your convenience, you may associate the j2kview program with the J2K 
  file type, so that j2kview is launched when you click on a J2K file in Windows 
  Explorer. This can be done by clicking the <B>Folder Options</B> menu item in 
  the <B>Tools</B> menu of Explorer and by selecting the <B>File Types</B> 
  tab.<BR><BR><IMG src="install.files/img3.jpg"></IMG> 
  <LI>At this point, when you click on a J2K file in Windows Explorer, it should 
  be viewed by the j2kview program. You can test this by clicking on the 
  <B>c:\j2000\testing\j2k\p0_01.j2k</B> file that is included with the sample 
  JPEG-2000 codestreams. The resulting decoded image should look like 
  this:<BR><BR><IMG src="install.files/img4.jpg"></IMG> 
  <LI>This J2K sample codestream is encoded using the perfectly reversible 5-3 
  wavelet. You can test that the decoded image is exactly the same as the 
  original by printing the MD5 hashcode of the component in base64. This can be 
  done by right-clicking on the image component and by selecting <B>MD5</B> in 
  the context menu. For this J2K sample, the result is as follows:<BR><BR><IMG 
  src="install.files/img5.jpg"></IMG><BR><BR>This MD5 sum can be compared 
  against the MD5-sum of the original image using PGXView, which can also be 
  downloaded and installed from J2000.org in a way similar to j2kview. </LI></UL>
<H3>Testing the encoder</H3>I'm writing this tomorrow. </BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -