Threaded View
-
21-01-2020 #10
You may think that Kit, however I believe the (presumably linear) interpolation on the sensor is messing with my non-linear intensity fitting algorithms. It makes no sense to resolve down to sub-pixel resolution when 75% of the sensor information is estimated (Nyquist would have a fit).
For example imagine the raw intensity at the peak of our gaussian laser line looks like this:
100, 100, 101, 101, 100, 100
Now if this falls under the bayer filter on a green+red filter line arranged as:
G, R, G, R, G, R, G
With only red laser light, nearest neighbour linear interpolation would look like this:
100, 100, 100, 101, 100, 100
If the bayer filter is offset 1 pixel the other way you would get
100, 100, 101, 100, 100, 100
Therefore you have 1 pixel (3um) uncertainty and this is for a green+red filter line. I think is worse for a green+blue filter line where all the information is interpolated, i.e the information rate is zero.
I have some ideas to detect and strip this out but it is guess work without a datasheet for the camera chip, or maybe just reduce the resolution of the system from 1 pixel to say 4 pixels (6um).
I have a few RPIs here with cameras which I can get the raw bayer data from and just use the red pixels (can't get the raw data from a webcam), might we worth an experiment but would need entirely new code.
An alternative would be to use an IR laser as the bayer filter is transparent to IR therefore the sensor will behave as monochrome at full resolution, but then you couldn't see the laser for rough alignment.
Monochrome usb cameras (that are made without the bayer filter) are expensive as there is no mass demand.Last edited by devmonkey; 21-01-2020 at 10:53 AM.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
WANTED: K40 laser
By dfox1787 in forum Items WantedReplies: 0Last Post: 23-10-2018, 08:34 PM -
Newbie - Help With Laser Cutting Speed And Power - 60W Laser
By nickpscott in forum Laser Machines & BuildingReplies: 2Last Post: 11-11-2015, 10:07 PM -
FOR SALE: K40 laser not working (laser fires)
By calida in forum Items For SaleReplies: 0Last Post: 31-03-2015, 08:45 PM -
WANTED: GCc Laser Pro or Epilog Laser Cutter Machine
By Brownhills school in forum Items WantedReplies: 1Last Post: 10-05-2012, 04:30 PM -
help with cnc laser
By swinds in forum Laser Machines & BuildingReplies: 11Last Post: 09-01-2012, 10:15 PM
Bookmarks