Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes
File renamed without changes
27 changes: 13 additions & 14 deletions experiment/assignment/assign.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<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>

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

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

<!-- <div id="topMenu">
<h1>VIRTUAL LAB in IMAGE PROCESSING</h1>
<div class="home">
<a href="index.html">home</a>
</div>-->
</div>

<!-- <div class="menu">
<div class="menu">
<ul>
<li><a href="objective.php?exp=<?php echo $exp; ?>" target="_self" >Objective</a>
</li>
Expand All @@ -58,20 +58,20 @@
<li><a href="procedure.php?exp=<?php echo $exp; ?>" target="_self" >Procedure</a>
</li>
<li><a href="<?php echo $exp; ?>.php" target="_self" >Experiment</a>
</li> -->
<!-- <li><sel><a href="#" target="_self" >Assessment</a>
</li>
<li><sel><a href="#" target="_self" >Assessment</a>
</sel>
--> <!-- <ul>
<li><a href="quiz.php?exp=<?php echo $exp; ?>">Quiz</a></li> -->
<ul>
<li><a href="quiz.php?exp=<?php echo $exp; ?>">Quiz</a></li>
<li><a href="assign.php?exp=<?php echo $exp; ?>">Assignment</a></li>
<!-- </ul>
</ul>

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

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



Binary file added experiment/assignment/build/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added experiment/assignment/build/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions experiment/assignment/build/allexec.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export OPENCV_INC=/usr/include/opencv
export OPENCV_LIB=/usr/lib/
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"

sudo apt-get update
sudo apt-get install -y gcc
sudo apt-get update
gcc -I$OPENCV_INC codes/latest_affine.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/affine.out
gcc -I$OPENCV_INC codes/im_arith.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/arith.out
gcc -I$OPENCV_INC codes/im_dist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/dist.out
gcc -I$OPENCV_INC codes/im_fourier.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/fourier.out
gcc -I$OPENCV_INC codes/im_hist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/hist.out
gcc -I$OPENCV_INC codes/im_morphology.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/morpho.out
gcc -I$OPENCV_INC codes/im_nbrhood.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/neigh.out
gcc -I$OPENCV_INC codes/im_path.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/path.out
gcc -I$OPENCV_INC codes/im_point.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/point.out
gcc -I$OPENCV_INC codes/im_segment.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/segment.out
gcc -I$OPENCV_INC codes/im_colour.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour.out
gcc -I$OPENCV_INC codes/im_colourLin.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour2.out
gcc -I$OPENCV_INC codes/im_colhist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colour3.out
gcc -I$OPENCV_INC codes/im_colhist.cpp -L$OPENCV_LIB $OPENCV_LIB_OPTS -o execs/colhist.out
12 changes: 12 additions & 0 deletions experiment/assignment/build/analyticstracking.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!-- Google Analytics Code starts here -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-42255654-1', 'virtual-labs.ac.in');
ga('send', 'pageview');

</script>
<!-- Google Analytics Code ends here -->
Loading