├── README.md ├── data └── polygonKernel.txt ├── figures ├── d.svg ├── df.png ├── f.svg ├── ga.png ├── gb.svg ├── k.svg ├── m.png ├── t.png ├── ve_extended.png ├── vp.pdf ├── vp.png └── vp.svg └── src ├── discreteEmbedding ├── computeBeliefs.m ├── getMRFLabeling.m ├── initBPMessages.m ├── initLocalEvidence.m ├── initMRF.m ├── marginalsToLabels.m ├── oneIterBP.m └── runMRF.m ├── mturkExperiments ├── polygon │ ├── analyzeMTurkData.m │ ├── badDataIndex.txt │ ├── filteredResults.txt │ ├── hit.html │ ├── img │ │ ├── 33.png │ │ ├── 34.png │ │ ├── 35.png │ │ ├── 36.png │ │ ├── 37.png │ │ ├── 38.png │ │ ├── 39.png │ │ ├── 44.png │ │ ├── 45.png │ │ ├── 46.png │ │ ├── 47.png │ │ ├── 48.png │ │ ├── 49.png │ │ ├── 55.png │ │ ├── 56.png │ │ ├── 57.png │ │ ├── 58.png │ │ ├── 59.png │ │ ├── 66.png │ │ ├── 67.png │ │ ├── 68.png │ │ ├── 69.png │ │ ├── 77.png │ │ ├── 78.png │ │ ├── 79.png │ │ ├── 88.png │ │ ├── 89.png │ │ └── 99.png │ ├── input.csv │ ├── kernel.txt │ ├── pairIndex.txt │ ├── palette.png │ ├── polygonImages │ │ ├── p3.png │ │ ├── p4.png │ │ ├── p5.png │ │ ├── p6.png │ │ ├── p7.png │ │ ├── p8.png │ │ └── p9.png │ └── rawResults.csv └── tableau │ ├── .idea │ ├── .name │ ├── encodings.xml │ ├── misc.xml │ ├── modules.xml │ ├── scopes │ │ └── scope_settings.xml │ ├── userstudyIcons.iml │ ├── vcs.xml │ └── workspace.xml │ ├── distImage.png │ ├── drawIcons.m │ ├── filteredResults.txt │ ├── genIconSetImage.m │ ├── genMTurkImages.m │ ├── genMTurkInput.m │ ├── img │ ├── 1-1.png │ ├── 1-10.png │ ├── 1-2.png │ ├── 1-3.png │ ├── 1-4.png │ ├── 1-5.png │ ├── 1-6.png │ ├── 1-7.png │ ├── 1-8.png │ ├── 1-9.png │ ├── 10-10.png │ ├── 2-10.png │ ├── 2-2.png │ ├── 2-3.png │ ├── 2-4.png │ ├── 2-5.png │ ├── 2-6.png │ ├── 2-7.png │ ├── 2-8.png │ ├── 2-9.png │ ├── 3-10.png │ ├── 3-3.png │ ├── 3-4.png │ ├── 3-5.png │ ├── 3-6.png │ ├── 3-7.png │ ├── 3-8.png │ ├── 3-9.png │ ├── 4-10.png │ ├── 4-4.png │ ├── 4-5.png │ ├── 4-6.png │ ├── 4-7.png │ ├── 4-8.png │ ├── 4-9.png │ ├── 5-10.png │ ├── 5-5.png │ ├── 5-6.png │ ├── 5-7.png │ ├── 5-8.png │ ├── 5-9.png │ ├── 6-10.png │ ├── 6-6.png │ ├── 6-7.png │ ├── 6-8.png │ ├── 6-9.png │ ├── 7-10.png │ ├── 7-7.png │ ├── 7-8.png │ ├── 7-9.png │ ├── 8-10.png │ ├── 8-8.png │ ├── 8-9.png │ ├── 9-10.png │ └── 9-9.png │ ├── imgindx.txt │ ├── index.html │ ├── input.csv │ ├── kernel.png │ ├── kernel.txt │ ├── palette.png │ ├── regPolygon.m │ └── tmp.txt ├── neuralTractEmbedding ├── boundingBox.m ├── drawBoundingBox.m ├── embedTracts.m ├── flatTorusColoring.m ├── readTracts.m └── writeTracts.m └── tensorGlyphEval ├── cuboidTensor.m ├── data └── test │ ├── c1.png │ ├── c11.png │ ├── c12.png │ ├── c13.png │ ├── c14.png │ ├── c15.png │ ├── c16.png │ ├── c2.png │ ├── c21.png │ ├── c22.png │ ├── c23.png │ ├── c24.png │ ├── c25.png │ ├── c26.png │ ├── c3.png │ ├── c31.eps │ ├── c31.png │ ├── c32.png │ ├── c33.png │ ├── c34.png │ ├── c35.png │ ├── c36.png │ ├── c4.png │ ├── c41.png │ ├── c42.png │ ├── c43.png │ ├── c44.png │ ├── c45.png │ ├── c46.png │ ├── c5.png │ ├── c51.png │ ├── c52.png │ ├── c53.png │ ├── c54.png │ ├── c55.png │ ├── c56.png │ ├── c6.png │ ├── c61.png │ ├── c62.png │ ├── c63.png │ ├── c64.png │ ├── c65.png │ ├── c66.png │ ├── c71.png │ ├── c72.png │ ├── c73.png │ ├── c74.png │ ├── c75.png │ ├── c76.png │ ├── c81.png │ ├── c82.png │ ├── c83.png │ ├── c84.png │ ├── c85.png │ ├── c86.png │ ├── c91.png │ ├── c92.png │ ├── c93.png │ ├── c94.png │ ├── c95.png │ ├── c96.png │ ├── feh_008129_000001_c31.png │ ├── feh_008130_000001_q31.png │ ├── q1.png │ ├── q11.png │ ├── q12.png │ ├── q13.png │ ├── q14.png │ ├── q15.png │ ├── q16.png │ ├── q2.png │ ├── q21.png │ ├── q22.png │ ├── q23.png │ ├── q24.png │ ├── q25.png │ ├── q26.png │ ├── q3.png │ ├── q31.eps │ ├── q31.png │ ├── q32.png │ ├── q33.png │ ├── q34.png │ ├── q35.png │ ├── q36.png │ ├── q4.png │ ├── q41.png │ ├── q42.png │ ├── q43.png │ ├── q44.png │ ├── q45.png │ ├── q46.png │ ├── q5.png │ ├── q51.png │ ├── q52.png │ ├── q53.png │ ├── q54.png │ ├── q55.png │ ├── q56.png │ ├── q6.png │ ├── q61.png │ ├── q62.png │ ├── q63.png │ ├── q64.png │ ├── q65.png │ ├── q66.png │ ├── q71.png │ ├── q72.png │ ├── q73.png │ ├── q74.png │ ├── q75.png │ ├── q76.png │ ├── q81.png │ ├── q82.png │ ├── q83.png │ ├── q84.png │ ├── q85.png │ ├── q86.png │ ├── q91.png │ ├── q92.png │ ├── q93.png │ ├── q94.png │ ├── q95.png │ └── q96.png ├── ellipsoidTensor.m ├── gaborImgDist.m ├── gabor_fn.m ├── glyphVis.m ├── imgDist.m ├── neal16.txt ├── neal9.txt ├── opticFlowDist.m ├── opticFlowDistPolygons.m ├── plotTestResults.m ├── rotateTensor.m ├── runTest.m ├── superQuadricTensor.m └── tensorDist.m /data/polygonKernel.txt: -------------------------------------------------------------------------------- 1 | 0 0.75952 0.69478 0.76973 0.8381 0.85686 0.98515 2 | 0.75952 0 0.70079 0.68968 0.70011 0.80391 0.93175 3 | 0.69478 0.70079 0 0.47438 0.42625 0.53787 0.87829 4 | 0.76973 0.68968 0.47438 0 0.29722 0.39263 0.77749 5 | 0.8381 0.70011 0.42625 0.29722 0 0.17749 0.68005 6 | 0.85686 0.80391 0.53787 0.39263 0.17749 0 0.55748 7 | 0.98515 0.93175 0.87829 0.77749 0.68005 0.55748 0 8 | -------------------------------------------------------------------------------- /figures/df.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/df.png -------------------------------------------------------------------------------- /figures/ga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/ga.png -------------------------------------------------------------------------------- /figures/m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/m.png -------------------------------------------------------------------------------- /figures/t.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/t.png -------------------------------------------------------------------------------- /figures/ve_extended.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/ve_extended.png -------------------------------------------------------------------------------- /figures/vp.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/vp.pdf -------------------------------------------------------------------------------- /figures/vp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/figures/vp.png -------------------------------------------------------------------------------- /figures/vp.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | image/svg+xmlV 171 | p 180 | = 189 | { 198 | , , , , , , 253 | } 267 | -------------------------------------------------------------------------------- /src/discreteEmbedding/computeBeliefs.m: -------------------------------------------------------------------------------- 1 | function nodes = computeBeliefs(nodes) 2 | % 3 | % 4 | % File : computeBeliefs.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Update beliefs in BP. Adapted from Bil Freeman's toy MRF 7 | % example. 8 | % 9 | % Input : nodes - N x 1 cell containing the MRF graph with N nodes. 10 | % 11 | % Output : nodes - N x 1 cell containing the MRF graph with N nodes with 12 | % updated beliefs. 13 | % 14 | % Example: 15 | % 16 | % Date : Sat Mar 17 17:42:22 2012 17 | % 18 | % 19 | if (nargin~=1) 20 | error('computeBeliefs:argChk','insufficient number of input args') 21 | end 22 | 23 | numOfNodes=size(nodes,1); 24 | % 25 | % Go through every link, and transmit messages near to far 26 | % ---------------------------------------------------------------- 27 | fprintf(1, '\nSetting beliefs for %d nodes:\n', length(nodes)); tic; 28 | % ---------------------------------------------------------------- 29 | for nearIdx = 1:numOfNodes 30 | near = nodes{nearIdx}; 31 | belief = near.localEvidence; 32 | for linkIdx = 1:near.numLinks 33 | link = near.links{linkIdx}; 34 | if ~isempty(link.farsMessageToMe) 35 | belief = belief.*link.farsMessageToMe; % multiply messages 36 | belief = belief./sum(belief); % normalize " 37 | end 38 | end; 39 | nodes{nearIdx}.marginal = belief; 40 | end; 41 | 42 | fprintf(1,'\nDone setting beliefs: %f secs\n',toc); 43 | -------------------------------------------------------------------------------- /src/discreteEmbedding/getMRFLabeling.m: -------------------------------------------------------------------------------- 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 | % 3 | % results_fname: name of the output file produced by running 'FastPD.exe' 4 | % labeling : one-dimensional vector containing the MRF labels 5 | % (its length is equal to the number of MRF nodes) 6 | % 7 | % NOTE: 8 | % This function assumes that the size of each label is 'uint8'. 9 | % If a label type of a diffent size has been used in the FastPD C++ code 10 | % (check type Graph::Label), then the variable label_size must be modified 11 | % accordingly. 12 | % 13 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 14 | function labeling = getMRFLabeling(results_fname ) 15 | 16 | fid = fopen( results_fname, 'rb' ); 17 | if fid == -1 18 | error( ['Cannot open file ' results_fname] ); 19 | end 20 | 21 | label_size = 'uint8'; 22 | labeling = fread( fid, label_size ); 23 | 24 | fclose(fid); 25 | 26 | -------------------------------------------------------------------------------- /src/discreteEmbedding/initBPMessages.m: -------------------------------------------------------------------------------- 1 | function nodes = initBPMessages(nodes,k) 2 | % 3 | % 4 | % File : initBPMessages.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Initalizes bp messages to 1. Adapted from Bill Freeman's toy 7 | % example. 8 | % 9 | % Input : 10 | % 11 | % Output : 12 | % 13 | % Example: 14 | % 15 | % Date : Sat Mar 17 17:12:07 2012 16 | % Modified: $Id$ 17 | % 18 | % 19 | if (nargin ~= 2 ) 20 | error('initBPMessages:argChk','insuffienct number of input args'); 21 | end 22 | numOfNodes= size(nodes,1); 23 | for i = 1:numOfNodes 24 | for j = 1:nodes{i}.numLinks 25 | nodes{i}.links{j}.farsMessageToMe = ones(1,k); 26 | nodes{i}.links{j}.fars_NEXT_MessageToMe = ones(1,k); 27 | end 28 | end 29 | 30 | -------------------------------------------------------------------------------- /src/discreteEmbedding/initLocalEvidence.m: -------------------------------------------------------------------------------- 1 | function nodes = initLocalEvidence(nodes,k) 2 | % 3 | % 4 | % File : initLocalEvidence.m 5 | % Author: Cagatay Demiralp 6 | % Desc : Initializes the local evidence (related to data cost) 7 | % for a given mrf. Adapted from Bil Freeman's toy MRF 8 | % example. 9 | % 10 | % 11 | % Input : nodes - N x 1 cell of mrf graph nodes with neighborhood 12 | % structures. N is the number of nodes. 13 | % k - the number of the states 14 | % Output : nodes - N x 1 cell of mrf graphs nodes with initialized 15 | % local evidence 16 | % Example: 17 | % 18 | % Date : Sat Mar 17 16:55:52 2012 19 | % 20 | % 21 | if (nargin ~= 2 ) 22 | error('initLocalEvidence:argChk','insufficient number of input args'); 23 | end 24 | 25 | numOfNodes = size(nodes,1); 26 | assert(numOfNodes>1); 27 | 28 | for i=1:numOfNodes 29 | nodes{i}.localEvidence = ones(1,k)/k; % local is the same everywhere 30 | end % this is a good place to put 31 | % hard constraints on nodes 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/discreteEmbedding/initMRF.m: -------------------------------------------------------------------------------- 1 | function nodes=initMRF(A,k,K,D) 2 | % 3 | % 4 | % File : initMRF.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Initializes the MRF model with the given number of nodes 7 | % and neighborhood (or connnectivity) matrix. This code is 8 | % adapted from B. Freeman's vision course. 9 | % 10 | % Input : A - N x N neighboorhod matrix: Aij=1 if the nodes i and j 11 | % are connected otherwise Aij=0 12 | % k - number of states (labels) that each node can take 13 | % K - k x k perceptual distance matrix --normalized 14 | % D - N x N distance matrix 15 | % Output : nodes - the mrf model 16 | % 17 | % Date : Fri Mar 16 23:39:35 2012 18 | % 19 | % 20 | 21 | if (nargin ~= 4 ) 22 | error('initMRF:argchk','insufficient num of input arguments!'); 23 | end 24 | 25 | N=size(A,1); % number of nodes 26 | 27 | nodes = cell(N,1); 28 | 29 | % K = floor(1000*K); 30 | % D = floor(1000*D); 31 | 32 | for i=1:N 33 | 34 | % initially each label is equally probable 35 | nodes{i}.marginal = ones(k,1)/k; 36 | 37 | % construct the graph (links) 38 | links = find(A(i,:)); 39 | numLinks = numel(links); 40 | nodes{i}.numLinks = numLinks; 41 | nodes{i}.links = cell(numLinks,1); 42 | 43 | for j=1:numLinks 44 | nodes{i}.links{j}.farsIndex = links(j); 45 | nodes{i}.links{j}.propMat = getPropMat(i,j); 46 | end 47 | 48 | end 49 | 50 | 51 | % check bidirectionality 52 | for i=1:N 53 | 54 | for j=1:(nodes{i}.numLinks) 55 | 56 | fi = nodes{i}.links{j}.farsIndex; 57 | nhits=0; 58 | for k = 1:nodes{fi}.numLinks 59 | if(nodes{fi}.links{k}.farsIndex == i) 60 | nodes{i}.links{j}.farsLinkToMe = k; 61 | nhits = nhits+1; 62 | end 63 | end 64 | if (nhits ~=1) 65 | fprintf(1,'the edge from node %i to node %i does not have a flip edge', i,j); 66 | error(' '); 67 | end 68 | end 69 | end 70 | 71 | function C = getPropMat(i,j) 72 | dij = D(i,j); 73 | C = exp(-(K-repmat(dij,size(K))).^2); 74 | end 75 | end 76 | 77 | -------------------------------------------------------------------------------- /src/discreteEmbedding/marginalsToLabels.m: -------------------------------------------------------------------------------- 1 | function L = marginalsToLabels(nodes) 2 | % 3 | % 4 | % File : marginalsToLabels.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Convert marginal beliefs to labels. Right now, we take the 7 | % index of the maximum belief value. 8 | % 9 | % Input : nodes - N x 1 cell containing the mrf graph with N nodes. 10 | % 11 | % Output : L - N x 1 matrix of labels (\in 1 and k states) 12 | % 13 | % Example: 14 | % 15 | % Date : Sat Mar 17 18:00:49 2012 16 | % Modified: $Id$ 17 | % 18 | % 19 | if (nargin ~= 1) 20 | error('marginalsToLabels:argChk','insufficient number of input arguments'); 21 | end 22 | 23 | numOfNodes = size(nodes,1); 24 | L = zeros(numOfNodes,1); 25 | for i=1:numOfNodes 26 | [~,L(i)]=max(nodes{i}.marginal); 27 | end 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/discreteEmbedding/oneIterBP.m: -------------------------------------------------------------------------------- 1 | function nodes = oneIterBP(nodes,maxProductFlag) 2 | % File : oneIterBP.m 3 | % Author: Cagatay Demiralp 4 | % Desc : Propogate messages in a given MRF. Adapted from the code used in 5 | % Bill Freeman's computer vision class at MIT. 6 | % 7 | % 8 | % Input : nodes - N x 1 cell containing the mrf graph with N nodes 9 | % maxProductFlag - flag (0 or 1) indicating the desired estimator 10 | % 0 => sum product (mmse estimator), 11 | % 1 => max product (map estimator) 12 | % 13 | % Output : nodes - N x 1 cell containing the mrf graph with N nodes 14 | % with updated messages. 15 | % 16 | % 17 | % Date : Sat Mar 17 17:20:42 2012 18 | % 19 | % 20 | if (nargin ~= 2) 21 | error('oneIterBP:argChk', 'incorrect number of input arguments'); 22 | end 23 | 24 | numOfNodes=size(nodes,1); 25 | % Go through every link, and transmit messages near to far 26 | % ---------------------------------------------------------------- 27 | fprintf(1, '\nDoing belief propagation for %d nodes:\n', numOfNodes); 28 | 29 | % ---------------------------------------------------------------- 30 | 31 | for nearIdx = 1:numOfNodes 32 | 33 | near = nodes{nearIdx}; 34 | for linkIdx = 1:near.numLinks 35 | 36 | % - - - - - - - - - - - - - - - - - - - 37 | message = near.localEvidence; 38 | 39 | link = near.links{linkIdx}; 40 | farIdx = link.farsIndex; 41 | far = nodes{farIdx}; 42 | for link2Idx = 1:near.numLinks 43 | if (link2Idx ~= linkIdx) 44 | link2 = near.links{link2Idx}; 45 | if ~isempty(link2.farsMessageToMe) 46 | message = message.*link2.farsMessageToMe; 47 | message = message./sum(message); 48 | end 49 | end 50 | end 51 | 52 | if (maxProductFlag) 53 | message = max(nodes{nearIdx}.links{linkIdx}.propMat... 54 | .*repmat(message,size(nodes{nearIdx}.links{linkIdx}.propMat,1),1),[],2)'; 55 | %message = max(nodes{nearIdx}.links{linkIdx}.propMat.*repmat(message,k,1),[],2)'; 56 | else message = (nodes{nearIdx}.links{linkIdx}.propMat * message')'; 57 | end 58 | 59 | nodes{ farIdx }.links{ link.farsLinkToMe }.fars_NEXT_MessageToMe = message; 60 | % - - - - - - - - - - - - - - - - - - - 61 | 62 | end 63 | if (mod(nearIdx,10)==0) fprintf(1, '.'); end; 64 | end 65 | 66 | fprintf(1,'\nDone propagating belief\n'); 67 | 68 | % fprintf(1, 'Clocking.... '); tic 69 | 70 | for node = 1:numOfNodes 71 | for link = 1:nodes{node}.numLinks 72 | nodes{node}.links{link}.farsMessageToMe = ... 73 | nodes{node}.links{link}.fars_NEXT_MessageToMe; 74 | end % links to this node 75 | end % nodes 76 | 77 | % fprintf(1, ' ... Done %f secs\n',toc); 78 | 79 | -------------------------------------------------------------------------------- /src/discreteEmbedding/runMRF.m: -------------------------------------------------------------------------------- 1 | function l = runMRF(nodes, maxProductFlag, k) 2 | 3 | if(nargin< 2) 4 | maxProductFlag=1; 5 | end 6 | 7 | maxIter = 10; 8 | 9 | nodes = initLocalEvidence(nodes,k); 10 | nodes = initBPMessages(nodes,k); 11 | lprev=zeros(numel(nodes),1); 12 | for i=1:maxIter 13 | nodes = oneIterBP(nodes, maxProductFlag); 14 | nodes = computeBeliefs(nodes); 15 | l = marginalsToLabels(nodes); 16 | r=sum(double(l~=lprev))/numel(l); 17 | fprintf(1, 'iter: %d, relative label change:%f\n', i, r); 18 | if(r<1e-6) 19 | break; 20 | else 21 | lprev=l; 22 | end 23 | end 24 | 25 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/analyzeMTurkData.m: -------------------------------------------------------------------------------- 1 | function analyzeMTurkData() 2 | 3 | F = dlmread('badDataIndex.txt'); 4 | f = F(:,1); 5 | d = dlmread('filteredResults.txt'); 6 | d(f,:)=[]; % filter out the unreliable subject data 7 | 8 | d = 7-d; 9 | d = normr(d); 10 | m = mean(d); 11 | D = zeros(7); 12 | I = dlmread('pairIndex.txt') - 2 ; 13 | numPairs = 28; 14 | 15 | for i = 1:numPairs 16 | k = I(i,1); 17 | l = I(i,2); 18 | if (k == l) 19 | continue; 20 | end 21 | D(k,l) = m(i); 22 | D(l,k) = m(i); 23 | end 24 | 25 | imagesc(D) 26 | 27 | std(d) 28 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/badDataIndex.txt: -------------------------------------------------------------------------------- 1 | 2 2 | 3 3 | 11 4 | 19 5 | 21 6 | 25 7 | 30 8 | 39 9 | 41 10 | 45 11 | 47 12 | 50 13 | 64 14 | 67 15 | 68 16 | 93 17 | 98 -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/filteredResults.txt: -------------------------------------------------------------------------------- 1 | 1,7,3,1,4,1,5,7,6,7,3,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1,6,6,1,6,1,7 87 | 1,7,2,1,4,1,3,7,3,7,1,1,7,1,3,7,7,2,1,2,3,1,3,6,5,5,1,7 88 | 2,7,4,1,4,1,5,7,1,7,5,5,7,1,5,7,7,4,1,5,5,1,5,6,1,6,1,7 89 | 3,7,3,1,5,1,6,7,1,7,4,3,7,5,5,7,7,2,3,5,5,1,3,7,1,5,1,7 90 | 1,7,1,1,1,1,3,7,1,7,1,1,7,1,2,7,7,1,1,1,1,1,3,4,1,3,1,7 91 | 1,7,1,1,3,1,3,7,3,7,1,1,7,1,3,7,7,3,1,1,3,1,4,5,5,5,1,7 92 | 2,7,2,1,4,1,5,7,4,7,3,2,7,3,5,7,7,3,2,3,4,2,3,5,5,6,2,7 93 | 1,7,1,1,1,1,1,7,1,7,1,1,7,1,1,7,7,1,1,1,1,1,1,7,1,1,1,7 94 | 2,7,3,1,4,1,6,7,5,7,2,2,7,3,6,7,7,5,5,4,6,5,6,7,6,7,5,7 95 | 1,7,1,1,5,1,5,7,1,7,1,1,7,1,1,7,7,1,1,1,5,1,6,7,6,1,1,7 96 | 4,7,4,1,5,1,6,7,2,7,4,4,7,5,6,7,7,5,3,4,6,2,6,6,5,6,2,7 97 | 2,7,2,1,1,1,6,7,4,7,1,2,7,2,6,7,7,5,2,3,6,3,6,7,5,7,4,7 98 | 1,7,1,1,1,1,1,7,1,7,1,1,7,1,1,7,7,1,1,1,1,1,1,1,1,1,1,7 99 | 1,7,6,1,4,7,6,7,3,7,1,2,7,4,4,7,7,4,2,4,4,1,5,6,4,6,3,7 100 | 3,7,4,2,4,4,6,7,6,7,4,3,7,4,5,7,7,3,2,3,6,4,5,7,6,7,5,7 101 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/hit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Untitled Document 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |

Rate the similarity of polygonal shape pairs.

17 | 42 | 43 | 44 | 45 | 49 | 53 | 57 | 58 | 59 | 63 | 67 | 71 | 72 | 73 | 74 | 75 | 79 | 83 | 87 | 88 | 89 | 90 | 91 | 95 | 99 | 103 | 104 | 105 | 106 | 107 | 111 | 115 | 119 | 120 | 121 | 122 | 123 | 127 | 131 | 135 | 136 | 137 | 138 | 139 | 143 | 147 | 151 | 152 | 153 | 154 | 155 | 158 | 161 | 164 | 165 | 166 | 167 | 168 | 171 | 174 | 177 | 178 | 179 | 180 | 181 | 184 | 187 | 188 | 189 |
33 46 |

similarity rating:

47 |

 

48 |
36 50 |

similarity rating:

51 |

 

52 |
39 54 |

similarity rating:

55 |

 

56 |
46 60 |

similarity rating:

61 |

 

62 |
49 64 |

similarity rating:

65 |

 

66 |
57 68 |

similarity rating:

69 |

 

70 |
66 76 |

similarity rating:

77 |

 

78 |
69 80 |

similarity rating:

81 |

 

82 |
79 84 |

similarity rating:

85 |

 

86 |
99 92 |

similarity rating:

93 |

 

94 |
34 96 |

similarity rating:

97 |

 

98 |
37 100 |

similarity rating:

101 |

 

102 |
44 108 |

similarity rating:

109 |

 

110 |
47 112 |

similarity rating:

113 |

 

114 |
55 116 |

similarity rating:

117 |

 

118 |
58 124 |

similarity rating:

125 |

 

126 |
77 128 |

similarity rating:

129 |

 

130 |
88 132 |

similarity rating:

133 |

 

134 |
35 140 |

similarity rating:

141 |

 

142 |
38 144 |

similarity rating:

145 |

 

146 |
45 148 |

similarity rating:

149 |

 

150 |
48 156 |

similarity rating:

157 |
56 159 |

similarity rating:

160 |
59 162 |

similarity rating:

163 |
68 169 |

similarity rating:

170 |
78 172 |

similarity rating:

173 |
89 175 |

similarity rating:

176 |
67 182 |

similarity rating:

183 |
185 | 186 |
190 |

 

191 |

 

192 |

 

193 |

 

194 |

 

195 |

 

196 |

 

197 |

 

198 |

 

199 |

 

200 |

 

201 |

 

202 |

 

203 |

 

204 |

 

205 |

 

206 |

 

207 |

 

208 |

 

209 |

 

210 |

 

211 |

 

212 |

 

213 |

 

214 |

 

215 |

 

216 |

 

217 |

 

218 |

 

219 |

 

220 |

 

221 |

 

222 |

 

223 |

 

224 |

 

225 |

 

226 |

 

227 |

 

228 |

 

229 |

 

230 |

 

231 |

 

232 |

 

233 |

 

234 |

 

235 |

 

236 |

 

237 |

 

238 |

 

239 |

 

240 |

 

241 |

 

242 |

 

243 |

 

244 |

 

245 |

 

246 |

 

247 |

 

248 |

 

249 |

 

250 |

 

251 |

 

252 |

 

253 |

 

254 |

 

255 |

 

256 |

 

257 |

 

258 |

 

259 |

 

260 |

 

261 |

 

262 |

 

263 |

 

264 |

 

265 |

 

266 |

 

267 |

 

268 |

Tell us what were your staretegy or criteria in determining how similar or dissimilar the shapes are:

269 | 270 |

 

271 |

YOU ARE DONE!

272 |

MAKE SURE YOU HAVE RATED ALL THE PAIRS ABOVE.

273 |

THANKS AGAIN!

274 | 275 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/33.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/34.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/35.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/36.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/37.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/38.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/39.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/44.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/45.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/46.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/46.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/47.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/47.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/48.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/49.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/55.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/56.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/57.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/58.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/59.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/59.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/66.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/66.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/67.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/67.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/68.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/68.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/69.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/69.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/77.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/77.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/78.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/78.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/79.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/79.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/88.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/88.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/89.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/89.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/img/99.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/img/99.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/input.csv: -------------------------------------------------------------------------------- 1 | 33,36,39,46,49,57,66,69,79,99,34,37,44,47,55,58,77,88,35,38,45,48,56,59,68,78,89,67 2 | img/33.png,img/36.png,img/39.png,img/46.png,img/49.png,img/57.png,img/66.png,img/69.png,img/79.png,img/99.png,img/34.png,img/37.png,img/44.png,img/47.png,img/55.png,img/58.png,img/77.png,img/88.png,img/35.png,img/38.png,img/45.png,img/48.png,img/56.png,img/59.png,img/68.png,img/78.png,img/89.png,img/67.png 3 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/kernel.txt: -------------------------------------------------------------------------------- 1 | 0 0.75952 0.69478 0.76973 0.8381 0.85686 0.98515 2 | 0.75952 0 0.70079 0.68968 0.70011 0.80391 0.93175 3 | 0.69478 0.70079 0 0.47438 0.42625 0.53787 0.87829 4 | 0.76973 0.68968 0.47438 0 0.29722 0.39263 0.77749 5 | 0.8381 0.70011 0.42625 0.29722 0 0.17749 0.68005 6 | 0.85686 0.80391 0.53787 0.39263 0.17749 0 0.55748 7 | 0.98515 0.93175 0.87829 0.77749 0.68005 0.55748 0 8 | -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/pairIndex.txt: -------------------------------------------------------------------------------- 1 | 4,8 2 | 3,3 3 | 3,6 4 | 3,9 5 | 4,6 6 | 4,9 7 | 5,7 8 | 6,6 9 | 7,9 10 | 9,9 11 | 3,4 12 | 3,7 13 | 4,4 14 | 4,7 15 | 5,8 16 | 7,7 17 | 8,8 18 | 3,5 19 | 3,8 20 | 4,5 21 | 5,6 22 | 5,9 23 | 6,8 24 | 7,8 25 | 8,9 26 | 6,7 27 | 6,9 28 | 5,5 -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/palette.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p3.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p4.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p5.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p6.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p7.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p8.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/polygonImages/p9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/polygon/polygonImages/p9.png -------------------------------------------------------------------------------- /src/mturkExperiments/polygon/rawResults.csv: -------------------------------------------------------------------------------- 1 | Answer.comment,Answer.22,Answer.simrate,Answer.8,Answer.15,Approve,Reject,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 2 | I made the ratings based on their number of sides in the polygon.,1,7|3|1|4|1|5|7|6|7|3|2|7|3|6|7|7|3|2|4|5|1|6|7|6|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 3 | SHAPES AND SIDES,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|6|7|1|1|1|7|1|1|7|1|6,1,6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 4 | "The strategy was to look at the figures and to compare with other one 5 | the other strategy was to count the lines in these figures.",1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 6 | sides,2,7|2|1|4|1|6|7|2|7|2|2|7|3|3|7|7|3|3|3|5|1|4|7|4|3,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 7 | "The strategy and criteria followed in determining similar or dissimilar the 8 | shapes are the instructions given above.",1,7|2|1|3|1|4|7|2|7|2|2|7|2|3|7|7|4|1|3|3|1|3|5|3|4,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 9 | depended on the no. of sides.,5,7|4|1|5|1|5|7|1|7|6|4|7|5|5|7|7|5|3|5|5|1|5|6|1|7,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 10 | its all about sides and angles of polygon,5,7|1|1|1|1|5|7|5|7|2|1|7|1|4|7|7|2|1|6|5|1|5|6|5|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 11 | To see the picture,2,7|2|1|4|1|5|7|3|7|2|2|7|2|4|7|6|2|1|1|3|1|4|5|2|5,1,6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 12 | The sides and shapes,5,7|3|1|3|1|5|7|1|7|3|3|7|5|4|7|7|5|5|5|6|2|6|7|1|7,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 13 | "I rated according to the number of sides the polygon have. If the polygons have very similar number of sides, then the rating was high. Eg. Pentagon and Hexagon would receive rating of 6. If the polygons were the same then the rating was 7. I gave rating of 1 for cases where one of the polygon was circle (having infinite sides).",4,7|4|1|3|1|5|7|2|7|5|4|7|4|5|7|7|5|3|6|6|1|5|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 14 | Round; square; triangular; number of sides.,1,7|1|1||||7|1|7|1|1|7|1|5|7|7|1|1|1|5|1|5|7|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 15 | "I first looked at the general shape of each image then the number of sides each had. The closer the shape and number of sides each had, the higher the similarity rating.",2,7|2|1|3|1|5|7|5|7|1|2|7|3|5|7|7|2|1|3|5|2|6|7|6|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 16 | My strategy and criteria was how similar they looked.,1,7|1|1|1|1|5|7|1|7|1|1|7|1|3|7|7|1|1|1|1|1|5|6|1|4,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 17 | "No real strategy, I did it based on intuition.",3,7|3|2|4|2|6|7|4|7|4|1|7|4|5|7|7|3|2|4|5|3|6|7|6|7,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 18 | "Seeing as the criteria was left mostly up to me, I used my gut reaction.",5,7|5|2|5|5|6|7|6|7|3|2|7|5|5|7|7|3|2|3|5|6|6|6|6|6,6,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 19 | "The criteria was the visual similarity, that is, how similar the shapes appeared at first look.",4,7|2|1|4|3|5|7|5|7|4|2|7|4|3|7|7|3|1|3|5|3|4|6|6|6,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 20 | Very Knowledge type Survey!,3,7|1|1|3|1|6|7|1|7|6|2|7|5|4|7|7|3|3|3|5|1|5|7|1|7,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 21 | "I rated it in the basis of size,shape,number of ridges,and some thing looking similar",1,6|1|1|1|1|2|7|3|6|1|1|6|1|1|7|7|1|1|1|2|1|3|4|3|4,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 22 | Depending upon the sizes and angles.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 23 | My strategy was to compare the type of general shape and to compare the amount of sides.,3,7|2|1|2|2|5|7|5|7|6|3|7|4|4|7|7|5|2|6|6|3|5|6|6|6,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 24 | "The similar means both are equally or just light diferrent same... 25 | The disimilar means both are indifferent shape...",1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|7|7|1|7,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 26 | Gave 7 for exactly same shapes. Gave 6 to those which were little dissimilar ie pentagon and hexagon. Gave 5 for to those which were a little more dissimilar ie pentagon and heptagon. gave 4 to 3 for somewhat similar and gave 1 for entirely dissimilar shapes ie square and circle.,1,7|2|1|2|1|5|7|1|7|2|1|7|2|2|7|7|2|1|2|3|1|5|6|4|4,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 27 | strategy is number of sides and it's shape,1,7|2|1|3|2|3|7|3|7|3|2|7|2|2|5|5|2|1|2|3|1|3|5|5|4,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 28 | Strategy is comparing the two polygons with basic shape irrespective of sides of polygon.,2,7|2|1|2|1|5|7|5|7|1|1|7|2|5|7|7|2|1|3|5|1|7|7|5|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 29 | "yes,it is easy all studying small age itself,and i am familiar in shapes .",1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 30 | The shapes which are similar are given rating 7. If a small modification can make the shape in to other is given with rating according to the quantum of change made. Whatever be the changes made and if the shape could not be converged to another is give rating 1,1,7|3|1|3|1|1|7|3|7|5|1|7|1|1|7|7|1|2|1|5|5|4|7|5|1,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 31 | strategy is just counting the sides of the shapes and rating the similsrities.obviously a triangle is dissimilar to a square and so on for other polygons too.,1,7|1|1|1|1|5|7|1|7|1|1|7|1|5|7|7|1|1|1|5|1|6|6|4|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 32 | amount of corners; general shape (i.e. a hexagon is quite round as well),3,7|4|2|5|2|6|7|6|7|3|2|7|4|6|7|7|4|2|3|6|5|6|6|6|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 33 | the horizontal line and the vertical line of the polygon and the number of lines also,1,7|1|1|5|1|5|7|5||||7|2|3|7|7|2|1|2|1|1|4|4|4|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 34 | The number of sides are pretty obvious in this little exercise.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 35 | The closer they are to each other in the number of sides the closer I rated them. Circles were seen as having an unlimited number of sides.,3,7|3|1|5|1|6|7|6|7|5|3|7|5|5|7|7|4|3|5|6|4|5|6|6|4,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 36 | "I similar the shapes of diagonal. The shapes are similar, then the rate are 7. if the shapes of the diagonal get some different, then rate like 5, 6 etc. It is totally different means, rate the diagonal as 1.",1,7|1|1|1|1|5|7|1|7|1|1|7|1|5|7|7|5|1|1|4|1|5|6|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 37 | "number of lines,shape",2,7|3|1|3|1|5|7|2|7|3|2|7|3|4|7|7|3|2|2|4|1|3|5|4|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 38 | It is easy to determine how similar or dissimilar the shapes are.,1,7|1|1|1|1|5|7|5|7|1|1|7|1|5|7|7|1|1|1|5|1|5|7|5|5,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 39 | I just considered the shape of the both the polygons.,1,7|1|1|3|1|4|7|2|7|2|1|7|1|3|7|7|2|1|1|4|2|6|7|6|7,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 40 | By the appearance of each dimension and shapes.,1,7|1|1|1|1|3|7|1|7|1|1|7|1|1|7|7|1|1|1|5|1|5|7|3|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 41 | ,1,7|1|1|1|1|4|7|3|7|1|1|7|2|5|7|7|4|1|2|3|1|5|7|6|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 42 | My strategy was in comparing the number of edges of the shapes.,3,7|2|1|3|2|5|7|4|7|3|1|7|4|4|7|7|4|2|5|5|2|5|6|5|6,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 43 | not bad,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 44 | ,3,1|7|4|2|6|5|2|3||||1|4|6|3|1|2|5|5|1|5|5|2|7|1,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 45 | 8 similar and 20 dissimilar,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 46 | "Tried to look at the outline of the objects mostly and used the triangle as 3 sides, the circle as comparable to a six sided object",4,7|2|1|3|2|4|7|4|7|2|2|7|4|4|7|7|3|3|4|4|2|4|7|3|5,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 47 | "For circles and corner polygons i put 1, for polygons with corners i put 2",3,7|2|1|2|1|4|7|2|7|2|2|7|4|4|7|7|2|2|3|4|1|6|6|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 48 | "I basiclly looked at size and shape, it is easy see a circle is not like a triangle.",1,6|1|1|1|1|1|7|1|7|1|1|6|1|1|6|7|1|1|1|1|1|4|4|1|3,1,6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 49 | very much similar and it is not very hard to do.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|7|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 50 | "round versus straight lines. number of sides,general shape.",2,7|3|1|3|1|4|7|2|7|2|2|7|3|3|7|7|3|2|3|4|1|4|6|4|6,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 51 | I looked both of the very carefully.,1,7|5|1|1|1|5|7|1|7|1|5|7|1|5|7|7|5|1|1|5|1|5|7|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 52 | "As one increases the number of sides in a polygon it becomes closer to the circle, triangle has the least number of sides so highly dissimilar to other polygon",4,7|3|3|4|4|4|7|5|7|3|2|7|2|4|7|7|2|2|2|5|4|5|7|5|6,5,5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 53 | "Criteria are like the number of sides, angles, angular point location, intersection points of sides in each figure. 54 | Strategy is to consider whether second figure is subset of first figure given and also based on criteria mentioned above.",3,7|3|1|3|1|5|7|3|7|5|3|7|3|5|7|7|5|1|3|5|3|5|7|3|5,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 55 | counting the number of angles and number of edges it has,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 56 | I've given the rating as 7 if the image is similar to the other and other ratings depending on the resemblance of the other image.,2,7|5|2|4|2|6|7|4|7|3|4|7|5|6|7|7|5|2|3|4|2|5|6|5|6,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 57 | I was mainly looking for angles and curves. But then things got complicated when an octogon and a circle were side...they kinda look the same,4,7|3|1|4|1|5|7|2|7|3|3|7|4|5|7|7|4|3|4|5|1|6|7|4|5,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 58 | The strategy of mine was that any pair of objects having major shape differences were given 1 and slighter differences were ranked based on that.(i.e) a slight change because of one or two lines were given 6 & 5 and similar one's were given 7,4,7|1|2|3|3|5|7|6|7|2|3|7|4|6|7|7|4|3|3|6|5|6|6|6|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 59 | "I thought of the shapes as being made of wire or some other malleable substance. It wouldn't take much effort, for example, to turn a square into a hexagon (just pull out a point at the top and bottom). And changing hexagons to octagons or octagons to circles would just take a bit more effort. But turning a triangle into a circle would be quite difficult.",2,7|3|1|6|2|5|7|4|7|3|2|7|4|4|7|7|3|2|2|6|1|3|4|5|5,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 60 | The number of sides mostly was the strategic criteria to determine the similarity/dissimilarity.,1,7|1|1|3|2|5|7|4|7|1|1|7|5|3|7|7|2|1|2|5|1|5|6|1|5,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 61 | From the difference of number of sides the polygon has.,3,7|2|1|3|1|4|7|1|7|5|2|7|3|3|7|7|5|2|4|5|1|3|6|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 62 | "if they were the same then 7 is there was a circle involve and a figure with 90 degrees angle then 1. If there were similar among the angles, then it can go from 3 to 6.",2,7|4|1|3|1|4|7|2|7|2|3|7|4|3|7|7|4|3|3|4|2|5|7|3|7,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 63 | I rated the shapes by their total number of sides and by the angles,2,7|5|1|4|1|6|7|1|7|4|5|7|4|6|7|7|6|5|2|5|1|6|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 64 | Number of edges and shape,4,7|5|1|4|1|5|7|1|7|4|4|7|5|5|7|7|5|4|6|6|1|5|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 65 | this task is very different and some polygons are looking similar and some one is different,1,7|1|1|1|1|4|7|3|7|1|1|7|2|1|7|7|1|1|2|2|1|5|5|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 66 | Similar shapes are given rating 7. The shape which can be converted with a small changes are given the rating according to the changes. The shape which cannot be converted with what ever be the changes made given rating 1,1,7|2|1|3|1|3|7|5|7|3|1|7|2|1|7|7|2|1|1|7|3|5|7|5|7,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 67 | i determined it using the sides the shapes have.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|5|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 68 | "I just checked the shape,Size and the sides of the polygon to determine the similarity.",1,7|1|1|1|1|2|7|1|7|1|1|7|1|3|7|7|1|1|1|3|1|3|5|2|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 69 | I used the strategy as no. of sides.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 70 | how many lines they got,1,7|2|1|2|3|5|7|3|7|1|1|7|2|3|7|7|2|2|2|3|2|3|7|4|3,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 71 | "optical similarity. Also, when you look at for example a circle and a triangle, you see that they are completely different geometric body and to have 72 | different layout, so it will be rated as 1",3,7|2|1|3|1|5|7|2|7|3|2|7|3|5|7|7|3|2|4|5|2|5|7|5|6,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 73 | I count the no of sides of polygon then i rate.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 74 | Similarity of the polygonal shape depends upon the number of sides.,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 75 | "The determining strategy is by comparing number of sides, and by whether a polygon or a circle",3,7|4|1|5|1|5|7|1|7|6|3|7|4|4|7|7|5|2|6|6|1|5|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 76 | Being a Mathematics student i rated the similarity of these polygonal shape pairs,1,7|1|1|1|1|2|7|1|7|1|1|7|1|2|6|7|1|1|1|2|1|1|2|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 77 | Shape and number of sides?,2,7|2|1|4|2|4|7|4|7|3|2|7|3|5|7|7|3|2|4|5|2|5|7|5|6,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 78 | "When the shapes look similar I give numbers between 5-7 (7 if they are the same). 79 | I give numbers between 1-4 if they are diferent(1 if they are very diferent).",2,7|2|1|2|1|4|7|3|7|1|2|7|3|3|7|7|3|1|2|2|1|5|7|5|6,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 80 | I judged based on the number of sides,4,7|3|1|4|1|4|7|3|7|5|3|7|3|4|7|7|3|2|5|5|1|5|6|4|5,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 81 | iam mainly concentrating on shapes of the both figures andthe extent upto which they appear similar,3,7|1|1|1|1|3|7|6|7|1|1|7|2|4|6|7|3|2|2|4|4|5|6|6|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 82 | The closer the number of side is makes it more similar. The hex and oct are more similar to circles than other shapes.,4,7|2|1|3|1|5|7|4|7|3|2|7|3|4|7|7|3|3|4|5|1|5|5|4|5,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 83 | If the shape looks similar i chose 7,1,7|1|1|2|1|3|7|3|7|1|1|7|4|2|7|7|1|2|1|3|1|5|7|3|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 84 | The criteria was the shape and size of the shapes.,1,7|5|1|4|1|6|7|6|7|2|5|7|4|5|7|7|6|2|5|5|1|5|7|5|6,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 85 | "First i count the number of sides, then consider the basic shapes.",2,7|2|1|2|1|6|7|1|7|2|3|7|2|3|7|7|2|2|2|2|1|5|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 86 | The strategy was if they look similar in terms of the shape and how many edges these polygons have.,1,7|1|1|1|1|2|7|1|7|1|2|7|1|2|7|7|2|1|1|2|1|5|6|5|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 87 | moderate similar,3,7|2|1|3|1|5|7|1|7|2|2|6|2|3|7|7|3|3|3|4|1|5|6|2|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 88 | knowledge,1,7|5|1|2|1|5|7|4|7|1|1|7|4|5|7|7|1|1|1|4|2|4|6|6|6,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 89 | i looked the shape,1,7|1|1|1|1|6|7|5|7|1|1|7|1|4|7|6|1|1|2|2|1|6|7|6|6,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 90 | "Strategy used here is as per the number of sides and angles each shape has. If both have same sides and angles then its rated 7 and one shape is not having any side or angle(e.g.,circle)then its rated 1, so accordingly its done here.",3,7|2|1|3|1|3|7|1|7|6|5|7|5|4|7|7|5|2|6|6|1|5|6|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 91 | ,1,4|1|1|1|1|1|7|1|7|1|1|7|1|1|7|6|1|1|1|1|1|3|3|1|4,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 92 | ,1,7|3|1|3|1|4|7|5|7|2|1|7|3|3|7|7|1|1|1|3|2|4|6|4|5,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 93 | "I have used the following strategies: 94 | Circle cannot be similar to any other polygons as they have lines and angles. So have rated it as 1 because it becomes dissimilar with them. 95 | For all other polygons, depending upon their lines and angles, whether they hexagonal, or octagonal, or a square, I have rated them as similar. 96 | The triangle also has lines and angles, so depending with which pair it is associated, a rectangle, square or a polygon, I have rated them as similar.",5,7|5|1|3|1|6|7|1|7|4|5|7|5|6|7|7|3|4|4|6|1|6|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 97 | I used my common sense and counted angles for some of these polygons.,1,7|2|1|4|1|3|7|3|7|1|1|7|1|3|7|7|2|1|2|3|1|3|6|5|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 98 | I determined my judgment depending on the edges for each of the polynomial pairs.,2,7|4|1|4|1|5|7|1|7|5|5|7|1|5|7|7|4|1|5|5|1|5|6|1|6,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 99 | by checking the figures,3,7|3|1|5|1|6|7|1|7|4|3|7|5|5|7|7|2|3|5|5|1|3|7|1|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 100 | overall shape appearance,1,7|1|1|1|1|3|7|1|7|1|1|7|1|2|7|7|1|1|1|1|1|3|4|1|3,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 101 | "there is no strategy or criteria to me to determine the shapes. when i saw the shapes, they looks me what i determine.",1,7|1|1|3|1|3|7|3|7|1|1|7|1|3|7|7|3|1|1|3|1|4|5|5|5,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 102 | Number of points.,2,7|2|1|4|1|5|7|4|7|3|2|7|3|5|7|7|3|2|3|4|2|3|5|5|6,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 103 | ,1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|7|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 104 | "I looked at the overal shape, the more similar shapes the more similar figures",2,7|3|1|4|1|6|7|5|7|2|2|7|3|6|7|7|5|5|4|6|5|6|7|6|7,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 105 | The form of the shapes and the similarity between them,1,7|1|1|5|1|5|7|1|7|1|1|7|1|1|7|7|1|1|1|5|1|6|7|6|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 106 | I tried to see how closely they would fit on top of one another,4,7|4|1|5|1|6|7|2|7|4|4|7|5|6|7|7|5|3|4|6|2|6|6|5|6,2,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 107 | I compared the shapes. There are some pairs are identical and I rated it 7. Some are different like square and circle. I rated it 1.,2,7|2|1|1|1|6|7|4|7|1|2|7|2|6|7|7|5|2|3|6|3|6|7|5|7,4,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 108 | "all polygons are based on a math formula/defination, they are either the same or they are not, there is no similarity. 109 | A square is not a octagon, an octagon is not a hexagon, a hexagon is not a circle.",1,7|1|1|1|1|1|7|1|7|1|1|7|1|1|7|7|1|1|1|1|1|1|1|1|1,1,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 110 | I counted the sides of the ones that were similar or closer to a 7 rating.,1,7|6|1|4|7|6|7|3|7|1|2|7|4|4|7|7|4|2|4|4|1|5|6|4|6,3,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 111 | Number of sides and overall look.,3,7|4|2|4|4|6|7|6|7|4|3|7|4|5|7|7|3|2|3|6|4|5|7|6|7,5,7,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 112 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/.name: -------------------------------------------------------------------------------- 1 | userstudyIcons -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/userstudyIcons.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | true 41 | 42 | 43 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 78 | 79 | 80 | 81 | 84 | 85 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 1419872933599 106 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 139 | 142 | 143 | 144 | 146 | 147 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/distImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/distImage.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/drawIcons.m: -------------------------------------------------------------------------------- 1 | function [] = drawIcons(p,l,c) 2 | % 3 | % File : drawIcons.m 4 | % Author: Cagatay Demiralp (cad) 5 | % Desc : Draws icons at given locations. The goal is to illustrate 6 | % discrete embedding in the simple icon space for which 7 | % we estimated the perceptual distances using Amazon 8 | % Mechanical Turk. 9 | % 10 | % Input : 11 | % 12 | % Output : 13 | % 14 | % Example: 15 | % 16 | % Date : Wed May 2 17:35:34 2012 17 | % Modified: $Id$ 18 | % 19 | V = cell(10,1); 20 | V{1} = regPolygon(3,0); % triangle 21 | V{2} = regPolygon(4,0); % square 22 | V{3} = [0 1; 0 -1; NaN NaN; 1 0; -1 0]; % plus 23 | V{4} = [cos(pi/4) sin(pi/4); -cos(pi/4) -sin(pi/4); NaN NaN; -cos(pi/4) sin(pi/4); cos(pi/4) -sin(pi/4)]; % cross 24 | V{5} = [V{3}; NaN NaN; V{4}] ; % star 25 | V{6} = ([cos(pi/4) -sin(pi/4); sin(pi/4) cos(pi/4)]*(V{2})')'; % diamond 26 | V{7} = ([cos(pi/2) -sin(pi/2); sin(pi/2) cos(pi/2)]*(V{1})')'; % left triangle 27 | V{8} = ([cos(-pi/2) -sin(-pi/2); sin(-pi/2) cos(-pi/2)]*(V{1})')'; % right triangle 28 | V{9} = ([cos(pi) -sin(pi); sin(pi) cos(pi)]*(V{1})')' ; 29 | V{10}=0.9*regPolygon(9,0); 30 | 31 | 32 | hold on ; 33 | scale=1.2; 34 | N = size(p,1); 35 | 36 | for i=1:N 37 | x = scale*V{l(i)};% translate to the position 38 | x(:,1) = p(i,1)+x(:,1); 39 | x(:,2) = p(i,2)+x(:,2); 40 | line(x(:,1), x(:,2), 'Color', c, 'LineWidth',1.5); 41 | end 42 | 43 | axis equal; 44 | 45 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/filteredResults.txt: -------------------------------------------------------------------------------- 1 | 0,2,5,3,9,5,0,0,0,7,0,6,7,9,0,4,5,5,2,0,2,6,4,5,3,4,5,0,6,4,4,3,5,6,0,3,4,5,6,7,0,3,4,4,5,0,0,0,5,0,0,5,0,4,0 2 | 0,8,9,9,9,7,2,2,2,7,0,6,6,8,3,7,7,7,9,0,2,6,5,8,9,9,6,0,2,6,9,9,9,7,0,8,8,9,9,3,0,6,7,7,8,0,2,2,8,0,2,8,0,7,0 3 | 0,5,6,6,7,4,2,2,2,9,0,4,4,5,2,3,3,3,9,1,2,2,6,6,6,6,9,0,1,3,4,4,4,9,1,4,4,4,4,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7,7,0,7,7,7,7,7,0,3,3,3,7,0,1,1,7,0,1,7,0,7,0 67 | 0,9,8,9,9,8,0,0,1,8,1,9,9,9,8,8,8,9,8,0,8,8,8,8,8,8,9,0,0,8,7,8,9,9,0,9,9,8,8,8,0,6,8,9,8,0,0,0,9,0,0,9,1,8,0 68 | 0,9,9,9,8,8,1,1,1,9,0,9,9,9,1,7,7,6,6,0,6,9,9,9,9,8,8,0,9,9,9,9,9,9,0,5,5,5,5,5,0,9,9,9,9,0,1,1,9,0,1,9,0,9,0 69 | 0,5,9,9,9,5,0,0,0,9,0,9,9,9,0,5,5,5,9,0,0,2,9,9,9,9,9,0,2,9,9,9,9,9,0,4,9,9,8,5,0,5,5,5,5,0,0,0,9,0,0,7,0,7,0 70 | 0,7,9,8,8,7,2,2,1,5,0,5,5,7,1,5,5,5,6,0,2,4,5,5,5,6,5,0,2,3,5,5,5,5,0,7,6,6,6,3,0,4,4,4,3,0,1,1,4,0,1,4,0,4,0 71 | 0,9,9,9,9,5,0,0,0,9,0,9,9,9,0,9,9,9,9,0,0,5,9,9,9,9,9,0,5,9,9,9,9,9,0,9,9,9,9,9,0,5,5,5,9,0,0,0,9,0,0,9,0,9,0 72 | 0,9,9,9,9,9,1,1,1,9,0,9,9,9,1,9,9,9,9,1,1,5,9,9,9,9,9,0,9,9,9,9,9,9,1,9,9,9,9,9,0,9,9,9,9,0,1,1,9,1,1,9,0,9,0 73 | 0,5,9,9,9,5,1,1,1,3,0,7,7,8,1,5,5,5,3,0,1,4,7,9,9,9,7,0,4,8,9,9,9,7,0,9,9,9,9,6,0,5,5,5,3,0,1,1,3,0,1,3,0,3,0 74 | 0,2,7,9,9,6,4,4,5,8,0,5,7,9,6,7,6,7,8,0,3,6,8,9,8,8,9,0,5,7,7,6,8,9,0,6,5,5,7,9,0,6,6,8,9,0,3,2,6,0,3,8,0,6,0 75 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/genIconSetImage.m: -------------------------------------------------------------------------------- 1 | function [] = genIconSetImage() 2 | % 3 | % 4 | % File : genIconSetImage.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Fri Mar 30 23:45:16 2012 15 | % Modified: $Id$ 16 | % 17 | % 18 | 19 | V = cell(10,1); 20 | V{7} = regPolygon(3,0); % triangle 21 | V{2} = regPolygon(4,0); % square 22 | V{3} = [0 1; 0 -1; NaN NaN; 1 0; -1 0]; % plus 23 | V{4} = [cos(pi/4) sin(pi/4); -cos(pi/4) -sin(pi/4); NaN NaN; -cos(pi/4) sin(pi/4); cos(pi/4) -sin(pi/4)]; % cross 24 | V{5} = [V{3}; NaN NaN; V{4}] ; % star 25 | V{6} = ([cos(pi/4) -sin(pi/4); sin(pi/4) cos(pi/4)]*(V{2})')'; % diamond 26 | V{9} = ([cos(pi/2) -sin(pi/2); sin(pi/2) cos(pi/2)]*(V{7})')'; % left triangle 27 | V{10} = ([cos(-pi/2) -sin(-pi/2); sin(-pi/2) cos(-pi/2)]*(V{7})')'; % right triangle 28 | V{8} = ([cos(pi) -sin(pi); sin(pi) cos(pi)]*(V{7})')' ; % down triangle 29 | V{1}=0.9*regPolygon(9,0); 30 | 31 | 32 | 33 | for i=1:10 34 | v = V{i}; 35 | v = v+repmat([(i-1)*3, 0],size(v,1),1); 36 | plot(v(:,1), v(:,2), 'LineWidth',4,'Color','k'); 37 | set(gca, 'XLim', [-3, 32], 'YLim', [-2, 2], 'DataAspectRatio', [1 1 1]); 38 | axis equal; 39 | axis off; 40 | box off; 41 | hold on; 42 | end 43 | print(gcf, '-deps', 'Vi.eps'); 44 | 45 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/genMTurkImages.m: -------------------------------------------------------------------------------- 1 | function genMTurkImages 2 | % 3 | % 4 | % generates the images for crowdsourcing 5 | 6 | close all; 7 | 8 | %local polygons 9 | V = cell(10,1); 10 | V{1} = regPolygon(3,0); % triangle 11 | V{2} = regPolygon(4,0); % square 12 | V{3} = [0 1; 0 -1; NaN NaN; 1 0; -1 0]; % plus 13 | V{4} = [cos(pi/4) sin(pi/4); -cos(pi/4) -sin(pi/4); NaN NaN; -cos(pi/4) sin(pi/4); cos(pi/4) -sin(pi/4)]; % cross 14 | V{5} = [V{3}; NaN NaN; V{4}] ; % star 15 | V{6} = ([cos(pi/4) -sin(pi/4); sin(pi/4) cos(pi/4)]*(V{2})')'; % diamond 16 | V{7} = ([cos(pi/2) -sin(pi/2); sin(pi/2) cos(pi/2)]*(V{1})')'; % left triangle 17 | V{8} = ([cos(-pi/2) -sin(-pi/2); sin(-pi/2) cos(-pi/2)]*(V{1})')'; % right triangle 18 | V{9} = ([cos(pi) -sin(pi); sin(pi) cos(pi)]*(V{1})')' ; 19 | V{10}=0.9*regPolygon(9,0); 20 | 21 | 22 | n = 10; 23 | k=0; 24 | for i=1:n 25 | for j=i:n 26 | if(rand>0.5) 27 | v1 = V{j}; 28 | v2 = V{i}; 29 | else 30 | v1 = V{i}; 31 | v2 = V{j}; 32 | end 33 | 34 | v1 = v1+repmat([-1.5, 0],size(v1,1),1); 35 | v2 = v2+repmat([+1.5, 0],size(v2,1),1); 36 | 37 | k=k+1; 38 | k 39 | plot(v1(:,1), v1(:,2), v2(:,1), v2(:,2), 'LineWidth',4,'Color','k'); 40 | set(gca, 'XLim', [-2.25, 2.25], 'YLim', [-2, 2], 'DataAspectRatio', [1 1 1]); 41 | axis equal; 42 | axis off; 43 | box off; 44 | 45 | print(gcf, '-dpng', [int2str(i) '-' int2str(j) '.png']); 46 | 47 | end 48 | end 49 | 50 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/genMTurkInput.m: -------------------------------------------------------------------------------- 1 | function genMTurkInput(indexfile, html) 2 | % 3 | % 4 | % File : genMTurkInput.m 5 | % Author : Cagatay Demiralp 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Tue Mar 27 14:58:24 2012 15 | % 16 | % 17 | imgindx =dlmread(indexfile); 18 | n =size(imgindx,1); 19 | fid =fopen('input.csv','w'); 20 | for i=1:n-1 21 | fprintf(fid,'%d, ', i); 22 | end 23 | 24 | fprintf(fid, '%d\n', i+1); 25 | for i=1:n-1 26 | s=[html int2str(imgindx(i,1)) '-' int2str(imgindx(i,2)) '.png']; 27 | fprintf(fid,'%s, ', s); 28 | end 29 | 30 | s=[html int2str(imgindx(i+1,1)) '-' int2str(imgindx(i+1,2)) '.png']; 31 | fprintf(fid, '%s\n', s); 32 | fclose(fid); 33 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-1.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-2.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-3.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-4.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-5.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/1-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/1-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/10-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/10-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-2.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-3.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-4.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-5.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/2-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/2-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-3.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-4.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-5.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/3-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/3-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-4.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-5.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/4-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/4-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-5.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/5-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/5-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/6-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/6-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/6-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/6-6.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/6-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/6-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/6-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/6-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/6-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/6-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/7-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/7-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/7-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/7-7.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/7-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/7-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/7-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/7-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/8-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/8-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/8-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/8-8.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/8-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/8-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/9-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/9-10.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/img/9-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/img/9-9.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/imgindx.txt: -------------------------------------------------------------------------------- 1 | 1 1 2 | 1 2 3 | 1 3 4 | 1 4 5 | 1 5 6 | 1 6 7 | 1 7 8 | 1 8 9 | 1 9 10 | 1 10 11 | 2 2 12 | 2 3 13 | 2 4 14 | 2 5 15 | 2 6 16 | 2 7 17 | 2 8 18 | 2 9 19 | 2 10 20 | 3 3 21 | 3 4 22 | 3 5 23 | 3 6 24 | 3 7 25 | 3 8 26 | 3 9 27 | 3 10 28 | 4 4 29 | 4 5 30 | 4 6 31 | 4 7 32 | 4 8 33 | 4 9 34 | 4 10 35 | 5 5 36 | 5 6 37 | 5 7 38 | 5 8 39 | 5 9 40 | 5 10 41 | 6 6 42 | 6 7 43 | 6 8 44 | 6 9 45 | 6 10 46 | 7 7 47 | 7 8 48 | 7 9 49 | 7 10 50 | 8 8 51 | 8 9 52 | 8 10 53 | 9 9 54 | 9 10 55 | 10 10 56 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/index.html: -------------------------------------------------------------------------------- 1 |

Quantify the similarity of pairs of icons.

2 | 33 | 34 | 35 | 36 | 40 | 44 | 45 | 49 | 50 | 54 | 55 | 59 | 60 | 61 | 62 | 63 | 67 | 71 | 72 | 76 | 77 | 81 | 82 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 96 | 100 | 101 | 105 | 106 | 110 | 111 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 126 | 127 | 131 | 132 | 136 | 137 | 141 | 142 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 157 | 158 | 162 | 163 | 167 | 168 | 172 | 173 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 189 | 190 | 194 | 195 | 199 | 200 | 204 | 205 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 220 | 221 | 225 | 226 | 230 | 231 | 235 | 236 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 249 | 250 | 253 | 254 | 257 | 258 | 261 | 262 | 265 | 266 | 267 | 268 | 269 | 270 | 273 | 274 | 277 | 278 | 279 | 282 | 283 | 286 | 287 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 300 | 301 | 304 | 305 | 308 | 309 | 312 | 313 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 325 | 326 | 329 | 330 | 333 | 334 | 337 | 338 | 341 | 342 | 343 | 344 | 345 | 346 |
1 37 |

similarity rating:

38 |

 

39 |
2
41 |

similarity rating: 

42 |

 

43 |
3 46 |

similarity rating:

47 |

 

48 |
4
51 |

similarity rating: 

52 |

 

53 |
4
56 |

similarity rating: 

57 |

 

58 |
6 64 |

similarity rating:

65 |

 

66 |
7 68 |

similarity rating:

69 |

 

70 |
8 73 |

similarity rating:

74 |

 

75 |
9 78 |

similarity rating:

79 |

 

80 |
10 83 |

similarity rating:

84 |

 

85 |
11 93 |

similarity rating:

94 |

 

95 |
12 97 |

similarity rating:

98 |

 

99 |
13 102 |

similarity rating:

103 |

 

104 |
14 107 |

similarity rating:

108 |

 

109 |
15 112 |

similarity rating:

113 |

 

114 |
16 123 |

similarity rating:

124 |

 

125 |
17 128 |

similarity rating:

129 |

 

130 |
18 133 |

similarity rating:

134 |

 

135 |
19 138 |

similarity rating:

139 |

 

140 |
20 143 |

similarity rating:

144 |

 

145 |
21 154 |

similarity rating:

155 |

 

156 |
22 159 |

similarity rating:

160 |

 

161 |
23 164 |

similarity rating:

165 |

 

166 |
24 169 |

similarity rating:

170 |

 

171 |
25 174 |

similarity rating:

175 |

 

176 |
26 186 |

similarity rating:

187 |

 

188 |
27 191 |

similarity rating:

192 |

 

193 |
28 196 |

similarity rating:

197 |

 

198 |
29 201 |

similarity rating:

202 |

 

203 |
30 206 |

similarity rating:

207 |

 

208 |
31 217 |

similarity rating:

218 |

 

219 |
32 222 |

similarity rating:

223 |

 

224 |
33 227 |

similarity rating:

228 |

 

229 |
34 232 |

similarity rating:

233 |

 

234 |
35 237 |

similarity rating:

238 |

 

239 |
36 247 |

similarity rating:

248 |
37 251 |

similarity rating:

252 |
38 255 |

similarity rating:

256 |
39 259 |

similarity rating:

260 |
40 263 |

similarity rating:

264 |
41 271 |

similarity rating:

272 |
42 275 |

similarity rating:

276 |
43 280 |

similarity rating:

281 |
44 284 |

similarity rating:

285 |
45 288 |

similarity rating:

289 |
46 298 |

similarity rating:

299 |
47 302 |

similarity rating:

303 |
48 306 |

similarity rating:

307 |
49 310 |

similarity rating:

311 |
50 314 |

similarity rating:

315 |
51 323 |

similarity rating:

324 |
52 327 |

similarity rating:

328 |
53 331 |

similarity rating:

332 |
54 335 |

similarity rating:

336 |
55 339 |

similarity rating:

340 |
347 |

 

348 |

 

349 |

 

350 |

 

351 |

 

352 |

 

353 |

 

354 |

 

355 |

 

356 |

 

357 |

 

358 |

 

359 |

 

360 |

 

361 |

 

362 |

 

363 |

 

364 |

 

365 |

 

366 |

 

367 |

 

368 |

 

369 |

 

370 |

 

371 |

 

372 |

 

373 |

 

374 |

 

375 |

 

376 |

 

377 |

 

378 |

 

379 |

 

380 |

 

381 |

 

382 |

 

383 |

 

384 |

 

385 |

 

386 |

 

387 |

 

388 |

 

389 |

 

390 |

 

391 |

 

392 |

 

393 |

 

394 |

 

395 |

 

396 |

 

397 |

 

398 |

 

399 |

 

400 |

 

401 |

 

402 |

 

403 |

 

404 |

 

405 |

 

406 |

 

407 |

 

408 |

 

409 |

 

410 |

 

411 |

 

412 |

 

413 |

 

414 |

 

415 |

 

416 |

 

417 |

 

418 |

 

419 |

 

420 |

 

421 |

 

422 |

 

423 |

 

424 |

 

425 |

 

426 |

 

427 |

Tell us what was your strategy in adjusting your  ratings across the icon pairs. 

428 |

429 |

 

430 |

YOU ARE DONE!

431 |

MAKE SURE YOU HAVE RATED ALL THE PAIRS ABOVE.

432 |

THANKS AGAIN!

433 |

 

434 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/input.csv: -------------------------------------------------------------------------------- 1 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55 2 | img/1-1.png, img/1-2.png, img/1-3.png, img/1-4.png, img/1-5.png, img/1-6.png, img/1-7.png, img/1-8.png, img/1-9.png, img/1-10.png, img/2-2.png, img/2-3.png, img/2-4.png, img/2-5.png, img/2-6.png, img/2-7.png, img/2-8.png, img/2-9.png, img/2-10.png, img/3-3.png, img/3-4.png, img/3-5.png, img/3-6.png, img/3-7.png, img/3-8.png, img/3-9.png, img/3-10.png, img/4-4.png, img/4-5.png, img/4-6.png, img/4-7.png, img/4-8.png, img/4-9.png, img/4-10.png, img/5-5.png, img/5-6.png, img/5-7.png, img/5-8.png, img/5-9.png, img/5-10.png, img/6-6.png, img/6-7.png, img/6-8.png, img/6-9.png, img/6-10.png, img/7-7.png, img/7-8.png, img/7-9.png, img/7-10.png, img/8-8.png, img/8-9.png, img/8-10.png, img/9-9.png, img/9-10.png, img/10-10.png 3 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/kernel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/kernel.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/kernel.txt: -------------------------------------------------------------------------------- 1 | 0,0.77323,0.953,0.94309,1,0.7054,0.18692,0.18466,0.19741,0.91161 2 | 0.77323,0,0.83617,0.87603,0.98511,0.31677,0.77289,0.77706,0.76792,0.89402 3 | 0.953,0.83617,0,0.31515,0.62964,0.80673,0.88004,0.88083,0.88846,0.95282 4 | 0.94309,0.87603,0.31515,0,0.52214,0.76804,0.87461,0.87082,0.88334,0.96208 5 | 1,0.98511,0.62964,0.52214,0,0.87115,0.91916,0.91984,0.92234,0.9301 6 | 0.7054,0.31677,0.80673,0.76804,0.87115,0,0.61459,0.6278,0.61762,0.86643 7 | 0.18692,0.77289,0.88004,0.87461,0.91916,0.61459,0,0.16056,0.20306,0.88926 8 | 0.18466,0.77706,0.88083,0.87082,0.91984,0.6278,0.16056,0,0.20701,0.86803 9 | 0.19741,0.76792,0.88846,0.88334,0.92234,0.61762,0.20306,0.20701,0,0.89116 10 | 0.91161,0.89402,0.95282,0.96208,0.9301,0.86643,0.88926,0.86803,0.89116,0 11 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/mturkExperiments/tableau/palette.png -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/regPolygon.m: -------------------------------------------------------------------------------- 1 | function [V,vol] = regPolygon(n,draw) 2 | % 3 | % 4 | % File : regPolygon.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : creates a regular n-gon 7 | % 8 | % Input : 9 | % n - number of sides (i.e., n>=3) 10 | % draw - flag variable to draw the resulting polygon 11 | % 12 | % Output : 13 | % V - vertex list 14 | % 15 | % Example: 16 | % 17 | % Date : Sat Mar 26 23:29:48 2011 18 | % Modified: $Id$ 19 | % 20 | % 21 | if (nargin< 1) 22 | n = 3; 23 | draw = 0; 24 | elseif(nargin<2) 25 | draw =0; 26 | if(~(n>=3)) 27 | error('regPolygon:argchk','number of sides should be bigger than 3!'); 28 | end 29 | end 30 | r=1; 31 | if(n == 9) 32 | n=256; 33 | end 34 | t = linspace(0,2*pi,n+1); 35 | xy =[r*cos(t); 36 | r*sin(t)]; 37 | 38 | a=pi/2; 39 | if (n == 4) 40 | a = pi/4; 41 | 42 | end 43 | % rotate w/ pi/4 ccw 44 | xy = [cos(a) -sin(a); sin(a) cos(a)]*xy; 45 | if( n == 3) 46 | xy = xy+repmat([0;-0.2], 1, size(xy,2)); 47 | end 48 | 49 | if(draw) 50 | figure(gcf); 51 | set(gca, 'XLim', [-2, 2], 'YLim', [-2, 2], 'DataAspectRatio', [1 1 1]); 52 | plot(xy(1,:), xy(2,:), 'LineWidth',4,'Color','k'); 53 | axis equal; 54 | axis off; 55 | box off; 56 | end 57 | V = xy'; 58 | vol =(0.25*n*(norm(V(1,:)-V(2,:)))^2*cot(pi/n)); 59 | -------------------------------------------------------------------------------- /src/mturkExperiments/tableau/tmp.txt: -------------------------------------------------------------------------------- 1 | 3 2 | 2 3 | 6 4 | 2 5 | 1 6 | 4 7 | 1 8 | 7 9 | 5 10 | 3 11 | 3 12 | 2 13 | 9 14 | 8 15 | 6 16 | 3 17 | 6 18 | 6 19 | 9 20 | 6 21 | 3 22 | 5 23 | 2 24 | 4 25 | 1 26 | 4 27 | 2 28 | 5 29 | 4 30 | 9 31 | 5 32 | 9 33 | 3 34 | 3 35 | 3 36 | 8 37 | 5 38 | 3 39 | 9 40 | 6 41 | 3 42 | 3 43 | 4 44 | 5 45 | 5 46 | 3 47 | 9 48 | 4 49 | 5 50 | 9 51 | 3 52 | 9 53 | 3 54 | 6 55 | 6 56 | 3 57 | 4 58 | 4 59 | 3 60 | 6 61 | 3 62 | 5 63 | 3 64 | 9 65 | 5 66 | 4 67 | 3 68 | 3 69 | 1 70 | 4 71 | 2 72 | 1 73 | 5 74 | 1 75 | 3 76 | 0 77 | 9 78 | 3 79 | 9 80 | 2 81 | 2 82 | 5 83 | 9 84 | 4 85 | 5 86 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/boundingBox.m: -------------------------------------------------------------------------------- 1 | function [ur,ll] = boundingBox(X) 2 | % 3 | % 4 | % File : boundingbox.m 5 | % Author: Cagatay Demiralp 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Wed Mar 30 20:42:50 2011 15 | % 16 | % 17 | if (nargin < 1) 18 | error('boundingBox:ArgChk', 'Insufficient number of input args'); 19 | end 20 | 21 | ur = max(X); 22 | ll = min(X); 23 | 24 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/drawBoundingBox.m: -------------------------------------------------------------------------------- 1 | function [ur,ll,V,I] = drawBoundingBox(X) 2 | % 3 | % 4 | % File : drawBoundingBox.m 5 | % Author: Cagatay Demiralp 6 | % Desc : Draws the bounding box of a given point set. 7 | % 8 | % INPUT 9 | % X: n by d matrix of points 10 | % 11 | % OUTPUT 12 | % 13 | % 14 | % 15 | % Example: 16 | % 17 | % Date : Wed Mar 30 20:38:50 2011 18 | % 19 | % 20 | if (nargin < 1) 21 | error('drawBoundingBox:ArgChk', 'Insufficient number of input args!'); 22 | end 23 | 24 | [ur,ll]=boundingBox(X); 25 | V = [ll; %1 26 | [ll(1) ur(2) ll(3)]; %2 27 | [ur(1) ur(2) ll(3)]; %3 28 | [ur(1) ll(2) ll(3)]; %4 29 | [ll(1) ll(2) ur(3)]; %5 30 | [ll(1) ur(2) ur(3)]; %6 31 | [ur(1) ur(2) ur(3)]; %7 32 | [ur(1) ll(2) ur(3)]];%8 33 | 34 | I = [1 2; 35 | 2 3; 36 | 3 4; 37 | 4 1; 38 | 5 6; 39 | 6 7; 40 | 7 8; 41 | 8 5; 42 | 1 5; 43 | 2 6; 44 | 3 7; 45 | 4 8]; 46 | 47 | for i=1:size(I,1) 48 | line(V(I(i,:),2),V(I(i,:),3),V(I(i,:),1), ... 49 | 'LineWidth', 4, 'Color', 'black'); 50 | hold on; 51 | end 52 | 53 | axis equal; 54 | 55 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/embedTracts.m: -------------------------------------------------------------------------------- 1 | function Y = embedTracts(distmat, dim, tractfile, tubifyinput) 2 | % 3 | % 4 | % File : embedTracts.m 5 | % Author: Cagatay Demiralp 6 | % Desc : Embeds three-dimensional neural tracts in CIELAB color space. 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % 13 | [V,n] = readTracts(tractfile); 14 | fid = fopen(distmat,'r'); 15 | D = fread(fid, [n n], 'double'); 16 | Y = cmdscale(D); 17 | Y = Y(:,1:dim); 18 | 19 | if(dim == 2) 20 | sensitivity = 1; 21 | C = flatTorusColoring(Y,sensitivity); 22 | else 23 | 24 | bbox = [40 -50 -60; 80 80 70]; % in lab 25 | midpt = mean(bbox); 26 | [~,Y] = princomp(Y); 27 | bboxsize = abs(bbox(1,:)-bbox(2,:)); % h w d 28 | max_Y = max(Y); 29 | min_Y = min(Y); 30 | size_Y = max_Y - min_Y; 31 | [~,I] = sort(bboxsize,'descend'); 32 | [~,J] = sort(size_Y,'descend'); 33 | N = size(Y,1); 34 | Y = Y - repmat(min_Y,N,1); 35 | Y = Y - repmat(mean(Y), N,1); 36 | Y(:,J(1)) = Y(:,J(1))./size_Y(J(1)); 37 | Y(:,J(2)) = Y(:,J(2))./size_Y(J(2)); 38 | Y(:,J(3)) = Y(:,J(3))./size_Y(J(3)); 39 | 40 | Y(:,J(1))=Y(:,J(1))*bboxsize(I(1))+midpt(I(1)); 41 | Y(:,J(2))=Y(:,J(2))*bboxsize(I(2))+midpt(I(2)); 42 | Y(:,J(3))=Y(:,J(3))*bboxsize(I(3))+midpt(I(3)); 43 | lab = zeros(size(Y)); 44 | lab(:, I(1))=Y(:,J(1)); 45 | lab(:, I(2))=Y(:,J(2)); 46 | lab(:, I(3))=Y(:,J(3)); 47 | Y = lab; 48 | C = applycform(lab, makecform('lab2srgb')); 49 | end 50 | 51 | writeTracts(V,tubifyinput,C); 52 | 53 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/flatTorusColoring.m: -------------------------------------------------------------------------------- 1 | function C = flatTorusColoring(coord, sensitivity) 2 | % 3 | % flatTorusColoring - Colors given 2D coords by embedding them 4 | % on a flat torus in the CIELAB color space. 5 | % 6 | % 7 | % INPUT 8 | % coord - N by 2 matrix containing 2D coords. 9 | % sensitivity - uniform scale value for the bounding 10 | % plane of the torus. 11 | % 12 | % OUTPUT 13 | % 14 | % C - N by 3 matrix of colors 15 | % 16 | 17 | ll = 50; 18 | lh = 84; 19 | al = -50; 20 | ah = 70; 21 | bl = -20; 22 | bh = 70; 23 | 24 | max_x = max(coord(:,1)); 25 | min_x = min(coord(:,1)); 26 | max_y = max(coord(:,2)); 27 | min_y = min(coord(:,2)); 28 | 29 | %lc= [min_x max_y]; 30 | %rc= [max_x min_y]; 31 | w = max_x - min_x; 32 | h = max_y - min_y; 33 | 34 | % origin 35 | ol = 0.5 * (lh + ll); 36 | oa = 0.5 * (ah + al); 37 | ob = 0.5 * (bh + bl); 38 | 39 | nscale = w; 40 | 41 | if(h lscale 55 | r3 = bscale*0.5; 56 | 57 | % adjust sensitivity 58 | X = X * sensitivity; 59 | Y = Y * sensitivity; 60 | 61 | if(h>w) 62 | % map x = l, y = a & b 63 | L = r1*sin(X); 64 | a = r2*cos(Y); 65 | b = r1*cos(X)+r3*sin(Y); 66 | else 67 | % map y = l, x = a & b 68 | L = r1*sin(Y); 69 | a = r2*cos(Y); 70 | b = r1*cos(X)+r3*sin(Y); 71 | end; 72 | 73 | % translate to the center of the cubic region 74 | % [45 95 -50 70 -20 70]; 75 | L = L + ol; 76 | a = a + oa; 77 | b = b + ob; 78 | 79 | % get colors 80 | C = applycform([L a b], makecform('lab2srgb')); 81 | 82 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/readTracts.m: -------------------------------------------------------------------------------- 1 | function [V n] = readTracts(fn) 2 | C = dlmread(fn); 3 | n = C(1,1); % num of tracts 4 | cnt = 2; 5 | for i=1:n 6 | m = C(cnt,1); % num of points sampled on the tract 7 | cnt = cnt+1; 8 | V{i}=C(cnt:cnt+m-1,1:3); 9 | cnt = m+cnt; 10 | end 11 | 12 | -------------------------------------------------------------------------------- /src/neuralTractEmbedding/writeTracts.m: -------------------------------------------------------------------------------- 1 | function writeTracts(c, fn, C) 2 | % writes the given cluster c to fn in binary format required for 3 | % streamtube generating function 4 | num_tubes = numel(c); 5 | fid = fopen(fn, 'wb'); 6 | fwrite(fid, num_tubes, 'integer*4'); 7 | for i=1:num_tubes 8 | num_vertices =length(c{i}); 9 | fwrite(fid, num_vertices, 'integer*4'); 10 | for j=1:num_vertices 11 | fwrite(fid, c{i}(j,1), 'real*4'); 12 | fwrite(fid, c{i}(j,2), 'real*4'); 13 | fwrite(fid, c{i}(j,3), 'real*4'); 14 | end 15 | end 16 | if(size(C,1) == 1) 17 | for i=1:num_tubes 18 | fwrite(fid, C(1), 'real*4'); 19 | fwrite(fid, C(2), 'real*4'); 20 | fwrite(fid, C(3), 'real*4'); 21 | end 22 | else 23 | for i=1:num_tubes 24 | fwrite(fid, C(i,1), 'real*4'); 25 | fwrite(fid, C(i,2), 'real*4'); 26 | fwrite(fid, C(i,3), 'real*4'); 27 | end 28 | end 29 | fclose(fid); 30 | 31 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/cuboidTensor.m: -------------------------------------------------------------------------------- 1 | function cuboidTensor(D, campos) 2 | % 3 | % File : cuboidTensor.m 4 | % Author: Cagatay Demiralp (cad) 5 | % Desc : 6 | % 7 | % Input : 8 | % 9 | % Output : 10 | % 11 | % Example: 12 | % 13 | % Date : Thu Mar 29 02:23:21 2012 14 | % Modified: $Id$ 15 | % 16 | % 17 | 18 | 19 | [u,s] = svd(D); 20 | xyz =1.5*([0 0 0; 1 0 0; 1 1 0; 0 1 0; 0 0 1; 1 0 1; 1 1 1; 0 1 1]-0.5); 21 | % xyz =xyz; 22 | faces =[1 2 6 5; 2 3 7 6; 3 4 8 7; 4 1 5 8; 1 2 3 4; 5 6 7 8]; 23 | xyz =(u*s*xyz')'; 24 | 25 | 26 | 27 | 28 | h =patch('Vertices',xyz,'Faces',faces,'FaceColor','interp'); 29 | 30 | shading interp; 31 | % lighting phong; 32 | material dull; 33 | 34 | set(gcf, 'renderer', 'zbuffer'); 35 | % this is necessary to prevent Matlab's seam problem 36 | vn = get(h,'VertexNormals'); 37 | vnSeam = mean(vn(:,[1,end],:),2); 38 | vnNew = vn; 39 | vnNew(:,[1,end],:) = repmat(vnSeam,[1 2 1]); 40 | axis equal; 41 | axis off; 42 | box off; 43 | 44 | 45 | 46 | set(h, 'FaceColor', [0.85 0.85 0.85], 'EdgeColor', [ 0 0 0 ]); 47 | set(gca,'camerapositionmode', 'manual','cameraviewanglemode','manual'); 48 | set(gca,'cameraposition', campos, 'cameratarget', [0 0 0], 'cameraviewangle', 15); 49 | camlight('right'); 50 | 51 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c1.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c11.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c12.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c13.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c14.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c15.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c16.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c2.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c21.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c22.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c23.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c24.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c25.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c26.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c3.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c31.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c32.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c33.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c34.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c35.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c36.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c4.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c41.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c42.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c43.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c44.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c45.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c46.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c46.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c5.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c51.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c52.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c53.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c53.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c54.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c55.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c56.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c6.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c61.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c62.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c62.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c63.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c63.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c64.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c65.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c65.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c66.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c66.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c71.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c72.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c73.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c73.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c74.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c74.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c75.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c76.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c81.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c81.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c82.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c82.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c83.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c83.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c84.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c84.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c85.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c85.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c86.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c86.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c91.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c91.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c92.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c92.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c93.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c93.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c94.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c94.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c95.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c95.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/c96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/c96.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/feh_008129_000001_c31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/feh_008129_000001_c31.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/feh_008130_000001_q31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/feh_008130_000001_q31.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q1.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q11.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q12.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q13.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q14.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q15.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q16.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q2.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q21.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q22.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q23.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q24.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q25.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q26.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q3.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q31.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q32.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q33.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q34.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q35.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q36.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q4.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q41.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q42.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q43.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q44.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q45.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q46.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q46.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q5.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q51.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q52.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q53.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q53.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q54.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q55.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q55.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q56.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q56.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q6.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q61.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q62.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q62.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q63.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q63.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q64.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q65.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q65.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q66.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q66.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q71.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q71.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q72.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q73.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q73.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q74.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q74.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q75.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q76.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q81.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q81.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q82.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q82.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q83.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q83.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q84.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q84.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q85.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q85.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q86.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q86.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q91.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q91.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q92.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q92.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q93.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q93.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q94.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q94.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q95.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q95.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/data/test/q96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwdata/visual-embedding/bf328d597d9bef32aefddfe62bc3f35083f4d9bb/src/tensorGlyphEval/data/test/q96.png -------------------------------------------------------------------------------- /src/tensorGlyphEval/ellipsoidTensor.m: -------------------------------------------------------------------------------- 1 | function ellipsoidTensor(D) 2 | % 3 | % 4 | % File : plotTensor.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Plots a given second order tensor as an ellipsoid at p0. 7 | % 8 | % Input : 9 | % : D - 3 x 3 second order symmetric tensor 10 | % 11 | % Output : 12 | % 13 | % Example: 14 | % 15 | % Date : Mon Feb 20 18:37:57 2012 16 | % Modified: $Id$ 17 | % 18 | 19 | [u,s] = svd(D); 20 | 21 | % [x,y,z]=sphere(32); 22 | [x,y,z]=sphere(128); 23 | d = size(x); 24 | xyz =[x(:) y(:) z(:)]'; 25 | xyz= u*(s)*xyz; 26 | % xyz= u*(s.^0.5)*xyz; 27 | 28 | x = reshape(xyz(1,:)', d); 29 | y = reshape(xyz(2,:)', d); 30 | z = reshape(xyz(3,:)', d); 31 | h=surf(x,y,z); 32 | glyphVis(h); 33 | axis equal; 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/gaborImgDist.m: -------------------------------------------------------------------------------- 1 | function d = gaborImgDist(I1,I2) 2 | % 3 | % 4 | % File : gaborImgDist.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Fri Mar 30 17:40:58 2012 15 | % Modified: $Id$ 16 | % 17 | % 18 | 19 | I1 = single(I1); 20 | I2 = single(I2); 21 | 22 | lambda = 4; 23 | theta = 0; 24 | psi = [0 pi/2]; 25 | gamma = 1; 26 | bw = 1; 27 | N = 4; 28 | 29 | [r,c]=size(I1); 30 | gaborI1 = zeros(r,c,3); 31 | gaborI2 = gaborI1; 32 | 33 | for i=1:N 34 | gb = gabor_fn(bw,gamma,psi(1),lambda,theta)... 35 | + 1i * gabor_fn(bw,gamma,psi(2),lambda,theta); 36 | % gb is the n-th gabor filter 37 | gaborI1(:,:,i) = imfilter(I1, gb, 'symmetric'); 38 | gaborI2(:,:,i) = imfilter(I2, gb, 'symmetric'); 39 | % filter output to the n-th channel 40 | theta = theta + 2*pi/N; 41 | % next orientation 42 | end 43 | 44 | 45 | gaborI1 = sum(abs(gaborI1).^2, 3).^0.5; 46 | gaborI1 = gaborI1./max(gaborI1(:)); 47 | gaborI2 = sum(abs(gaborI2).^2, 3).^0.5; 48 | gaborI2 = gaborI2./max(gaborI2(:)); 49 | 50 | figure; imshow(gaborI1); 51 | figure; imshow(gaborI2); 52 | 53 | d = (gaborI1 - gaborI2).^2; 54 | d = (sum(d(:))).^0.5; 55 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/gabor_fn.m: -------------------------------------------------------------------------------- 1 | function gb=gabor_fn(bw,gamma,psi,lambda,theta) 2 | % bw = bandwidth, (1) 3 | % gamma = aspect ratio, (0.5) 4 | % psi = phase shift, (0) 5 | % lambda= wave length, (>=2) 6 | % theta = angle in rad, [0 pi) 7 | 8 | sigma = lambda/pi*sqrt(log(2)/2)*(2^bw+1)/(2^bw-1); 9 | sigma_x = sigma; 10 | sigma_y = sigma/gamma; 11 | 12 | sz=fix(8*max(sigma_y,sigma_x)); 13 | if mod(sz,2)==0, sz=sz+1;end 14 | 15 | % alternatively, use a fixed size 16 | % sz = 60; 17 | 18 | [x y]=meshgrid(-fix(sz/2):fix(sz/2),fix(sz/2):-1:fix(-sz/2)); 19 | % x (right +) 20 | % y (up +) 21 | 22 | % Rotation 23 | x_theta= x*cos(theta)+y*sin(theta); 24 | y_theta=-x*sin(theta)+y*cos(theta); 25 | 26 | gb=exp(-0.5*(x_theta.^2/sigma_x^2+y_theta.^2/sigma_y^2)).*cos(2*pi/lambda*x_theta+psi); 27 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/glyphVis.m: -------------------------------------------------------------------------------- 1 | function glyphVis(h,campos) 2 | 3 | if(nargin < 2) 4 | % campos = [5 5 30]; 5 | campos = [30 0 0]; 6 | end 7 | 8 | shading interp; 9 | lighting gouraud; 10 | 11 | 12 | set(h, 'FaceColor', [0.85 0.85 0.85]); 13 | % set(h, 'specularstrength', 0.5, 'diffusestrength', 0.5); 14 | material dull; 15 | axis off; 16 | box off; 17 | set(gcf, 'renderer', 'zbuffer'); 18 | % this is necessary to prevent Matlab's seam problem 19 | vn = get(h,'VertexNormals'); 20 | vnSeam = mean(vn(:,[1,end],:),2); 21 | vnNew = vn; 22 | vnNew(:,[1,end],:) = repmat(vnSeam,[1 2 1]); 23 | set(h,'VertexNormals',vnNew); 24 | set(gca,'camerapositionmode', 'manual','cameraviewanglemode','manual'); 25 | set(gca,'cameraposition', campos, 'cameratarget', [0 0 0], 'cameraviewangle', 15); 26 | camlight('right'); 27 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/imgDist.m: -------------------------------------------------------------------------------- 1 | function d = imgDist(img1,img2) 2 | % File : imgDist.m 3 | % Author: Cagatay Demiralp (cad) 4 | % Desc : SSD distances in lab color space 5 | % 6 | % Input : 7 | % 8 | % Output : 9 | % 10 | % Example: 11 | % 12 | % Date : Thu Mar 29 16:44:44 2012 13 | % Modified: $Id$ 14 | % 15 | % 16 | if (nargin~=2) 17 | error('imgDist:argchk', 'incorrect number of args'); 18 | end 19 | 20 | 21 | 22 | I1rgb=imresize(imread(img1), 0.25); 23 | I2rgb=imresize(imread(img2), 0.25); 24 | I1 = (rgb2gray(I1rgb)); 25 | I2 = (rgb2gray(I2rgb)); 26 | % x = (edge(I1, 'canny', 0.1, 2)); 27 | % y = (edge(I2, 'canny', 0.1, 2)); 28 | % 29 | % 30 | % 31 | % d(1) = (sum((abs(x(:)-y(:))).^2)).^0.5; 32 | % d(2) = (sum((I1(:)-I2(:)).^2)).^0.5; 33 | % x = double(rgb2gray(I1rgb)<240); 34 | % y = double(rgb2gray(I2rgb)<240); 35 | % d(3) = (sum(abs(x(:)-y(:)).^2)).^0.5; 36 | % figure; 37 | % imshow(x) 38 | % figure 39 | % imshow(y) 40 | 41 | %x = (edge(I1, 'sobel'));%, 0.01, 2)); 42 | %y = (edge(I2, 'sobel'));%, 0.01, 2)); 43 | %^d(4) = sum(abs(x(:)-y(:))); 44 | 45 | % [k, d1]=vl_sift(I1); 46 | % figure; 47 | % vl_plotsiftdescriptor(d1); 48 | % [k, d2]=vl_sift(I2); 49 | % figure; 50 | % vl_plotsiftdescriptor(d2); 51 | % [m, s]=vl_ubcmatch(d1,d2); 52 | 53 | % d(4) = sum(s); % 54 | % d(4) = gaborImgDist(I1, I2); 55 | 56 | % d(4) = opticFlowDist(I1,I2); 57 | d = opticFlowDist(I1,I2); 58 | 59 | % cform = makecform('srgb2lab'); 60 | % I1= applycform(I1rgb,cform); 61 | % I2= applycform(I2rgb,cform); 62 | %delta = (I1rgb - I2rgb).^2; 63 | %d = sqrt(sum(delta(:))); 64 | 65 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/neal16.txt: -------------------------------------------------------------------------------- 1 | 0.00000000000000e+00 0.00000000000000e+00 1.00000000000000e+00 7.55674118356721e-01 2 | 7.53978824073000e-01 0.00000000000000e+00 6.56898723434000e-01 7.55673975187776e-01 3 | 3.90242135404000e-01 8.06032074954000e-01 -4.44998168424000e-01 7.55674013381465e-01 4 | 4.94869602332000e-01 -1.27854920906000e-01 -8.59509857936000e-01 8.74570763750276e-01 5 | 3.55503473986000e-01 8.06424122874000e-01 4.72543557812000e-01 8.74570753060101e-01 6 | -4.46397177021000e-01 8.79481067712000e-01 -1.65053360715000e-01 7.55673876104811e-01 7 | 1.68791062107000e-01 -8.79481021131000e-01 -4.44997427885000e-01 7.55673961615957e-01 8 | 9.50370026986000e-01 2.63731117349000e-01 -1.65053656574000e-01 7.55673979483462e-01 9 | -5.91868553094000e-01 -8.06032223202000e-01 1.91599013900000e-03 7.55674124026700e-01 10 | -5.27292524396000e-01 5.93408701303000e-01 6.08135434697000e-01 7.55673985216451e-01 11 | -7.48743750927000e-01 -2.63731093071000e-01 6.08135433925000e-01 7.55673818818350e-01 12 | -9.73131512786000e-01 1.27854998926000e-01 -1.91489315819000e-01 8.74570818789155e-01 13 | -2.60381218011000e-01 3.93874693307000e-01 -8.81512533819000e-01 7.55673916307309e-01 14 | 8.04899141573000e-01 -5.93408545353000e-01 1.91577591800000e-03 7.55674020114415e-01 15 | 1.22758388462000e-01 -8.06424045147000e-01 5.78455389352000e-01 8.74570596431787e-01 16 | -4.93598041398000e-01 -3.93874951475000e-01 -7.75386030393000e-01 7.55673893711746e-01 17 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/neal9.txt: -------------------------------------------------------------------------------- 1 | 0.00000000000000e+00 0.00000000000000e+00 1.00000000000000e+00 1.41002219158553e+00 2 | 7.03648529172000e-01 0.00000000000000e+00 -7.10548202020000e-01 1.36874571484487e+00 3 | -3.51823383300000e-01 -8.66025719041000e-01 3.55274205259000e-01 1.36874584394098e+00 4 | -3.51825207762000e-01 8.66024999286000e-01 3.55274153007000e-01 1.36874598063878e+00 5 | -2.49987432648000e-01 -6.15353391443000e-01 -7.47560356866000e-01 1.41002213011677e+00 6 | -9.99952392804000e-01 -8.99465000000000e-07 9.75767001300000e-03 1.41002213695321e+00 7 | -2.49988528495000e-01 6.15352399182000e-01 -7.47560807187000e-01 1.41002229757798e+00 8 | 7.49963476078000e-01 6.15354121088000e-01 2.42681046250000e-01 1.41002222800700e+00 9 | 7.49965039914000e-01 -6.15351747641000e-01 2.42682231699000e-01 1.41002209069953e+00 10 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/opticFlowDist.m: -------------------------------------------------------------------------------- 1 | function d = opticFlowDist(I1,I2) 2 | % 3 | % 4 | % File : opticFlowDist.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Wed Apr 18 22:39:31 2012 15 | % Modified: $Id$ 16 | % 17 | % 18 | if (nargin~=2 ) 19 | error('opticFlowDist:ArgChk', 'Insufficient number of input arguments'); 20 | end 21 | v = estimate_flow_interface(I2, I1); 22 | D = sum(v.^2,3); 23 | d = sqrt(sum(D(:))); 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/opticFlowDistPolygons.m: -------------------------------------------------------------------------------- 1 | function [] = opticFlowDistPolygons() 2 | % 3 | % 4 | % File : opticFlowDistPolygons.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : Computes the optic flow distances between the polygonal icons 7 | % used in the mturk study. 8 | % 9 | % Input : 10 | % 11 | % Output : 12 | % 13 | % Example: 14 | % 15 | % Date : Mon Jul 1 01:38:33 2013 16 | % Modified: $Id$ 17 | % 18 | % 19 | 20 | D=zeros(7,7); 21 | 22 | prefix='../../mturk/userstudy/src/polygonImages/p'; 23 | for i=3:9 24 | Ii = rgb2gray(imresize(imread([prefix int2str(i) '.png']),0.25)); 25 | for j=3:9 26 | Ij = rgb2gray(imresize(imread([prefix int2str(i) '.png']),0.25)); 27 | v = estimate_flow_interface(Ii, Ij); 28 | S = sum(v.^2,3); 29 | D(i-2,j-2)= sqrt(sum(S(:))); 30 | end 31 | end 32 | 33 | dlmwrite('opticPolygonDistance.txt', D, 'delimiter', ' '); 34 | 35 | D(1:8:end)=0; 36 | 37 | dlmwrite('opticPolygonDistanceZeroDiag.txt', D, 'delimiter', ' '); 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/plotTestResults.m: -------------------------------------------------------------------------------- 1 | function [] = plotTestResults() 2 | % 3 | % 4 | % File : plotTestResults.m 5 | % Author: Cagatay Demiralp 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Thu Mar 29 19:25:03 2012 15 | % 16 | 17 | % num of cameras 18 | numCampos = 9; 19 | 20 | c = zeros(9,6); 21 | q = zeros(9,6); 22 | 23 | for i=1:numCampos 24 | imgc1 = ['data/test/c' int2str(i) '1.png']; 25 | imgq1 = ['data/test/q' int2str(i) '1.png']; 26 | t = zeros(6,1); 27 | D = zeros(3); 28 | D(1:4:end)=[2.1 2 1]; 29 | d = D; 30 | rho = linspace(0, pi/2, 6); 31 | fprintf(1, '** camera position %d ...', i); 32 | for j=2:6 33 | D = rotateTensor(d, 'z', rho(j)); 34 | imgc = ['data/test/c' int2str(i) int2str(j) '.png']; 35 | imgq = ['data/test/q' int2str(i) int2str(j) '.png']; 36 | c(i,j)= imgDist(imgc1, imgc); 37 | q(i,j)= imgDist(imgq1, imgq); 38 | t(j) = tensorDist(d,D); 39 | end 40 | fprintf(1,'done! **\n'); 41 | end 42 | 43 | c = mean(c); 44 | q = mean(q); 45 | 46 | figure; 47 | plot(c); 48 | title('cuboid'); 49 | 50 | figure; 51 | plot(q); 52 | title('quadric'); 53 | 54 | figure; 55 | plot(1:6, t); 56 | title('tensor'); 57 | 58 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/rotateTensor.m: -------------------------------------------------------------------------------- 1 | function D = rotateTensor(D,w,theta) 2 | % 3 | % 4 | % File : rotateTensor.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Wed Feb 29 20:04:28 2012 15 | % Modified: $Id$ 16 | % 17 | % 18 | 19 | 20 | if(w == 'x') 21 | R = [1 0 0; 0 cos(theta) -sin(theta); 0 sin(theta) cos(theta)]; 22 | elseif(w == 'y'); 23 | R = [cos(theta) 0 sin(theta); 0 1 0; -sin(theta) 0 cos(theta)]; 24 | elseif(w == 'z'); 25 | R = [cos(theta) -sin(theta) 0; sin(theta) cos(theta) 0; 0 0 1]; 26 | else 27 | error('invalid rotation axis name'); 28 | end 29 | 30 | D=R*D*R'; 31 | 32 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/runTest.m: -------------------------------------------------------------------------------- 1 | function [] = runTest() 2 | % 3 | % 4 | % File : runTest.m 5 | % Author: Cagatay Demiralp 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Thu Mar 29 19:24:26 2012 15 | D = zeros(3); 16 | D(1:4:end)= [2.1 2 1]; 17 | d = D; 18 | rho = linspace(0, pi/2, 6); 19 | campos = load('neal9.txt'); 20 | camdist = 20; 21 | campos = camdist*campos(:,1:3); 22 | for i = 1:size(campos,1) 23 | for j=1:6 24 | 25 | D = rotateTensor(d, 'z', rho(j)); 26 | 27 | h=figure; 28 | superQuadricTensor(D,1,campos(i,:)) 29 | print(h, '-dpng', '-r72',['data/test/q' int2str(i) int2str(j) '.png']); 30 | 31 | h=figure; 32 | cuboidTensor(D,campos(i,:)); 33 | print(h, '-dpng', '-r72',['data/test/c' int2str(i) int2str(j) '.png']); 34 | 35 | end 36 | end 37 | 38 | 39 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/superQuadricTensor.m: -------------------------------------------------------------------------------- 1 | function superQuadricTensor(D,gamma,campos) 2 | % 3 | % File : superQuadricTensor.m 4 | % Author: Cagatay Demiralp (cad) 5 | % Desc : Visualizes a given single symmetric second order diffusion tensor 6 | % with a superquadric. 7 | % 8 | % Input : D - 6 x 6 matrix representing a symmetric diffusion tensor 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Wed Mar 28 18:08:39 2012 15 | % Modified: $Id$ 16 | % 17 | if (nargin < 1 ) 18 | error('superQuadricTensor:argchk', 'Insufficient number of input args'); 19 | elseif(nargin < 2) 20 | gamma=4.0; 21 | campos=[5 5 10]; 22 | end 23 | n = 32; 24 | p = linspace(0, pi, n); 25 | t = linspace(0, 2*pi, 2*n); 26 | 27 | [theta,phi]=meshgrid(t,p); 28 | [u,s] =svd(D); 29 | eigvals =diag(s); 30 | [cl,cp] =westinIndexes(eigvals); 31 | 32 | if(cl>= cp) 33 | alpha = (1-cp)^gamma; 34 | beta = (1-cl)^gamma; 35 | [x,y,z] = qX(theta,phi,alpha,beta); 36 | else 37 | alpha = (1-cl)^gamma; 38 | beta = (1-cp)^gamma; 39 | [x,y,z] = qZ(theta,phi,alpha,beta); 40 | end 41 | 42 | % [x,y,z] =qX(theta,phi,0.5, 0.5); 43 | d = size(x); 44 | xyz = [x(:) y(:) z(:)]'; 45 | xyz = u*s*xyz; 46 | x = reshape(xyz(1,:)', d); 47 | y = reshape(xyz(2,:)', d); 48 | z = reshape(xyz(3,:)', d); 49 | 50 | h=surf(x,y,z); 51 | axis equal; 52 | glyphVis(h,campos); 53 | end 54 | 55 | function [x,y,z]=qZ(theta,phi,alpha,beta) 56 | x = sign(cos(theta)).*((abs(cos(theta))).^alpha).*sign(sin(phi)).*((abs(sin(phi))).^beta); 57 | y = sign(sin(theta)).*((abs(sin(theta))).^alpha).*sign(sin(phi)).*((abs(sin(phi))).^beta); 58 | z = sign(cos(phi)).*((abs(cos(phi))).^beta); 59 | end 60 | 61 | function [x,y,z]=qX(theta,phi,alpha,beta) 62 | x = sign(cos(phi)).*((abs(cos(phi))).^beta); 63 | y =-sign(sin(theta)).*((abs(sin(theta))).^alpha).*sign(sin(phi)).*((abs(sin(phi))).^beta); 64 | z = sign(cos(theta)).*((abs(cos(theta))).^alpha).*sign(sin(phi)).*((abs(sin(phi))).^beta); 65 | 66 | end 67 | 68 | function [cl,cp,cs]=westinIndexes(eigvals) 69 | z = sum(eigvals); 70 | cl = (eigvals(1)-eigvals(2))/z; 71 | cp = 2*(eigvals(2)-eigvals(3))/z; 72 | cs = 3*eigvals(3)/z; 73 | end 74 | -------------------------------------------------------------------------------- /src/tensorGlyphEval/tensorDist.m: -------------------------------------------------------------------------------- 1 | function d=tensorDist(D1,D2,type) 2 | % 3 | % 4 | % File : tensorDist.m 5 | % Author: Cagatay Demiralp (cad) 6 | % Desc : 7 | % 8 | % Input : 9 | % 10 | % Output : 11 | % 12 | % Example: 13 | % 14 | % Date : Thu Mar 29 16:49:48 2012 15 | % Modified: $Id$ 16 | % 17 | % 18 | if (nargin<2) 19 | error('tensorDist:argchk', 'insufficient number of args'); 20 | elseif(nargin<3) 21 | type='euclidean'; 22 | end 23 | 24 | if(strcmp(type,'euclidean')) 25 | 26 | delta = (D1 - D2).^2; 27 | d = sqrt(sum(delta(:))); 28 | elseif(strcmp(type,'riemannian')) 29 | 30 | [u,s] = svd((D1^-0.5)*D2*(D1^-0.5)); 31 | d = sqrt(sum(log(diag(s)).^2)); 32 | 33 | end 34 | 35 | 36 | --------------------------------------------------------------------------------