Difference between revisions of "Kyla Bouldin"

From WLCS
(iPhone Application Developement (CS193P) -Winter 2010)
(iPhone Application Developement (CS193P) -Winter 2010)
Line 83: Line 83:
  
 
Intro to Mac OS X and Cocoa Touch, Objective-C and Tools & Using Objective-C, Foundation objects
 
Intro to Mac OS X and Cocoa Touch, Objective-C and Tools & Using Objective-C, Foundation objects
Assignment: Hello Stanford and Command Line Tool I (due 2/28)
+
Assignment: √Hello Stanford and Command Line Tool I (due 2/28)
 
Custom classes, Memory Management, ObjC Properties & MVC, Interface Builder, Controls & target-action
 
Custom classes, Memory Management, ObjC Properties & MVC, Interface Builder, Controls & target-action
 
Assignment: Command Line Tool II and HelloPoly I (due 3/7)
 
Assignment: Command Line Tool II and HelloPoly I (due 3/7)

Revision as of 19:42, 26 February 2011

First and Second Quarter

work on my science project:sept 9 - dec 17

Java code on blog: http://kylabsophomoresciencefairproject.blogspot.com/

http://download.oracle.com/javase/1.4.2/docs/api/java/awt/image/ConvolveOp.html
http://users.ecs.soton.ac.uk/msn/book/new_demo/sobel/
http://www.pages.drexel.edu/~weg22/can_tut.html
http://fourier.eng.hmc.edu/e161/lectures/canny/node1.html
http://www.pages.drexel.edu/~weg22/edge.html
http://users.ecs.soton.ac.uk/msn/book/new_demo/sobel/
http://www.developer.com/java/other/article.php/3484591/Convolution-and-Frequency-Filtering-in-Java.htm
http://www.java-forums.org/new-java/7995-how-plot-graph-java-given-samples.html

Convolution using a convolution kernel is a spatial operation that computes the output pixel from an input pixel by multiplying the kernel with the surround of the input pixel. This allows the output pixel to be affected by the immediate neighborhood in a way that can be mathematically specified with a kernel.

Checklist

  1. Finish research and write proposal - due sept 16 √
  2. Go through simple image processing tutorials √
  3. Grey Scale√
  4. Matrix Image√
  5. Edge Detection√
  6. Add Noise√
  7. Paper Introduction, Procedure, Lit Cites (oct 11) √
  8. Decide how to take data (quantitative preferred) √
  9. Run experiment√
  10. Set up data in computer√
  11. Data collection & results (dec 6)√
  12. Final Research Paper (dec 17)√

Third Quarter

Third Quarter/End of Science Proj - Start learning objective C

Paul Hegarty - (Developing Apps for iOS (CS193P)) - Fall 2010

http://www.stanford.edu/class/cs193p/cgi-bin/drupal/

18 Lessons. 9 Lectures, 9 Demos, 9 Assignments

Lesson One Homework

√1. Follow the walk-through instructions (separate document) to build and run the calculator in the iPhone Simulator. Do not proceed to the next steps unless your calculator builds without warnings or errors and functions as expected.

√2. Your calculator already works with floating point numbers (e.g. if you press 3 / 4 = it will properly show the resulting value of 0.75), however, there is no way for the user to enter a floating point number. Remedy this. Allow only legal floating point numbers to be entered (e.g. “192.168.0.1” is not a legal floating point number).

√3. Add the following four single-operand operators:

  • 1/x : inverts the number in the display (i.e. 4 becomes .25).

Be sure to handle the case where the display currently contains a zero. You can fail silently, but don’t crash.

  • +/-: changes the sign of the number in the display.
  • sin : calculates the sine of the number in the display.
  • cos : calculates the cosine of the number in the display.

√4. Add the following three “memory” buttons:

  • Store : stores the current value of the display into a memory location. This button should not change the number that is in the display.
  • Recall : recalls the value in memory.
  • Mem + : adds the current value of the display to whatever’s already in memory. This button should not change the number that is in the display.

√5. Add a “C” button that clears everything (the display, any “waiting” operations, and the memory).


Lesson Two Homework

1. Update your Calculator’s code to use properties wherever possible, including (but not necessarily limited to) UILabel’s text property and UIButton’s textLabel property as well as using a private property for your brain in your Controller.

2. Fix the memory management problems we had in last week’s version of the Calculator, including the Model not getting released in the Controller’s dealloc and the leaks associated with waitingOperation.

3. Implement API for your CalculatorBrain so that it functions as described in the following sections.

4. Modify your CalculatorViewController to add a target/action method which calls setVariableAsOperand: above with the title of the button as the argument. Add at least 3 different variable buttons (e.g. “x”, “a” and “b”) in Interface Builder and hook them up to this method.

5. Add a target/action method to CalculatorViewController which tests your CalculatorBrain class by calling evaluateExpression:usingVariableValues: with your Model CalculatorBrain’s current expression and an NSDictionary with a test set of variable values (e.g. the first variable set to 2, the second to 4, etc.). Create a button in your interface and wire it up to this method. The result should appear in the display.


iPhone Application Developement (CS193P) -Winter 2010

http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2010-winter

20 Lessons (Apps: HelloStandford & Obj-C Tool, Hello Poly, Paparazzi, Final Project)

Intro to Mac OS X and Cocoa Touch, Objective-C and Tools & Using Objective-C, Foundation objects Assignment: √Hello Stanford and Command Line Tool I (due 2/28) Custom classes, Memory Management, ObjC Properties & MVC, Interface Builder, Controls & target-action Assignment: Command Line Tool II and HelloPoly I (due 3/7) Views, Animation, Open GL & View Controllers Assignment: HelloPoly II (due 3/14) Navigation Controllers, Tab Bar Controllers, Searching & TableViews Assignment: Flickr 1 (due 3/21) Dealing with Data: User Defaults, SQLite, Web Services & Threading, Notifications, KVC Assignment: Flickr 2 (due 2/10), Final project proposals Text, Responders, Modal Views & Address Book Assignment: Flickr 3 (due 3/28) WebViews, MapKit & Multitouch, Gestures Assignment: Flickr 4 (due 4/4) Device APIs: Location, Accelerometer, Compass, Battery Life & Audio playback, Video playback, Image/Video Picker, iPod Media Access Assignment: Final project (Before Spring Break) Bonjour, streams, networking, GameKit & Unit testing, Objective-C fun, localization Assignment: Final project (Before Spring Break)

Assignment One A

In Xcode, create a new Window-Based iPhone application.
Open the project’s MainWindow.xib file with Interface Builder.
Add the following user interface elements to the view:

  • a text label
  • an image view
  • Set the following properties on the text label:
  • text value should be “Hello Stanford!” (or something suitably amusing)
  • text alignment should be centered
  • adjust the size to make the text large
  • any other properties that catch your eye (color, font, etc)

Back in Xcode, add an image (.png or .jpg) to your project. You can either drag the image in from the Finder into your project (e.g. into the Resources folder) or you can use the Project > Add to Project... menu to select an image. Note: Be sure to check the “Copy items into desti- nation group’s folder (if needed)” checkbox. If you don’t do this, the resource won’t be inside of your project directory and when you submit your assignment the resources will not be in- cluded in the submission.

Once your image is in the project, return to MainWindow.xib, select the image view and set the image for the image view that you dragged in previously using the Attributes Inspector.

  • configure the image view’s “Mode” to be “Aspect Fit” so that the entire image is scaled to fit inside the image view’s bounds while preserving the aspect ratio of the image. If a dif- ferent mode works better for your picture, set it accordingly.

Assignment One B

Fourth Quarter

1/2 objective C... 1/2 Java



Kylambouldin 19:49, 15 September 2010 (EDT) Kyla BouldinKylambouldin 19:49, 15 September 2010 (EDT)