Presentation is loading. Please wait.

Presentation is loading. Please wait.

Human-human interaction Human-object interaction Human-computer interaction.

Similar presentations


Presentation on theme: "Human-human interaction Human-object interaction Human-computer interaction."— Presentation transcript:

1

2

3 Human-human interaction Human-object interaction Human-computer interaction

4 Also known as HCI User interface – A place where interaction between humans & machines occurs Types – Command-line interface – Graphical user interface – Natural user interface

5 DosUnix

6

7

8 8

9

10 SCM-CityU 10Spring 2012

11

12

13

14

15

16

17

18  Four microphone array with hardware-based audio processing – Multichannel echo cancellation (MEC) – Sound position tracking – Other digital signal processing (noise suppression and reduction)

19

20 Start New Windows Presentation Foundation Project Add a reference to: using Microsoft.Kinect;

21

22

23

24

25

26 newSensor.ColorStream.Enable(ColorImageFormat.RgbResolut ion640x480Fps30); newSensor.ColorFrameReady += newSensor_ColorFrameReady;

27

28 using (ColorImageFrame colorFrame = e.OpenColorImageFrame()) { if (colorFrame != null) { // Copy the pixel data from the image to a temporary array colorFrame.CopyPixelDataTo(this.colorPixels); // Write the pixel data into our bitmap this.colorBitmap.WritePixels( new Int32Rect(0, 0, this.colorBitmap.PixelWidth, this.colorBitmap.PixelHeight), this.colorPixels, this.colorBitmap.PixelWidth * sizeof(int), 0); } imgKinect.Source = colorBitmap;

29

30

31

32 void newSensor_SkeletonFrameReady(object sender, SkeletonFrameReadyEvent Args e) { using (SkeletonFrame skeletonFrameData = e.OpenSkeletonFrame()) { if (skeletonFrameData != null) { skeletonFrameData.CopySkeletonDataTo(allSkeletons); Skeleton first = (from s in allSkeletons where s.TrackingState == SkeletonTrackingState.Tracked select s).FirstOrDefault(); //if(first!=null) //this.Title=(first.Joints[JointType.Head].Position.X.ToString()); } } }

33

34

35

36

37

38


Download ppt "Human-human interaction Human-object interaction Human-computer interaction."

Similar presentations


Ads by Google