{{ message }}

Instantly share code, notes, and snippets.

💭
Studying...

# Md. Tahmid Hasan thasan3003

💭
Studying...
Created Nov 26, 2019
Finding key-points (Harris corner detection), Descriptor (SIFT like descriptor), Matching (Euclidean distance, Cosine similarity, Nearest Neighbor Distance Ratio), Finding Homography matrix (using SVD), Homogeneous transformation (using Backward Warping and Bi-linear Interpolation)
View Image_matching_and_Homogeneous_transformation.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 # ================================================== # Md. Tahmid Hasan # Web: tahmidhasan3003 # ================================================== import cv2 import numpy as np import math from matplotlib import pyplot as plt
Last active Sep 26, 2019
This algorithm finds blocks in a graph. Detailed description is given in code as comment.
View Finding Block in a Graph.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* ==================================================== ################## Code Author ################## ==================================================== Md. Tahmid Hasan #tahmidhasan3003 ==================================================== Code Title: Finding Block in a Graph.cpp ==================================================== ############## Algorithm Reference ##############
Created Dec 2, 2018
This is only the key generation part of S-DES.
View S-DES Key Generation.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include using namespace std; int p10[10]= {3,5,2,7,4,10,1,9,8,6}, p8[8]= {6,3,7,4,8,5,10,9};
Created Dec 2, 2018
Playfair Cipher is another most common encryption decryption algorithm in cryptography. It is a type of substitution cipher technique. It is an example of block cipher.
View Playfair Cipher.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include using namespace std; char table[5][5];
Created Dec 2, 2018
Caesar Cipher is the most common encryption decryption algorithm in cryptography. It is a type of substitution cipher technique.
View Caesar Cipher.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include using namespace std; string encDec(string inputText, int key, bool encryption)
Last active Nov 17, 2019
This can solve simple mathematical expressions including parentheses, division, multiplication, addition and subtraction respectively with spaces and without spaces. But it cannot detect wrong expressions.
View Simple Math Expression.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include #include using namespace std;
Last active Dec 2, 2018
Longest Common Subsequence in C++
View Longest Common Subsequence.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include #define fo freopen("inlcs.txt","r",stdin) #define N cout<
Last active Dec 2, 2018
Merge Sort in C++
View Merge Sort.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include #define L 100 using namespace std;
Last active Dec 2, 2018
Insertion Sort in C/C++
View Insertion Sort.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 /* Md Tahmid Hasan CSE, BSMRSTU tahmidhasan3003 */ #include using namespace std; void insertion_sort(int *a,int s)