You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: imMeanBreadthLut.m
    path of file: ./repos/matImage/matImage/imMinkowski
    
    the code of the file until where you have to start completion: function lut = imMeanBreadthLut(varargin)
%IMMEANBREADTHLUT Look-
    
function sphericalCapsAreaC26.m
c1 = 0.04577789120476 * 2;  % Ox
c2 = 0.04577789120476 * 2;  % Oy
c3 = 0.04577789120476 * 2;  % Oz
c4 = 0.03698062787608 * 2;  % Oxy
c5 = 0.03698062787608 * 2;  % Oxz
c6 = 0.03698062787608 * 2;  % Oyz
c7 = 0.03519563978232 * 2;  % Oxyz

% If resolution is not the same in each direction, recomputes the weights
% assigned to each direction
if sum(abs(diff(delta)))~=0
    areas = sphericalCapsAreaC26(delta);
    c1 = areas(1) * 2;
    c2 = areas(2) * 2;
    c3 = areas(3) * 2;
    c4 = areas(4) * 2;
    c5 = areas(6) * 2;
    c6 = areas(8) * 2;
    c7 = areas(10) * 2;
end