# frei0r-filter-ndvi-filter

This filter creates a false image from a visible + infrared source.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseTransform
                        ╰──GstVideoFilter
                            ╰──frei0r-filter-ndvi-filter

## Factory details

Authors: – Sebastian Dröge <sebastian.droege@collabora.co.uk>, Brian Matherly</sebastian.droege@collabora.co.uk>

Classification: – `Filter/Effect/Video`

Rank – none

Plugin – frei0r

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    video/x-raw:
             format: RGBA
              width: [ 1, 2147483647 ]
             height: [ 1, 2147483647 ]
          framerate: [ 0/1, 2147483647/1 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### color-map

    “color-map” gchararray

The color map to use. One of 'earth', 'grayscale', 'heat' or 'rainbow'.

Flags : Read / Write

Default value : grayscale

### index-calculation

    “index-calculation” gchararray

The index calculation to use. One of 'ndvi' or 'vi'.

Flags : Read / Write

Default value : ndvi

### legend

    “legend” gchararray

Control legend display. One of 'off' or 'bottom'.

Flags : Read / Write

Default value : off

### levels

    “levels” gdouble

The number of color levels to use in the false image (divided by 1000).

Flags : Read / Write

Default value : 0.256

### nir-channel

    “nir-channel” gchararray

The channel to use for the near-infrared component. One of 'r', 'g', or 'b'.

Flags : Read / Write

Default value : r

### nir-offset

    “nir-offset” gdouble

An offset to be applied to the near-infrared component (mapped to [-100%%, 100%%].

Flags : Read / Write

Default value : 0.5

### nir-scale

    “nir-scale” gdouble

A scaling factor to be applied to the near-infrared component (divided by 10).

Flags : Read / Write

Default value : 0.1

### vis-offset

    “vis-offset” gdouble

An offset to be applied to the visible component (mapped to [-100%%, 100%%].

Flags : Read / Write

Default value : 0.5

### vis-scale

    “vis-scale” gdouble

A scaling factor to be applied to the visible component (divided by 10).

Flags : Read / Write

Default value : 0.1

### visible-channel

    “visible-channel” gchararray

The channel to use for the visible component. One of 'r', 'g', or 'b'.

Flags : Read / Write

Default value : b

The results of the search are