View Source Evision.CalibrateDebevec (Evision v0.1.9)

Link to this section Summary

cv

Clears the algorithm state

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.

Python prototype (for reference):

Python prototype (for reference):

Python prototype (for reference):

Recovers inverse camera response.

Recovers inverse camera response.

Reads algorithm parameters from a file storage

Positional Arguments

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).

Positional Arguments
  • lambda: float

Python prototype (for reference):

Positional Arguments
  • random: bool

Python prototype (for reference):

Positional Arguments
  • samples: int

Python prototype (for reference):

simplified API for language bindings

simplified API for language bindings

Functions

Raising version of clear/1.

Raising version of empty/1.

Raising version of getLambda/1.

Raising version of getRandom/1.

Raising version of getSamples/1.

Raising version of read/2.

Raising version of save/2.

Raising version of write/2.

Raising version of write/3.

Link to this section cv

Clears the algorithm state

Python prototype (for reference):

clear() -> None

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

Python prototype (for reference):

empty() -> retval

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.

Python prototype (for reference):

getDefaultName() -> retval

Python prototype (for reference):

getLambda() -> retval

Python prototype (for reference):

getRandom() -> retval

Python prototype (for reference):

getSamples() -> retval
Link to this function

process(self, src, times)

View Source

Recovers inverse camera response.

Positional Arguments
  • src: [Evision.Mat].

    vector of input images

  • times: Evision.Mat.

    vector of exposure time values for each image

Return
  • dst: Evision.Mat.

    256x1 matrix with inverse camera response function

Python prototype (for reference):

process(src, times[, dst]) -> dst
Link to this function

process(self, src, times, opts)

View Source

Recovers inverse camera response.

Positional Arguments
  • src: [Evision.Mat].

    vector of input images

  • times: Evision.Mat.

    vector of exposure time values for each image

Return
  • dst: Evision.Mat.

    256x1 matrix with inverse camera response function

Python prototype (for reference):

process(src, times[, dst]) -> dst

Reads algorithm parameters from a file storage

Positional Arguments
  • fn_: FileNode

Python prototype (for reference):

read(fn_) -> None
Positional Arguments

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).

Python prototype (for reference):

save(filename) -> None
Positional Arguments
  • lambda: float

Python prototype (for reference):

setLambda(lambda) -> None
Positional Arguments
  • random: bool

Python prototype (for reference):

setRandom(random) -> None
Link to this function

setSamples(self, samples)

View Source
Positional Arguments
  • samples: int

Python prototype (for reference):

setSamples(samples) -> None

simplified API for language bindings

Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Has overloading in C++

Python prototype (for reference):

write(fs[, name]) -> None

simplified API for language bindings

Positional Arguments
  • fs: Ptr<FileStorage>
Keyword Arguments

Has overloading in C++

Python prototype (for reference):

write(fs[, name]) -> None

Link to this section Functions

Raising version of clear/1.

Raising version of empty/1.

Raising version of getDefaultName/1.

Raising version of getLambda/1.

Raising version of getRandom/1.

Raising version of getSamples/1.

Link to this function

process!(self, src, times)

View Source

Raising version of process/3.

Link to this function

process!(self, src, times, opts)

View Source

Raising version of process/4.

Raising version of read/2.

Raising version of save/2.

Link to this function

setLambda!(self, lambda)

View Source

Raising version of setLambda/2.

Link to this function

setRandom!(self, random)

View Source

Raising version of setRandom/2.

Link to this function

setSamples!(self, samples)

View Source

Raising version of setSamples/2.

Raising version of write/2.

Raising version of write/3.