Laser speckle imaging (LSI) and optical intrinsic signal (OIS) imaging are shown to produce high resolution information of cerebral blood flow(CBF) and de-oxygen hemoglobin(dHb) respectively. However, the cortex curvature and non-uniform illumination always result in the inhomo-geneous impact and thus distort the CBF and dHb results. In this paper, we propose to extract both CBF and dHb images from raw speckle images. A parametric model for such inhomogeneity is estimated by adaptive window median-mean filtering and curve fitting technique to reconstruct the CBF and dHb image.