1. An image capturing apparatus that has a three-dimensional grid data table, comprising: a holding unit configured to hold a matrix coefficient which is a basis of the three-dimensional grid data table at an arbitrary number of grid points, and editing data for editing grid point data of the three-dimensional grid data table; a calculating unit configured to calculate the grid point data of the three-dimensional grid data table at a predetermined number of grid points by performing a matrix operation using the matrix coefficient; an editing unit configured to edit the grid point data of the three-dimensional grid data table calculated by the calculating unit, based on the editing data; and a generating unit configured to generate an image file which includes raw image data acquired by image capturing without color converting using grid point data based on the matrix coefficient, the editing data, and the matrix coefficient.