Skip to content

Commit 58f6329

Browse files
Merge pull request #6 from virtual-labs/testing
Testing
2 parents 1d74b69 + b247b18 commit 58f6329

File tree

1,596 files changed

+44758
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,596 files changed

+44758
-25
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

experiment/assignment/assign.php

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<head>
77
<script class='gtm'>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-W59SWTR');</script>
88

9-
<!--<title> Assignment - Virtual Lab in Image Processing</title>-->
9+
<title> Assignment - Virtual Lab in Image Processing</title>
1010
<!-- The Primary External CSS style sheet. -->
1111
<link rel="stylesheet" type="text/css" href="css/psd2css.css" media="screen" />
1212

@@ -39,15 +39,15 @@
3939
<!-- This is 'IIIT' -->
4040
<!-- <div id="Layer-6" class="IIIT" >
4141
<img src="images/iiit.png" width="100" height="70" alt="IIIT" class="pngimg" />
42-
</div>-->
42+
</div> -->
4343

4444
<!-- <div id="topMenu">
4545
<h1>VIRTUAL LAB in IMAGE PROCESSING</h1>
4646
<div class="home">
4747
<a href="index.html">home</a>
48-
</div>-->
48+
</div>
4949

50-
<!-- <div class="menu">
50+
<div class="menu">
5151
<ul>
5252
<li><a href="objective.php?exp=<?php echo $exp; ?>" target="_self" >Objective</a>
5353
</li>
@@ -58,20 +58,20 @@
5858
<li><a href="procedure.php?exp=<?php echo $exp; ?>" target="_self" >Procedure</a>
5959
</li>
6060
<li><a href="<?php echo $exp; ?>.php" target="_self" >Experiment</a>
61-
</li> -->
62-
<!-- <li><sel><a href="#" target="_self" >Assessment</a>
61+
</li>
62+
<li><sel><a href="#" target="_self" >Assessment</a>
6363
</sel>
64-
--> <!-- <ul>
65-
<li><a href="quiz.php?exp=<?php echo $exp; ?>">Quiz</a></li> -->
64+
<ul>
65+
<li><a href="quiz.php?exp=<?php echo $exp; ?>">Quiz</a></li>
6666
<li><a href="assign.php?exp=<?php echo $exp; ?>">Assignment</a></li>
67-
<!-- </ul>
67+
</ul>
6868

69-
</li> -->
70-
<!-- <li><a href="references.php?exp=<?php echo $exp; ?>" target="_self" >References</a>
71-
</li> -->
69+
</li>
70+
<li><a href="references.php?exp=<?php echo $exp; ?>" target="_self" >References</a>
71+
</li>
7272
</ul>
7373
</div>
74-
</div>
74+
</div> -->
7575
<div class="experiment front" style="text-indent: 20px; background-color: #DDDDDD;" >
7676

7777
<b>Obtain the figure of the right from the figure on the left.</b>
@@ -85,4 +85,3 @@
8585
</body>
8686

8787

88-

experiment/assignment/build/1.png

44.6 KB

experiment/assignment/build/2.png

95.6 KB
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
export OPENCV_INC=/usr/include/opencv
2+
export OPENCV_LIB=/usr/lib/
3+
export OPENCV_LIB_OPTS="-lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann"
4+
5+
sudo apt-get update
6+
sudo apt-get install -y gcc
7+
sudo apt-get update
8+
gcc -I$OPENCV_INC codes/latest_affine.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/affine.out
9+
gcc -I$OPENCV_INC codes/im_arith.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/arith.out
10+
gcc -I$OPENCV_INC codes/im_dist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/dist.out
11+
gcc -I$OPENCV_INC codes/im_fourier.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/fourier.out
12+
gcc -I$OPENCV_INC codes/im_hist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/hist.out
13+
gcc -I$OPENCV_INC codes/im_morphology.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/morpho.out
14+
gcc -I$OPENCV_INC codes/im_nbrhood.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/neigh.out
15+
gcc -I$OPENCV_INC codes/im_path.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/path.out
16+
gcc -I$OPENCV_INC codes/im_point.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/point.out
17+
gcc -I$OPENCV_INC codes/im_segment.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/segment.out
18+
gcc -I$OPENCV_INC codes/im_colour.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour.out
19+
gcc -I$OPENCV_INC codes/im_colourLin.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour2.out
20+
gcc -I$OPENCV_INC codes/im_colhist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour3.out
21+
gcc -I$OPENCV_INC codes/im_colhist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colhist.out
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!-- Google Analytics Code starts here -->
2+
<script>
3+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
4+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
5+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
6+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
7+
8+
ga('create', 'UA-42255654-1', 'virtual-labs.ac.in');
9+
ga('send', 'pageview');
10+
11+
</script>
12+
<!-- Google Analytics Code ends here -->
File renamed without changes.

0 commit comments

Comments
 (0)