Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

ehza ehzawad

🎯
Focusing
View GitHub Profile
View guessing_threshold.m
clc
clear all
close all
I = imread('/Users/ehzawad/Desktop/footBall_orig.jpg');
I = rgb2gray(I);
I = double(I);
iteration = 500;
flattenImage = I(:)/255;
% disp(flattenImage);
View thresholding_estimation.m
clc
clear all
close all
I = imread('/Users/ehzawad/Desktop/footBall_orig.jpg');
% I = imread('peppers.png');
Im = rgb2gray(I);
% disp(Im);
View evalution_all_metrics.m
%fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_1/random_center_surround_saliency/*.png', 'ReadFcn', @importdata);
% fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_2/CovSal/*.png', 'ReadFcn', @importdata);
%fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_3/Self_resemblance_by_LARK/*.png', 'ReadFcn', @importdata);
fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_4/UMH/*.png', 'ReadFcn', @importdata);
fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/Final/TD_FixMaps/*.png', 'ReadFcn', @importdata);
% fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/Final/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
fullFileNames_truthmap = fds_TD_FixMaps.Files;
View ehz_auc_borji.m
% fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_1/random_center_surround_saliency/*.png', 'ReadFcn', @importdata);
%fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_2/CovSal/*.png', 'ReadFcn', @importdata);
% fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_3/Self_resemblance_by_LARK/*.png', 'ReadFcn', @importdata);
fds_saliencyMap = fileDatastore('/Users/ehzawad/Dropbox/Final/saliently_processed_image_sets/model_4/UMH/*.png', 'ReadFcn', @importdata);
%fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/Final/TD_FixMaps/*.png', 'ReadFcn', @importdata);
fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/Final/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
fullFileNames_truthmap = fds_TD_FixMaps.Files;
View saliency_model_in_matlab.md
  1. SUN saliency

  2. Torralba saliency (give up, a single file)

  3. Murray model

  4. Self-resemblance by LARK (ok)

  5. Saliency detection using wevelet transformation (checking right now... didn't work)

View run_CC.m
fds_saliencyMap = fileDatastore('/Users/ehzawad/Desktop/SM1dataset2/*.png', 'ReadFcn', @importdata);
% fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/TD_FixMaps/*.png', 'ReadFcn', @importdata);
fds_ASD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
% fullFileNames_truthmap = fds_TD_FixMaps.Files;
fullFileNames_ASD_fixmaps = fds_ASD_FixMaps.Files;
numFiles_smap = length(fullFileNames_smap);
% numFiles_truthmap = length(fullFileNames_truthmap);
View run_KL_eva.m
fds_saliencyMap = fileDatastore('/Users/ehzawad/Desktop/SM1dataset2/*.png', 'ReadFcn', @importdata);
% fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/TD_FixMaps/*.png', 'ReadFcn', @importdata);
fds_ASD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
% fullFileNames_truthmap = fds_TD_FixMaps.Files;
fullFileNames_ASD_fixmaps = fds_ASD_FixMaps.Files;
View run_auc_shuffled.m
fds_saliencyMap = fileDatastore('/Users/ehzawad/Desktop/SM1dataset2/*.png', 'ReadFcn', @importdata);
fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/TD_FixMaps/*.png', 'ReadFcn', @importdata);
fds_ASD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
fullFileNames_truthmap = fds_TD_FixMaps.Files;
fullFileNames_ASD_fixmaps = fds_ASD_FixMaps.Files;
View run_auc_judd.m
fds_saliencyMap = fileDatastore('/Users/ehzawad/Desktop/SM1dataset2/*.png', 'ReadFcn', @importdata);
fds_TD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/TD_FixMaps/*.png', 'ReadFcn', @importdata);
fds_ASD_FixMaps = fileDatastore('/Users/ehzawad/Dropbox/TrainingData/ASD_FixMaps/*.png', 'ReadFcn', @importdata);
fullFileNames_smap = fds_saliencyMap.Files;
fullFileNames_truthmap = fds_TD_FixMaps.Files;
fullFileNames_ASD_fixmaps = fds_ASD_FixMaps.Files;
View saliency_model_in_matlab.md
  1. SUN saliency

  2. Torralba saliency

  3. Murray model

  4. Self-resemblance by LARK

  5. Saliency detection using wevelet transformation

You can’t perform that action at this time.