Both Panasonic GF2 and Olympus E-PM1 have Four Thirds sized 12.0 MP resolution sensors so sensor size and resolution is not a differentiator between these two cameras.
Below you can see the GF2 and E-PM1 sensor size comparison.
Sensor Size and Resolution Comparison image of Panasonic GF2 and Olympus E-PM1 Cameras
Panasonic GF2 and Olympus E-PM1 have the same sensor sizes so they will provide same level of control over the depth of field when used with same focal length and aperture.
DxOMark Sensor Scores
Both Panasonic GF2 and Olympus E-PM1 sensors have been tested by DxoMark. DxoMark scores camera sensors for color depth (DXO Portrait), dynamic range (DXO Landscape) and low-light sensitivity (DXO Sports), and also gives them an overall score. Of the two cameras that we are comparing, GF2 has scored 54, 2 points higher than E-PM1.
Model
Overall
Color Depth
Dynamic Range
Low-light ISO
Panasonic GF2
54
21.2 bits
10.3 Evs
506 ISO
Olympus E-PM1
52
21.0 bits
10.3 Evs
499 ISO
Sensor size sets the circle of confusion, so it drives how much depth of field each
of these bodies gives you at a given aperture. You can calculate it exactly for the
Panasonic GF2
or the
Olympus E-PM1 ,
including hyperfocal distance.