|
|
Tinkering with various user defined cameras I often seem to run into the
following; using select in a function you either select bigger smaller or
bigger and equal or smaller:
from a stereo cam:
#local D2_X_Fn = function(u,v){
select(
(u<=0), //u<0????
-1,
D1R_X_Fn((u/AspectU*image_width)-0.25,v),
D1L_X_Fn((u/AspectU*image_width)+0.25,v)
)
};
the alternative is select only smaller or bigger resulting in a pixel wide
black line.
So, what to do with the pixel in the middle? Another select with u=0?
ingo
Post a reply to this message
|
|