Monday, July 27, 2009

Saborella, Police, Brasilia Zoo, Rodizio de Pizza, Andy Visits, and Impameri

Once again another short quick post I have many things I've been working on, turns out one of the workers in the rocket project didn't finish their part so I'm trying to get it done by the end of the week.

Saborella:
After many long car rides of Pi and Gagino fighting over what the best ice cream was, we finally settled to try both and figure it out ourselves. Pi said Saborella was the best, it is a small store that sells gellato italian style.



Police:
I got my first infraction in Brazil :(
Nothing serious, just that as a holder of a research visa I have to register with the police within my first 30 day and I was about a week late. So after paying the fines, I registered and went on with my day. One thing I'm worried about is that I can't leave the country without my Brazilian ID but with the new bill they passed that allows all illegals in Brazil to be citizens the processing agency has a lot of documents to process and the embassy told me my ID probably won't be done in time. I don't know how I feel about it because I am really loving Brazil but at the same time I need to graduate at the UW on time :/

Brasillia Zoo:
As most of you know I am a great fan of zoo's and biology in general. I was talking to my friend Renata who is a biologist in Brazil and we decided that taking a trip to the zoo was in order. I invited Gagino and met up with one of Renata's friends and got to know the Brasilia zoo.


There was actually an animal who only had one eye and it looked like he was born with it instead of loosing it in an accident.

Pizza:
Something I've been wanting to do is get all you can eat pizza(Rodizio de Pizza) Similar format to the churrasco I went to my first week in Brazil, red means stop and green means keep feeding me pizza. I went there with my lab mates and a few new friends. Nothing much to say except all you can eat pizza is great :)


Andy:
Andy Barr a good friend from the UW who was in Brazil as well. We had talked about him coming to Brasilia so I could show him around and we could hang out in this great city I've been calling home. One day while at the lab I got a call it went like this:
Unknown: Hey Ramses!
Ramses: Hey who's this?
Unknown: Andy! Hey, I found a plane ticket to Brasilia can I be there tomorrow?!
Ramses: Sweet ya! Call me when you get here!
So Andy came the next day and we made indian food and ate pizza to celebrate!

Impameri:
Andy and I were invited to Ipameri a small town 4 hours away from Brasilia to get some R&R for the first time in Brazil. That weekend was great! We ran 14km, ate lots of churrasco, taught the locals frisbee, watched a soccer game, learned how to make pao de quejo and farofa and watched Andy wax his mustache. Great times!

(Churrasco, Baking, and soccer)

(Andy Before and After Waxing)

We also found a DVD of Black Jesus:

Lastly, there was a wall made by students that had cartoons of current events going on around the world.
(Youtube would not let me upload this so I had to use the normal blogger)

Ferria:
Andy and I are planning to have a huge feast for everyone in the states with food we learned to make here in Brazil. Because of this Valeria took us to a market so we could learn what foods we needed to buy and to try more tastes of Brazil. When we got back home we also learned how to make Valerias Farofa the best Farofa in the world(in my opinion).

Andy Leaving:
Unfortunately, Andy had plans back in Sao Poalo so he had to go :( but it was a great time hanging out with him. Some of the guys at the lab said good bye and Marcus, Valeria, Andy and I had dinner then took him to the bus terminal.
(Marcus, Valeria, and Andy; Lua their dog, Lua's teeth, and our dessert)
(friends from lab, Taking Andy to Bus terminal)
Family Dinner:
The day after Andy left we had a family(well extended family) dinner. Like usual the food was great and the company was even better. :)

Wednesday, July 15, 2009

Couch Surfers, Carne De Sol, LAVSI Crew, Dinner Party, Ceara, Gordeixo's, and Lapa!

This is a short post due to time constraints but it covers a lot of material.

Couch Surfers
This week the guys at the lab were busy finishing up finals so they couldn't go out. Because of this I decided to check out my couch surfers(CS) account and see if I could meet up with a few CS and have a good time after getting off work. I eneded up meeting with a CS friend named Carla.
(Ramses and Carla)
She was about to head to Peru the next day but was up for meeting up and hanging out before she had to leave the next day. She picked me up and we meet up with 2 other of her friends. We met up at a place called Benito Suco. We didn't stay for long because we actually were just dropping by for Carla to say good bye and meet up with another group of friends. Then we headed to another place and met with her other friends for drinks and a great conversation.


(The guy next to me is a movie/video producer and worked for IGN for a time)

As the night went on more and more people joined us and it was really enjoyable.
Carne De Sol





LAVSI
During The friday night after playing some Starcraft at the lab with my lab mates, I met up with the LAVSI lab at a restaurant for drinks and food. After meeting new friends, sharing laughs and having a good time we decided to go to a social event and meet other Brazilian people. Below is a pic of us at the festivity. It was a really epic time and I learned many new dances and Brazilian musics.


Dinner Party
After getting back extremely late from having a blast with the LAVSI crew I went to sleep and woke up 2 hours later to prepare for the Dinner at my house. I made chicken enchiladas, rice, guacamole, chicken quesadillas and pao de quejo. There was a total of 27 guests and every group brought something as well. I must say it was the best time I had in Brazil thus far and this is because I really enjoy hosting people.
P.S. few lab mates also came over the following monday to help with left-overs.



Ceara
July 14th Glauco Gausho and I went to a soccer game. The game was great we took the subway, ate low quality food, saw a passed out guy, and got interviewed by a national radio station. We were rooting for the away team so after the game we almost got jumped by 15 people that were waiting at the subway for Ceara supporters. Luckily the police arrested them and we boarded the subway safely.


Gordeixo's
The next day we went to an all you can eat pasta place called Gordeixo's. The food was good, the company was great and overall it went well.


Lapa
To celebrate the final of the Libertadores cup, Cruzeiro vs. Estudiantes, we went to a Restaurant named Lapa. We saw a few people at another table also there for the game so we went over and asked them to join our table. The team we rooted for lost but overall it was a really fun time.


Thursday, July 2, 2009

My Projects, first day at Gama and LBG's Project

How my projects are going: June 30th 2009
P.S. Tonight(July 2nd) Gagino finishes his project so we can finish testing my code tomorrow :) YAY!
First Day at Gama: July 1st 2009

Breast Cancer:
Today was my first day at Gama they had the University driver come by and pick me up at my apartment early in the morning to attend Lourdes class. Regardless, I got there significantly late. Lourdes then introduced me to the class and I said a few things to them in Portuguese, regarding the projects I've been working on and where I go to school at. After introducing me I sat in the class and listened to the lecture, which was nostalgic since it was a topic I knew about. Afterwards another class came in and I was introduced again before leaving with Lourdes to her office to begin the more official research/administration work.

The first thing on the list was to give me a pdf of a book she wrote regarding "virtual reality force feedback surgery training systems" They are creating a way to simulate how to remove cancerous tumors from breast cancer patients. This is a very important because seeing how aside from skin cancers breast cancer is the most prolific cancers for women and the second largest cancer killer for women(lung cancer being number 1). Furthermore, even mammography isn't good enough for prevention because usually when cancer is discovered it had already been growing aggressively for the past 8-10 years. Because of this removal is for most part the only option since prevention has its limitations when it comes to breast cancer.

The technology they are currently using would allow them to train a surgeons how to do the tumor removal using microsurgery(lumpectomy). Hopefully by increasing surgeon skill they want to remove the need of using the more aggressive mastectomies and solely having lumpectomy. For example:

Currently, to remove high order breast tumors the entire breast must be cut open and either the breast itself will be lost or most of it. This is done to prevent the cancer from spreading as any that is left behind will continue to grow. This technique is both emotionally and physically detrimental to the patient. Add chemotherapy and its side effect such as hair loss, fatigue and the many other problems that come with radiation exposure; it's a very demanding and destructive procedure to a patient.

The process this research is focusing on is lumpectomy. Which simply means removing the lump(i.e cancerous tumor) This can be done using microsurgery:

(The pics come from Lourdes poster presentation)
(red dot is the incision area)
As seen in this picture the breast is digitized and a small incision is made into it in which the surgeon can practice the removal of the cancerous tumor using microsurgery tools that provide force feedback that they would normally find while doing the surgery in real life. The challenges to accomplish this include, creating mathematics that simulate tissue reaction as the surgery is being done(i.e. how does it act when it's cut, sutured, pierced ect.). Making the simulation realtime because currently it is very demanding CPU-wise to simulate this and lastly, and most impressively they want this to work via the internet so at anytime and at any place in the world when a surgeon wants to practice his surgery he can log into it using a computer and microsurgery tools to practice the surgery.

(Removing tumor)
After removing the tumor in practice or for training the surgeon now has a deeper idea of how the surgery will be performed. As mentioned above this can also be done for training. With a surgery as important and vital as cancer removal the last thing you want is surgeon who has no experience in the surgery only book knowledge and cadaver practice. This tool assures that the surgeon has a much more of real view as to how this surgery will go and much more practice than surgeons who have to wait for cadavers with breast cancer.
(surgeon performing lumpectomy surgery)
The precision and detail they are working with is incredible. Lourdes group is even implementing the feedback done in closing the incision and really the whole process from start to finish.

(Realtime microsurgery stitching simulations!)

Fuzzy Logic:
The additional reading was in regards to fuzzy logic and fuzzy controllers(this is not what happens when you mix a cat and a motor). I'll spare the details but I'll give you a quick Idea of what its about. From the books I read last night(read 2 have 17 left) fuzzy logic is an idea that breaks away from the 1 and 0 mentality of current electronics.

For Example: Let us say we wanted to have a program that separated young people from older people. Currently we would choose a number. Lets say we choose 35 years old to be our cut off. Computers need this discrete cut-off because they live in a world were its 1 or 0. You are young or not young. No compromise.


(Pictures from "Basic Fussy Mathematics for Fuzzy Control and modeling")

This hard cut off can be shown in the above picture. But what makes it that a person that is 34.9 is still young and a person who is 35.1 is old. They are only marginally above the cut-off. This can be seen in society all the time. One example is how when your 21(in the USA) you can drink but day before that you cannot. If a computer was checking ID's you would have to wait until the precise nanosecond you turn 21. This is odd because there is no magical change that happens when you turn 21, your still as irresponsible(and some are responsible) as you were right before the instance in time.

To resolve this issue a Proff. Named L. A. Zadeh from Berkley proposed something called a fuzzy set. For example lets say we have the young criteria again. In a fuzzy set it would not be discrete instead it would flow like a curve that describes how much of "young" you are.

As you can see from the pic above, a fuzzy set does not have a concrete value of what young is. There is a general consensus that 10 or younger is young. Therefore, it has a perfect value of one. However, as we get near 30 the curve dips and then aggressively approaches zero after 35.

However, Fuzzy logic gets even more complicated. This is because the idea of what young is changes depending on the person. For example if you are 70 your idea of young differs from if you are 20. This is were the logical operators of a fuzzy set exist. But instead of cutting everything that does not overlap like the 1 and 0 for an "and" statement. The approach fuzzy logic uses is taking two fuzzy sets and comparing them(I'll spare the mathematics as to how).


As you can see we have fuzzy sets from two different peoples point of view. This is not possible if we used the traditional 1 and 0 approach.
This allows us to break away from asking questions like:
If 35 then (do this)
and lets us ask questions like
If "young" then (do this)

The book offers this example:
IF Speed is High AND Acceleration is Small THEN Braking should be Modest.
This form of talking/thinking is not what most scientist consider concrete and is a very strange way to think. It allows for vagueness and only a fuzzy picture of what's going on(thus called fuzzy logic). Cool HUH! :) now you're an engineer!

Applying this idea to the world of discrete numbers were computers live in, has its challenges but is very important when you're dealing with problems for humans. This is because in the reality humans live in, most things are fuzzy sets that continually change, such as age and our perception of young.

Now as to how this will help with the prosthetic research I will be doing. Well, if we use past ideas as to how to move prosthetics we have a system that is either moving or not moving. This creates jolts of movement and makes things look very robotic. This means the finer movements of human movement cannot be done because the prosthetic is either moving at full speed or no speed, 1 or 0. For example to move a hand to pick up a cup we would have to ask the computer to process things as follows:

IF Hand touches cup THEN Stop
To have some form of fluidity we would need to break the problem into many small discrete questions such as IF 1m from cup then 50% speed, IF 10 cm from cup 5% speed ect.. Even with this approach it's still jumpy since everything has to be so precise and discrete.

Using Fuzzy we can ask the computer question like:
IF Hand is "near" cup THEN "slow" down
This vagueness creates fluidity and precision much more closely to that of a natural hand.

But now lets get to the main project I'm working at UnB Gama:
Gama is a very new school, currently it is only in its second semester and most of the students are just entering college. My primary job here is to work with a group of first year students and teach them the research process along with developing a prosthetic foot. The goal for this foot is to have near perfect balance and weight of an average foot while still having fluidity and precision. We separated the project out into 3 parts the mechanics, electronics and, signal processing. I asked when the project started and the proff at Gama said "right now". I let them know I wanted to do the foot that night before and because of that the project was decided on and as of this moment it has begun. I will be helping in which parts we will buy, what motors to use, the math needed to process the signals, really every part I'll have a hand in. This is a great opportunity and one I'm very excited about it. Most importantly, I hope I can be a good role model to these student and have them excited about doing research. I have no pictures of Gama since it was my first day and I didn't want to seem like such a tourist. But next time I go I will take pictures.

Little Bearded Guys Project: July 2nd 2009
As I'm waiting for Dr. Geovany to email me the source code of the prosthetic leg . I was given the pleasure to check out the work that LBG was working on down stairs. Groupo de Processamento Digital de Sinais(GPDS or Digital Signals Processing Group in english).

He works on facial recognition and the work is really interesting. At the end of the video there is demo on it as well.