NPorfilio: Difference between revisions

From Psych 221 Image Systems Engineering
Jump to navigation Jump to search
imported>Psych2012
No edit summary
imported>Psych2012
Line 45: Line 45:
= Methods =
= Methods =
I decided I needed both objective and subjective data to appropriately compare the two cameras.  After all, even if all the quantitative measures say that one camera produces higher quality photos than another, it’s a moot point if the actual pictures do not look better to humans.  Consequently, to get the quantitative data, I took a number of test shots with both cameras using the ISO 12233 and MacBeth ColorChecker and analyzed those in Imatest, a software package for testing digital image quality, on several different metrics discussed below.  Then to get the subjective data, I took a couple of pictures of Memorial Church on Stanford University’s campus under a number of different lighting conditions.  I then used all this data to compare the cameras and came up with my conclusions.
I decided I needed both objective and subjective data to appropriately compare the two cameras.  After all, even if all the quantitative measures say that one camera produces higher quality photos than another, it’s a moot point if the actual pictures do not look better to humans.  Consequently, to get the quantitative data, I took a number of test shots with both cameras using the ISO 12233 and MacBeth ColorChecker and analyzed those in Imatest, a software package for testing digital image quality, on several different metrics discussed below.  Then to get the subjective data, I took a couple of pictures of Memorial Church on Stanford University’s campus under a number of different lighting conditions.  I then used all this data to compare the cameras and came up with my conclusions.
[[File:iso.jpg | ISO 12233 Chart]]
[[File:macbeth.jpg | Macbeth ColorChecker]]
[[File:memorialchurch.jpg | Memorial Church, Stanford University]]




Line 70: Line 74:


Et cetera.
Et cetera.


= Results - What you found =
= Results - What you found =

Revision as of 04:58, 22 March 2012

Back to Psych 204 Projects 2009




Background

Image quality is one of the most important considerations when deciding which camera to purchase. Image quality is affected by a camera’s internal mechanics but also by external factors.

The image pipeline. Courtesy of Dr. Karl Lenhardt, Bad Kreuznach

With respect to a camera’s internal factors, image quality is affected by:

Lens: The lens transfers the visual information of the object to be depicted onto the plane of the image sensor.

Sensor: The sensor is an array of millions of tiny pixels that produce the final image. When you press your camera's shutter button and the exposure begins, each of these pixels has a photosite which is uncovered to collect and store photons in a cavity. Once the exposure finishes, the camera closes each of these photosites, and then tries to assess how many photons fell into each (Cambridge in Colour). Sharpness, distortion, vignetting, Lateral Chromatic Aberration, noise, and dynamic range are the principal factors that can be measured at this stage (Imatest).

Image processing pipeline: The image processing pipeline is a set of digital adjustments made to the pre-processed image taken from the lens and sensor, and then transferred into the pipeline. It typically includes demosaicing, color correction, white balance, application of gamma and tonal response curves, sharpening, and noise reduction. The output of the pipeline may be compared to the minimally-processed lens and sensor measurements. However, the effect of the pipeline on subjective image quality can be highly scene and application-dependent, making it difficult to assign objective rankings (Imatest).


Oftentimes, image quality is a function of camera price—many consumers expect a more expensive camera to deliver a higher quality image. But is this always the case? Does an expensive DSLR outperform a compact digital camera that is one-third its price? My project investigates two cameras on the market--the Nikon D5100 and the Sony Cyber-shot DSC-T700—using a subset of the factors discussed above and compares the quality of the image outputted from each.


You can use subsections if you like. Below is an example of a retinotopic map. Or, to be precise, below will be an example of a retinotopic map once the image is uploaded. To add an image, simply put text like this inside double brackets 'MyFile.jpg | My figure caption'. When you save this text and click on the link, the wiki will ask you for the figure.
Figure 1

Below is another example of a reinotopic map in a different subject.
Figure 2

Once you upload the images, they look like this. Note that you can control many features of the images, like whether to show a thumbnail, and the display resolution.

Figure 3


MNI space

MNI is an abbreviation for Montreal Neurological Institute.

Methods

I decided I needed both objective and subjective data to appropriately compare the two cameras. After all, even if all the quantitative measures say that one camera produces higher quality photos than another, it’s a moot point if the actual pictures do not look better to humans. Consequently, to get the quantitative data, I took a number of test shots with both cameras using the ISO 12233 and MacBeth ColorChecker and analyzed those in Imatest, a software package for testing digital image quality, on several different metrics discussed below. Then to get the subjective data, I took a couple of pictures of Memorial Church on Stanford University’s campus under a number of different lighting conditions. I then used all this data to compare the cameras and came up with my conclusions.

ISO 12233 Chart Macbeth ColorChecker Memorial Church, Stanford University


Measuring retinotopic maps

Retinotopic maps were obtained in 5 subjects using Population Receptive Field mapping methods Dumoulin and Wandell (2008). These data were collected for another research project in the Wandell lab. We re-analyzed the data for this project, as described below.

Subjects

Subjects were 5 healthy volunteers.

MR acquisition

Data were obtained on a GE scanner. Et cetera.

MR Analysis

The MR data was analyzed using mrVista software tools.

Pre-processing

All data were slice-time corrected, motion corrected, and repeated scans were averaged together to create a single average scan for each subject. Et cetera.

PRF model fits

PRF models were fit with a 2-gaussian model.

MNI space

After a pRF model was solved for each subject, the model was trasnformed into MNI template space. This was done by first aligning the high resolution t1-weighted anatomical scan from each subject to an MNI template. Since the pRF model was coregistered to the t1-anatomical scan, the same alignment matrix could then be applied to the pRF model.
Once each pRF model was aligned to MNI space, 4 model parameters - x, y, sigma, and r^2 - were averaged across each of the 6 subjects in each voxel.

Et cetera.

Results - What you found

Retinotopic models in native space

Some text. Some analysis. Some figures.

Retinotopic models in individual subjects transformed into MNI space

Some text. Some analysis. Some figures.

Retinotopic models in group-averaged data on the MNI template brain

Some text. Some analysis. Some figures. Maybe some equations.


Equations

If you want to use equations, you can use the same formats that are use on wikipedia.
See wikimedia help on formulas for help.
This example of equation use is copied and pasted from wikipedia's article on the DFT.

The sequence of N complex numbers x0, ..., xN−1 is transformed into the sequence of N complex numbers X0, ..., XN−1 by the DFT according to the formula:

Xk=n=0N1xne2πiNknk=0,,N1

where i is the imaginary unit and e2πiN is a primitive N'th root of unity. (This expression can also be written in terms of a DFT matrix; when scaled appropriately it becomes a unitary matrix and the Xk can thus be viewed as coefficients of x in an orthonormal basis.)

The transform is sometimes denoted by the symbol , as in 𝐗={𝐱} or (𝐱) or 𝐱.

The inverse discrete Fourier transform (IDFT) is given by

xn=1Nk=0N1Xke2πiNknn=0,,N1.

Retinotopic models in group-averaged data projected back into native space

Some text. Some analysis. Some figures.


Conclusions

Here is where you say what your results mean.

References - Resources and related work

[1] Dr. Karl Lenhardt, Bad Kreuznach. http://www.schneiderkreuznach.com/knowhow/opt_quali_e.htm [2] Cambridge in Colour. http://www.cambridgeincolour.com/tutorials/camera-sensors.htm

Software

Imatest. http://www.imatest.com/

Appendix I - Code and Data

Code

File:CodeFile.zip

Data

zip file with my data