Monthly Archives: November 2016

Regarding Regex

Regex cheat sheet is needed to find out the actual regex easily

Regex Tester: There are lots of testers are available some are below:

Regarding the symbols of regex

Some regex software
RegexBuddy on windows

Feelings Sharing

It was my last chance for participating in ACM ICPC Dhaka Regional Siteprogramming contest but as I am out of practice for last 2 semesters I didn’t even sit for preliminary round..I am not so good at problem solving but adhoc type problems became my favorite for last 2 years. I tried to learn ACM problem solving from my respected senior brothers, my batch mate buddies and my beloved juniors for last two years. It seemed to me very tough but I tried to be very regular at ACM Training classes during my undergrad life alongside with my academic life.

I personally believe that learning programming is a life time issue. It has starting point but no finishing line. I have a deep wish to learn these awesome things in future if Allah wills. Please keep me in your prayers for that and expressing my heartfelt wishes and prayers for today’s ICPC contestants <3 🙂


Marriage Goals ?!

In our country, maybe love goals should be relied on career goals as the reality of this society is very harsh..People of this society loves money, career, wealth, physique and other blah blah..They want to see perfectionists. Maybe, fall in love is a joke here when you can’t marry rather good chance for wasting your valuable time.

In our country, society forget that end of the day you are human being. Still didn’t come up to answer yet when is the high time to get someone as your soulmate from this so called judgmental society! If I could get the answer!

Watersheding Image Processing

Found this link below very helpful 

And wikipedia is good for knowledge,

Loop example in MATLAB

Loop example in MATLAB


A =

1 2 3
4 5 6
7 8 9
C =

1 2 3 4 5 6 7 8 9

Matrix in MATLAB

A=[1 2 3;4 5 6;7 8 9]

A =

1 2 3
4 5 6
7 8 9

B=[2 3 4;5 6 7;8 9 10]

B =

2 3 4
5 6 7
8 9 10


ans =

3 5 7
9 11 13
15 17 19


F =

-1 -1 -1
-1 -1 -1
-1 -1 -1


ans =

1 4 7
2 5 8
3 6 9


ans =

3  3


It may help

Matlab Code – Digital Image Processing

To show image from desktop folder to matlab image viewer

then to convert YIQ value we need to write this line

and for converting rgb to hsv we need tghis line


To make it grayscale

For showing the size:

For plotting in a matrix it follow subplot(m,n,p), imshow(X); format of 2×2 matrix 1 no. coloumn where p=1 and if p=2 then it will be plot in 2 no column


For finding edges from grayscale image and plot in coloumn 3 using canny method


For finding edges from grayscale image and plot in coloumn 4 using sobel method