My iPhone 11 takes photos that are 4000 x 3000 RGB pixels. That's 12 million picture elements, or 36 million sub-pixels. It's rated as 12 MP.
Sorry if the writeup isn't that specific, I mostly work with monochrome CMOS cameras.
https://en.wikipedia.org/wiki/Demosaicing https://en.wikipedia.org/wiki/Bayer_filter
edit: I should also state that I don't know anything about iPhone cameras. It's quite possible, but not typical that they have a 36 MP sensor producing 12 MP images.
edit 2: I read that the iphone 12 has 1.7 um pixels. A 36 MP 4:3 sensor with 1.7 um pixels would be 8.3 mm. A 12 MP 4:3 sensor would be just 6.8 mm wide.
The size of the sensor and the smarts behind it matter a lot more
For example, the f31d was great in its time and showed that megapixels weren't the only measure to look for.
And the lenses.
My backup DSLR shooting at 6MP with $100 of glass on the front looks infinitely better than the photos out of my iPhone 12 Pro.
I'm thinking if it were a good idea, then Canon, Sony, and Nikon would all be doing that.
I bought an iPhone 12 Pro pretty much entirely as a camera to use to capture a bunch of photos of my kid because (1) I don't have my DSLR within arm's reach in the house all the time and (2) our house isn't very well lit. I have zero complaints about it. I probably take photos with my iPhone versus my actual photo gear at least 20:1, if not more.
The photos look great on a phone screen.
But even just printing a 4x6 photo from the iPhone and a 15 year old DSLR and putting them side by side, the difference is immediately obvious. The iPhone photos are disgustingly oversharpened while somehow being weirdly smoothed, but in all the wrong spots.
I grabbed a couple of my own photos taken on the same day in the same place under largely the same lighting conditions (it's never exact) and zoomed/cropped them to help demonstrate and for privacy. Neither have been adjusted at all (I did try and improve the iPhone photo best I could, but really managed no substantial looking improvement so posted it as-shot), so focus more on the definition in the hair: https://imgur.com/a/7bn8W5S
See if you can guess which came from an iPhone 12 Pro, and which came from a Nikon D70 (about a $100 camera body at this point).
That all said, the entire point was... expecting anything more than 12MP out of an iPhone is absolutely pointless because the sensor size and optics simply aren't there to actually produce a better photo.
The main issue, as far as I understand it, is that the tiny sensor and tiny lens at some point just end up limiting the effective resolution. You can capture more pixels, but you never really increase the actual effective resolution of the end product. At that point you're not accomplishing much more than scaling up a lower resolution picture.
The "computational photography" usually ends up just vastly over-doing the sharpening and creating artifacts, and leaving weirdly smooth gaps where there was nothing to sharpen but the camera completely failed to pick up detail.
Just a couple random photos I grabbed from a day I took my kid to the park, but not necessarily like... scientific-paper worthy examples: https://imgur.com/a/7bn8W5S
One's taken with my iPhone 12 Pro, one with a Nikon D70.
Mainly, though, I base this off of trying to print any of the photos I've taken, and maybe someone else can hop in and explain this for me. I could be way off base here.
Printing photos from my iPhone at 4x6 they all look like someone took a really soft or slightly out-of-focus photo, applied way too much sharpening, and printed it. Printing a photo from my D70 generally still looks crisp and natural. Even if I blow it up beyond the actual resolution, it looks pixelated... not soft and then sharpened. This is even though the iPhone has twice the resolution of the D70.
For it's price it is pretty unbeatable, if you're in the MFT ecosystem.
The computational composition (I wouldn't call it photography) done by modern phones also just looks weird. For example, trying to detect foreground and artificially blur the background, leaving a weird in-focus-yet-distant halo of texture around things.
And sensor size, that's why I don't understand that metric. Yeah the resolution is right eg. ~8Kx4K
Bigger pixel is the difference apparently
It's a slow process moving away from this once you've drilled it into people's heads with marketing. It's just like how MHz used to be an easy and fairly reliable way to compare CPU's in the 90's and it took a really long time for the general public to understand that clock speed isn't all that matters.
That's why you see a focus on showing off the end results now, like Apple's rebooted "Shot on iPhone" campaign or Samsung's current photo competition restricted to photos taken with a Galaxy S21
Most DSLR/mirrorless cameras have a 3:2 ratio, whereas smartphone cameras tend to have a 4:3 ratio.
If you want to make a smartphone camera sensor that can do 3840 pixels across that can shoot 4k, the 4:3 sensor would need to be 2880 pixels tall. So 3840*2880 = 11.1MP would be the bare minimum size for a smartphone camera that can shoot 4K.
In practice you'd want something larger than that, so you can do DCI 4K (which is a bit higher resolution) and do things like gyroscopically assisted electronic image stabilization (which benefits from a few extra pixels around the border). The iPhone can probably implement video stabilization that rivals GoPro's HyperSmooth stabilization.
I guess it really depends on the aspect ratio you're going for.
a) nothing stopping them from faking it, plenty of crappy hardware will record files in an upscaled resolution (see webcams especially for this)
b) you probably don't want a larger version of the output of that device anyways.
I mean even a 130 dollar phone has a 13 megapixel camera. https://www.amazon.com/BLU-Android-Factory-Unlocked-Display/...