Namespaces | |
| namespace | detail |
Classes | |
| class | Image |
| struct | keep_transparency |
| struct | no_transparency |
Functions | |
| void | alpha_modulation (OpenTissue::image::Image< unsigned char > &image, OpenTissue::image::Image< unsigned char > const &alpha) |
| template<typename image_type > | |
| void | animate_turbulence (image_type &image, float time=0.0f, float freq=4.0f, float amplitude=0.25f, size_t octaves=4u) |
| template<typename image_type > | |
| size_t | get_max_octaves (image_type const &image) |
| template<typename image_type > | |
| void | make_fractal_sum_abs_noise (image_type &image, float freq=4.0f, float amplitude=0.25f, size_t octaves=4u) |
| template<typename image_type > | |
| void | make_fractal_sum_noise (image_type &image, float freq=4.0f, float amplitude=0.25f, size_t octaves=4u) |
| template<typename image_type > | |
| void | make_noise (image_type &image, float freq=4.0f, float amplitude=1.0f) |
| boost::shared_ptr < OpenTissue::image::Image < unsigned char > > | screen_capture (keep_transparency const &) |
| boost::shared_ptr < OpenTissue::image::Image < unsigned char > > | screen_capture (no_transparency const &) |
| boost::shared_ptr < OpenTissue::image::Image < unsigned char > > | screen_capture () |
| bool | read (std::string const &filename, OpenTissue::image::Image< unsigned char > &image, bool show_statistics=true) |
| bool | write (std::string const &filename, OpenTissue::image::Image< unsigned char > const &image) |
| void OpenTissue::image::alpha_modulation | ( | OpenTissue::image::Image< unsigned char > & | image, | |
| OpenTissue::image::Image< unsigned char > const & | alpha | |||
| ) |
Alpha Modulation.
| image | Upon return the alpha channel of this image will have been multiplied with the specified alpha channel image. | |
| alpha | A alpha channel image. |
| void OpenTissue::image::animate_turbulence | ( | image_type & | image, | |
| float | time = 0.0f, |
|||
| float | freq = 4.0f, |
|||
| float | amplitude = 0.25f, |
|||
| size_t | octaves = 4u | |||
| ) |
Animte Turbulence
| image | ||
| time | ||
| freq | ||
| amplitude | ||
| octaves |
| size_t OpenTissue::image::get_max_octaves | ( | image_type const & | image | ) | [inline] |
Get Maximum Octaves.
| image | A reference to the image. |
| void OpenTissue::image::make_fractal_sum_abs_noise | ( | image_type & | image, | |
| float | freq = 4.0f, |
|||
| float | amplitude = 0.25f, |
|||
| size_t | octaves = 4u | |||
| ) |
Genereate Fractal Sum Absolute Noise Image.
| image | A refernece to the image that upon return will be filled with the fractal sum absolute noise. | |
| freq | The frequency of the noise. | |
| amplitude | The amplitude of the noise. | |
| octaves | The numer of octaves to use. |
| void OpenTissue::image::make_fractal_sum_noise | ( | image_type & | image, | |
| float | freq = 4.0f, |
|||
| float | amplitude = 0.25f, |
|||
| size_t | octaves = 4u | |||
| ) |
Genereate Fractal Sum Noise Image.
| image | A refernece to the image that upon return will be filled with the fractal sum noise. | |
| freq | The frequency of the noise. | |
| amplitude | The amplitude of the noise. | |
| octaves | The numer of octaves to use. |
| void OpenTissue::image::make_noise | ( | image_type & | image, | |
| float | freq = 4.0f, |
|||
| float | amplitude = 1.0f | |||
| ) |
Fill Image with Noise.
| image | Upon return this image will contain the generated noise-image. | |
| freq | The frequency of the noise. | |
| amplitude | The amplitude of the noise. |
| bool OpenTissue::image::read | ( | std::string const & | filename, | |
| OpenTissue::image::Image< unsigned char > & | image, | |||
| bool | show_statistics = true | |||
| ) |
Read Image.
| filename | ||
| image |
| boost::shared_ptr<OpenTissue::image::Image<unsigned char> > OpenTissue::image::screen_capture | ( | ) |
Screen Capture. Uses the keep_transparency mode by default.
| boost::shared_ptr<OpenTissue::image::Image<unsigned char> > OpenTissue::image::screen_capture | ( | no_transparency const & | ) |
Screen Capture. Ignores any transparency information stored in the frame buffer.
This function was contributed by Christian Iversen, due to problems with ATI drivers on linux/windows.
| boost::shared_ptr<OpenTissue::image::Image<unsigned char> > OpenTissue::image::screen_capture | ( | keep_transparency const & | ) |
Screen Capture. This function keeps transparency information from the frame buffer.
| bool OpenTissue::image::write | ( | std::string const & | filename, | |
| OpenTissue::image::Image< unsigned char > const & | image | |||
| ) |
Write Image.
| filename | ||
| image |
1.7.1