function s = ABOnOff(b)
% s = ABOnOff(b)
%
% This function goes with the DIRT Matlab image registration package.
% Please cite my paper on this topic that you shall find on my web page if
% you use this package. Adrien Bartoli.

if b s = 'on'; else s = 'off'; end;