Abstract. We present a novel method of geometric calibration of microlens-based light-field cameras. Accurate geometric calibration is a basis of various applications. Instead of using sub-aperture images, we utilize raw images directly for calibration. We select proper regions in raw images and extract line features from micro-lens images in those regions. For the whole process, we formulate a new projection model of micro-lens-based light-field cameras. It is transformed into a linear form using line features. We compute an initial solution of both intrinsic and extrinsic parameters by a linear computation, and refine it via a non-linear optimization. Experimental results show the accuracy of the correspondences between rays and pixels in raw images, estimated by the proposed method.