Object

scalismo.faces.sampling.face.proposals

SphericalHarmonicsLightProposals

Related Doc: package proposals

Permalink

object SphericalHarmonicsLightProposals

illumination proposals

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SphericalHarmonicsLightProposals
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class RobustSHLightSolverProposal(modelRenderer: ParametricImageRenderer[RGBA] with ParametricModel, shOpt: SphericalHarmonicsOptimizer, target: PixelImage[RGBA], pixelEvaluator: PairEvaluator[RGB] = ..., nSamples: Int = 30, sigmaThreshold: Double = 2, percentage: Double = 0.4, iterations: Int = 500, nSamplesIllumination: Int = 1000)(implicit rnd: Random) extends ProposalGenerator[RenderParameter] with TransitionProbability[RenderParameter] with Product with Serializable

    Permalink

    This proposal performs RANSAC to try to estimate illumination excluding outliers/occlusions The face model is used as appearance prior

    This proposal performs RANSAC to try to estimate illumination excluding outliers/occlusions The face model is used as appearance prior

    The procedure is explained in: Occlusion-aware 3D Morphable Face Models, Bernhard Egger, Andreas Schneider, Clemens Blumer, Andreas Morel-Forster, Sandro Schönborn, Thomas Vetter IN: British Machine Vision Conference (BMVC), September 2016 https://dx.doi.org/10.5244/C.30.64

  2. case class RobustSHLightSolverProposalWithLabel(modelRenderer: ParametricImageRenderer[RGBA] with ParametricModel, shOpt: SphericalHarmonicsOptimizer, target: PixelImage[RGBA], pixelEvaluator: PairEvaluator[RGB] = ..., nSamples: Int = 30, sigmaThreshold: Double = 2, percentage: Double = 0.4, iterations: Int = 500, nSamplesIllumination: Int = 1000)(implicit rnd: Random) extends ProposalGenerator[(RenderParameter, PixelImage[Int])] with TransitionProbability[(RenderParameter, PixelImage[Int])] with Product with Serializable

    Permalink

    This proposal performs RANSAC to try to estimate illumination excluding outliers/occlusions The face model is used as appearance prior

    This proposal performs RANSAC to try to estimate illumination excluding outliers/occlusions The face model is used as appearance prior

    The procedure is explained in: Occlusion-aware 3D Morphable Face Models, Bernhard Egger, Andreas Schneider, Clemens Blumer, Andreas Morel-Forster, Sandro Schönborn, Thomas Vetter IN: British Machine Vision Conference (BMVC), September 2016 https://dx.doi.org/10.5244/C.30.64

  3. case class SHLightBandEnergyMixer(logSdev: Double)(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    Randomly changes the light intensity of the shl bands according to std of a normal distribution.

    Randomly changes the light intensity of the shl bands according to std of a normal distribution.

    logSdev

    log of expected factor of variation for each component

  4. case class SHLightColorProposal(sdev: Double)(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with SymmetricTransitionRatio[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    vary the color distribution of the illumination while keeping the intensity constant

  5. case class SHLightIntensityPreservingProposal(proposalGenerator: ProposalGenerator[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight])(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    Draw from a proposalGenerator in a way such that it has the same illumination intensity as a given sample.

    Draw from a proposalGenerator in a way such that it has the same illumination intensity as a given sample. We adjust the intensity of a sample drawn from proposalGenerator, so that it has the same intensity as the given proposal.

    proposalGenerator

    underlying proposal generator to use, proposal of it will get a rescaled light

  6. case class SHLightIntensityProposal(logSdev: Double)(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    vary the light intensity

    vary the light intensity

    logSdev

    log of expected variation factor

  7. case class SHLightPerturbationProposal(sdev: Double, fixIntensity: Boolean)(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with SymmetricTransitionRatio[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    independent Gaussian perturbation of the SH illumination parameter

    independent Gaussian perturbation of the SH illumination parameter

    sdev

    standard deviation of proposal per component

    fixIntensity

    if true the intensity is perserved

  8. case class SHLightSolverProposal(sphericalHarmonicsOptimizer: SphericalHarmonicsOptimizer, samplingFunction: (TriangleMesh3D) ⇒ IndexedSeq[(TriangleId, BarycentricCoordinates)])(implicit rnd: Random) extends ProposalGenerator[RenderParameter] with TransitionProbability[RenderParameter] with Product with Serializable

    Permalink

    use the linear solver to find the best illumination parameters

  9. case class SHLightSpatialPerturbation(sdev: Double)(implicit rnd: Random) extends ProposalGenerator[SphericalHarmonicsLight] with TransitionProbability[SphericalHarmonicsLight] with Product with Serializable

    Permalink

    Perturbs the shl coefficients, without changing the color.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  15. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped