Oscar, Mara & Anita ELEC539 Proj2 Ideas 1. Look for edges. Find second edges which are within a certain range from the first. 2. Find pix vals in a certain range (the expected tank pix value). Look at neighbors to see if they are also in the range. Do filtering or a simple pix value comparison. 3. Dilate and erode the original image to take out some of the other stuff. 4. Edge detection. Find end point of prospective tank edges. Convolve or something. 5. Binary image. bwselect for all white objects. then do bwarea to get area. see which has approx the right area. Look for horiz and vert lines betwen edges. Find two opposite corners. See how far up and over they are. Possible use of longest line ideas? It might not be the length of the diagonal (depending on the angle), but the longest local lines will correspond to corners (with equal length between corners). This will give us the angle of the tank (could be off by pi). Now that we know how the tank is oriented, we can do simple edge detection to find the barrel, thus eliminating our angle uncertainty. applylut bwarea bwperim bwfill bwselect edge im2bw imrotate