An imaging arrangement technique is used to align a first waveguide on a
first wafer to a second waveguide on a second wafer. The adaptive imaging
arrangement is used on both the first and second waveguides when the first
and second wafers are orthogonal to each other. In one embodiment, my
imaging arrangement is used in an N.times.N optical cross-connect
constructed using orthogonal abutting input and output planar arrays of N
switches. If N is not too large, the optimum construction involves only
two stages of trees, each incorporating an adaptive imaging arrangement
allowing the input and output trees to be directly joined together without
need for precise alignment.