You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
433 B
Matlab
13 lines
433 B
Matlab
function [barlen,barwid,spacing,gridsize]=standard_image_param_values(imsizefac,crop,which)
|
|
if which==1
|
|
barlen=(1.2*imsizefac)
|
|
barwid=(0.12*imsizefac)
|
|
spacing=round(1.6*imsizefac)
|
|
else
|
|
barlen=(1.5*imsizefac)
|
|
barwid=(0.15*imsizefac)
|
|
spacing=round(2.5*imsizefac)
|
|
end
|
|
gridsize=11;%Odd grid size appropriate for feature search.
|
|
%For texture segmentation subtract 1 to get even grid size.
|
|
%max(7,odd((70+2*crop)/spacing)); |