Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2

Size: px
Start display at page:

Download "Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2"

Transcription

1 Kinect IS Report No Report Medical Information System Laboratory

2 Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2

3 Body A A A

4 1 Kinect Microsoft Xbox 360 RGB 3 Kinect Xbox Windows PC Kinect for Windows( Kinect v1) Kinect v1 Kinect 1) RGB kinect for Windows v2( Kinect v2) kinect v2 2

5 2 2.1 Kinect v2 Table. 2.1 Table. 2.1 OS Windows 8 CPU Visual Studio 2012 USB3.0 Dual-Core 2.66GHz GPU DirectX 11.0 RAM 2.0GBytes Kinect v1 Windows 7 Kinect v2 Windows 8 Visual Studio 2012 Kinect v1 USB2.0 Kinect v2 USB Kinect v2 Microsoft Kinect for Windows SDK SDK 1. SDK(Kinect for Windows SDK 2.0 Public Preview) Fig Fig. 2.1 SDK ( ) 2. SDK Fig

6 2.2 2 Fig. 2.2 ( ) 3. Kinect v2 PC PC Gesture Builder Kinect Studio v2.0 SDK Browser v2.0 (Kinect for Windows) 4. SDK Browser v2.0 (Kinect for Windows) Fig. 2.3 RUN SDK Browser v2.0 (Kinect for Windows) Color Depth Body Fig. 2.3 SDK Browser v2.0 (Kinect for Windows) ( ) 4

7 3 3.1 Kinect v2 Visual Studio 2013 Visual C# WPF Microsoft.Kinect Fig. 3.1 Kinect v2 using Microsoft.Kinect (a) WPF Fig. 3.1 ( ) (b) CameraMode.color color Depth Infrared CameraMode.Color RGB Bitmap Fig. 3.2(a) CameraMode.Depth Bitmap Kinect v2 TOF(Time Of Flight) Fig. 3.2(b) CameraMode.Infrared Bitmap Fig. 3.2(c) 5

8 3.3Body 3 (a) (b) (c) Fig. 3.2 ( ) 3.3 Body Body Kinect 6 joint( ) joint Fig. 3.3(a) 25 joint joint joint (1 Color 2 Depth/Infrared) CoordinateMapper / image joint 2 pointx pointy 4/10 Fig. 3.3(b) Body 1 ColorSpacePoint colorpoint = sensor.coordinatemapper.mapcamerapointtocolorspace( jointposition); 2 DepthSpacePoint depthpoint = sensor.coordinatemapper.mapcamerapointtodepthspace( jointposition); (a) joint Fig. 3.3 joint ( ) (b) Body 6

9 TextBox joint Elbow Left Hand Left 2 MainWindow.xaml 1 MainWindow.xaml.cs body 2 p1 Elbow Left 2 p2 Hand Left 2 TextBox Fig CameraSpacePoint jointposition = joint.position; 2 3 if (i == 0) 4 { // 3D space point 5 jointposition = body.joints[jointtype.elbowleft].position; 6 } 7 if (i == 1) 8 { // 3D space point 9 jointposition = body.joints[jointtype.handleft].position; 10 } // 2D space point 13 System.Windows.Point point = new System.Windows.Point(); if ( mode == CameraMode.Color) 16 { 17 ColorSpacePoint colorpoint = sensor.coordinatemapper.mapcamerapointtocolorspace( jointposition); point.x = float.isinfinity(colorpoint.x)? 0 : colorpoint.x; 20 point.y = float.isinfinity(colorpoint.y)? 0 : colorpoint.y; if (i == 0) 23 { 24 p1 = point; 25 } 26 if (i == 1) 27 { 28 p2 = point; 29 } 30 } Fig. 3.4 ( ) 7

10 A A.1 MainWindow.xaml 1 <Window x:class=" v2.mainwindow" 2 xmlns=" 3 xmlns:x=" 4 Title="MainWindow" Height="550" Width="730" 5 Loaded="Window_Loaded" Closed="Window_Closed"> 6 7 <Grid> 8 <Image Name="camera" Width="768" Height="432" /> 9 <Canvas Name="canvas" Width="768" Height="432" /> 10 <Button x:name="_screenshotbutton" Content="ScreenShot" Margin="0,480,620,0" Click="_ScreenshotButton_Click" /> 11 <Label x:name="label1" Content="" HorizontalAlignment="Left" Margin=" 107,487,0,0" VerticalAlignment="Top" Width="147"/> 12 </Grid> 13 </Window> MainWindow.xaml.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Windows; 7 using System.Windows.Controls; 8 using System.Windows.Data; 9 using System.Windows.Documents; 10 using System.Windows.Input; 11 using System.Windows.Media; 12 using System.Windows.Media.Imaging; 13 using System.Windows.Navigation; 14 using System.Windows.Shapes; 15 using Microsoft.Kinect; namespace v2 18 { 19 /// <summary> 20 /// MainWindow.xaml 21 /// </summary> 22 public partial class MainWindow : Window 23 { 24 KinectSensor sensor; 25 MultiSourceFrameReader reader; 26 IList<Body> bodies; CameraMode mode = CameraMode.Color; public MainWindow() 31 { 32 InitializeComponent(); 33 } private void Window Loaded(object sender, RoutedEventArgs e) 36 { 8

11 A.1 A 37 sensor = KinectSensor.GetDefault(); if ( sensor!= null) 40 { 41 sensor.open(); reader = sensor.openmultisourceframereader(framesourcetypes.color FrameSourceTypes.Depth FrameSourceTypes.Infrared FrameSourceTypes. Body); 44 reader.multisourceframearrived += Reader MultiSourceFrameArrived; 45 } 46 } private void Window Closed(object sender, EventArgs e) 49 { 50 if ( reader!= null) 51 { 52 reader.dispose(); 53 } if ( bodies!= null) 56 { 57 if ( bodies.count() > 0) 58 { 59 foreach (var body in bodies) 60 { 61 // body.dispose(); 62 } 63 } 64 } if ( sensor!= null) 67 { 68 sensor.close(); 69 } 70 } void Reader MultiSourceFrameArrived(object sender, MultiSourceFrameArrivedEventArgs e) 73 { 74 var reference = e.framereference.acquireframe(); // Color 77 using (var frame = reference.colorframereference.acquireframe()) 78 { 79 if (frame!= null) 80 { 81 if ( mode == CameraMode.Color) 82 { 83 camera.source = frame.tobitmap(); 84 } 85 } 86 } // Depth 89 using (var frame = reference.depthframereference.acquireframe()) 90 { 91 if (frame!= null) 92 { 93 if ( mode == CameraMode.Depth) 94 { 95 camera.source = frame.tobitmap(); 96 } 97 } 98 } // Infrared 9

12 A.1 A 101 using (var frame = reference.infraredframereference.acquireframe()) 102 { 103 if (frame!= null) 104 { 105 if ( mode == CameraMode.Infrared) 106 { 107 camera.source = frame.tobitmap(); 108 } 109 } 110 } // Body 113 using (var frame = reference.bodyframereference.acquireframe()) 114 { 115 if (frame!= null) 116 { 117 canvas.children.clear(); bodies = new Body[frame.BodyFrameSource.BodyCount]; frame.getandrefreshbodydata( bodies); foreach (var body in bodies) 124 { 125 if (body.istracked) 126 { 127 // COORDINATE MAPPING 128 foreach (Joint joint in body.joints.values) 129 { 130 if (joint.trackingstate == TrackingState.Tracked) 131 { 132 // 3D space point 133 CameraSpacePoint jointposition = joint.position; // 2D space point 136 System.Windows.Point point = new System.Windows.Point(); if ( mode == CameraMode.Color) 139 { 140 ColorSpacePoint colorpoint = sensor.coordinatemapper. MapCameraPointToColorSpace(jointPosition); point.x = float.isinfinity(colorpoint.x)? 0 : colorpoint.x; 143 point.y = float.isinfinity(colorpoint.y)? 0 : colorpoint.y; 144 } 145 else if ( mode == CameraMode.Depth mode == CameraMode.Infrared) // Change the Image and Canvas dimensions to 512x { 147 DepthSpacePoint depthpoint = sensor.coordinatemapper. MapCameraPointToDepthSpace(jointPosition); point.x = float.isinfinity(depthpoint.x)? 0 : depthpoint. X; 150 point.y = float.isinfinity(depthpoint.y)? 0 : depthpoint. Y; 151 } // Draw 154 Ellipse ellipse = new Ellipse 155 { 156 Fill = System.Windows.Media.Brushes.Red, 157 Width = 15, 158 Height = }; Canvas.SetLeft(ellipse, point.x 4 / 10 ellipse.width / 2); 10

13 A.2 A 162 Canvas.SetTop(ellipse, point.y 4 / 10 ellipse.height / 2); canvas.children.add(ellipse); 165 } 166 } 167 } } 170 } 171 } 172 } /// <summary> 175 /// 176 /// </summary> 177 int count = 0; 178 private void ScreenshotButton Click(object sender, RoutedEventArgs e) 179 { 180 count++; 181 string name = "capture" + count + ".bmp"; 182 Bitmap bmp = new Bitmap(Screen.PrimaryScreen.Bounds.Width, 183 Screen.PrimaryScreen.Bounds.Height); 184 //Graphics 185 Graphics g = Graphics.FromImage(bmp); 186 // 187 g.copyfromscreen(new System.Drawing.Point(0, 0), new System.Drawing.Point(0, 0), bmp.size); 188 // 189 bmp.save(name); 190 g.dispose(); 191 label1.content = "save " + name; 192 } 193 } enum CameraMode 196 { 197 Color, 198 Depth, 199 Infrared 200 } 201 } A <Window x:class=" v2.mainwindow" 2 xmlns=" 3 xmlns:x=" 4 Title="MainWindow" Height="550" Width="730" 5 Loaded="Window_Loaded" Closed="Window_Closed"> 6 7 <Grid> 8 <Image Name="camera" Width="768" Height="432" /> 9 <Canvas Name="canvas" Width="768" Height="432" /> 10 <Button x:name="_screenshotbutton" Content="ScreenShot" Margin="0,480,620,0" Click="_ScreenshotButton_Click" /> 11 <Label x:name="label1" Content="" HorizontalAlignment="Left" Margin=" 107,487,0,0" VerticalAlignment="Top" Width="147"/> 12 <TextBox x:name="text1" Content="" HorizontalAlignment="Left" Height="40" TextWrapping="Wrap" Margin="10,4,0,0" VerticalAlignment="Top" Width="117" FontSize="28" /> 13 </Grid> 14 </Window> 2 11

14 A.2 A 1 // COORDINATE MAPPING 2 foreach (Joint joint in body.joints.values) 3 { 4 if (joint.trackingstate == TrackingState.Tracked) 5 { 6 for (int i = 0; i < 2; i++) 7 { 8 CameraSpacePoint jointposition = joint.position; 9 10 if (i == 0) 11 { 12 // 3D space point 13 jointposition = body.joints[jointtype.elbowleft].position; 14 } 15 if (i == 1) 16 { 17 // 3D space point 18 jointposition = body.joints[jointtype.handleft].position; 19 } // 2D space point 22 System.Windows.Point point = new System.Windows.Point(); if ( mode == CameraMode.Color) 25 { 26 ColorSpacePoint colorpoint = sensor.coordinatemapper.mapcamerapointtocolorspace( jointposition); point.x = float.isinfinity(colorpoint.x)? 0 : colorpoint.x; 29 point.y = float.isinfinity(colorpoint.y)? 0 : colorpoint.y; if (i == 0) 32 { 33 p1 = point; 34 } 35 if (i == 1) 36 { 37 p2 = point; 38 } 39 } 40 else if ( mode == CameraMode.Depth mode == CameraMode.Infrared) // Change the Image and Canvas dimensions to 512x { 42 DepthSpacePoint depthpoint = sensor.coordinatemapper. MapCameraPointToDepthSpace(jointPosition); point.x = float.isinfinity(depthpoint.x)? 0 : depthpoint.x; 45 point.y = float.isinfinity(depthpoint.y)? 0 : depthpoint.y; 46 } // Draw 49 Ellipse ellipse = new Ellipse 50 { 51 Fill = System.Windows.Media.Brushes.Red, 52 Width = 15, 53 Height = }; Canvas.SetLeft(ellipse, point.x 4 / 10 ellipse.width / 2); 57 Canvas.SetTop(ellipse, point.y 4 / 10 ellipse.height / 2); canvas.children.add(ellipse); 60 } double v1 = Math.Sqrt( ); 12

15 A.2 A 63 double v2 = Math.Sqrt((p2.X p1.x) (p2.x p1.x) + (p2.y p1.y) (p2.y p1.y )); 64 double v3 = (10 (p2.x p1.x) + 0 (p2.y p1.y)); double degree = (Math.Acos(v3 / v1 / v2)) 180 / Math.PI; 67 double deg = (180 degree); if (p1.y >p2.y) 70 { 71 Text1.Text = ("+ " + deg.tostring("f1")); 72 } else if (p1.y <p2.y) 75 { 76 Text1.Text = ("- " + deg.tostring("f1")); 77 } 78 else if (p1.y == p2.y) 79 { 80 Text1.Text = (" 0"); 81 } 82 } 83 } 13

16 1),,. Kinect for windows sdk c#., No. 1,

VGB Kinect v2 VGB VGB Kinect v2 3 VGB VGB Discrete Continuous 2 Discrete : Jump, Sit, NicoNii AdaBoost (Confidence) Visual Studio 2013 or 2012 () Kine

VGB Kinect v2 VGB VGB Kinect v2 3 VGB VGB Discrete Continuous 2 Discrete : Jump, Sit, NicoNii AdaBoost (Confidence) Visual Studio 2013 or 2012 () Kine Kinect v2 Visual Gesture Builder Buu C87 2014.12.30 1 Kinect for Windows Leap Motion RealSense RGB 1 Kinect for Windows [1] 2010 Kinect for Xbox 360 2012 [2] [3] Kinect DanceEvolution ARCADE 2014 Kinect

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 WPF アプリケーションの 多言語切替 YK S o f t w a r e 2015 年 6 月 2 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++

More information

Chart3D for WPF/Silverlight

Chart3D for WPF/Silverlight 2018.04.10 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for WPF/Silverlight のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: プロジェクトへのコントロールの追加 4-5 手順 2: データの追加 5-6 手順 3: グラフの外観の変更 6-7 手順 4: 凡例の追加 7 手順 5: プロジェクトの実行 7 XAML クイックリファレンス

More information

画像処理技術を利用した Kinectの応用

画像処理技術を利用した Kinectの応用 はじめての Kinect for Windows v2 2014/09/24,26 東京エレクトロンデバイス株式会社主催 Kinect for Windows v2 最新情報セミナー Natural Software 中村薫 自己紹介 中村薫 フリーランスで主にDepthセンサー系の仕事をしていますアプリケーション開発 講演 ハンズオンセミナー 執筆など Microsoft MVP for Kinect

More information

スライド 1

スライド 1 C# の基本 ~ ファイル読み込み ~ 今回学ぶ事 今回はファイル読み書きに必要 BinaryReader クラスについて記載する ファイル参照ダイアログである OpenFileDialog クラスについても理解を深める また Bitmap クラスを用いた Bitmap ファイルの読み込み方法についても学ぶ フォーム作り まず label picturebox を配置する ツールボックスより左クリックで選択する

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 1 02 グラフゖックで簡単な図形を描く図形描画プログラム 1 今回作成するゕプリケーションの概要 ボタンをクリックすると図形を描くプログラム 行われる動作 [1] ボタンをクリック [2] そのボタンに対する図形を描く これを使用者とコンピュータの関係で描くと [ 使用者 コンピュータ ] ボタンをクリック [ 使用者 コンピュータ ] 図形を描画して見せる 使用者がコンピュータにすること ボタンをクリック

More information

C#の基本2 ~プログラムの制御構造~

C#の基本2 ~プログラムの制御構造~ C# の基本 2 ~ プログラムの制御構造 ~ 今回学ぶ事 プログラムの制御構造としての単岐選択処理 (If 文 ) 前判定繰り返し処理(for 文 ) について説明を行う また 整数型 (int 型 ) 等の組み込み型や配列型についても解説を行う 今回作るプログラム 入れた文字の平均 分散 標準偏差を表示するプログラム このプログラムでは calc ボタンを押すと計算を行う (value は整数に限る

More information

untitled

untitled Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...

More information

KINECT for Windows入門

KINECT for Windows入門 KINECT for Windows v2 はじめてのKINECT みずほ 情 報 総 研 株 式 会 社 サイエンスソリューション 部 下 元 正 義 Kinect は 米 国 Microsoft Corporation 及 びまたはその 関 連 会 社 の 登 録 商 標 または 商 標 です その 他 の 会 社 名 システム 名 製 品 名 は 一 般 に 各 社 の 登 録 商 標 または

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 元に戻す操作の実装 YK S o f t w a r e 2015 年 8 月 7 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++ (Windows

More information

DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別で

DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別で DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別できます こんなコードを追加 string str = Console.ReadLine(); int

More information

Visual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバー

Visual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバー Visual Studio2008 C# で JAN13 バーコードイメージを作成 xbase 言語をご利用の現場でバーコードの出力が必要なことが多々あります xbase 言語製品によっては 標準でバーコード描画機能が付加されているものもあるようで す C# では バーコードフォントを利用したりバーコード OCX や バーコード対応レ ポートツールが豊富にありますので それほど困ることは無いと思われます

More information

VB 資料 電脳梁山泊烏賊塾 音声認識 System.Speech の利用 System.Speech に依るディクテーション ( 音声を文字列化 ).NetFramework3.0 以上 (Visual Studio 2010 以降 ) では 標準で System.Speech が用意されて居るの

VB 資料 電脳梁山泊烏賊塾 音声認識 System.Speech の利用 System.Speech に依るディクテーション ( 音声を文字列化 ).NetFramework3.0 以上 (Visual Studio 2010 以降 ) では 標準で System.Speech が用意されて居るの 音声認識 System.Speech の利用 System.Speech に依るディクテーション ( 音声を文字列化 ).NetFramework3.0 以上 (Visual Studio 2010 以降 ) では 標準で System.Speech が用意されて居るので 此れを利用して音声認識を行うサンプルを紹介する 下記の様な Windows フォームアプリケーションを作成する エディタを起動すると

More information

C#の基本

C#の基本 C# の基本 ~ 開発環境の使い方 ~ C# とは プログラミング言語のひとつであり C C++ Java 等に並ぶ代表的な言語の一つである 容易に GUI( グラフィックやボタンとの連携ができる ) プログラミングが可能である メモリ管理等の煩雑な操作が必要なく 比較的初心者向きの言語である C# の利点 C C++ に比べて メモリ管理が必要ない GUIが作りやすい Javaに比べて コードの制限が少ない

More information

グラフィックス

グラフィックス グラフィックス PictureBox の Image プロパティに関する良く有る勘違い PictureBox に画像を表示する方法と仕て PictureBox の Image プロパティを使う方法と Graphics の DrawImage メソッドを使う方法が有るが 此の 2 つの方法を混同し 正しく理解して居ない事が多い様で有る 例えば 下記に列挙する様な状況が 此れに該当する 1.PictureBox

More information

新しいイテレーション型開発

新しいイテレーション型開発 2 XAML WPF Windows Presentation Foundation 4 / 4 5 Silverlight 5 XAML 6 6 XAML 6 6 7 8 8 9 XAML 9 XAML 12 12 / / 13 / 14 15 XAML 15 Expression Blend 15 Visual Studio 2008 16 XAML 16 Microsoft Expression

More information

ICONファイルフォーマット

ICONファイルフォーマット グラフィックス 画像フォーマットエンコーダパラメータ 様々なフォーマットで画像を保存 Bitmap クラスを用いる事でビットマップ JPEG GIF PNG 等様々なフォーマットの画像を読み込み操作する事が出来る 更に Bitmap クラスや Graphics コンテナを用いて描画処理等を施したイメージをファイルに保存する事も出来る 此の時 読み込めるフォーマット同様に保存するフォーマットを選択する事が出来る

More information

BarCode for WPF

BarCode for WPF 2018.04.10 更新 グレープシティ株式会社 目次 BarCode for WPF 2 はじめに 2 ComponentOne for WPF のヘルプ 2 主な特長 2 クイックスタート 2 手順 1: アプリケーションの設定 2-3 手順 2: コードの追加 3-5 手順 3: アプリケーションの実行 5-7 BarCode for WPF の使い方 7 サポートされるエンコーディング 7-9

More information

目次 1. 研究の背景と目的 Kinect の概要 Kinect の仕組み Kinect の原理 Kinect for Windows と Xbox 360 Kinect Kinect の実用例...3

目次 1. 研究の背景と目的 Kinect の概要 Kinect の仕組み Kinect の原理 Kinect for Windows と Xbox 360 Kinect Kinect の実用例...3 平成 25 年度卒業研究論文 拡張現実 (AR) を用いた 3D シミュレーションアプリの開発 - Kinect で実現するナチュラルユーザーインターフェース - 近畿大学工学部 情報システム工学科情報メディアコース 1010960077 太田雄介 2014.02.10 提出 目次 1. 研究の背景と目的...1 1.1 Kinect の概要...2 1.1.1 Kinect の仕組み...2 1.1.2

More information

TOEIC

TOEIC TOEIC 1 1 3 1.1.............................................. 3 1.2 C#........................................... 3 2 Visual Studio.NET Windows 5 2.1....................................... 5 2.2..........................................

More information

BarCode for UWP

BarCode for UWP 2018.03.06 更新 グレープシティ株式会社 目次 BarCode for UWP 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの設定 4-5 手順 2: コードの追加 5-7 手順 3: アプリケーションの実行 7-9 C1BarCode の使い方 10 サポートされるエンコーディング 10-12 コントロールのカスタマイズ 12-13 1 Copyright GrapeCity

More information

Java学習教材

Java学習教材 Java 2016/4/17 Java 1 Java1 : 280 : (2010/1/29) ISBN-10: 4798120987 ISBN-13: 978-4798120980 2010/1/29 1 Java 1 Java Java Java class FirstExample { public static void main(string[] args) { System.out.println("

More information

XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1-

XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1- XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1- XAML Do-It-Yourself 第 7 回テンプレート XAML Do-It-Yourself 第 7 回は テンプレートについて学習します テンプレートを使うと コントロ ールの外観を拡張できます 今回は テンプレートを使って 以下の内容を学習します テンプレートによるコントロールのカスタマズ バンデゖングデータの表示に使用するテンプレート

More information

XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1-

XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1- XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1- XAML Do-It-Yourself 第 1 回 XAML 概要 はじめに - XAML Do-It-Yourself について 本 XAML Do-It-Yourself シリーズでは 13 回にわたって XAML (Extensible Application Markup Language) の基礎を学習していきます

More information

A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3,

A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 40 2 1. 2 2. 52 3. A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2 4. 13 5. 6. 7. 8. 9. 13 10. 11. 12. 1 VC++ VC++ Visual C++ Professional 2010 Visual C++ 2010 express Windows whist 2 OK] 3 Form1 size 800, 500

More information

<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63>

<4D F736F F D B B83578B6594BB2D834A836F815B82D082C88C60202E646F63> デザイン言語 Processing 入門 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/084931 このサンプルページの内容は, 初版 1 刷発行当時のものです. Processing Ben Fry Casey Reas Windows Mac Linux Lesson 1 Processing

More information

ピコ秒パルスレーザ基板ライブラリ (tmhidld.dll) 説明書 珠電子株式会社 2013/04/30 概要 ピコ秒パルスレーザ基板を制御するための.Net Framework 4.0 ライブラリについて説明します ユーザアプリケーション (VB.net VC.net VC#.net LabVI

ピコ秒パルスレーザ基板ライブラリ (tmhidld.dll) 説明書 珠電子株式会社 2013/04/30 概要 ピコ秒パルスレーザ基板を制御するための.Net Framework 4.0 ライブラリについて説明します ユーザアプリケーション (VB.net VC.net VC#.net LabVI ピコ秒パルスレーザ基板ライブラリ (tmhidld.dll) 説明書 珠電子株式会社 2013/04/30 概要 ピコ秒パルスレーザ基板を制御するための.Net Framework 4.0 ライブラリについて説明します ユーザアプリケーション (VB.net VC.net VC#.net LabVIEW など ) tmhidld.dll.net framework4.0 setupapi.dll 本パルスボードシステムは

More information

HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Stu

HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Stu HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Studio で "Windows Phone ゕプリケーション " プロジェクトテンプレートを使って "HTML5BrowserFeatures"

More information

第1回日本産婦人科

第1回日本産婦人科 e e TEL045-231-0960 TEL03-3433-1111 3360 4 2 1 1024768 OS RGB -15pins Dsub-15pins PowerPoint PC WindowsXPMicrosoft PowerPoint2002 Microsoft Power Point ( PC ) Windows USB CD-R PC 30 PC PC 36

More information

OpenCV IS Report No Report Medical Information System Labratry

OpenCV IS Report No Report Medical Information System Labratry OpenCV 2014 8 25 IS Report No. 2014090201 Report Medical Information System Labratry Abstract OpenCV OpenCV 1............................ 2 1.1 OpenCV.......................... 2 1.2......................

More information

r3.dvi

r3.dvi 00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;

More information

< F2D82518E9F8AD CC834F CC8CFC82AB82C68D4C>

< F2D82518E9F8AD CC834F CC8CFC82AB82C68D4C> 2 次関数のグラフの向きと広がり [Java アプレット ] [Java アプリケーション ] 1. はじめに 2 2 y=ax のグラフについて x の係数 aが正のときと負のときでは グラフにどのような違いがあるでしょうか 2 2 y=ax のグラフについて x の係数 aが正のとき 係数 aの値が大きくなるにつれて グラフの広がりはどうなるでしょうか 2 2 y=ax のグラフについて x の係数

More information

< F2D A839382CC906A2E6A7464>

< F2D A839382CC906A2E6A7464> ビュホンの針 1. はじめに [Java アプレット ] [Java アプリケーション ] ビュホン ( Buffon 1707-1788) は 針を投げて円周率 πを求めることを考えました 平面上に 幅 2aの間隔で 平行線を無数に引いておきます この平面上に長さ2bの針を落とすと この針が平行線と交わる確立 pは p=(2b) (aπ) 1 となります ただし b

More information

平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也

平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也 平成 29 年度卒業研究 初心者のためのゲームプログラミング用 教材の開発 函館工業高等専門学校生産システム工学科情報コース 5 年 25 番細見政央指導教員東海林智也 目次 第 1 章英文アブストラクト第 2 章研究目的第 3 章研究背景第 4 章開発環境第 5 章開発した 2D ゲーム制作ライブラリの概要第 6 章ライブラリの使用方法第 7 章まとめと今後の課題参考文献 1 第 1 章英文アブストラクト

More information

ウィンドウ操作 応用

ウィンドウ操作 応用 Win32API 関数 ウィンドウ操作 ウィンドウ名でトップレベルウィンドウ ( 親を持たないウィンドウ ) のハンドルを取得 メモ帳や電卓等のウィンドウ名でトップレベルウィンドウ ( 親を持たないウィンドウ ) のハンドルを取得する方法を 下記に示す Visual Basic Imports System.Runtime.InteropServices Public Class WindowFromWindowName

More information

...Visual Studio 2015\Projects\MyHomePage 用サンプル \Database(Access2)\Database(Access2)\MainForm.cs 2 れを含めておかないと Database への更新がきかない oadp.fill(dtbl); dgvk

...Visual Studio 2015\Projects\MyHomePage 用サンプル \Database(Access2)\Database(Access2)\MainForm.cs 2 れを含めておかないと Database への更新がきかない oadp.fill(dtbl); dgvk ...Visual Studio 2015\Projects\MyHomePage 用サンプル \Database(Access2)\Database(Access2)\MainForm.cs 1 /* Database(Access) とやりとりするその 2 DataGridView による編集 */ 2015.9.21~9.23 仕様 DataGridView 上でデータのさまざまな直接編集が行えるようにする

More information

FinancialChart for WPF

FinancialChart for WPF 2018.07.20 更新 グレープシティ株式会社 目次 FinancialChart for WPF の概要 2 主な特長 3 クイックスタート 4 手順 1: フォームへの FinancialChart の追加 4-5 手順 2: データソースへの FinancialChart の連結 5-7 手順 3: アプリケーションの実行 7-8 株価チャートタイプ 9-18 分析機能 19 傾向線 19-21

More information

XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1-

XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1- XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1- XAML Do-It-Yourself 第 8 回ゕニメーション XAML Do-It-Yourself 第 8 回は ゕニメーションについて学習します XAML (WPF) が提供するゕニメ ーション機能は 時間の経過と共に コントロールのプロパテゖを変化させる機能です コントロールに 含まれるほとんどのプロパテゖに対して

More information

ch31.dvi

ch31.dvi 1 1 1.1 1.1.1 ( ) ( 1.1 ): [ ] [ ] CPU[ + ] [ ] CPU( ) ( 1 2 1 1.1: ( 1.1 ): ( ) [ ] ( )[ ] + ( ) (+ ) ( ) ( ) 1.1. 3 1.2: ( ) ( ) ( 1.2) 4 1 1.3: 120m/ (432km/h) 0.5 2m/ 1 ( 1 ) ( ) ( ) ( 1.3) 1.1. 5

More information

Microsoft PowerPoint - Windows Presentation Foundation (WPF) 3.5 の新機能

Microsoft PowerPoint - Windows Presentation Foundation (WPF) 3.5 の新機能 WPF 3.5 の新機能 川 裕幸 UX エバンジェリスト デベロッパー & プラットフォーム統括本部 マイクロソフト株式会社 WPF 3.5?.NET Framework 3.5 に含まれる WPF SP1 + 新しいアセンブリ (System.Core.dll など ) Linq は System.Core.dll に含まれる.NET Framework 3.0 SP1 に含まれる WPF Windows

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 パスワード認証 YK S o f t w a r e 2015 年 8 月 3 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++ (Windows

More information

マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部 井上大輔 井上章

マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部 井上大輔 井上章 マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部 井上大輔 井上章 タスクバーリボン UI マルチタッチ マイクロソフト株式会社デベロッパー & プラットフォーム統括本部エバンジェリスト井上大輔 ( いのうえだいすけ ) マルチタッチで出来ること マルチタッチ環境 マルチタッチ API フィンガータッチオペレーション マルチタッチで出来ること HP TouchSmart 2

More information

: : : TSTank 2

: : : TSTank 2 Java (8) 2008-05-20 Lesson6 Lesson5 Java 1 Lesson 6: TSTank1, TSTank2, TSTank3 java 2 car1 car2 Car car1 = new Car(); Car car2 = new Car(); car1.setcolor(red); car2.setcolor(blue); car2.changeengine(jet);

More information

10K pdf

10K pdf #1 #2 Java class Circle { double x; // x double y; // y double radius; // void set(double tx, double ty){ x = tx; y = ty; void set(double tx, double ty, double r) { x = tx; y = ty; radius = r; // Circle

More information

WinHPC ppt

WinHPC ppt MPI.NET C# 2 2009 1 20 MPI.NET MPI.NET C# MPI.NET C# MPI MPI.NET 1 1 MPI.NET C# Hello World MPI.NET.NET Framework.NET C# API C# Microsoft.NET java.net (Visual Basic.NET Visual C++) C# class Helloworld

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value = Part2-1-3 Java (*) (*).class Java public static final 1 class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value

More information

Java演習(9) -- クラスとメソッド --

Java演習(9)   -- クラスとメソッド -- Java (9) Java (9) Java (9) 3 (x, y) x 1 30 10 (0, 50) 1 2 10 10 (width - 10, 80) -2 3 50 10 (width / 2, 110) 2 width 3 (RectMove4-1.java) import javax.swing.japplet; import javax.swing.timer; import java.awt.graphics;

More information

プロセス間通信

プロセス間通信 プロセス間通信 プロセス間通信 (SendMessage) プロセス間通信とは 同一コンピューター上で起動して居るアプリケーション間でデータを受け渡し度い事は時々有る Framework には リモート処理 と謂う方法でデータの受け渡しを行なう方法が有る 此処では 此の方法では無く 従来の方法の API を使用したプロセス間通信を紹介する 此の方法は 送信側は API の SendMessage で送り

More information

cpp4.dvi

cpp4.dvi 2017 c 4 C++ (4) C++, 41, 42, 1, 43,, 44 45, 41 (inheritance),, C++,, 100, 50, PCMCIA,,,,,,,,, 42 1 421 ( ), car 1 [List 41] 1: class car { 2: private: 3: std::string m model; // 4: std::string m maker;

More information

-1-1 1 1 1 1 12 31 2 2 3 4

-1-1 1 1 1 1 12 31 2 2 3 4 2007 -1-1 1 1 1 1 12 31 2 2 3 4 -2-5 6 CPU 3 Windows98 1 -3-2. 3. -4-4 2 5 1 1 1 -5- 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000-6- -7-1 Windows 2 -8-1 2 3 4 - - 100,000 200,000 500,000

More information

Arduino UNO IS Report No. Report Medical Information System Laboratory

Arduino UNO IS Report No. Report Medical Information System Laboratory Arduino UNO 2015 2 25 IS Report No. Report Medical Information System Laboratory Abstract ( ) Arduino / Arduino Bluetooth Bluetooth : Arduino Arduino UNO Arduino IDE micro computer LED 1............................

More information

PDFViewer for WPF/Silverlight

PDFViewer for WPF/Silverlight 2018.02.20 更新 グレープシティ株式会社 目次 PdfViewer for WPF/Silverlightの概要 2 はじめに 2 PdfViewer の制限 2 主な特長 2-3 クイックスタート 3-4 手順 1: アプリケーションの設定 4 手順 2: ページへのコンテンツの追加 4-6 手順 3: C1PdfViewer アプリケーションの実行 6-7 PdfViewer の要素

More information

ファイル操作

ファイル操作 ファイル操作 TextFieldParser オブジェクト ストリームの読込と書込 Microsoft.VisualBasic.FileIO 名前空間の TextFieldParser オブジェクトは 構造化テキストファイルの解析に使用するメソッドとプロパティを備えたオブジェクトで有る テキストファイルを TextFieldParser で解析するのは テキストファイルを反復処理するのと同じで有り

More information

text_08.dvi

text_08.dvi C 8 12 6 6 8 Java (3) 1 8.1 8 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 8.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

More information

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro TV 1,2,a) 1 2 2015 1 26, 2015 5 21 Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Rotation Using Mobile Device Hiroyuki Kawakita 1,2,a) Toshio Nakagawa 1 Makoto Sato

More information

MVP for VB が語る C# 入門

MVP for VB が語る C# 入門 MVP for VB が語る C# 入門 2008.08.09 初音玲 自己紹介 Z80 アセンブラ 6809 アセンブラ F-BASIC N88-BASIC FORTRAN 77 COBOL LISP Turbo Pascal Prolog KABA C 言語 M シリーズ アセンブラ PL/I VB3.0~ PL/SQL T-SQL VB2005/2008 index Microsoft Visual

More information

Windows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2

Windows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2 Windows C++ Microsoft Visual Studio 2010 C++ Microsoft C++ Microsoft Visual Studio 2010 Microsoft Visual Studio 2010 C++ C C++ Microsoft Visual Studio 2010 Professional Professional 1 Professional Professional

More information

Carousel for WPF/Silverlight

Carousel for WPF/Silverlight 2018.04.10 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for / のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-5 手順 2: アプリケーションへのコンテンツの追加 5-8 手順 3: アプリケーションの実行 8 Carousel for / の使い方 9 C1CarouselPanel の使用 9-10 カルーセルのカスタマイズ

More information

ActionScript Flash Player 8 ActionScript3.0 ActionScript Flash Video ActionScript.swf swf FlashPlayer AVM(Actionscript Virtual Machine) Windows

ActionScript Flash Player 8 ActionScript3.0 ActionScript Flash Video ActionScript.swf swf FlashPlayer AVM(Actionscript Virtual Machine) Windows ActionScript3.0 1 1 YouTube Flash ActionScript3.0 Face detection and hiding using ActionScript3.0 for streaming video on the Internet Ryouta Tanaka 1 and Masanao Koeda 1 Recently, video streaming and video

More information

基礎輪講2週目 Kinectの話

基礎輪講2週目  Kinectの話 基礎輪講 2 週目 Kinect の話 3D Computer Vision カメラから 3 次元の情報を取得 3 次元再構築 :2 次元の画像から 3 次元形状の復元 多視点画像群 3 次元再構築結果 3 次元の情報を持つ画像ってないの? 2 距離画像 Depth( 距離 ) の情報を持った画像 各画素の部分に距離の値が入る. 距離画像 距離画像を取得する機器が必要 3 距離画像センサ 実世界の距離情報を取得できる.

More information

< F2D F B834E2E6A7464>

< F2D F B834E2E6A7464> ランダムウォーク [Java アプレット ] [Java アプレリケーョン ] 1. はじめに 酔っぱらいは前後左右見境なくふらつきます 酔っぱらいは目的地にたどり着こうと歩き回っているうちに何度も同じところに戻って来てしまったりするものです 今 酔っぱらいが数直線上の原点にいるとします 原点を出発して30 回ふらつくとき 30 回目に酔っぱらいがいる位置は 出発点である原点からどれくらい離れてしまっているのでしょうか

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 鹿児島城西高校 アプリケーションコース 一日体験入学 1. プログラムを作成する BASIC 2. アルゴリズムを考えるプログラミン 3. センサーを使ってみる Kinect VisualBasic のご紹介 起動してみる Visual Studio Express は Microsoft が配布している無料のソフトで Basic C# などの複数の言語 フォームアプリ Web アプリが作成できます

More information

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2;

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2; 5 p.1 5 JPanel (toy example) 5.1 2 extends : Object java.lang.object extends... extends Object Point.java 1 public class Point { // public int x; public int y; Point x y 5.1.1, 5 p.2 5 5.2 Point int Java

More information

ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows XP SP2 Professional ORiN2 SDK USB D

ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows XP SP2 Professional ORiN2 SDK USB D ORiN FA ORiN USB ORiN 1 1 ORiN CAO 1 1 USB USB ORiN 2 3 2 ( ) 3 1 Web ORiN USB ( ) ( ) ( ) ORiN CAO USB (3) CAO CAO USB ORiN CAO USB 1 2 (4) CAO 3 CAO USB 4 PC OS 1 CPU:Pentium IV 2. 8GHz :512MByte Windows

More information