Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace SuffixTreeAlgorithm
{
public class SuffixTree
{
@sumit4iit
sumit4iit / saturate.cpp
Last active December 25, 2015 05:19
Play With Intensities.
// Scan Images and Modify.
#include<iostream>
#include "cv.h"
#include "highgui.h"
#include <cstring>
using namespace cv;
using namespace std;
void saturate(Mat image, int c, int increase)
@sumit4iit
sumit4iit / Intensity_levels
Created October 11, 2013 08:44
Intensity Levels
#include<iostream>
#include "cv.h"
#include "highgui.h"
#include <cstring>
using namespace cv;
using namespace std;
// Look up table for intensity values.
int LuT[256];
echo "Welcome !!"
echo $USER
echo "This will run startup scripts."
echo "Please authenticate. You need to be a sudoer."
echo "*********************************************"
#include<iostream>
#include "cv.h"
#include "highgui.h"
#include <cstring>
using namespace cv;
using namespace std;
int main()
{
string path = "res/download.jpg";
sudo apt-get install fakeroot
sudo apt-get install dpkg
fakeroot -u dpkg-repack <package_name>
apt-cache search <package_name>
# for example
apt-cache search opencv
dpkg --get-selections > backup.sh