Chris@0: function visualizeCRP(f_crp,parameter) Chris@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chris@0: % Name: visualizeCRP Chris@0: % Date of Revision: 2011-03 Chris@0: % Programmer: Meinard Mueller, Sebastian Ewert Chris@0: % Chris@0: % Description: Chris@0: % Visualization of CRP features (wrapper around visualize_chroma) Chris@0: % Chris@0: % Input: Chris@0: % f_CRP Chris@0: % parameter: is forwarded to visualizeChroma Chris@0: % Chris@0: % License: Chris@0: % This file is part of 'Chroma Toolbox'. Chris@0: % Chris@0: % 'Chroma Toolbox' is free software: you can redistribute it and/or modify Chris@0: % it under the terms of the GNU General Public License as published by Chris@0: % the Free Software Foundation, either version 2 of the License, or Chris@0: % (at your option) any later version. Chris@0: % Chris@0: % 'Chroma Toolbox' is distributed in the hope that it will be useful, Chris@0: % but WITHOUT ANY WARRANTY; without even the implied warranty of Chris@0: % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Chris@0: % GNU General Public License for more details. Chris@0: % Chris@0: % You should have received a copy of the GNU General Public License Chris@0: % along with 'Chroma Toolbox'. If not, see . Chris@0: % Chris@0: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chris@0: if isfield(parameter,'imagerange')==0 Chris@0: parameter.imagerange = [-1 1]; Chris@0: end Chris@0: if isfield(parameter,'colormap')==0 Chris@0: blueSepia = gray(64).^0.8; Chris@0: blueSepia(:,1:2) = blueSepia(:,1:2) * 0.5; Chris@0: parameter.colormap = [flipud(blueSepia) ; hot(64)]; Chris@0: end Chris@0: Chris@0: visualizeChroma(f_crp,parameter); Chris@0: Chris@0: end