<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/h264hirasa/">
    <title>画像班@Wiki</title>
    <link>http://w.atwiki.jp/h264hirasa/</link>
    <atom:link href="https://w.atwiki.jp/h264hirasa/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>画像班@Wiki</description>

    <dc:language>ja</dc:language>
    <dc:date>2007-12-20T14:03:47+09:00</dc:date>
    <utime>1198127027</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/41.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/33.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/40.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/38.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/37.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/35.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/36.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/h264hirasa/pages/30.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/41.html">
    <title>外部コマンドの実行（C言語）</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/41.html</link>
    <description>
      //c

#include&lt;stdio.h&gt;
#include&lt;string.h&gt;
#include&lt;stdlib.h&gt;

//ログファイルを出力するディレクトリ
char logFile[256] = &quot;./log.txt&quot;;

//実行ファイルのあるディレクトリ
char execFile[256] = &quot;test.exe&quot;;

/**
* グローバルで定義された変数をもとに
* 外部コマンドを実行し，そのログを取ります．
*/
int getExecCommandLog(){
	strcat(execFile,&quot;&gt;&quot;);
	strcat(execFile,logFile);
	system(execFile);
	return 0;
}

void main(){
	getExecCommandLog();
}    </description>
    <dc:date>2007-12-20T14:03:47+09:00</dc:date>
    <utime>1198127027</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/2.html</link>
    <description>
      *メインメニュー
#google()

マイルストーン
-[[1.M２]]
-[[2.M１]]
-[[3.B4]]

文献リスト
-[[1.画像圧縮]]
-[[2.動画像圧縮]]
-[[3.画像分類]]
-[[4.画像検索]]
-[[5.改変画像]]

論文検索とLatexについて
-[[1.検索方法]]
-[[2.Latex,Winshellインストール]]
-[[3.Latex Tips]]

プログラミングTips
-[[1.C言語]]
-[[2.JAVA]]
-[[3.Eclipse]]
-[[4.JAVA (Image)]]
-[[5.画像Programming Tips]]

その他
-[[1.便利ツール]]    </description>
    <dc:date>2007-12-20T12:05:05+09:00</dc:date>
    <utime>1198119905</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/33.html">
    <title>5.画像Programming Tips</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/33.html</link>
    <description>
      画像処理に関する　ソース集です．

&amp;blanklink(画像読み込み（C言語）){画像読み込み（C言語）}

&amp;blanklink(CSVファイル読込書込（C言語）){CSVファイル読込書込（C言語）}

&amp;blanklink(外部コマンドの実行（C言語）){外部コマンドの実行（C言語）}    </description>
    <dc:date>2007-12-20T11:56:37+09:00</dc:date>
    <utime>1198119397</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/40.html">
    <title>1.便利ツール</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/40.html</link>
    <description>
      Irfan View　圧縮形式の一括変換ができて便利です．    </description>
    <dc:date>2007-11-29T17:26:09+09:00</dc:date>
    <utime>1196324769</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/1.html</link>
    <description>
      **早稲田大学 経営システム工学科 平澤研究室 画像班のwikiページです


画像班，予定

10/20
10/21　B5レジュメ第1案提出期限
10/22　
10/23　B5発表練習（Mのチェックを受ける）
10/24　B4発表練習10時～　B5中間発表17時～
10/25　
10/26　B4レジュメ修正版提出期限
10/27　前夜ゼミ22時～（希望者のみ・夕食有）
10/28　B4中間発表10時40分～    </description>
    <dc:date>2007-10-26T15:02:58+09:00</dc:date>
    <utime>1193378578</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/38.html">
    <title>3.Latex Tips</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/38.html</link>
    <description>
      工事中    </description>
    <dc:date>2007-10-22T15:22:31+09:00</dc:date>
    <utime>1193034151</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/37.html">
    <title>2.Latex,Winshellインストール</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/37.html</link>
    <description>
      卒論、修論に出す論文は、Wordではなく、Latex(TEX)で作成するのが、
デフォです。以下に、インストールのヒントになるサイトを載せておきました。

ちなみに、Latexはコンパイラー、WinshellはIDE(統合開発環境)のようなものです。
両方あわせての利用をお勧めします。

Latexのインストールガイド
http://www.iplab.cs.tsukuba.ac.jp/~ishihara/platex_install.htm

Winshellのインストールガイド
http://www.klavis.info/wsinst.html    </description>
    <dc:date>2007-10-22T15:10:39+09:00</dc:date>
    <utime>1193033439</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/35.html">
    <title>画像読み込み（C言語）</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/35.html</link>
    <description>
      //c
#include &lt;stdio.h&gt;
#include &lt;math.h&gt;
#include &lt;stdlib.h&gt;

#define FILE_NAME &quot;sample_yyy.yyy&quot;/*元データのファイル名(ただし、同じディレクトリに保存すること)*/
#define WSIZE 352/*元データの横サイズ*/
#define HSIZE 240/*元データの縦サイズ*/


/*画像データが入ってる配列*/
unsigned char Y[HSIZE][WSIZE];

	
image_input(){
	FILE *fp;
	int k,i,j;
	unsigned char buf[1024];

/*画像ファイルの読み込み*/
	fp = fopen(FILE_NAME, &quot;rb&quot;);
	for(i = 0; i &lt; HSIZE; i++){
		fread(buf, sizeof(unsigned char), WSIZE ,fp);
		for(j = 0; j &lt; WSIZE; j++){
			Y[i][j] = buf[j];
		}
	}


void main(){
image_input();
}
}    </description>
    <dc:date>2007-10-20T18:15:16+09:00</dc:date>
    <utime>1192871716</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/36.html">
    <title>CSVファイル読込書込（C言語）</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/36.html</link>
    <description>
      //c


/***
*プログラムの使い方
*readFile()のfp = fopen( &quot;Book1.csv&quot;, &quot;r&quot; );
*で読込ファイルを、
*writeFile()のfile = fopen(&quot;test.txt&quot;,&quot;w&quot;);
*で書込ファイルを指定しています。
*
*/

#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;

//DATA[gyou][retsu]の行数を指定します
#define gyou 5;
//DATA[gyou][retsu]の列数を指定します
#define retsu 10;

//ファイルの読み込み内容　[行][列]
double DATA[gyou][retsu];
//ファイルの書き込み内容　[要素数] ※要素数は、上の配列の行＊列
double sortedArray[gyou*retsu];

/**
* ファイルを読む
*/
int readFile(){
	FILE *fp;
	char c,data[256];
	int i,j,k;

	for(i = 0;i &lt; 5;i++)
	{
		for(j = 0;j &lt; 10;j++)
			DATA[i][j] = 0;
	}

	//ここで読込ファイル名を指定します
	fp = fopen( &quot;Book1.csv&quot;, &quot;r&quot; );  /* 読み込みモードでオープン */
	if( fp == NULL )
	{
		puts( &quot;ファイルが開けません&quot; );
		return 1;
	}
	
	i = 0;
	j = 0;
	k = 0;
	while(1)
	{
		c = fgetc( fp );      /* １文字読み込み */
		if( feof( fp ) )	break;
		if(c == &#039;,&#039;)
		{
			data[k] = &#039;\0&#039;;
			DATA[i][j] = atof(data);
			j++;
			k = 0;
		}
		else if(c == &#039;\n&#039;)//ここで、区切りの文字を指定します。
		{
			data[k] = &#039;\0&#039;;
			DATA[i][j] = atof(data);
			i++;
			j = 0;
			k = 0;
		}
		else
		{
			data[k] = c;
			k++;
		}
		
	}
	fclose( fp );

	for(i = 0;i &lt; 5;i++)
	{
		for(j = 0;j &lt; 10;j++)
			printf(&quot;%.1f\t&quot;,DATA[i][j]);
		printf(&quot;\n&quot;);
	}
	return 0;
}

/**
* sortedArray[]をスペース区切りで
ファイルに書き込みます。
*/
int writeFile(){
	int i = 0;

	FILE *file;
//ここで書込ファイル名を指定します
	file = fopen(&quot;test.txt&quot;,&quot;w&quot;);

	for(i=0;i&lt;gyou*retsu;i++){
		fprintf(file,&quot;%f &quot;,sortedArray[i]);
	}
	fclose(file);
	return 0;
}

/**
* 配列をバブルソートします。
*/
int sortArray(){
	//DATA[][]の値をsortedArray[]に挿入します
	int i, j, k;
	for(i=0 ;i &lt; gyou; i++){
		for(j=0; j&lt; retsu; j++){
			sortedArray[k] = DATA[i][j];
		}
	}

	return 0;
}


int main(void){
	readFile();
	sortArray();

	return 0;
}    </description>
    <dc:date>2007-10-20T18:14:39+09:00</dc:date>
    <utime>1192871679</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/h264hirasa/pages/30.html">
    <title>0.画像ゼミ</title>
    <link>https://w.atwiki.jp/h264hirasa/pages/30.html</link>
    <description>
      10/20
10/21　B5レジュメ第1案提出期限
10/22　
10/23　B5発表練習（Mのチェックを受ける）
10/24　B4発表練習10時～　B5中間発表17時～
10/25　
10/26　B4レジュメ修正版提出期限
10/27　前夜ゼミ22時～（希望者のみ・夕食有）
10/28　B4中間発表10時40分～    </description>
    <dc:date>2007-10-20T18:09:20+09:00</dc:date>
    <utime>1192871360</utime>
  </item>
  </rdf:RDF>
