File: gifseg.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (39 lines) | stat: -rw-r--r-- 1,271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

gifseg(2)                      Scilab Function                      gifseg(2)
NAME
  gifseg - Replaces nodes of the diadic tree by a ceratin unique value.

  Author: Khalid Daoudi

  Replaces at each scale the left (resp. right) nodes of the diadic tree,
  associated to the GIFS coefficients, that belong to [cmin,cmax] by a cera-
  tin unique value.

Usage
  [Ci_new, marks, L]=gifseg(Ci,[cmin,cmax,epsilon])

Input parameters
       o Ci : Real matrix Contains the GIFS coefficients (obtained using FWT)
       o cmin : Real scalar [1,n] Specifies the minimal value of the Ci's to
         be considered (cmin=0 by default)

       o cmax : Real scalar [1,n] Specifies the maximal value of the Ci's to
         be considered (cmin=0 by default)
       o epsilon :  real scalar Specifies the maximal error desied on the
         Ci's approximation.
Output parameters
       o Ci_new : Real matrix Contains the the new GIFS coefficients.
       o marks : Real vector Contains the segmentation marques.
         length(marks)-1 is the number of segmented parts.
       o L : Real matrix A structure containing the left and right lambda_i's
         corresponding to each segmented part.
Description
Parameters

Algorithm details

See also:

  hist, wave2gifs.

Example: