Skip to content

Imx283 support#266

Merged
naushir merged 2 commits into
nextfrom
imx283
May 23, 2025
Merged

Imx283 support#266
naushir merged 2 commits into
nextfrom
imx283

Conversation

@naushir

@naushir naushir commented May 23, 2025

Copy link
Copy Markdown
Collaborator

@davidplowman any objections or should we merge this now?

naushir added 2 commits May 23, 2025 09:48
Add calibrated tuning for the IMX283 sensor for pisp. Update the vc4
tuning file to match the new calibration.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
The IMX283 uses a gain delay of 1 instead of the current value of 2 as
defined in the sensor properties. Fix it.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@davidplowman

Copy link
Copy Markdown
Collaborator

Don't think so - let's go for it!

@naushir naushir changed the base branch from main to next May 23, 2025 08:52
@kbingham

Copy link
Copy Markdown
Collaborator

Merging seems good here - I'm trying to merge upstream too - I took some images with the OneInchEye Will sent me some time ago - it's v1.3 ... and I get somewhat reddish images ..

@naushir Do you know if the module you used for tuning had an IR Cut filter in place? Will tells me there was likely something in the packaging that I didn't put it. ...

I also just realised there was a sensor plastic cover that I had never removed ! haha

@kbingham

kbingham commented May 23, 2025

Copy link
Copy Markdown
Collaborator

imx283-oneincheye

Hard to quantify - but there's something wrong with the 'reds'?

@naushir

naushir commented May 23, 2025

Copy link
Copy Markdown
Collaborator Author

@kbingham is this on a pi4 or pi5? The sensor I have does have an IR filter in place - (so the non-no-IR type 😄 )

@kbingham

Copy link
Copy Markdown
Collaborator

That's captured on the Pi5 - Thanks - clarifying the IR filter is in place can probably account for the red-differences or at least be enough reason to not trust my comparison !

I'm going to have to dig into my camera box to see if I can find a small IR filter that I would have been sent two years ago ... eeep

@naushir

naushir commented May 23, 2025

Copy link
Copy Markdown
Collaborator Author

test

@davidplowman

Copy link
Copy Markdown
Collaborator

@naushir Might be worth waving Nick's IR lamp at it. I have a feeling our office windows might filter out IR.

@kbingham

Copy link
Copy Markdown
Collaborator

This is now pointing at my white painted wall background! (I'm in a different colour t-shirt from yesterday though)
But if I'm lacking an IR filter - I'm weary that I'm not weighing the same
one-inch-eye-red-background
apples

@naushir

naushir commented May 23, 2025

Copy link
Copy Markdown
Collaborator Author

That's definitely capturing IR. Mine does have a filter over the sensor in the housing.

@kbingham

Copy link
Copy Markdown
Collaborator

Yeah - your picture is way better than mine ;-)

oneincheye

If I get too close to the lens things go /really/ red... I'm in an orange t-shirt.

I'm really thinking I've got something wrong on my end here ...

@kbingham

Copy link
Copy Markdown
Collaborator

That's definitely capturing IR. Mine does have a filter over the sensor in the housing.

Ok - then I'll stop adding noise - and try to find the filter ... thanks.

@kbingham

Copy link
Copy Markdown
Collaborator

oneincheye-with-ircut
oneincheye-with-ircut-colourchecker

I will likely have to take the imaging sins I have just committed to the grave ... but there is now an IR cut filter "in front" of the sensor to the best of my knowledge and my walls are once again white!

@naushir naushir merged commit 16e852d into next May 23, 2025
@naushir naushir deleted the imx283 branch May 23, 2025 10:45
@kbingham

Copy link
Copy Markdown
Collaborator

Merged to libcamera master too - with a small typo fixed in the title of the commit message at https://git.libcamera.org/libcamera/libcamera.git/commit/?id=aca8b701ac5645aaf13e2334c4c9e7610d4128a2

@kbingham

Copy link
Copy Markdown
Collaborator

@naushir I realised there was no overlay support for IMX283 in the RPi kernel yet - I assume you managed to throw something together for the calibrations already, but to help get this camera directly supported I've pushed my version to a PR at raspberrypi/linux#6869

@naushir

naushir commented May 23, 2025

Copy link
Copy Markdown
Collaborator Author

Yes I made an overlay file that I was going to push later. Will just use your PR instead.

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

Successfully merging this pull request may close these issues.

3 participants