# This section is used internally by the library. Use other stuff for yourself. use_configuration = template-matching section Library { section Testing { jebfile = brixton.jeb cachefile = brixton.cache skindump = skin.pgm focal_length = 50.0 starting_depth = 3.0 dotest = f # don't run a test unless # explicitly overridden in # the test's section. gmixture = f config = t section Linalg { dotest = f ls_solver_1 = f ls_solver_2 = f semi_ortho_matrix_fname = semi_ortho.pgm n_non_ortho = 2 } section Image { dotest = f; width = 320; height = 200; } section Pyramid { dotest = f colorimageinput = face00.ppm outputpath = PYRAMID/%d.ppm } section BoxFilter { dotest = f input = internal inwidth = 400; inheight = 400; inskiph = 32 inskipv = 32 inputfile = face.pgm outputfile = filtered.pgm boxwidth = 8 boxheight = 8 } section Gradient { dotest = f inputfile = artface.pgm dxfname = dx.pgm dyfname = dy.pgm } section Warp { dotest = f inputfile = subject05.normal.pgm outputfile = realface-xformed.pgm motion = {0 0 0 0 0 0} srclocation = {0 0} srcdims = {121 160} dstlocation = {0 0} targetmaxsize = {121 160} } section Skin { dotest = f # the program also looks for cachefile and jebfile here, # but they are inherited from Testing:cachefile and # Testing:jebfile. } section RemoteEigenfaces { averageface = /mas/vision/projects/NTPM++/YALE/eigfaces/average.dat supportmap = /mas/vision/projects/NTPM++/YALE/eigfaces/support.pgm vecspath = /mas/vision/projects/NTPM++/YALE/eigfaces/%03d.dat } section LocalEigenfaces { averageface = eigfaces/average.dat supportmap = eigfaces/support.pgm vecspath = eigfaces/%03d.dat } # The eigenface test needs a lot of info. All of it sits here. section Eigenfaces { dotest = t eigvaluespath= /mas/vision/projects/NTPM++/YALE/eigenvalues.dat inherit Library:Testing:LocalEigenfaces dump_eigvectors = f vecwidth = 50 vecheight = 52 nvecs = 30 #inputscale = 0.7185 section Prefilter { do_skin_map = f do_intensity_normalization = t skin_content_thresh = 0.3 #crop = {42 24 93 73} } section Construction { dotest = t; coeffs = {-170.802 -480.473 -68.5568 336.854 -52.1304 -180.587 420.313 -36.9678 158.834 420.233 -10.6145 149.071 3.03145 -5.23966 -77.2672 -195.354 -30.7757 -112.373 -106.244 216.804 -296.789 -91.2857 86.0481 189.719 -76.1543 -7.98662 270.463 24.9486 -262.505} outfname = constructed.pgm } section Decompose { dotest = f x = 121 y = 81 recoutfname = reconstruction.pgm supoutfname = supportedface.pgm replacementfname = replacement.pgm } section TemplateMatching { dotest = t objectfile = template.pgm responsefname = template-response.pgm } section FastResidue { dotest = f responsefname = average-response.pgm } section Response { dotest = f responsefname = response.pgm imgpowerfname = img-power.pgm recerrorfname = reconstruction-err.pgm } section XFormResponse { dotest = f param_eps = 0.01 } } } } configuration FromFaceDB { Library:Testing:greyfaceinput = /mas/vision/projects/NTPM++/YALE/supported/subject04.happy.pgm Library:Testing:Eigenfaces:Prefilter:do_skin_map = f Library:Testing:Eigenfaces:Prefilter:do_intensity_normalization = f Library:Testing:Eigenfaces:Prefilter:samplingX = 2 Library:Testing:Eigenfaces:Prefilter:samplingY = 2 } configuration Artface { # img = avg - 1000*I03 + 500*I15 - 700*I30; Library:Testing:Eigenfaces:dotest = t Library:Testing:Eigenfaces:Response:dotest = f Library:Testing:Eigenfaces:XFormResponse:dotest = t Library:Testing:Eigenfaces:Prefilter:do_skin_map = f Library:Testing:Eigenfaces:Decompose:dotest = f Library:Testing:Eigenfaces:Prefilter:do_intensity_normalization = f Library:Testing:greyfaceinput = artface-xformed.pgm Library:Testing:Eigenfaces:Decompose:x = 23; Library:Testing:Eigenfaces:Decompose:y = 41; } configuration Realface { Library:Testing:Eigenfaces:dotest = t Library:Testing:Eigenfaces:Response:dotest = f Library:Testing:Eigenfaces:XFormResponse:dotest = t Library:Testing:Eigenfaces:Prefilter:do_skin_map = f Library:Testing:Eigenfaces:Decompose:dotest = f Library:Testing:Eigenfaces:Warp:dotest = t Library:Testing:Eigenfaces:Prefilter:do_intensity_normalization = f Library:Testing:greyfaceinput = realface-xformed.pgm # max x=71 min x=46 Library:Testing:Eigenfaces:Decompose:x = 68; Library:Testing:Eigenfaces:Decompose:y = 44; } configuration template-matching { Library:Testing:Eigenfaces:dotest = t Library:Testing:Eigenfaces:Response:dotest = f Library:Testing:Eigenfaces:XFormResponse:dotest = f Library:Testing:Eigenfaces:Prefilter:do_skin_map = f Library:Testing:Eigenfaces:Decompose:dotest = f Library:Testing:Eigenfaces:TemplateMatching:dotest = t Library:Testing:Eigenfaces:TemplateMatching:objectfile = average.pgm Library:Testing:Eigenfaces:Prefilter:do_intensity_normalization = f Library:Testing:greyfaceinput = realface-xformed.pgm } configuration eigface-response { Library:Testing:Eigenfaces:dotest = t Library:Testing:Eigenfaces:Response:dotest = t Library:Testing:Eigenfaces:XFormResponse:dotest = f Library:Testing:Eigenfaces:Prefilter:do_skin_map = f Library:Testing:Eigenfaces:Decompose:dotest = f Library:Testing:Eigenfaces:TemplateMatching:dotest = f Library:Testing:Eigenfaces:Prefilter:do_intensity_normalization = f Library:Testing:greyfaceinput = realface-xformed.pgm } configuration Brixton { Library:Testing:jebfile = brixton.jeb Library:Testing:cachefile = brixton.cache Library:Testing:colorfaceinput = face50.ppm Library:Testing:Eigenfaces:Prefilter:skin_content_thresh = 0.000001 } configuration Joanie { Library:Testing:jebfile = joanie.jeb Library:Testing:cachefile = joanie.cache Library:Testing:colorfaceinput = j-hue-sm.ppm Library:Testing:Eigenfaces:Prefilter:skin_content_thresh = 0.275e-5 } section Bar { opt1 = "nothing here to see, sir." opt3 = 4 list = { 3 4 546 } section Bar-Derived1 { opt1 = flo opt2 = blah } section Bar-Derived2 {} } section Foo { section Foo-Derived { inherit :Bar inherit :Bar:Bar-Derived1 opt2 = blahblah } } configuration Configuration1 { Bar:Bar-Derived1:opt1 = something call Configuration1-1 } configuration Configuration1-1 { Bar:Bar-Derived1:opt2 = flah } configuration Configuration1-2 { Bar:Bar-Derived1:opt2 = fluh }