Giter Site home page Giter Site logo

julzerinos / csharp-image-processing Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 526 KB

Image processing methods, algorithms and bitmap drawing recreated in C# Winforms. RIP MS Paint 1985 - 2017.

License: MIT License

C# 100.00%
convolution-filters winforms filters image-filters image-processing bitmap bitmap-graphics gaussian-filter ycbcr drawing

csharp-image-processing's Introduction

Image processing in C# Winforms

This project aims to recreat various image/bitmap processing methods and algorithms in a C# Winforms environment.

Image processing features

The following options are available for image processing.

Image processor window

  • Displays the original and modified image side by side
  • You can directly copy from the modified image context menu
  • You can select the image view mode from "fit" and "view original size"

Filters

  • You can apply a wide variety of functional as well as convolution filters
  • You can add as many layers as you like
  • Order of applying filters is taken into account
  • A caching system stores each bitmap for a given order of filter layers

Custom convolution kernel

  • Adds a custom kernel to the filters list
  • You can edit the kernel setup in a the Edit Kernel window
  • You can choose row and column count, kernel divisor (by default set automatically to sum of all cells), value offset and anchor point (wrt. applied cell)

Filter options window

  • Changes the values used in certain filters
  • Reapplies all current layers

YCbCr colorspace split

Bitmap creation features

The following options are available for bitmap creation (accessible via the Drawing window)

Drawing window

  • A seperate window for all your bitmap creation needs
  • Allows saving and opening states (stored in serialized binary files)

Shapes

  • Various shapes can be created simply by clicking
  • These are vector object shapes, stored and treated as objects (ie. circle has an origin point and a radius)
  • All shapes can be moved, redrawn or removed in the shapes menu (color and thickness taken into account while redrawing)
  • Polygons may be clipped

Additional setup

  • Background color may be changed
  • Anti-aliasing may be turned on and off for shapes using midpoint lines
  • The clipping boundary may be displayed

Filling

  • Point-based flood fill is available (and stored as separate object)
  • Polygons may be filled with specific colors or tiled images

Final note

If for some darn reason good ol' Microsoft Paint ain't satisfying all your image dillydallying needs, head on down to Joe's Peppercot Farms n' try out that dandy release in the right-as-the-Lord-himself -hand menu. God bless ๐Ÿค 

csharp-image-processing's People

Contributors

julzerinos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mohsaleh2010

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.