public marks

PUBLIC MARKS with tags color & pixel

2015

Paper.js — Using Pixel Colors

by sbrothier & 1 other
Using Paper.js you can easily work with the colors of individual pixels of Raster items.

LockBits vs Get Pixel Set Pixel - Performance | Pragmatic Developer

by sbrothier
When using GDI+ method you can optimize the process of bitmap manipulation  seven  times.I am implementing an image scaling algorithm at my University Seam Carving . While working on this project I realized that simply accessing pixels by the GetPixel and SetPixel methods is too slow.

Fast Pixel Operations in .NET (With and Without unsafe) - CodeProject

by sbrothier
The Bitmap class has GetPixel and SetPixel methods that let you acquire and change color of chosen pixels. Those methods are very easy to use but are also extremely slow. My previous post gives detailed explanation on the topic, click here if you are interested. Fortunately, you don’t have to use external libraries (or resign from .NET altogether) to do fast image manipulation. The Framework contains a class called ColorMatrix that lets you apply many changes to images in an efficient manner. Properties such as contrast or saturation can be modified this way. But what about manipulation of individual pixels? It can be done too, with the help from the Bitmap.LockBits method and the BitmapData class… A good way to test individual pixel manipulation speed is color difference detection. The task is to find portions of an image that have color similar to some chosen color. How to check if colors are similar? Think about color as a point in three dimensional space, where axis are: red, green and blue. Two colors are two points. The difference between colors is described by the distance between two points in RGB space.

2008

2005

Active users

sbrothier
last mark : 29/10/2015 11:06

4004
last mark : 12/12/2008 09:31

deadoll
last mark : 12/09/2005 01:17