Coder Social home page Coder Social logo

Kishor Datta Gupta's Projects

authentication_by_stylometry_nlp icon authentication_by_stylometry_nlp

This Projects aim to evaluate the efficiency of Stylometry approach as an authentication method. Stylometric analysis research has been done for author identification and there is significant progress to recognize an author based on their written texts. In this project, we tried to detect differences between writing styles on the same topic provided by a set of users and we test that these differences are enough to use for an authentication system or not.

bpda icon bpda

BPDA adversarial attack on PGD defense

candycrash icon candycrash

Android candy crash game where candy comes from gallery image

central_transformation icon central_transformation

The census transform (CT) is an image operator that associates to each pixel of a grayscale image a binary string, encoding whether the pixel has smaller intensity than each of its neighbours, one for each bit. It is a non-parametric transform that depends only on relative ordering of intensities, and not on the actual values of intensity, making it invariant with respect to monotonic variations of illumination, and it behaves well in presence of multimodal distributions of intensity, e.g. along object boundaries.[1] It has applications in computer vision, and it is commonly used in visual correspondence problems such as optical flow calculation and disparity estimation.[2] The census transform is related to the rank transform, that associates to each pixel the number of neighbouring pixels with higher intensity than the pixel itself, and was introduced in the same paper.[3] Algorithm The most common version of the census transform uses a 3x3 window, comparing each pixel p {\displaystyle p} p with all its 8-connected neighbours with a function ξ {\displaystyle \xi } \xi defined as ξ ( p , p ′ ) = { 0 if p > p ′ 1 if p ≤ p ′ . {\displaystyle \xi (p,p')={\begin{cases}0&{\text{if }}p>p'\\1&{\text{if }}p\leq p'\\\end{cases}}.} {\displaystyle \xi (p,p')={\begin{cases}0&{\text{if }}p>p'\\1&{\text{if }}p\leq p'\\\end{cases}}.} The results of these comparisons are concatenated and the value of the transform is an 8-bit value, that can be easily encoded in a byte. 124 74 32 124 64 18 157 116 84 ⟶ 1 1 0 1 x 0 1 1 1 ⟶ 11010111 {\displaystyle {\begin{array}{|c|c||c|}\hline 124&74&32\\\hline 124&64&18\\\hline 157&116&84\\\hline \end{array}}\longrightarrow {\begin{array}{|c|c|c|}\hline 1&1&0\\\hline 1&x&0\\\hline 1&1&1\\\hline \end{array}}\longrightarrow 11010111} {\displaystyle {\begin{array}{|c|c||c|}\hline 124&74&32\\\hline 124&64&18\\\hline 157&116&84\\\hline \end{array}}\longrightarrow {\begin{array}{|c|c|c|}\hline 1&1&0\\\hline 1&x&0\\\hline 1&1&1\\\hline \end{array}}\longrightarrow 11010111} Similarity between images is determined by comparing the values of the census transform for corresponding pixels, using the Hamming distance.[3] Several variations of the algorithm exist, using different size of the window, order of the neighbours in the pattern (row-wise, clockwise, counterclockwise), comparison operator (greater, greater or equal, lesser, lesser or equal).[4] An extension of the algorithm uses a three-way comparison that allows to represent similar pixels, whose intensity difference is smaller than a tolerance parameter ϵ {\displaystyle \epsilon } \epsilon , defined as[5] ξ ( p , p ′ ) = { 0 if p − p ′ > ϵ 1 if | p − p ′ | ≤ ϵ 2 if p ′ − p > ϵ {\displaystyle \xi (p,p')={\begin{cases}0&{\text{if }}p-p'>\epsilon \\1&{\text{if }}|p-p'|\leq \epsilon \\2&{\text{if }}p'-p>\epsilon \end{cases}}} {\displaystyle \xi (p,p')={\begin{cases}0&{\text{if }}p-p'>\epsilon \\1&{\text{if }}|p-p'|\leq \epsilon \\2&{\text{if }}p'-p>\epsilon \end{cases}}} whose result can be encoded with two bits for each neighbour, thus doubling the size of the pattern for each pixel. 124 74 32 124 64 18 157 116 84 ⟶ 2 1 0 2 x 0 2 2 2 ⟶ 21020222 {\displaystyle {\begin{array}{|c|c||c|}\hline 124&74&32\\\hline 124&64&18\\\hline 157&116&84\\\hline \end{array}}\longrightarrow {\begin{array}{|c|c|c|}\hline 2&1&0\\\hline 2&x&0\\\hline 2&2&2\\\hline \end{array}}\longrightarrow 21020222} {\displaystyle {\begin{array}{|c|c||c|}\hline 124&74&32\\\hline 124&64&18\\\hline 157&116&84\\\hline \end{array}}\longrightarrow {\begin{array}{|c|c|c|}\hline 2&1&0\\\hline 2&x&0\\\hline 2&2&2\\\hline \end{array}}\longrightarrow 21020222} See also

cidmp icon cidmp

CIDMP: Completely Interpretable Detection of Malaria Parasite in Red Blood Cells using Lower-dimensional Feature Space

conference_deadlines icon conference_deadlines

Top computer science conference deadlines for AI, Computer vision, HCI, Automation and security

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.