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.

10 lines
329 B
Matlab

function [I,groundtruth]=load_image_horse(num)
data_dir='../Data/Weizmann_horse_db/gray/';
scale=1/3;
filename=sprintf([data_dir,'horse%03d.jpg'],num);
I = imresize(im2double(imread(filename)),scale);
filename=sprintf([data_dir,'../figure_ground/horse%03d.jpg'],num);
groundtruth = imresize(im2double(imread(filename)),scale);