Git Product home page Git Product logo

imageanalysis's Introduction

This performs anaylsis of two images and gives the value of true postive, true negative, false positive, false negative.

● True Positive (TP): TP with respect to foreground detection is identifying a foreground object as foreground. TP is identifying foreground pixels as foreground pixels.

● False Positive (FP): FP with respect to foreground detection is identifying a background object as foreground. This is a type of error.

● False Negative (FN): FN with respect to foreground detection is not identifying a foreground object as foreground. This is a type of error.

● True Negative (TN): TN with respect to foreground detection is not identifying a background object as foreground.

● Precision: The accuracy in identifying foreground pixels as foreground excluding FN and TN. Precision is defined as the ratio of TP to (TP + FP)

● Percentage of Wrong Classifications (PWC): PWC is defined as the ratio of (FN + FP) to (TP + FN + FP + TN) multiplied by 100

●Percentage of Right Classsifications (PRC): PRC is defined by 100-PWC

Note: The input images should be of type *.jpg only.

To execute:

add opencv lib while compiling and

./a.out image1.jpg image2.jpg

imageanalysis's People

Contributors

nagesh-c avatar

Watchers

 avatar Karthik avatar

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.