Malintha's Blog

My Own Room in Cyberspace

Latest Blogs
Popular Posts
Recommended

Latest Blogs

ajax-loader

Add customized publisher form for a custom RXT

Selection_039

In the previous post I have discussed how to add a custom asset type (Registry Extension) to wso2 governance registry. There can be situations, you need to customize these publisher forms in a way that your organizations requires. Probably adding more labels, changing colours and adding a captcha. Thanks to the maximum extendibility of wso2… Read More

WSO2 Governance Registry Adding Custom Artifacts

Selection_018

WSO2 governance registry is the SOA (Service Oriented Architecture) governance model of the wso2 product catalogue.  If you are an enterprise that has a lot of SOA artifacts to be stored or governed, you might find wso2 GREG as a handy tool. GReg provides SOA artifacts manipulation in two aspects – as a meta data… Read More

Understanding asynchronous JavaScript – Callbacks

Recall Jquery click() function. Have you ever wondered, why would you want to write the block of the code that needs to be executed after the clicking on the button inside another function? Welcome to the world of asynchronous programming, callbacks! Callback is a programming convention rather than a special feature of a language. They… Read More

බල්ලොත් එක්ක බෑ – ප්‍රහසන සහ විහිළු

balloth ekka ba

සිව් පදයන් දෙකකි. චරථ භික්ඛවේ – චරථ භික්ඛවේ චරථ භික්ඛවේ – චරථ භික්ඛවේ චරථ භික්ඛවේ – චරථ භික්ඛවේ චරථ භික්ඛවේ – චරථ භික්ඛවේ ලේනා ජම්බු ගහේ – ආයේ නගී ආයේ පස්සේ ලේනා ජම්බු ගහේ – ආයේ නගී ආයේ පස්සේ ලේනා ජම්බු ගහේ – ආයේ නගී ආයේ පස්සේ ලේනා ඌ ලේනා! මුල් සිව් පදය ඇසු විට මට නිකන්ම මතක් වූයේ… Read More

Contrast stretching in a nutshell

hist1

Is there anything in this picture? Apparently not! This is a perfect example for a low contrast image, where all the image data are packed within a very small range of colours. The histogram for the given image looks like this. Histogram is the graph, in which image pixel densities are plotted against their colour… Read More

Implement a Mean Filter with OpenCV

6

In the last blog post I have stated how to implement a median filter with openCV and a bit to the discrete convolution theory. The approach I have used there was a bit straightforward than the convolution. Here in the mean filter the implementation will follow the convolution theory with applying a 3×3 kernel to… Read More

Implement a Median Filter with OpenCV

Capture1

Median filter is a low pass bandwidth filter which uses a kernel function over the image matrix to manipulate it. The kernel may be defined as 3×3, 5×5 or based on the user preference. Then it uses the discrete convolution to calculate the result matrix. What is discrete convolution? Discrete convolution is a method that… Read More

State Estimation with Kalman Filter

tu

Kalman Filter (aka linear quadratic estimation (LQE)) is an algorithm which can be used to estimate precise states of a moving object by feeding a series of noisy sensor inputs over time. The Kalman Filter and its derivatives namely, “Extended Kalman Filter (EKF)” and “Unscented Kalman Filter” are highly reputed in the field of information processing. The most… Read More

Using Hg Mercurial behind a proxy

You might have faced to download gigabytes of repositories with Hg. In my case, a big portion of Mozilla repositories depends on it and wanted to download that huge repos from the university network. University bandwidths are mostly underused 😉 Hg uses hgrc file to load configurations. (Per repository) You can go to your repository,… Read More

Writing Axis2 Handlers

Interfering the message flow Axis2 handler is the smallest invocation unit of the axis2 engine, which has ability to intercept into the message flow during the runtime and operate read/write operations on an incoming or outgoing message. i.e: if you need to route messages coming with specific attributes to a different end point or count… Read More

ajax-loader