While megapixels play a role, other factors such as sensor quality and image processing also influence overall image and video quality