Monthly Archives: November 2016

Regarding Regex

Regex cheat sheet is needed to find out the actual regex easily
http://www.petefreitag.com/cheatsheets/regex/

Regex Tester: There are lots of testers are available some are below:
http://www.regextester.com/
https://regex101.com/
http://regexr.com/

Regarding the symbols of regex
https://msdn.microsoft.com/en-us/library/az24scfc(v=vs.110).aspx

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 🙂

#feelings_sharing
#acm_icpc_2016
#undergrad_life
#last_semester

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
http://cmm.ensmp.fr/~beucher/wtshed.html 

And wikipedia is good for knowledge,

https://en.wikipedia.org/wiki/Watershed_(image_processing)

Loop example in MATLAB

Loop example in MATLAB

Output:

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

A+B

ans =

3 5 7
9 11 13
15 17 19

F=A-B

F =

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

A’

ans =

1 4 7
2 5 8
3 6 9

size(A)

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

subplot

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

Example:

subplot-4

Digital Image Processing

Solo Ride

When I do cycling I feel like I am alive…Went there for fresh breathing, Took the smell of rain <3 near Purbachal Highway 🙂

#cycling
#solo_ride

20161104_112040 20161104_112002