iFRAME (inhomogeneous Filters Random Field And Maximum Entropy)

Experiment 5.1: Unsupervised Learning of Codebooks (explaining away v.s. inhibition)

Code and data: (1) inhibition version (2) explaining away version


Contents
Case 1 : Beehive
Case 2 : Brickwall
Case 3 : Peanut
Case 4 : Brickwall2
Case 5 : Reed
Case 6 : Horse
Case 7 : Wild Goose
Case 8 : Duck
Case 9 : Ivy and Brick
Case 10 : Floor and Wall
Case 11 : Cat
Case 12 : Swan
Case 13 : Net
Case 14 : Seagull flying
Case 15 : Seagull
Case 16 : Egret


Case 1: Beehive

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Testing image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1.2 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.8. (for inhibition version: locationPerturbationFraction = .4)


Case 2: Brickwall

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1.2 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.6. (for inhibition version: locationPerturbationFraction = .4)


Case 3: Peanut

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1.2 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 100; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1.4. (for inhibition version: locationPerturbationFraction = .4)


Case 4: Brickwall2

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1.2 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1. (for inhibition version: locationPerturbationFraction = .6)


Case 5: Reed

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1.2 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1. (for inhibition version: locationPerturbationFraction = .4)


Case 6: Horse

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[1, 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 250; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=1; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1.5. (for inhibition version: locationPerturbationFraction = .75)


Case 7: Wild goose

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[0.7, 0.5]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=3; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.8. (for inhibition version: locationPerturbationFraction = 1.0)


Case 8: Duck

Option 1: template matching pursuit with explaining away

Training image / Reconstructed image / Residual image

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=160; DoGScaleList=[12]; GaborScaleList=[1.2, 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 1; rotateShiftLimit=1; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.6. (for inhibition version: locationPerturbationFraction = .9)


Case 9: Ivy and Brick

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Testing image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[1, 0.8]; sigsq = 10; locationShiftLimit = 2; orientShiftLimit = 1; numSketch = 270; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 2; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1.4. (for inhibition version: locationPerturbationFraction = .5)


Case 10: Floor and Wall

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Testing image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[0.8, 0.6]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 2; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 1. (for inhibition version: locationPerturbationFraction = .6)


Case 11: Cat

Option 2: template matching pursuit with inhibition

Training image

Reconstructed image

Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[12]; GaborScaleList=[1.2, 0.7, 0.5]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 8; rotateShiftLimit=2; numberResolution=3; scaleStepSize=0.1; resizeFactor = [160 160]; numIter=10; (for inhibition version: locationPerturbationFraction = .4)


Case 12: Swan

Option 2: template matching pursuit with inhibition

Training image

Reconstructed image

Residual image

Testing image

Reconstructed image

Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1, 0.7]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 2; rotateShiftLimit=2; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.35; (for inhibition version: locationPerturbationFraction = .9)


Case 13: Net

Option 2: template matching pursuit with inhibition

Training image / Reconstructed image / Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[0.8, 0.6]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 2; rotateShiftLimit=16; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.5; (for inhibition version: locationPerturbationFraction = .4)


Case 14: Seagull flying

Option 2: template matching pursuit with inhibition

Training image

Reconstructed image

Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[10]; GaborScaleList=[1, 0.8, 0.6]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 3; rotateShiftLimit=2; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.5; (for inhibition version: locationPerturbationFraction = .4)


Case 15: Seagull

Option 2: template matching pursuit with inhibition

Training image

Reconstructed image

Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[15]; GaborScaleList=[1, 0.7]; sigsq = 10; locationShiftLimit = 2; orientShiftLimit = 1; numSketch = 300; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 2; rotateShiftLimit=2; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.6; (for inhibition version: locationPerturbationFraction = .6)


Case 16: Egret

Option 2: template matching pursuit with inhibition

Training image

Reconstructed image

Residual image

Parameters setting

General Parameters: nOrient = 16; sizeTemplatex=100; sizeTemplatey=100; DoGScaleList=[12]; GaborScaleList=[1, 0.8]; sigsq = 10; locationShiftLimit = 3; orientShiftLimit = 1; numSketch = 250; isLocalNormalize=false; toFixARGMAX = false;
HMC Parameters: lambdaLearningRate = 0.1/sqrt(sigsq); epsilon = 0.03; L = 10; nIteraton =40; nTileRow = 12; nTileCol = 12;
Coodebook Parameters: numCluster = 4; rotateShiftLimit=2; numberResolution=3; scaleStepSize=0.1; resizeFactor = 0.7; (for inhibition version: locationPerturbationFraction = .4)