Coder Social home page Coder Social logo

dermatologist / lesion-mapper Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 1.53 MB

:pill: LesionMapper is a tool and a method for standardized mapping of lesions in Dermatology.

Home Page: https://dermatologist.co.in

JavaScript 46.63% Vue 53.37%
healthit healthcare-application dermatology vue

lesion-mapper's Introduction

Lesion Mapper - Vue Component

forthebadge npm Build

LesionMapper

What is Lesion Mapper

Documenting skin lesions on body wireframes is common in dermatology and can be better in many ways than textual documentation. LesionMapperTM is a tool and a method to standardize the mapping of lesions. In the LesionMapper methodology, the type of lesions are represented by icons. The severity is represented by the opacity of the icon and the location and distribution by the position and size of the icon, respectively. The images can be dragged, enlarged or rotated.

This is a vue component that can be embedded in other systems. It can export the map as a JSON string or a base64 encoded image.

Installation

npm install vuejs-fabric --save
npm install lesion-mapper --save

Import

import VueFabric from 'vuejs-fabric';
import LesionMapper from 'lesion-mapper';
Vue.component('LesionMapper',LesionMapper);

Use

 <lesion-mapper ref="lmCanvas" :lmWidth="width" :lmHeight="height"></lesion-mapper>

Usage

Props

Name Type Default Description
lmWidth Number 0 canvas width
lmHeight Number 0 canvas height
lmJson String "" Json to render
lmImage String "" Background
lmDebug Boolean false Debug?
lmColor String green Button color

Events

name Type Description
savelm event Json representation
exportlm event Base64 String

Methods

setLmBackground(image)

Install the development version from GitHub as below

Add the following to .npmrc

registry=https://registry.npmjs.org/
@dermatologist:registry=https://npm.pkg.github.com

And

npm install @dermatologist/lesion-mapper --save

Contributors

lesion-mapper's People

Contributors

dependabot[bot] avatar dermatologist avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.