extractRandC1Patches.m in standardmodelrelease


MIT artificial intelligence laboratory identification of the target source code,...Original Link
    Sponsored links

			
function cPatches = extractRandC1Patches(cItrainingOnly, numPatchSizes, numPatchesPerSize, patchSizes);
%extracts random prototypes as part of the training of the C2 classification 
%system. 
%Note: we extract only from BAND 2. Extracting from all bands might help
%cPatches the returned prototypes
%cItrainingOnly the training images
%numPatchesPerSize is the number of sizes in which the prototypes come
%numPatchesPerSize is the number of prototypes extracted for each size
%patchSizes is the vector of the patche sizes

if nargin<2
  numPatchSizes = 4;
  numPatchesPerSize = 250;
  patchSizes = 4:4:16;
end

nImages = length(cItrainingOnly);

%----Settings for Training the random patches--------%
rot = [90 -45 0 45];
c1ScaleSS = [1 3];
RF_siz    = [11 13];
c1SpaceSS = [10];
minFS     = 11;
maxFS     = 13;
div = [4:-.05:3.2];
Div       = div(3:4);
%--- END Settings for Training the rand			

			...
			...
			... to be continued.

  This is a preview. To get the complete source file, 
  please click here to download the whole source code package.

			
			


Project Files

    Sponsored links
NameSizeDate
 C1.m4.82 kB07-01-05 14:36
 C2.m1.59 kB06-10-05 15:16
 CLSnn.m1.47 kB06-10-05 15:23
 CLSnnC.m1.09 kB06-10-05 15:24
 CLSosusvm.m1.49 kB06-10-05 15:25
 CLSosusvmC.m669.00 B06-10-05 15:27
 demoRelease.m3.01 kB07-11-05 12:25
 extractC2forcell.m1.66 kB07-11-05 12:15
 extractRandC1Patches.m1.74 kB07-11-05 12:51
 init_gabor.m1.43 kB06-06-05 13:52
 maxfilter.m1.32 kB06-10-05 15:54
 padimage.m733.00 B06-10-05 15:56
 readAllImages.m740.00 B07-02-05 01:28
 readme.txt4.53 kB07-11-05 12:17
 sumfilter.m724.00 B06-10-05 16:08
 unpadimage.m930.00 B06-10-05 16:09
 WindowedPatchDistance.m807.00 B06-10-05 16:17
...

Related Items

    Sponsored links