annotate src/Makefile @ 794:7c52da57ef04

New C++ class strel for use in morphological functions. * strel.h, strel.cc: new C++ class (strel) that works as part wrapper for the @strel class. Methods such as set_origin, and reflect will allow for better control and homogeneity between the multiple functions that use SE's. In addition, hide the uglyness of accessing @strel through feval. * imerode.cc: replace strel struct and connection with @strel, with the new octave::image::strel class. Add failing test for imdilate when using even sized SE (to be fixed next with the use of the new class). * Makefile: adjust rules to build imerode.oct using strel.h.
author Carnë Draug <carandraug@octave.org>
date Thu, 03 Oct 2013 17:25:51 +0100
parents 63acfe78a7ed
children a50b1bcbe3d9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
660
afef2b0ed913 image: use mkoctfile defined by pkg in the environment
carandraug
parents: 639
diff changeset
1 MKOCTFILE ?= mkoctfile -Wall
afef2b0ed913 image: use mkoctfile defined by pkg in the environment
carandraug
parents: 639
diff changeset
2
350
f8c6b6fa1217 Support a new set of spatial filters
hauberg
parents: 343
diff changeset
3 all: __spatial_filtering__.oct __bilateral__.oct __custom_gaussian_smoothing__.oct \
439
d13dba2ec9c2 New version of bwboundaries (from A Kelly)
hauberg
parents: 401
diff changeset
4 __boundary__.oct bwlabel.oct bwfill.oct rotate_scale.oct hough_line.oct \
787
63acfe78a7ed Complete rewrite of imerode and imdilate for all image and SE types.
Carnë Draug <carandraug@octave.org>
parents: 742
diff changeset
5 graycomatrix.oct bwdist.oct nonmax_supress.oct bwlabeln.oct imerode.oct
186
13c6a9bdec24 Changed the structure to match the package system
hauberg
parents:
diff changeset
6
401
d2bd601079ed Remove JPEG and PNG functions and as a result simplify build system
hauberg
parents: 390
diff changeset
7 %.oct: %.cc
660
afef2b0ed913 image: use mkoctfile defined by pkg in the environment
carandraug
parents: 639
diff changeset
8 $(MKOCTFILE) $<
186
13c6a9bdec24 Changed the structure to match the package system
hauberg
parents:
diff changeset
9
583
319cadd33084 Further speedups to bwlabeln
jordigh
parents: 568
diff changeset
10 bwlabeln.oct: bwlabeln.cc union-find.h++
660
afef2b0ed913 image: use mkoctfile defined by pkg in the environment
carandraug
parents: 639
diff changeset
11 CXXFLAGS='-g -O2 -std=c++0x -Wall' $(MKOCTFILE) $<
568
e5e5b62b929a Make bwlabeln compile
jordigh
parents: 500
diff changeset
12
794
7c52da57ef04 New C++ class strel for use in morphological functions.
Carnë Draug <carandraug@octave.org>
parents: 787
diff changeset
13 imerode.oct: imerode.cc strel.cc
7c52da57ef04 New C++ class strel for use in morphological functions.
Carnë Draug <carandraug@octave.org>
parents: 787
diff changeset
14 $(MKOCTFILE) $^ -o $@
7c52da57ef04 New C++ class strel for use in morphological functions.
Carnë Draug <carandraug@octave.org>
parents: 787
diff changeset
15
401
d2bd601079ed Remove JPEG and PNG functions and as a result simplify build system
hauberg
parents: 390
diff changeset
16 clean:
d2bd601079ed Remove JPEG and PNG functions and as a result simplify build system
hauberg
parents: 390
diff changeset
17 rm -f *.o octave-core core *.oct *~