Skip to content

Commit

Permalink
Revert "remove unused lines"
Browse files Browse the repository at this point in the history
This reverts commit 2900f1a.
  • Loading branch information
cyliang368 committed Jun 14, 2024
1 parent 6c43ada commit 1a0d2f3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion raster/r.texture/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ MODULE_TOPDIR = ../..

PGM = r.texture

LIBES = $(RASTERLIB) $(GISLIB) $(MATHLIB)
LIBES = $(RASTERLIB) $(GISLIB) $(MATHLIB) $(OPENMP_LIBPATH) $(OPENMP_LIB)
DEPENDENCIES = $(RASTERDEP) $(GISDEP)
EXTRA_CFLAGS = $(OPENMP_CFLAGS)
EXTRA_INC = $(OPENMP_INCPATH)

include $(MODULE_TOPDIR)/include/Make/Module.make

Expand Down
15 changes: 15 additions & 0 deletions raster/r.texture/h_measure.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@

#include "matvec.h"

#define BL "Direction "
#define F1 "Angular Second Moment "
#define F2 "Contrast "
#define F3 "Correlation "
#define F4 "Variance "
#define F5 "Inverse Diff Moment "
#define F6 "Sum Average "
#define F7 "Sum Variance "
#define F8 "Sum Entropy "
#define F9 "Entropy "
#define F10 "Difference Variance "
#define F11 "Difference Entropy "
#define F12 "Measure of Correlation-1 "
#define F13 "Measure of Correlation-2 "

typedef struct menu {
char *name; /* measure name */
char *desc; /* menu display - full description */
Expand Down

0 comments on commit 1a0d2f3

Please sign in to comment.