Upload
hoanglien
View
215
Download
0
Embed Size (px)
Citation preview
3D HEALTHY TOWN
IT PROJECT ID:# 1026
BY: Doha Mahmoud Hamdan, Email: [email protected] Dua'a Mahmoud Saleh, Email: [email protected] Bara’a Hourani, Email: [email protected] Sally Odeh Abu Sneineh, Email: [email protected]
SUPERVISOR: Eng. Ghada Al-Mashaqbeh
Email: [email protected]
Z A Y E D U N I V E R S I T Y C O M P E T I T I O N I N I T
H A S H E M I T E U N I V E R S I T Y Z A R Q A , J O R D A N
‐ 1 ‐
Project Profile
Project Title 3D Healthy Town
Project Objective 3D user friendly application to aid in physical and spiritual health care for adults.
Scope of Project Health care for adults.
Organization The Hashemite University
Internal Guide Eng. Ghada Al-Mashaqbeh Team Size Four.
Developed By Doha Hamdan. Dua’a Saleh Bara’a Hourani. Sally Odeh.
Used Technologies Microsoft Visual C# 2010, WPF, Microsoft SQL Server 2008, Microsoft Agent, XAML, Photoshop, and other supporting applications.
Project Duration December 25, 2010 to February 28, 2011
Abstract The 3D Healthy Town application is intended to support e-health software field. It is an interactive e-health system where it supports both physical and spiritual health in a very simple, yet accurate and efficient, approach. It is designed as a complete 3D town using high graphic design skills. It helps the user in many health care related areas including: clinical services, fitness, nutrition, diet organizer, music therapy, and an exercises reminder for computer users’ health care.
Preview A complete tour inside the project is available at: http://www.youtube.com/watch?v=BrMz8w7mKR8
‐ 2 ‐
Table of Contents
Project Profile …………………………………………..…………………………… 1
Table of Contents ……………………………………..……………………...……... 2
1. Introduction ………………………………………..……………………..….….. 3
2. Related Work …………………………………………..………………………... 3
3. Healthy Town Design …………………………………...……………………..... 4
4. Healthy Town Implementation ………………………………………………… 6
4.1 Reception Building ………………………………………………………. 8
4.2 Clinic Building …………………………………………………………… 9
4.3 Nutrition Building ………………………………………………………... 10
4.4 Fitness Building ………………………………………………………...... 12
4.5 Weight Management ……………………………………………………... 13
4.6 Spiritual Health …………………………………………………………... 14
4.7 Healthy Exercises Reminder ……………………………………………... 15
5. Healthy Town Application UML Diagram …………….…………………...... 17
6. Used Technologies …………………………………..………………………....... 19
7. Conclusions and Future Work …………………………………………………. 19
8. References ……………………………………………...………………………... 19
‐ 3 ‐
1. Introduction
Recent advances in the fields of software and hardware lead to new trends in utilizing technologies in daily life applications. Moreover, such advances have affected the nature of current jobs, entertainment, etc. Nowadays, we spend most of our time in front of the screen of our laptops, PDAs, smart phones, etc. however, all this staff may have negative effects on our health because of either wrong body state while using them, or the feeling of that there is no time to organize a healthy nutrition program or a good healthy exercises. Also, many times we forget ourselves in front of the computer without moving anything except our eyes (on the screen) and our fingers (on the keyboard). All these attitudes are the top enemy to the health on both the short and long terms [1].
The new trends and usage of electronic devices, communication systems, and software applications to support health services are covered under the term E-Health. E-health is defined as the use of advanced telecommunications such as the Internet, portable and other sophisticated devices, advanced networks and new design approaches aiming to support healthcare delivery and education [2]. This project, namely, the 3D Healthy Town application, is intended to support e-health software field. Particularly, the developed application is an interactive e-health system where it supports both physical and spiritual health in a very simple, yet accurate and efficient, approach. It is designed as a complete 3D town using high graphic design skills. It helps the user in many health care related areas including: clinical services, fitness, nutrition, diet organizer, music therapy, and an exercises reminder for computer users’ health care. Such services in practice require the co-presence of two or more parties and a communication area between them to allow real time interaction to get the full benefits. Moreover, people need correct medical and nutrition related advices to help them in preparing good plans (while keeping tracking of the progress of these plans) to get closer to their objective which is a healthier way of life. Our application supports all these requirements virtually which simulates the behavior of being in an advanced healthy/sport club.
The rest of this report is organized as follows: In Section 2 a review of similar applications and related work is given while defining the main additions and facilities supported by our project. Section 3 explores the design and basic modules of the 3D Healthy Town software then the implementation is discussed in details in Section 4. Section 5 exhibits the UML diagram of the application code. The used technologies to implement this project are listed in Section 6. Finally, the report is concluded and future work directions are highlighted in Section 7.
2. Related Work
The related work to the field of e-health software applications can be divided into many categories according to their main objectives. However, we are mainly interested in the following
‐ 4 ‐
categories: Diets organizations, healthy exercises, online clinical applications, and music therapy. In the following paragraphs we review the main applications (and more specifically those ones which have common objectives with our project) related to each category.
The WhatHealth BMI Calc [3] is a simple software to compute the body mass index (BMI)
and to check whether the user is in an over/under weight state. The Food and Exercise Diary software [4] provides diet diary to remind the user what he should eat today, how much of his day time he should spend exercising and what kind of exercises he/she must perform. According to a previous knowledge about the user information (entered by the user) the application displays a report for the user from time to time. This report includes numeric values, charts & calendar to show the user whether he/she is improving (How much the user is close to his Goal).
In the second category we have the Face Fitness Virtual Trainer application [5] where many
useful exercises for the face (to get younger appearance) are exhibited as videos for the user. The Akelys Musculation [6] shows the user many useful exercises for the body performed by a virtual 3D character.
Within the third category there is the 3D Professional Clinic [7] which is a
sophisticated educational tool designed specifically for use by doctors in communicating with patients in the clinical setting. Containing more than 100 distinct pieces of interactive media accessed via a simple and easy to navigate menu structure. However, this application is for doctors usage to show their patients what causes them pains, the nature of diseases, etc. so, it is rather for educational purposes not for daily usage.
For the Music Therapy many websites provide suitable music for relaxation, mode
enhancing, and the benefits of exercising with music, e.g. [8, 9]. However, we have not found a windows application for such purpose.
As we can see, there separate applications for each of those purposes. However, the user
needs all this staff to be integrated in one application to support ease-of-reach idea and avoid get condensed with too many application. Our 3D Healthy Town comes to provide this requirement to support the idea of a complete healthy town toward promoting the way of life. In the next two sections the design and implementation of this town are explored.
3. Healthy Town Design
The idea of the application was inspired from the advanced health and sport centers. For this purpose we follow a very similar design in our application to make it closer to the user behavior and easier to use, i.e. no special tutorial is needed to navigate through it. The town contains many buildings connected with each other. Each building is used to support certain objective.
Particua nutribuildin
T
informtime thprofilethe namwill be
T
gives tneededproject
ularly, the 3ition centerngs in it and
The Receptmation, i.e. che user entee and so to tme is the pre created. Ea
The informathe user infod calories pet implement
reception
data base
3D healthy tr. The follod how they
tion Buildincreating thers the town
track his/herrimary key oach data en
FFLwLA
ation in the ormation aber day for ttation.
c
back pain
town contaiowing Floware intercon
Figure 1:
ng is the fie user profil he/she musr activity. Tof the data btry contains
Field First nameLast name weight Length Age
data base wbout his/herhe user usin
clinic
back pain cause
back pain exercise
‐ 5 ‐
ins a receptiwchart reprennected with
3D Healthy
rst buildingle. A data bst enter his/
The applicatbase. If thes the follow
Dachchintintint
will be usedr status. Alsng medical
town ma
healthy exercise reminder
ion, a clinicesents the th each othe
y Town flowc
g that facesbase s used/her name totion searchename is not
wing informa
ata type haracter haracter teger teger teger
d to calculao, this inforequations a
ap
Gym
exercise to loss weight
c, a gym, a mtown map ter.
chart.
s the user wto store the
o allow the aes the data bt found a neation:
ate the bodyrmation wiland tables a
music therapy
stress release
weight loss
transition
cancer
aids
music therathat shows
where he/she user inforapplication
base for his/ew profile f
y mass indell be used toas shown in
n
diet plans
apy room, anthe differe
e fills his/hrmation. Eato upload t
/her name, ifor a new us
ex (BMI) ano compute t
details in t
nutrition
calorie calculator
nd ent
her ch he .e. ser
nd he he
‐ 6 ‐
The objectives of the Clinic Building is to exhibit valuable information about the most faced diseases nowadays and which exercises, if any, to perform in order to reduce the pain, i.e. physical therapy if possible. Our focus was toward physical problems caused by bad habits in our daily life. Till now we have implemented the back pains only where this building provides the following:
• Back pain review: a video explains back pain problem. • Back pain causes: a collection of pictures to show some bad daily habits that cause back
pain and some devices to avoid them. • Back pain physical therapy: 3D simple exercises that are useful for the patient to reduce
back pain. As a future work we will add more body related and physical problems to this building. The Fitness Building contains the following:
• Gym: a 3D character that performs some exercises useful to lose weight. There is a timer with calculator to calculate how many calorie the user has burned during the exercising period.
• Exercises Reminder: A reminder for the computer user. Simply, it is a 3D talking parrot which will acquire on your screen very hour to remind you of performing some useful exercises for the eyes, nick, shoulders, and back. This reminder is very useful for those people who spend long time in front of the computer.
Music therapy, part of spiritual health, is a growing field of health care which use music.
The Music Therapy Building contains collection of music pieces which help for some diseases such as Stress Release, Weight Loss, Dementia Anxiety, Transition, Cancer, and Aids. Finally, the Nutrition Building contains many rooms to:
• provide useful information about healthy food to eat, • diet plans where a collection of diet plans for adults , child , teens and over weighted
people, • and a calorie calculator which enables the user to enter he/she has eaten and our software
calculates how many calories in his/her meal and how many he needs per day according to the information he/she filled in the data base.
This building helps the user to organize his/her daily meals based on the amount of calories
found in them in order to be healthy. The implementation of these buildings, and so the whole town, is discussed in the next section. 4. Healthy Town Implementation
The Healthy Town software is a 3D town contains a number of buildings each of them is specialized in a certain category of most common health related issues. It provides some advice for a healthier life with respect to both nutrition and daily physical habits. The design of the complete town is shown in Figure 2 below.
‐ 7 ‐
Figure 2: 3D Healthy Town Design.
Figure 3 shows the startup window of the application. An extensive tour inside the whole
town is provided as a video on the URL given in [10]. Also, the setup file of the application will be available upon to request.
Figure 3: 3D Healthy Town Startup Window.
The software starts with a demo video that helps the user to understand the software and
guide him through the town. Besides, there are some pop up messages, i.e. help messages, that appear when the user points at certain buttons or objects in the software. When the user presses
‐ 8 ‐
the “Enter Town” button shown on the main interface, Figure 3, the town map appears which is shown in Figure 4. This map links the user to all buildings within the town. To enter any building the user just has to click on the building name.
Figure 4: Healthy Town map
Healthy Town project has been implemented as a windows presentation foundation (WPF) [18] software where 3D graphics are defined using XAML language. During the project work the tasks were divided into design and development. Developers and designers were working separately. While developers were collecting accurate nutrition data, building SQL data bases using Microsoft SQL Server 2008 [20] to combine the data and program the full project and nutrition equations background in C#.Net [19], designers were designing graphic interfaces using ZAM3D [24] for 3D object, Microsoft Expression Blend [23] for 2D windows and Photoshop [25] for photos and pictures. Finally, the XAML codes which are generated from ZAM3D and Expression blend had been added to the Main C#.Net Project. And then the Objects have been connected to act as buttons to other windows.
The following subsections explore each building within the town thoroughly starting with
the reception building.
4.1 Reception Building
Reception is the first part of the town where the user will enter every time he/she opens the Healthy Town software, its main interface is shown in Figure 5(a). It is connected with the “Customers Data” data base through the “Reception” table, which is shown in Figure 5(b). This table is used to receive the information and so to create new profiles for new users. Also, it is used
‐ 9 ‐
keep in touch with inmates while they are following their plans to track their evolution and progress to achieve their goals. The required information to be filled by the user include: Age, gender, weight, and height which are the needed information to measure basic health status of the user in Healthy Town according to the World Health Organization recommendations [11].
(a)
(b)
Figure 5: (a) Reception building main window, (b) User information form.
4.2 Clinic Building
The objectives of this building is to provide medical support that helps in understanding, alleviating, and healing from some common diseases. Mainly, we are interested in body physical problems experienced by muscles and the skeleton system. In other words, we are concerned by problems caused by bad daily habits such as pains of shoulders, neck, back, etc. Figure 6 shows the main interface of this window.
Figure 6: Clinic building main interface.
‐ 10 ‐
Till now in our clinic we have dealt with the back pain since it is one of the most common problems that many people is suffering from. Also, since computers play major role in causing such pains, i.e. of course by setting incorrectly in front of them. As a future work, we will extend this building to support deal with more physical problems and diseases.
We are interested in increasing the level of awareness about this problem by adding a video that discusses the causes, in addition to many exercises which the patients need to reduce the effect of this problem on his/her body. The back pain causes we discussed, which are shown in Figure 7(a), include: slouching in chairs, being overweight, twisting movement, bending, sleeping on sagging mattresses, lifting incorrectly, and standing badly. For the back pain exercises the application show the user the following: Arms by side of body 1-2, arms assisting1-2, arms straight, and hands across chest exercise, see Figure 7(b) for a sample. The used videos are taken from the websites found at [29, 30].
(a)
(b)
Figure 7: (a) Back pain causes, (b) Back pain exercises.
4.3 Nutrition Building
The main goal for the nutrition building is to help the user to control his/her weight by choosing a suitable diet plan and tracking the needed calories on per day basis. A snapshot of this building is shown in Figure 8. Our application offers the following:
• Diet plans: 1,000-Calorie Diet Plan, 1200 Calorie Low Carb Diet Meal Plan, 1,330-Calorie Diet, Low-Calorie Vegetarian Diet Plan, diet plans for child and teens, and Planning meals (diet food). Those plans are dully referenced and cited in the application software. A sample of the interface used to exhibit those plans is shown in Figure 9.
‐ 11 ‐
Figure 8: 3D Nutrition building.
• Calories computation in daily eaten meals using Harris-Benedict equations [12] and the data food calories list [13]. The following equations were used:
For men calorie = 66+(13.7*weight)+(5*high)-(6.8*age). For woman =655+(9.6*weight)+(1.8*high)-(4.7*age).
A snapshot of this calculator is shown in Figure 10.
.
Figure 9: Diet plans.
‐ 12 ‐
Figure 10: Calories calculator.
4.4 Fitness Building
This building contains a professional 3D gym, where a snapshot of it is exhibited in Figure 11, to perform a group of both training and aerobic exercises. These exercises are very useful in handling obesity and increasing fitness. They are performed in front of the user (as a demo) using a 3D animated character. Also, there is a timer to track how long the user has been training to compute how calories have been burned during this period. The burned calories amount is computed using the following equation [14]:
Calories burned by exercise=((METs*3.5* weight ( kg))/ 200) * duration(minute).
Figure 11: 3D gym.
‐ 13 ‐
Gym exercises, as shown in Figure 12, include: • Aerobics exercises: Curl Up, V-Up, Hip Raise, Seated Calf Raise, Close Incline Press Up,
Legs Straight, Kneeling Rollout, and Seated Russian Oblique Twist, MET value equals 6.83.
• Weightlifting exercises: Medium Upright Row, Standing Bent over Reverse Fly, Chest Press, and Seated Triceps Extension ,MET value equals 3 [15].
Figure 12: Gym exercises.
4.5 Weight Management
The weight management frame is an important part of the Healthy Town. It determines the user situation whether he/she is currently over weighted, severely under weight, or between these two cases. This is done by computing the user BMI according to the following equation [16]:
Where the result determines which category the user belongs to based on the categories shown in the following table:
Grade BMI range Comments <15 Severely Underweight 15 – 20 Underweight 20 – 25 Desirable weight range 1 25 – 30 Overweight 2 30 – 40 Very overweight 3 >40 Severely overweight
‐ 14 ‐
This application helps over-weighted people to set a realistic intermediate goal, estimate their calories needs, calculate their daily calorie intake and determine how many of their calories should be derived from fat. The number of calories needed to maintain body weight (Daily calorie intake) is determined according to the following table [16]:
0.30 [17] The interface of this utility is shown in the following figure where the current user state is summarized.
Figure 13: Weight management utility.
4.6 Spiritual Health
Music therapy, as a part of spiritual health, is a growing field of health care which use music as a cure. For example, it helps cancer patients, pain management, ward off depression, promote movement, calm patients, ease muscle tension, etc. Healthy Town provides exciting collection of music therapy samples:
• Stress Release: Transformational piano composition to help pain, insomnia, addictions, cardiovascular illnesses, and anxiety.
Active males Weight in pounds * 15 Active females Weight in pounds * 12 Inactive males Weight in pounds * 13
Inactive females Weight in pounds * 10
‐ 15 ‐
• Weight Loss: Transformational piano composition to help overweight, anorexia, bulimia, depression and low self-esteem.
• Dementia Anxiety: Transformational piano composition to help soothe anxiety and stress in Alzheimer’s and dementia patients. Supportive music for stress release tool to encourage emotional expression.
• Transition: Transformational piano composition to help provide comfort for end of life patients. Many people feel fear or anxiety as they approach death for fear of the unknown. This special music for death and dying can be used in hospice care, palliative care and for the lay person.
• Cancer: Transformational piano composition to help release pain and anger. Powerful, angry, chaotic and unrelenting energy gives way to nurturing, loving and liberating energy. The resolution may be experienced in the listener, physically or emotionally.
• Aids: Piano composition expresses infection and fear musically then transforms into strength and confidence. The resolution may be experienced in the listener, physically or emotionally.
The music used in the application is taken from [27, 28].
Figure 14: Music therapy room.
4.7 Healthy Exercises Reminder
Are you sitting in front of the computer for too long time?? You probably spend many hours sitting in front of your PC. The problem is not in that, the problem occurs when sitting for long time without move since this has implications on your health as well as your productivity. Also,
‐ 16 ‐
sitting in an incorrect way or position ends up with back pain, neck pain, knee pains, and a tingling of the hands and fingers. This could easily turn into Carpal Tunnel Syndrome on the long term. Sometimes, this pain becomes so severe and painful that surgery is the only option. It is best avoided by good practices.
Here in our Healthy Town, we have implemented a simple solution for protection among such problems. This solution is reminder that reminds the computer user to perform some exercises. The reminder is a 3D talking parrot, depicted in Figure 15, which gives instruction for some exercises while the user is sitting for a long time working on his PC.
Figure 15: 3D parrot.
Healthy Town Software include a timer to track the user while he/she is using the PC, to keep reminding to do certain practices from time to time, and to make sure that he is sitting in a right position. Those exercises are divided into three categories. The first category contains exercises to be done when the user has just opened his PC, the second category contains exercises that should be done every 30 minutes, and the last category contains exercises that to be performed every 60 minutes. The following paragraphs list those exercises. Those exercises are given to the user as spoken messages by the parrot to the user.
Exercises every time the user power up his PC: • Be sure whether the user is squaring his shoulders to the desk. • Whether he is positioning his monitor so that he can look directly at it without having to
turn his body or crane his neck. • The top of his monitor should be level with his eyes. • Place your wrists slightly lower than your elbows. • Position your knees so that they are slightly higher than your hips and your feet are flat on
the floor. Exercises every 30 minutes the user spends on his PC:
• Develop a good sitting posture for better circulation and muscle tone. • Shift your focus from the computer screen and scan around other subjects in the room,
such as a window, clock, desk, or door. Exercises every hour:
• Focus on your abdominal and gluteus muscles. • Contract, hold and release these muscle groups repeatedly to maintain muscle tone. • Stretch your arms, legs, torso, neck and shoulders.
‐ 19 ‐
6. Used Technologies
The following technologies and software were used to carry out this project: • Visual Studio .Net 2010 – Framework 4 – C#.Net [19]: VS.Net 4 is the framework used to
build Healthy Town Software using WPF platform [18]. • Microsoft SQL Server [20]: Linq-to-SQL data base is used to query SQL server database
of the users’ data. • Microsoft Agent [21]: Msagent used to support the software with more interaction with
the user, in Healthy-Town software “Peedy” Parrot character has been used. • Microsoft Expression Blend [23]: Used to animate the 3d Objects and programming with
XAML language. • Lernout & Hauspie TruVoice American English TTS (Text-To-Speech) Engine [22]. • ZAM 3D [24]: Used to design and generated XAML code for 3Dobjects. • Photoshop [25]: Used to design 2D Backgrounds for the program. • Camtasia studio [26]: Used to make videos.
7. Conclusions and Future Work
The Healthy Town application is a user friendly, simple, and easy to use e-health software. It helps users with limited time and those with computer-based jobs to take care of their health. Also, it can be used as educational software in which medical information and training exercises are exhibited.
Healthy Town Software is still in its infancy. It can be expanded to include a kids’ yard which can be designed to be attractive and ambiguous, and also contain interactive characters whose aim are to act like a friend, playing and interesting them using healthy games, so that they will be able to effect kids opinions and encourage the children to have a more healthier life by eating healthier food and change their way in life to make it far away from illness.
Spiritual health part can become wider to include some topics that people are really interested in just like Yoga; Design your goals, Time management, How to be creative and many other topics. This part can also include examples from the History for people who had really great achievements “Extraordinary Men”. Also, the clinic building, as stated previously, can be extended to support more physical problems care and healing.
8. References
[1] http://www.squidoo.com/pc-pain [2] (2004). In E-Health: Current Statue and Future Trends . Asmsterdam's The Netherland : IOS Press. [3] http://www.whathealth.com/bmicalc/
‐ 20 ‐
[4] http://www.weightlosssoftware.com/ [5] http://www.downloadatoz.com/home-education_directory/the-face-fitness-virtual-trainer/ [6] http://www.akelys.com/ [7] http://www.dl4all.com/software/313002-3d-clinic-professional-v10.html [8] http://www.fortunebaby-download.com/pregnancy-relaxation-music/ [9] http://www.livestrong.com [10] http://www.youtube.com/watch?v=BrMz8w7mKR8 [11] WHO, http://www.who.int/en/ [12] J. Arthur Harris and Francis G. Benedict, "A biometric study of basal metabolism in man" Published by the Carnegie Institution of Washington, Washington 1919. NOTE: The equations are on page 190. [13] http://www.weightlossforall.com/food-calories-list.htm [14] Ainsworth BE et al., Compendium of physical activities: classification of energy costs of human physical activities. Med Sci Sports Exerc. 1993 Jan;25(1):71-80. [15] http://riskfactor.cancer.gov/tools/atus-met/atus-met_table3.csv [16] S. E. Byrom, Pocket guide to nutrition and dietetics. London: CHURCHILL LIVINGSTONE. 2002. [17] http://www.umm.edu/heart/caloric.htmm [18] http://msdn.microsoft.com/en-us/library/ms754130.aspx [19] http://www.microsoft.com/visualstudio/en-us/products/2010-editions [20] http://www.microsoft.com/sqlserver/2008/en/us/default.aspx [21] http://www.msagentring.org/setup.aspx [22] Lernout & Hauspie TruVoice American English TTS (Text-To-Speech) Engine http://www.msagentring.org/setup.aspx [23] http://www.microsoft.com/expression/ [24] http://www.erain.com/products/zam3d/DefaultPDC.asp [25] www.photoshop.com [26] www.techsmith.com/camtasia/ [27] http://www.soundfeelings.com/products/alternative_medicine/music_therapy/sound_therapy.htm [28] http://www.enterthefreudianslip.com/use_of_music_in_therapy.htm [29] http://www.gymbods.com/fitness-exercise-samples [30] http://www.spineuniverse.com/conditions/back-pain/low-back-pain/low-back-pain-animation Final Note:
• All medical information used in the application is fully cited and referenced inside the application itself, some of these references are mentioned here in the report.