diff options
| author | leochanj105 <leochanj@live.unc.edu> | 2021-10-26 13:22:32 -0400 |
|---|---|---|
| committer | leochanj105 <leochanj@live.unc.edu> | 2021-10-26 13:22:32 -0400 |
| commit | 14c854543b1a3cf344a371a5b45595657f95786b (patch) | |
| tree | 70f752880522e5e44669af365754ac0f649dce81 /SD-VBS/benchmarks/tracking | |
| parent | 5e2ccfae0532ddd89bcc04bf14aad451e9c79785 (diff) | |
add deadlines and costs
Diffstat (limited to 'SD-VBS/benchmarks/tracking')
23 files changed, 0 insertions, 903 deletions
diff --git a/SD-VBS/benchmarks/tracking/Makefile b/SD-VBS/benchmarks/tracking/Makefile deleted file mode 100644 index 60cc0ec..0000000 --- a/SD-VBS/benchmarks/tracking/Makefile +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | include ../../common/makefiles/Makefile.include | ||
| 2 | include $(MAKEFILE_COMMON_DIR)/Makefile.recurse | ||
| 3 | |||
diff --git a/SD-VBS/benchmarks/tracking/data/Makefile b/SD-VBS/benchmarks/tracking/data/Makefile deleted file mode 100644 index ba33d35..0000000 --- a/SD-VBS/benchmarks/tracking/data/Makefile +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | include ../../../common/makefiles/Makefile.include | ||
| 2 | include $(MAKEFILE_COMMON_DIR)/Makefile.recurse | ||
| 3 | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/1.bmp b/SD-VBS/benchmarks/tracking/data/qcif/1.bmp deleted file mode 100644 index 140ace2..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/1.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/10.bmp b/SD-VBS/benchmarks/tracking/data/qcif/10.bmp deleted file mode 100644 index 61518bc..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/10.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/2.bmp b/SD-VBS/benchmarks/tracking/data/qcif/2.bmp deleted file mode 100644 index 8e1f7cc..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/2.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/3.bmp b/SD-VBS/benchmarks/tracking/data/qcif/3.bmp deleted file mode 100644 index 95fe31f..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/3.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/4.bmp b/SD-VBS/benchmarks/tracking/data/qcif/4.bmp deleted file mode 100644 index 464608a..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/4.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/5.bmp b/SD-VBS/benchmarks/tracking/data/qcif/5.bmp deleted file mode 100644 index 71eb1b7..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/5.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/6.bmp b/SD-VBS/benchmarks/tracking/data/qcif/6.bmp deleted file mode 100644 index 83e5379..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/6.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/7.bmp b/SD-VBS/benchmarks/tracking/data/qcif/7.bmp deleted file mode 100644 index 95b4015..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/7.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/8.bmp b/SD-VBS/benchmarks/tracking/data/qcif/8.bmp deleted file mode 100644 index 8847887..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/8.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/9.bmp b/SD-VBS/benchmarks/tracking/data/qcif/9.bmp deleted file mode 100644 index 4301f11..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/9.bmp +++ /dev/null | |||
| Binary files differ | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/Makefile b/SD-VBS/benchmarks/tracking/data/qcif/Makefile deleted file mode 100644 index fb48d25..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/Makefile +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | INPUT=qcif | ||
| 2 | include ../../../../common/makefiles/Makefile.include | ||
| 3 | |||
| 4 | BMARK=tracking | ||
| 5 | include $(MAKEFILE_COMMON_DIR)/Makefile.common | ||
| 6 | |||
| 7 | |||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/expected.m b/SD-VBS/benchmarks/tracking/data/qcif/expected.m deleted file mode 100644 index 65c5984..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/expected.m +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | 142.858025 145.068198 102.770607 141.110282 90.859800 135.351851 80.185357 113.844268 117.388158 142.126183 80.877169 | ||
| 2 | 70.993874 35.205162 77.320628 62.895414 38.040784 78.853200 86.164881 63.301686 74.036975 46.176383 92.916465 | ||
diff --git a/SD-VBS/benchmarks/tracking/data/qcif/expected_C.txt b/SD-VBS/benchmarks/tracking/data/qcif/expected_C.txt deleted file mode 100644 index 7796dba..0000000 --- a/SD-VBS/benchmarks/tracking/data/qcif/expected_C.txt +++ /dev/null | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | 133.082275 144.054230 100.963028 140.279068 89.887512 134.336441 69.720207 114.998512 116.348083 141.124100 79.836075 | ||
| 2 | 55.176003 34.147427 76.485626 61.329086 37.049969 77.030098 83.134308 54.533726 73.046341 45.200169 91.896271 | ||
diff --git a/SD-VBS/benchmarks/tracking/src/c/calcAreaSum.c b/SD-VBS/benchmarks/tracking/src/c/calcAreaSum.c deleted file mode 100644 index 40f03dc..0000000 --- a/SD-VBS/benchmarks/tracking/src/c/calcAreaSum.c +++ /dev/null | |||
| @@ -1,81 +0,0 @@ | |||
| 1 | /******************************** | ||
| 2 | Author: Sravanthi Kota Venkata | ||
| 3 | ********************************/ | ||
| 4 | |||
| 5 | #include "tracking.h" | ||
| 6 | |||
| 7 | /** Compute the sum of pixels over pixel neighborhood. | ||
| 8 | Neighborhood = winSize*winSize | ||
| 9 | This will be useful when we compute the displacement | ||
| 10 | of the neighborhood across frames instead of tracking each pixel. | ||
| 11 | |||
| 12 | Input: src Image | ||
| 13 | # rows, cols, size of window | ||
| 14 | Output: windowed-sum image, ret. | ||
| 15 | |||
| 16 | Example: | ||
| 17 | |||
| 18 | winSize = 4, cols = 8, rows = 16 | ||
| 19 | nave_half = 2, nave = 4 | ||
| 20 | Say, the first row of the image is: | ||
| 21 | 3 8 6 2 4 8 9 5 | ||
| 22 | a1 = 0 0 3 8 6 2 4 8 9 5 0 0 (append nave_half zeros to left and right border) | ||
| 23 | asum = (sum the first nave # pixels - 0 0 3 8 ) = 11 | ||
| 24 | ret(0,0) = 11 | ||
| 25 | For ret(0,1), we need to move the window to the right by one pixel and subtract | ||
| 26 | from a1sum the leftmost pixel. So, we add value 6 and subtract value at a1(0,0), = 0 here. | ||
| 27 | ret(0,1) = 17 = a1sum | ||
| 28 | For ret(0,2), a1sum - a1(0,1) + a1(2+nave) = 17 - 0 + 2 = 19 = a1sum | ||
| 29 | For ret(0,3), a1sum - a1(0,2) + a1(3+nave) = 19 - 3 + 4 = 20 = a1sum | ||
| 30 | |||
| 31 | We proceed this way for all the rows and then perform summantion across all cols. | ||
| 32 | **/ | ||
| 33 | F2D* calcAreaSum(F2D* src, int cols, int rows, int winSize) | ||
| 34 | { | ||
| 35 | int nave, nave_half, i, j, k; | ||
| 36 | F2D *ret, *a1; | ||
| 37 | float a1sum; | ||
| 38 | |||
| 39 | nave = winSize; | ||
| 40 | nave_half = floor((nave+1)/2); | ||
| 41 | |||
| 42 | ret = fMallocHandle(rows, cols); | ||
| 43 | a1 = fSetArray(1, cols+nave,0); | ||
| 44 | |||
| 45 | for(i=0; i<rows; i++) | ||
| 46 | { | ||
| 47 | for(j=0; j<cols; j++) { | ||
| 48 | asubsref(a1,j+nave_half) = subsref(src,i,j); | ||
| 49 | } | ||
| 50 | a1sum = 0; | ||
| 51 | for(k=0; k<nave; k++) { | ||
| 52 | a1sum += asubsref(a1,k); | ||
| 53 | } | ||
| 54 | for(j=0; j<cols; j++) | ||
| 55 | { | ||
| 56 | subsref(ret,i,j) = a1sum; | ||
| 57 | a1sum += asubsref(a1,j+nave) - asubsref(a1,j); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | fFreeHandle(a1); | ||
| 61 | |||
| 62 | a1 = fSetArray(1, rows+nave,0); | ||
| 63 | for(i=0; i<cols; i++) | ||
| 64 | { | ||
| 65 | for(j=0; j<rows; j++) { | ||
| 66 | asubsref(a1,j+nave_half) = subsref(ret,j,i); | ||
| 67 | } | ||
| 68 | a1sum = 0; | ||
| 69 | for(k=0; k<nave; k++) { | ||
| 70 | a1sum += asubsref(a1,k); | ||
| 71 | } | ||
| 72 | for(j=0; j<rows; j++) | ||
| 73 | { | ||
| 74 | subsref(ret,j,i) = a1sum; | ||
| 75 | a1sum += asubsref(a1,j+nave) - asubsref(a1,j); | ||
| 76 | } | ||
| 77 | } | ||
| 78 | fFreeHandle(a1); | ||
| 79 | |||
| 80 | return ret; | ||
| 81 | } | ||
diff --git a/SD-VBS/benchmarks/tracking/src/c/calcGoodFeature.c b/SD-VBS/benchmarks/tracking/src/c/calcGoodFeature.c deleted file mode 100644 index 0ef1862..0000000 --- a/SD-VBS/benchmarks/tracking/src/c/calcGoodFeature.c +++ /dev/null | |||
| @@ -1,78 +0,0 @@ | |||
| 1 | /******************************** | ||
| 2 | Author: Sravanthi Kota Venkata | ||
| 3 | ********************************/ | ||
| 4 | |||
| 5 | #include "tracking.h" | ||
| 6 | |||
| 7 | /** Computes lambda matrix, strength at each pixel | ||
| 8 | |||
| 9 | det = determinant( [ IverticalEdgeSq IhorzVertEdge; IhorzVertEdge IhorizontalEdgeSq] ) ; | ||
| 10 | tr = IverticalEdgeSq + IhorizontalEdgeSq; | ||
| 11 | lamdba = det/tr; | ||
| 12 | |||
| 13 | Lambda is the measure of the strength of pixel | ||
| 14 | neighborhood. By strength we mean the amount of | ||
| 15 | edge information it has, which translates to | ||
| 16 | sharp features in the image. | ||
| 17 | |||
| 18 | Input: Edge images - vertical and horizontal | ||
| 19 | Window size (neighborhood size) | ||
| 20 | Output: Lambda, strength of pixel neighborhood | ||
| 21 | |||
| 22 | Given the edge images, we compute strength based | ||
| 23 | on how strong the edges are within each neighborhood. | ||
| 24 | |||
| 25 | **/ | ||
| 26 | |||
| 27 | F2D* calcGoodFeature(F2D* vertic | ||
