Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very noisy pictures with com.android.camera2 #16

Open
magcks opened this issue Jun 26, 2020 · 9 comments
Open

Very noisy pictures with com.android.camera2 #16

magcks opened this issue Jun 26, 2020 · 9 comments

Comments

@magcks
Copy link

magcks commented Jun 26, 2020

Hey there,

I really don't know if this is a issue related to this project. So please excuse if this is the wrong place for this issue.

I finally received my FP3 and directly flashed this lineage port onto it and noticed that images are really noisy when captured with com.android.camera2 (see attachment) compared with my old nexus 5x. Obviously only in low-brightness environments.

Is this related to non-existing noise-reduction magic, some issues with the os or is just my hardware broken?

Max
IMG_20200626_193349

@DaAngus
Copy link

DaAngus commented Jun 27, 2020

I had a similar experience and switched to Opencamera, Settings, misc: Camera2 API
That fixed it for me

@magcks
Copy link
Author

magcks commented Jun 27, 2020

The package name of com.android.camera2 indicates it also uses the Camera2 API or is this just misleading?

I also tried both APIs with Opencamera but always hat that strange noise artifacts.

@mohe2015
Copy link

mohe2015 commented Jun 28, 2020

Can you check the ISO settings? The image looks like the ISO is way too high.

@magcks
Copy link
Author

magcks commented Jul 3, 2020

I checked them. ISO values seems reasonable. I noticed that that strange chromatic noise does not exist that heavy on the stock image (I still don't know if these is an issue with my hardware, because I cannot compare against another FP3). Both images were caputured with opencam with same ISO and EXP. It looks like the stock rom does some smoothing in front of the camera API or so. Espacially if you look at the carton on the carpet, you will realise the differences. I real-world scenarios that looks very disturbing in some cases.

Lineage:
opencam_lineage
Stock:
opencam_stock

@dk1978
Copy link
Member

dk1978 commented Jul 8, 2020

Hey, sorry for being late on this thing. To be honest - I don't see much of a difference between "Lineage" and "Stock". My experience with the camera has been ok so far.

@mstaz
Copy link
Contributor

mstaz commented Jul 9, 2020

After using camera several time now I also can see that noise.

Stock:
opencam_stock

This also doesn't look very nice to me. Maybe a general issue with FP3?

@magcks
Copy link
Author

magcks commented Jul 10, 2020

@dk1978 yes, that's true. They are almost equal. Probably the differences are just subjectively...

My thoughts are that they rely more on the noise reduction stuff of google camera. I'm currently discussing this issue with the FP-Support. The thing I notice is that open camera images look extremely bad espacially if pixels are close to image boundaries.

For now, I also think that this is a general issue with all FP3 or at least just some FP3. Thus, I will close this issue for now.

@magcks magcks closed this as completed Jul 10, 2020
@CNugteren
Copy link

CNugteren commented Sep 7, 2020

I'm also seeing a lot of noise, especially when it gets darker. But even when light is slightly reduced, e.g. early in the evening, it is noticeable without zooming in. I made a few test on an FP3 with LineageOS with the original camera app (similar results with OpenCamera btw) as well as with PXv4.5_GoogleCamera_7.2.014 on LineageOS, and for comparison also on an FP3 with the original ROM. I 'solved' the noise issue thus by installing this GoogleCamera port.

Here is a resized version of some images at reasonable lighting conditions:

  • LineageOS standard camera app (very noisy):
    FP3_lineage_small
  • PXv4.5_GoogleCamera (not noisy):
    FP3_GcamPX_small
  • Original FP3 ROM (not noisy):
    FP3_original_small

And here is a close-up of the full-resolution:

  • LineageOS standard camera app (very noisy):
    FP3_lineage_cropped
  • PXv4.5_GoogleCamera (not noisy):
    FP3_GcamPX_cropped
  • Original FP3 ROM (not noisy):
    FP3_original_cropped

@magcks magcks reopened this Sep 8, 2020
@magcks
Copy link
Author

magcks commented Sep 8, 2020

Thanks for your photos.

In the mean time I got a little further into the problems you can observe from your "LineageOS standard camera app" photo. I think these are hot pixels that remains static during multiple shots. You can observe this by take photos of complete darkness (i.e. put something in front of your cam) and save the resulting image as a DNG file (opencamera).

Probably, both camera apps do either better noise reduction or dark frame subtractions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants