Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fordanic committed Jan 18, 2015
1 parent c3e3fb1 commit 3634f68
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions create_monomial_filters_for_structure_tensor_computation2d.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ function create_monomial_filters_for_structure_tensor_computation2d()

%%

if ~exist('F_weightgensnr.m','file') || ~exist('goodsw.m','file') || ...
~exist('bplognorm.m','file') || ~exist('krnopt.m','file')
error(['You appear to be missing vital functions for optimizing filters. ',...
'Please download: https://www.imt.liu.se/edu/courses/TBMI02/code/kerngen.zip'])
end

for k = 1 : length(scales)
scale = scales{k};

Expand Down
6 changes: 6 additions & 0 deletions create_monomial_filters_for_structure_tensor_computation3d.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ function create_monomial_filters_for_structure_tensor_computation3d()

%%

if ~exist('F_weightgensnr.m','file') || ~exist('goodsw.m','file') || ...
~exist('bplognorm.m','file') || ~exist('krnopt.m','file')
error(['You appear to be missing vital functions for optimizing filters. ',...
'Please download: https://www.imt.liu.se/edu/courses/TBMI02/code/kerngen.zip'])
end

for k = 1 : length(scales)
scale = scales{k};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ function create_quadrature_filters_for_structure_tensor_computation2d(varargin)

%%

if ~exist('F_weightgensnr.m','file') || ~exist('goodsw.m','file') || ...
~exist('quadrature.m','file') || ~exist('krnopt.m','file')
error(['You appear to be missing vital functions for optimizing filters. ',...
'Please download: https://www.imt.liu.se/edu/courses/TBMI02/code/kerngen.zip'])
end

for k = 1 : length(scales)
scale = scales{k};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ function create_quadrature_filters_for_structure_tensor_computation3d(varargin)
scales = {'coarse','intermediate','fine'};

%%

if ~exist('F_weightgensnr.m','file') || ~exist('goodsw.m','file') || ...
~exist('quadrature.m','file') || ~exist('krnopt.m','file')
error(['You appear to be missing vital functions for optimizing filters. ',...
'Please download: https://www.imt.liu.se/edu/courses/TBMI02/code/kerngen.zip'])
end

for k = 1 : length(scales)
scale = scales{k};

Expand Down
Binary file modified monomialsForStructureTensor2D.mat
Binary file not shown.
Binary file modified monomialsForStructureTensor3D.mat
Binary file not shown.
Binary file modified quadratureFiltersForStructureTensor2D.mat
Binary file not shown.
Binary file modified quadratureFiltersForStructureTensor3D.mat
Binary file not shown.

0 comments on commit 3634f68

Please sign in to comment.