isofit.surface.surface
- class Surface(full_config)[source]
Bases:
object
A model of the surface.
Surface models are stored as MATLAB ‘.mat’ format files.
- fit_params(rfl_meas, geom, *args)[source]
Given a directional reflectance estimate and one or more emissive parameters, fit a state vector.
- calc_lamb(x_surface, geom)[source]
Calculate a Lambertian surface reflectance for this state vector.
- calc_rfl(x_surface, geom)[source]
Calculate the directed reflectance (specifically the HRDF) for this state vector.
- drfl_dsurface(x_surface, geom)[source]
Partial derivative of reflectance with respect to state vector, calculated at x_surface. In the case that there are no free paramters our convention is to return the vector of zeros.
- drfl_dsurfaceb(x_surface, geom)[source]
Partial derivative of reflectance with respect to unmodeled variables, calculated at x_surface. In the case that there are no free paramters our convention is to return the vector of zeros.