Course outline

CS 178 - Digital Photography
Spring Quarter, 2011
Marc Levoy
Handout #1

(last updated April 5, 2011)


Table of contents:


Instructor

Marc Levoy
Gates Computer Science Building, Gates 366
levoy@cs.stanford.edu
http://graphics.stanford.edu/~levoy
Office hours: Tue/Thu, 4:15pm - 5:30pm and by appointment

Teaching assistants

David Jacobs
Gates Computer Science Building, Gates 360
dejacobs@cs.stanford.edu
http://graphics.stanford.edu/~dejacobs
Office hours: Mon 4-6pm

Michael Broxton
Gates Computer Science Building, Gates 376
broxton@stanford.edu
http://graphics.stanford.edu/~broxton
Office hours: Fri 1-3pm

Brendan Duncan
Gates Computer Science Building, Gates B24A
brendand@stanford.edu
http://www.baduncan.com/
Office hours: Tue 4-6pm

Hyung-Suk Kim
Gates Computer Science Building, Gates B24A
hskim08@stanford.edu
http://www.stanford.edu/~hskim08
Office hours: Wed 2-4pm

Jesse Levinson
Gates Computer Science Building, Gates 363 (graphics lab)
jessel@stanford.edu
http://gallery.mac.com/jsl
Office hours: Wed 4-5pm

Joint email address: cs178-spr1011-staff@lists.stanford.edu

TA office hours may be canceled on days the TAs are grading exams or performing other time-critical course-related administrative work. We'll send out email to the class emailing list whenever this happens, so check your email before visiting office hours.

Administrative assistant

Monica Niemic
Gates Computer Science Building, Room 368
mniemiec@graphics.stanford.edu
(650)725-3724


Enrolling in this course

The number of students who have signed up for this course is still below our cap of 160, so everybody who wants to take the course for credit can do so.

If you plan to enroll in the course, then before Wednesday, March 30 at 11:59pm, you must (1) sign up for the course via Axess, and (2) fill out the CS 178 online survey at https://spreadsheets.google.com/viewform?hl=en&formkey=dF9rT1UxSnRaSUZxVDdsOFVkQTJRWnc6MA. Don't fill out the survey until you've decided to enroll in the course, and you've signed up for the course via Axess. Filling out the survey will allow you to sign up for a section meeting, to request a loaner camera, and to request a temporary license for Photoshop (see below). On Thursday morning, March 31, we will assign students to sections and decide who gets loaner cameras. The order in which you fill out the survey or sign up on Axess relative to your fellow students won't matter for the allocation of loaner cameras, so take your time and decide thoughtfully on whether you want to take the class, and whether you need a loaner camera.


Lectures and sections

There will be 19 lectures. The topics to be covered, with dates, are given in the course schedule. These lectures will be delivered live in Hewlett (TCSEQ) 201. They will not be broadcast through SCPD, nor encoded for Stanford Online. However, any photographs, videos, or Keynote slides shown in class will be interleaved, converted to a PDF file, and placed online soon after each lecture and linked into the class schedule. Attendance at lectures is expected but not enforced.

Enrolled students are also required to join one of eight weekly 90-minute section meetings, the same one each week. Attendance at section meetings is mandatory; see below for our attendance policy. These meetings will be devoted to tutorials related to that week's assignment, field trips around campus to conduct photography (bring your camera!), critiquing the photographs you submitted to previous assignments (bring your laptop!), or reviewing lecture material for the exams (bring your brain!). The meetings will be held either in Gates B02 or in the field, depending on the topic, and they will commence with the second week of classes, i.e. on Monday, April 4. The meetings for that week will be in B02. Bring your camera to the meetings that week! The available meeting times are:

  1. Mon., 10:15am-11:45, led by David
  2. Tue., 10:15am-11:45, led by Brendan
  3. Tue., 4:15pm-5:45, led by David
  4. Wed., 10:15am-11:45, led by Hyung-Suk
  5. Wed., 2:15pm-3:45, led by Jesse
  6. Wed., 4:15pm-5:45, led by Michael
  7. Thu., 10:15am-11:45, led by Brendan
  8. Thu., 4:15pm-5:45, led by Michael
  9. Fri., 10:15am-11:45, led by Hyung-Suk
To sign up for a section, when you fill out the online survey as previously described, you'll find a question related to your preferred section meeting time. As noted, the deadline for filling out this survey is Wednesday, March 30, at 11:59pm, and you must also have signed up for the course via Axess. On Thursday morning, we will run an algorithm that assigns students to sections.


Textbooks

Required:
  1. London, Stone, and Upton, Photography (10th edition), Pearson / Prentice Hall, 2011. 9th edition is ok.
Optional:
  1. Course reader, assembled by us for this course.
  2. Bryan Peterson, Learning to See Creatively, Watson-Guptill, 1988.

London's book is an excellent introduction to photography. Concepts are clearly explained and well illustrated, often with the work of famous photographers. We'll read about one chapter of this book per week. That said, it is a goal of this course to go into more technical depth than is covered in a basic text like London. For this reason, we've assembled a course reader, containing excerpts from classic books on optics, sensors, camera technology, and photography. We'll assign one or two of these more advanced readings each week. Some of these readings are available online. To save wood (and your money), we haven't included these in the reader; we'll give you a URL instead. As you look through the course reader, don't freak out if some of the readings look complicated. On exams, you are responsible only for the material in the lecture notes and in the main textbook (London). The advanced readings are provided to give you a second explanation (a "different voice"), and to provide more detail about each topic in case you are interested. Finally, no budding photographer's shelf is complete without a Bryan Peterson book. He's written several of these slim, inspiring volumes about "composing strong photographs". Copies of both textbooks and the course reader are available in the textbook section of the campus bookstore.


Course prerequisites

CS 178 assumes no prior knowledge of photography. We also assume no programming experience. Future versions of the course might include optional programming assignments, but not this year. The only knowledge we assume is enough facility and comfort with mathematics that you're not afraid to see the depth-of-field formula in all its glory, and an integral sign here or there won't send you running for the hills. Some topics will require concepts from elementary probability and statistics (like mean, variance, and the Poisson distribution), but we'll define these concepts in class. We'll also make use of matrix algebra, but only at the level of matrix multiplication and matrix-vector products. Finally, an exposure to digital signal processing or Fourier analysis will give you a better intuition for some of the topics, but it is not required.


Cameras

Taking photographs, and improving your picture-taking skills, are an integral part of this course. This means you'll need a camera. Since it's a course on digital photography, you'll need a digital camera. In particular, we require you to have a camera with manual control over shutter speed and aperture. Such a camera will typically also give you manual control over ISO. It's also helpful if your camera has a variable zoom lens, but surprisingly, manual control over focus isn't as critical; we'll show you how to "fool" your camera into focusing at whatever distance you want. Your camera should also have a flash, as most do. You don't, however, need an SLR (single lens reflex camera) to take this course. Many DSCs (digital still cameras, also known as point-and-shoots) offer the minimum flexibility we require. Of course, if you do have an SLR, you'll be able to take better pictures, because SLRs have larger sensors than point-and-shoots, hence higher resolution and lower noise, and they typically have larger apertures, hence more control over depth of field. There are also new classes of cameras appearing every year. Some of these fall into the space between DSCs and SLRs, in particular the so-called mirrorless interchangeable lens cameras (MILC). All models of these cameras that we've seen are adequate for this course.

If you don't have an adequate camera, don't panic. Through the generosity of the Stanford CS and EE departments, the School of Engineering, and the Vice Provost for Undergraduate Education, we've purchased 45 cameras to loan out to students who are enrolled in CS 178. These cameras are a mix of SLRs (Nikon D40 and D3000) and advanced point-and-shoots (Canon A590). That's not enough cameras for everybody, so we'll need to allocate them carefully. We don't know what algorithm we'll use yet for this allocation - possibly by seniority. We also have a few telephoto lenses for the Nikon cameras, which we'll loan out via some kind of signup system and waiting list.

If we loan you a camera, you are financially responsible for it until you return it to us at the end of the quarter. If you lose or damage the camera, you'll need to pay us to fix or replace it. If you don't, then you won't receive a grade in the course, and you may be subject to a university judicial proceedings. So take care of your camera! This includes keeping the lenscap on when not in use (for the SLRs), keeping the camera dry and away from extreme heat, cold, and dust, and keeping the camera in its case when transporting it. I can tell you from sad experience that most cameras will not survive an uncontrolled trip from your hands to the ground. Most SLRs can't even survive a fall from a bed to a carpeted floor. And the lens protector doors on the Canon DSCs will not survive being placed in a sandy coat pocket; they need to stay snugly zipped inside their case.

If you need a camera, then when you fill out the online survey as previously described, you'll find a question related to cameras. We'll tabulate the answers to this question on Thursday morning, then we'll hand out cameras, maybe as early as class on Thursday.


Computers and software

In addition to a camera, you'll also need a computer to take this course. It should be a laptop, so you can bring it to section meetings. and it should have several gigabytes of free disk space, to store the great photographs you'll be taking. As mentioned in the course announcement, every enrolled student will be given a free license to Photoshop CS5 Extended for the duration of the quarter, courtesy of Adobe. Thus, your laptop should have enough additional disk space (about 1GB) to install Photoshop, and enough RAM (at least 512MB) to run it comfortably. We have versions for Mac and Windows; we assume your laptop runs one of those two operating systems.

To get your free license for Photoshop, then when you fill out the online survey, you'll find a question related to Photoshop. Based on your answer to this question, we'll send you a product key by email on Friday, April 1. You can download the software as a free trial from http://www.adobe.com/downloads/. Click on Photoshop CS5 Extended ("Try"), and install it on your computer using the product key we email you. Once it's installed, you should also install the updates at http://www.adobe.com/support/downloads/detail.jsp?ftpID=4892 for Mac and http://www.adobe.com/support/downloads/detail.jsp?ftpID=4949 for Windows.

By the way (we shouldn't need to tell you this), we assume you are backing up your laptop regularly. Even if you never lose or drop your laptop, hard drives fail. In fact, they are guaranteed to fail; it's only a matter of when. After losing three days of continuous typing during my college days because lightning struck the building I was working in, I swore never to lose another hour of computer work in my life. I have three Macs. Each of them is attached to a 1 terabyte external hard drive, including my laptop when it's not on the road. You can buy such a hard drive from Amazon for $100. Each Mac runs Time Machine (requires Mac OS 10.5 or higher), which performs an incremental backup of the internal hard drive every hour. There are equivalent solutions for PCs. By keeping myself backed up, I have survived two hard drive failures over the 15 years I have been using laptops. To emphasize the importance of backing up, losing data because your hard drive fails will not be accepted as an excuse for late assignments in this course. And of course, great photographs are irreplaceable.


Online Services

World Wide Web: All class handouts, project assignments, software support packages, reading lists, and lecture notes will be available via the Web at http://graphics.stanford.edu/courses/cs178-11. In addition to this directory, hardcopy of some handouts (like this one) will be made available in class. Extra copies of these handouts will be available after class in a cabinet in 377 Gates Hall.

TA emailing list: For questions about course logistics, grading, or technical material, you can send email to the TAs jointly at cs178-spr1011-staff@lists.stanford.edu. To send email to the instructor or a particular TA, use the individual email addresses listed earlier in this handout. Do not send email to multiple primary recipients, except via cs178-spr1011-staff; choose one recipient as your "To:" and make the others "CC:". Otherwise, you might get no response, or you might get multiple responses, and we'll get annoyed.

Class emailing list: For items of urgent and universal importance such as clarifications in the project assignments or Photoshop tips and tricks relevant to an assignment, your instructors will use an emailing list generated automatically from the Axess class enrollment list to contact you, so make sure you register for the course via Axess.


Assignments and exams

In addition to regularly scheduled readings, the workload for this course consists of shortly weekly photography (or Photoshop) assignments, an evening midterm examination, and a final examination. The midterm will be on Monday, May 2 at 7-9pm, in Hewlett 200 (across the hall from our bi-weekly lecture room). The final exam will be on Friday, June 3, 3:30 - 6:30pm, place TBA. Makeup exams will be offered only in extreme circumstances, and must be approved in advance. If you miss an exam due to unforseen circumstances, talk to us immediately afterwards. A makeup final exam will not be offered to students because they are taking conflicting classes, since doing so is prohibited by the registrar.

The weekly rhythm: Assignments will be posted on the course web page at the beginning of each week (including this week!). Assignments will not be handed out in class; you need to look online for them. We hope to get them posted by dinnertime each Sunday night, so you can look at them before the first section meeting on Monday morning of the week you'll be working on them. The topic of each assignment is listed in the course schedule. These weekly assignments will be due the following Sunday night at 11:59pm. Sometime after the due date, we will look at your images, add comments to them, and give your assignment a grade. It's hard to judge artistic quality, so rather than grading individual photos, we will assign grades based on whether you met the requirements of the assignment, and how cleverly or creatively you did so. Each requirement will be graded on the scale check, check-minus, and check-plus, with check being the usual grade. Some assignments will also contain short technical questions. These will be graded as well, but their purpose is mainly to help you gauge the kinds of questions we might ask on the exams.

Regrading: In addition to the policy on late assignments (see below), during the quarter you can add up to five photos to already completed assignments and request that they be re-graded. Photography includes a fair element of luck. This provision means that if you take a shot later on in the course that would have been perfect for an earlier assignment, you can still turn it in! It also means that if you didn't quite understand a requirement and did the wrong thing, you can submit a new photograph later.

Picasa Web Album: Submissions will be in the form of a collection of images with text comments, uploaded before each week's deadline to a Picasa Web Album you create for each assignment in this course. These albums will be used by the TAs to grade your assignments, and they will be accessible to other students in CS 178. Thus, replacing a photograph with one you took later is as easy as re-uploading it to the appropriate album and sending email to the TA for your section. Instructions for creating your per-assignment Picasa Web Albums will be included in the first assignment.


Grading Policies

Evaluation criteria: Each of the 8 photography assignments will count as 5% of your grade, for a total of 40%. The midterm and final exams will each cover half of the material in the course, and will each count as 20%. The remaining 20% is for attendance and participation in section meetings. Attendance will be taken in each section meeting. One unexcused absence will be allowed. Beyond this, each unexecused absence will subtract 2% from your grade for the course.

Late assignments: Since the assignments come in rapid succession, it is important that each be completed on time. Replacing photos after the deadline is not allowed, and will be treated as a violation of the honor code. You can add up to five photos as described earlier, but you cannot replace photos. To allow for unforeseeable circumstances, you will be allowed up to four weekdays of grace on your assignments. Beyond this, late assignments will be penalized by 20% of the grade for that assignment per weekday that they are late. Exceptions to this late policy will be made only in the case of a necessary (non-pleasure) trip approved in advance by the TA for your section, or severe illness. If you do not submit one of the assignments at all (or do not take both exams), you will fail the course, even if you are taking it pass/fail. In this case, or if you believe you are in danger of failing, it is your responsibility to come talk to us before the end of the course. Incompletes are given only in exceptional circumstances.

Originality, collaboration, and borrowing: Many of you have taken extraordinary photographs in your careers. Some of these photographs may perfectly and beautifully satisfy the requirements of a CS 178 assignment. Nevertheless, in the interests of fairness and continued learning, we expect your submissions for each assignment to be photographs taken by you specifically for this course. You are encouraged to discuss assignments with friends, but you are expected to take your own photographs. For one or two of the assignments we may permit borrowing of imagery from the Internet; we'll let you know about these specifically.

The honor code: Every year, a few students in CS classes are caught sharing assignments or submitting assignments that have been downloaded from the Internet. Aside from being unfair to your fellow students, these are violations of Stanford's Honor Code. In keeping with the Honor Code, we don't go looking for these violations, but image-based image search tools are getting better every year, and the Internet is deeply and ubiquitously cached. Thus, copied images are relatively easy to detect. If we find a violation, we will prosecute it, and the penalties are real and severe. If you have any doubt about whether a form of collaboration or borrowing is permitted, just ask us; we would be happy to ease your mind. Let's spend our time learning photography, not policing each other.


© 2011 Marc Levoy
Last update: May 10, 2011 04:48:28 PM