You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to apply lens shading to my rpi camera, and - while the ultimate mmal_port_parameter_set() call is returning a successful result - I never see any actual correction to subsequent images. Here's the program I've got that updates the camera (it's C++ based on the sketch you provide in the README):
It's using the ls_table.h generated by lens_shading_analyse. All I do is something like this:
raspistill --raw -o image.orig.jpg
./lens_shading_analyse image.orig.jpg
make # compiles the above program to update_program
./update_table
raspistill --raw -o image.jpg
My expectation is that image.jpg will have been taken using the lens shading table produced by lens_shading_analyse, but the image.orig.jpg and image.jpg always look identical.
Am I just doing something boneheaded? Is it perhaps possible that I've actually disabled lens shading support somehow? Should I even expect lens shading to work?
Here's some information about my system:
RPi compute module 3
RPi IO board
Stereo camera configuration
V2 cameras (Arducam V2 8MP IMX219 w/ M12 lenses)
Any guidance would be deeply appreciated.
The text was updated successfully, but these errors were encountered:
, and if I run this immediately after the first program, it reports that lens shading is not enabled. That is, it seems that the lens shading flag doesn't persist across processes.
Correct. Each instance of a MMAL component is totally independent of any other.
I've been trying to apply lens shading to my rpi camera, and - while the ultimate
mmal_port_parameter_set()
call is returning a successful result - I never see any actual correction to subsequent images. Here's the program I've got that updates the camera (it's C++ based on the sketch you provide in the README):It's using the
ls_table.h
generated bylens_shading_analyse
. All I do is something like this:My expectation is that image.jpg will have been taken using the lens shading table produced by
lens_shading_analyse
, but theimage.orig.jpg
andimage.jpg
always look identical.Am I just doing something boneheaded? Is it perhaps possible that I've actually disabled lens shading support somehow? Should I even expect lens shading to work?
Here's some information about my system:
Any guidance would be deeply appreciated.
The text was updated successfully, but these errors were encountered: