Skip to content

Commit

Permalink
Upstream R6246
Browse files Browse the repository at this point in the history
  • Loading branch information
johannestoger committed Mar 19, 2018
1 parent a448411 commit 4b46fe8
Show file tree
Hide file tree
Showing 144 changed files with 4,703 additions and 1,031 deletions.
Binary file modified source/+bruker/brukerreader.p
Binary file not shown.
Binary file modified source/+corelab/corelab.p
Binary file not shown.
Binary file modified source/+ct/CTBoneSegmentation.p
Binary file not shown.
Binary file modified source/+ct/CTLVSegmentation.p
Binary file not shown.
Binary file modified source/+ct/CTWholeHeartSegmentation.p
Binary file not shown.
Binary file modified source/+ct/coronaryOstiaSearch.p
Binary file not shown.
Binary file modified source/+ct/ctlicensecheck.p
Binary file not shown.
Binary file modified source/+ct/ctperfusion.p
Binary file not shown.
Binary file modified source/+ct/imagestacksct.p
Binary file not shown.
Binary file modified source/+perfusion/perfusion.p
Binary file not shown.
Binary file added source/+perfusion/perfusionscoring.fig
Binary file not shown.
1,702 changes: 1,702 additions & 0 deletions source/+perfusion/perfusionscoring.m

Large diffs are not rendered by default.

Binary file modified source/+pwv/pulsewavevelocity.p
Binary file not shown.
33 changes: 26 additions & 7 deletions source/+reporter/htmlgenerator.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,35 +53,54 @@
end

%-------------
function stri = table(hg, content, boldcells, width)
function stri = table(hg, content, boldcells, width, bgcolors)
%-------------
%TABLE Method to insert a table with content specified by a cell.

if nargin < 4
if nargin <5
bgcolors = zeros(size(content));
if nargin < 4
width = round(0.625*hg.pagewidth);
if nargin < 3
if nargin < 3
boldcells = zeros(size(content));
if nargin < 2
if nargin < 2
myfailed('Too few input arguments.');
end
end
end

end
tdstring='<td>';
stri = sprintf('<table frame=box rules=all width=%d>\n', width);
for i = 1:size(content, 1)
stri = [stri sprintf('<tr>\n')]; %#ok<AGROW>
for j = 1:size(content, 2)
if bgcolors(i,j) == 2
tdstring='<td bgcolor=#ff0000>';
elseif bgcolors(i,j) == 3
tdstring='<td bgcolor=#ffff00>';
elseif bgcolors(i,j) == 4
tdstring='<td bgcolor=#33ccff>';
else
tdstring='<td>';
end

if boldcells(i, j) == 2
b1 = '<font color="red">';
b2 = '</font>';
elseif boldcells(i, j) == 3
b1 = '<font color="yellow">';
b2 = '</font>';
elseif boldcells(i, j) == 4
b1 = '<font color="blue">';
b2 = '</font>';

elseif boldcells(i, j)
b1 = '<b>';
b2 = '</b>';
else
b1 = '';
b2 = '';
end
stri = [stri sprintf('<td>%s%s%s</td>\n', b1, content{i,j}, b2)]; %#ok<AGROW>
stri = [stri sprintf('%s%s%s%s</td>\n',tdstring, b1, content{i,j}, b2)]; %#ok<AGROW>
end
stri = [stri sprintf('</tr>\n')]; %#ok<AGROW>
end
Expand Down
Binary file modified source/+reporter/reportsheet.fig
Binary file not shown.
Binary file modified source/+reporter/reportsheet.p
Binary file not shown.
Binary file modified source/+spect/spectlvsegmentation.p
Binary file not shown.
Binary file modified source/+spect/spectmarsegmentation.p
Binary file not shown.
Binary file modified source/+spect/spectperfusionsegmentation.p
Binary file not shown.
Binary file modified source/+spect/spectregistration.p
Binary file not shown.
Binary file modified source/+strain/strain.p
Binary file not shown.
Binary file modified source/+straintagging/cm_readMhdData.p
Binary file not shown.
Binary file modified source/+straintagging/cm_readVTKData.p
Binary file not shown.
Binary file modified source/+straintagging/cm_writeMhdData.p
Binary file not shown.
Binary file modified source/+straintagging/cm_writeVTKData.p
Binary file not shown.
6 changes: 6 additions & 0 deletions source/+straintagging/dyssynchrony.m
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ function init(taggroup,type)

radio_Callback;

%unclick apex after initiation
if strcmp(type,'SAX')
set(gui.handles.radiobutton17,'Value',0)
radio_Callback
end


function setpeak_Callback(type,ind)
global DATA
Expand Down
Binary file modified source/+straintagging/runexe.p
Binary file not shown.
Binary file modified source/+straintagging/strainselectslices.p
Binary file not shown.
Binary file modified source/+straintagging/straintagging.p
Binary file not shown.
Binary file modified source/+t2star/t2star.p
Binary file not shown.
Binary file modified source/+t2star/t2star_ADAPTS5.p
Binary file not shown.
Binary file modified source/+translation/dictionary.mat
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed source/Docs/segmentcmrinstructionsforuse.pdf
Binary file not shown.
Binary file removed source/Docs/segmentcmrinstructionsforuse_Czech.pdf
Binary file not shown.
Binary file removed source/Docs/segmentcmrinstructionsforuse_German.pdf
Binary file not shown.
Binary file not shown.
Binary file removed source/Docs/segmentcmrinstructionsforuse_Svenska.pdf
Binary file not shown.
Binary file removed source/Docs/segmentcmrinstructionsforuse_US.pdf
Binary file not shown.
Binary file modified source/S.p
Binary file not shown.
Binary file modified source/alignment2D.p
Binary file not shown.
Binary file modified source/alignment3D.p
Binary file not shown.
Binary file modified source/autocrop.p
Binary file not shown.
Binary file modified source/autocropall.p
Binary file not shown.
Binary file modified source/avplane.p
Binary file not shown.
12 changes: 9 additions & 3 deletions source/axestable.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,23 +206,27 @@ function draw(obj)
return;
end

set(obj.axes,'Color',obj.backgroundcolor);
set(obj.linex,'color',obj.backgroundcolor)
set(obj.liney,'color',obj.backgroundcolor)

for loop=1:length(obj.Table) %Update all titles
stri = translation.dictionary(obj.Table{loop}.Title);
set(obj.Table{loop}.Handle,'String',stri)
set(obj.Table{loop}.Handle,'String',stri,'color',obj.fontcolor)
end
for loop=1:length(obj.Key) %Update all values.
for vloop=1:length(obj.Key{loop}.values),
stri=obj.parseValue(obj.Key{loop}.values{vloop});
set(obj.Key{loop}.valuesHandle{vloop},...
'String',stri,...
'Position',[obj.Key{loop}.valuesXpos(vloop) obj.FigHeight-obj.Key{loop}.valuesYpos(vloop)]);
'Position',[obj.Key{loop}.valuesXpos(vloop) obj.FigHeight-obj.Key{loop}.valuesYpos(vloop)],'color',obj.fontcolor);
% stri=obj.parseValue(obj.Key{loop}.Name);
if ~isempty(obj.Key{loop}.Unit)
stri=sprintf('%s (%s)',translation.dictionary(obj.Key{loop}.Name),obj.Key{loop}.Unit);
else
stri=translation.dictionary(obj.Key{loop}.Name);
end
set(obj.Key{loop}.keyHandle,'String',stri);
set(obj.Key{loop}.keyHandle,'String',stri,'color',obj.fontcolor);
end
end
end
Expand Down Expand Up @@ -590,6 +594,8 @@ function firstdraw(obj)
str=obj.defaultclearstring;
elseif value==round(value)
str=sprintf('%3d',value);
elseif value < 10
str=sprintf('%3.2f',value);
else
str=sprintf('%3.1f',value);
end
Expand Down
5 changes: 1 addition & 4 deletions source/calcfunctions.m
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ function volume_helper(no)
elseif SET(no).TSize>2
%find a corresponding (closest) tf in no, for each tf in noseg
alltf = (1+((1:40)-1)/(SET(noseg(loop)).TSize-1)*(SET(no).TSize-1));
tfs = find(SET(no).CurrentTimeFrame==round(alltf));
tfs = max(1,min(SET(noseg(loop)).TSize,find(SET(no).CurrentTimeFrame==round(alltf))));
tfdiff = abs(alltf(tfs)-SET(no).CurrentTimeFrame);
% tf = round(1+(SET(no).CurrentTimeFrame-1)/(SET(no).TSize-1)*(SET(noseg(loop)).TSize-1));
%[~,tf] = min(abs(SET(noseg(loop)).TimeVector-SET(no).TimeVector(SET(no).CurrentTimeFrame)));
Expand Down Expand Up @@ -2812,7 +2812,6 @@ function calcflow(no) %#ok<DEFNU>

global DATA SET

tic
nom = SET(no).Flow.MagnitudeNo;
nop = SET(nom).Flow.PhaseNo;

Expand Down Expand Up @@ -2880,8 +2879,6 @@ function calcflow(no) %#ok<DEFNU>
SET(nom).Flow.Result(roinbr).regfrac = abs(100*SET(nom).Flow.Result(roinbr).netbackwardvol/SET(nom).Flow.Result(roinbr).netforwardvol);
SET(nom).Flow.Result(roinbr).sv = SET(nom).Flow.Result(roinbr).nettotvol/hr*60;

toc


%---------------------------
function clearflow(no,roinbr) %#ok<DEFNU>
Expand Down
Binary file modified source/cessfpmarsegmentation.p
Binary file not shown.
Binary file modified source/changelog.p
Binary file not shown.
Binary file modified source/checkdatabaselicense.p
Binary file not shown.
Binary file added source/colormapecv.mat
Binary file not shown.
Binary file added source/colormapt1.mat
Binary file not shown.
Binary file modified source/communicate.p
Binary file not shown.
Binary file modified source/conquest.con
Binary file not shown.
Binary file modified source/dicomanonymize.p
Binary file not shown.
Binary file modified source/dicomsorter.p
Binary file not shown.
Loading

0 comments on commit 4b46fe8

Please sign in to comment.