...* Midpoint Algorithm for the line of 1<m<∞ | | | M1N pixel | M2NE pixel | | M | | | The equation for the line ax + by + c = 0 1 The equation for the M point: d – Equation for the first midpoint d = a(x+1/2) + b(y+1) + c d = ax + by + c + a/2 + b d = 0 + a/2 + b d = a/2+b ×2 d = a + 2b 2 By substituting the value fora and b we will able to find the value of d. If d > 0, then we will select the N (North) pixel If d < 0, then we will select NE (Northeast) pixel Then there are two possibilities to go the line through M1 or M2 Equation for the above two points; M1 and M2 M1: d1 – Equation for the M1 midpoint d1 = a(x+1/2) + b(y+2) + c d1 = ax + by + c + a/2 +2 b d1 = 0 + a/2 + 2b ×2; d1= a+4 b 3 3 – 2;d b = d1 – d d1 = b + d 4 The equation for the M1 is d1 = b+d M2 : d2 – Equation for the M2 midpoint d1 = a(x+3/2) + b(y+2) + c d1 = ax + by + c +3 a/2 +2 b d1 = 0+ 3a/2 + 2b ×2; d2 = 3a +4b 5 5 – 2; a + b = d2 – d d2 = a + b + d 6 The equation of the M2 midpoint is d1 = a + b + d As mentioned above the algorithm chooses between N and NE pixels on the sign of the decision variable calculated in previous method. * Algorithm for the ellipse The equation for the ellipse is : x2/a2 + y2/b2 = 1 x2/a2 + y2/b2 – 1 = 0 x2 b2 + y2 a2 - a2 b2 = 0 Center of the ellipse (x,y) = (0,0) a = rx , b = ry The first...
Words: 822 - Pages: 4
...During the Vietnam War the American Army used many different Artillery systems. The Artillery systems used were; the Rock Island Arsenal M101, Rock Island Arsenal M102, M1 Pack Howitzer/M116, M114, M115 (8-Inch Howitzer M1), and finally the M59 (M2 Long Tom). The M1 Pack Howitzer was originally used during WWII, but found its way to the Vietnam War due to its ability to be broken down into pieces for easier mobility especially in marshlands. With a capable crew, they could fire between 3 and 4 rounds per minute and could range around 9,610 yards away. The typical HE round weighed 3.6kg (7.9lbs). The M114 howitzer was used from 1955-1975 before being replaced by the M198. The M114 howitzer is classified as a medium artillery piece due to the way...
Words: 571 - Pages: 3
...Individual Assignment 1.1 | Misunderstanding 1 (M1) | Misunderstanding 2 (M2) | Who was the sender? | I, Ardra English, was the sender. | My supervisor was the sender. | Who was the receiver? | My co-worker was the receiver. | I was the receiver. | What was the message? | I was school shopping this weekend, and I noticed there are four new bus shelters at the corner of Forest Lane and Abrams Road. Prepare the schedules, and I will post them immediately. | Are there any time changes that affect the schedules on the pylons? | What channel was used to send the message? | Face-to-face, verbal communication. | E-mail | What was the misunderstanding that occurred? | He did not want to create the schedules. | She did not specifically ask for the changes, and I did not realize that she wanted me to create the schedules for the pylons. | How could the misunderstanding have been avoided? | There are no established standard operating procedures for creating and installing the schedules. | I feel that my supervisor should have been more specific about her needs. I did not know that she wanted me to create the schedules, and submit them to her. | In the first misunderstanding, I learned that I should have listened to why the co-worker did not want to create the schedule. From his experience as a graphic artist, he waited until the manager in the Passenger Amenities Department sent notice to install the schedule. From my experience in customer service, when there...
Words: 461 - Pages: 2
...Battle of the 73rd Easting Headed due east on the afternoon of February 26, 1991, VII Corps was advancing with a front of four armored/mechanized divisions. In the center of this front, leading the way and conducting reconnaissance for the corps, was the 2nd Armored Cavalry Regiment (ACR). The 2nd ACR’s job was to locate the forward elements of the IRG divisions suspected to be in the area, fix them in place, then pass the heavy divisions of VIII Corps through their lines so that they could smash the elite Iraqi units with a single killing blow. It was a difficult assignment, made more so by the weather conditions. The winter of 1990/91 was one of the wettest on record in the Persian Gulf, and had been a major problem during the preceding six weeks of the Desert Storm air campaign. Now the wind was howling, causing a sandstorm that was grounding the Army’s aviation assets and limiting visibility to as little as a thousand meters. Air reconnaissance was limited mostly to signals intelligence data, which meant that finding where the IRG divisions were located, would be up to the 2nd ACR. Like the prairie horse soldiers of 150 years earlier, the troopers of the regiments would grope forward until they physically ran into the enemy, in this case the IRG Tawakalna Division. Generally known to be the best and most aggressive of the various IRG formations, Tawakalna was the unit that would bear the brunt of the coming battle with VII Corps. As 2nd ACR moved forward, the regiment’s...
Words: 1786 - Pages: 8
...Acknowledgments ix Acknowledgments This book owes a great deal to the mental energy of several generations of scholars. As an undergraduate at the University of Cape Town, Francis Wilson made me aware of the importance of migrant labour and Robin Hallett inspired me, and a generation of students, to study the African past. At the School of Oriental and African Studies in London I was fortunate enough to have David Birmingham as a thesis supervisor. I hope that some of his knowledge and understanding of Lusophone Africa has found its way into this book. I owe an equal debt to Shula Marks who, over the years, has provided me with criticism and inspiration. In the United States I learnt a great deal from ]eanne Penvenne, Marcia Wright and, especially, Leroy Vail. In Switzerland I benefitted from the friendship and assistance of Laurent Monier of the IUED in Geneva, Francois Iecquier of the University of Lausanne and Mariette Ouwerhand of the dépurtement évangélrlyue (the former Swiss Mission). In South Africa, Patricia Davison of the South African Museum introduced me to material culture and made me aware of the richness of difference; the late Monica Wilson taught me the fundamentals of anthropology and Andrew Spiegel and Robert Thornton struggled to keep me abreast of changes in the discipline; Sue Newton-King and Nigel Penn brought shafts of light from the eighteenthcentury to bear on early industrialism. Charles van Onselen laid a major part of the intellectual foundations on...
Words: 178350 - Pages: 714