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: matchObjBtwnTrials.m
    path of file: ./repos/ciatah/+ciapkg/+classification
    
    the code of the file until where you have to start completion: function [OutStruct] = matchObjBtwnTrials(inputImages,varargin)
	% Registers images to a set imaging session then matches objs between sessions to one another and outputs the alignment indicies for a single global cell across sessions. All images crop
    
function plotObjectMap(objectMap,figNo)
	import ciapkg.api.* % import CIAtah functions in ciapkg package API.

	[~, ~] = openFigure(figNo, '');colormap jet;
	zoom on
	nSessions = length(objectMap);
	for i=1:nSessions
		subplot(3,ceil(nSessions/3),i);
		imagesc(full(objectMap{i}));
		colormap(customColormap([]));
		box off; axis off;
	end