Hi, I’m getting really bad image aliasing on a 2x2 pixel pattern with this camera and I’m stuck. I’m starting to think it’s a firmware bug inside the camera itself.
I’ve now tested this on 2 different cameras I bought, on 2 different PCs, and 2 different OSes, and the same artifact shows up every single time. I also tested yuv images and the problem is still there, so it’s not acceptable for JPG compression either.
When I zoom in on one of the captures, I can see columns of pixels are being inverted pairwise. The noise is so bad that the effective resolution of the image is basically cut by 4. I never got it to work properly at all.
All I want is a single full resolution image without this problem. Can anyone help?
Ok, one thing stands out: you’re seeing it in both MJPEG and YUYV, which is a bit unusual if it were purely a decompression artifact - but let’s not assume yet.
First suspicion on my side is the JPEG encoding path. Even when you request YUYV, it’s worth double-checking what the device is actually streaming vs. what the app is doing internally.
Let’s do a clean isolation test:
Choose the YUV format explicitly (uncompressed).
Capture again with that format and save a single full frame.
If the aliasing disappears in YUV, the cause is JPEG encoding. If it’s still there in a raw YUV frame, then we’re looking at the sensor/firmware side and we go from there.
Can you run that and post a cropped zoom of the result?
Just to be sure I do it right - when you say “choose the YUV format”, do you mean force YUYV and make sure nothing is transcoding to MJPEG in the middle? I want to avoid a false negative where I think it’s YUV but it’s actually still going through JPEG somewhere.
Sounds good. Quick summary of where we are so far and the current conclusion:
Symptom: 2x2 pixel aliasing, columns of pixels inverted pairwise, effective resolution reduced by ~4.
Reproduced on 2 cameras, 2 PCs, 2 OSes, across four capture combos (mjpg/yuyv via v4l on Ubuntu; mjpg/yuyv via Amcap on Windows).
Suspected root cause at this point: the JPEG encoding path.
Next step / workaround to confirm: force the uncompressed YUV (YUYV) format end to end and recapture a single frame to see whether the aliasing is still present.
Post your YUV frame when you have it and we’ll compare against the MJPEG capture.