isce3 0.25.0
Loading...
Searching...
No Matches
sort.h
1// Copyright (c) 2017-, California Institute of Technology ("Caltech"). U.S.
2// Government sponsorship acknowledged.
3// All rights reserved.
4//
5// Author(s):
6//
7// ======================================================================
8//
9// FILENAME: sort.h
10//
11// ======================================================================
12
13#pragma once
14
15#include "stdlib.h"
16
17void maxHeapify (double * vals, int n, int *indexes, int root);
18void maxHeapify (float * vals, int n, int *indexes, int root);
19void maxHeapify (int * vals, int n, int *indexes, int root);
20void heapSort (int n, double *val, int *indexes, int order = 0); // order == 0: small to large; order == 1: large to small;
21void heapSort (int n, float *val, int *indexes, int order = 0); // order == 0: small to large; order == 1: large to small;
22void heapSort (int n, int *val, int *indexes, int order = 0); // order == 0: small to large; order == 1: large to small;
23
24void medium_filtering(int n, double *data, int win, double nodata);
25void medium_filtering(int n, float *data, int win, float nodata);
26float median_of_medians(int n, float *data, int rank);
27float median_use_histogram(int n, float *data, int start_count = 0, int total_size = 0);
28// main call using
29// median_use_histogram(n, data, 0, n),
30// or simply
31// median_use_histogram(n, data);

Generated for ISCE3.0 by doxygen 1.13.2.