Custom Projection Matrix

How to use custom projection matrix for capture component?
I want to use my custom projection matrix and apply some intrinsic and distortion parameters while capturing the images. Can it be done along with projection matrix or after the getting the projected points (x, y) ?