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: AlignMTB.m
    path of file: ./repos/mexopencv/+cv
    
    the code of the file until where you have to start completion: classdef AlignMTB < handle
    %ALIGNMTB  Aligns images of the same scene with different exposures
    %
    % This algorithm converts images to median threshold bitmaps (1 for pixels
    % brighter than median lumina
    
function [tb, eb] = computeBitmaps(this, img)
            %COMPUTEBITMAPS  Computes median threshold and exclude bitmaps of given image
            %
            %     [tb, eb] = obj.computeBitmaps(img)
            %
            % ## Input
            % * __img__ input image (`uint8` grayscale).
            %
            % ## Output
            % * __tb__ median threshold bitmap, of same size as `img` and
            %   `uint8` type.
            % * __eb__ exclude bitmap, of same size as `img` and `uint8` type.
            %
            % See also: cv.AlignMTB.process
            %
            [tb, eb] = AlignMTB_(this.id, 'computeBitmaps', img);
        end