Pentax K-r has a
12.0MP APS-C (23.6 x 15.8 mm ) sized CMOS sensor and features Prime II processor. On the other hand, Samsung NX30 has a
20.0MP APS-C (23.5 x 15.7 mm ) sized CMOS sensor and features DRIMeIV processor.
Samsung NX30's sensor provides 8MP more than Pentax K-r's sensor, which gives a significant advantage in real life. You can print your images larger or crop more freely.
On the other hand, please keep in mind that Max sensor resolution is not the only determinant of resolving power. Factors such as the optical elements, low pass filter, pixel size and sensor technology also affects the final resolution of the captured image.
Below you can see the K-r and NX30 sensor size comparison.
Sensor Size and Resolution Comparison image of Pentax K-r and Samsung NX30 Cameras
Pentax K-r and Samsung NX30 have almost the same sensor size, so neither of them has any significant advantage over the other in terms of providing control over depth of field when used with the same focal length and aperture.
DxOMark Sensor Scores
DxOMark is a benchmark that scientifically assesses image quality of camera sensors. It 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. Pentax K-r and Samsung NX30 sensors have been tested by DxO and the results show that NX30 has a better overall score of 77, 5 points higher compared to K-r's score of 72.
Model
Overall
Color Depth
Dynamic Range
Low-light ISO
Pentax K-r
72
22.9 bits
12.4 Evs
755 ISO
Samsung NX30
77
23.5 bits
12.4 Evs
1014 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
Pentax K-r
or the
Samsung NX30 ,
including hyperfocal distance.