mxgmn / TextureSynthesis

Texture synthesis from examples
Other
961 stars 54 forks source link

Can you please explain the parameters in the samples.xml file? #5

Closed whatsdis closed 5 years ago

whatsdis commented 5 years ago

Curious to know what all these extra parameters are.

<samples>
    <sample method="Harrison" name="lava" N="2" width="100" height="100" indexed="True"/>
    <sample method="Harrison" name="water1" N="3"/>
    <sample method="Harrison" name="forest1" N="1" width="400" height="400" screenshots="3"/>
    <sample method="Harrison" name="forest1" N="2" width="400" height="400" M="5"/> 
    <sample method="Harrison" name="forest1" N="3" polish="3" width="400" height="400"/>
    <sample method="Harrison" name="cobbles48" N="3" polish="6" width="400" height="400"/>
    <sample method="Harrison" name="water3" N="3"/>
    <sample method="Harrison" name="water4" N="6"/>
    <sample method="Harrison" name="brocks" N="1"/>
    <sample method="Harrison" name="brocks" N="2"/>
    <sample method="Harrison" name="forest2" N="1"/>
    <sample method="Harrison" name="forest2" N="2"/>    
    <sample method="Harrison" name="forest2" N="4"/>
    <sample method="Harrison" name="bluehalls" N="1" polish="5"/>
    <sample method="Harrison" name="skulls" N="3"/>
    <sample method="Harrison" name="strangegrass" N="3"/>
    <sample method="Harrison" name="grass48" N="1"/>
    <sample method="Harrison" name="sword" N="6"/>
    <sample method="Harrison" name="redfoam" N="1" width="300" height="300" screenshots="3"/>
    <sample method="Harrison" name="redfoam" N="2" width="300" height="300" screenshots="3"/>
    <sample method="Harrison" name="redfoam" N="3" width="300" height="300" screenshots="3"/>
    <sample method="Coherent" name="mountains" indexed="True" K="3" N="2" screenshots="2" width="400" height="400"/>
    <sample method="Coherent" name="hills" indexed="True" K="3" N="2" screenshots="2" width="400" height="400"/>
    <sample method="Coherent" name="grass" indexed="True" K="3" N="2" screenshots="2" width="400" height="400"/>
    <sample method="Coherent" name="forest1" indexed="True" K="4" N="2" screenshots="2" width="400" height="400"/>
    <sample method="Coherent" name="water3" indexed="True" K="4" N="3" screenshots="2" width="400" height="400"/>
    <sample method="Coherent" name="shallows" indexed="True" K="4" N="3" screenshots="2" width="400" height="400"/>
    <sample method="Full" name="sand1" indexed="False" N="3" screenshots="2" width="46" height="46"/>
    <sample method="Full" name="sand2" indexed="False" N="3" screenshots="2" width="46" height="46"/>
    <sample method="Full" name="lava" indexed="False" N="3" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="stones" indexed="False" N="3" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="wall" indexed="False" N="2" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="vines" indexed="True" N="3" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="vines" indexed="False" N="2" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="redfoam" indexed="False" N="3" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="redfoam" indexed="False" N="2" screenshots="2" width="32" height="32"/>
    <sample method="Full" name="water2" indexed="False" N="3" screenshots="4" width="48" height="48"/>
</samples>
mxgmn commented 5 years ago

N = neighborhood window size in texture synthesis (check Efros's and Leung's paper), K = number of coherency candidates (check Tong's et al. paper). Indexed is about the metric on colors, false means that the metric is based on rgb components, true means the binary metric same color / not the same color.