imaging

How to implement pan/zoom on gigapixel bitmaps?

In my project, I'm using (uncompressed 16-bit grayscale) gigapixel images which come from a high resolution scanner for measurement purposes. Since these bitmaps can not be loaded in memory (mainly due to memory fragmentation) I'm using tiles (and tiled TIFF on disc). (see StackOverflow topic on this) I need to implement panning/zooming...

Can Paint.NET plug-ins be used outside of Paint.NET?

Can I easily use plug-ins made for Paint.NET in my own C# application (assuming that I comply with the plug-in licensing)? My goal is to automate certain effects and it seems that there are quite a few for Paint.NET. ...

Does PIL create artifacting on the bottom edge of the image when you thumbnail() then crop()? If so, what is your workaround ?

When I call PIL to thumbnail() an image, and then crop(), I get artifacting on the last row of pixels -- they're either mostly black with specks of intense color, or what seems to be a not-resized area of the image ( ie, that line of pixels is at the original resolution and did not scale down with the rest ) This does not seem to happen...

OpenCV grouping white pixels

Hi Guys, I've done the hard work, turning my iSight camera on my MacBook into an infared camera, converted it, set the threshold etc.. and now have an image that looks something like this: My problem is now; I need to know how many blobs are on my image by grouping the white pixels. I don't want to use cvBlob/cvBlobsLib, I'd rather ju...

Converting a GUID to System.Drawing.Imaging.ImageFormat

I store information about images in a database - also their ImageFormat (jpeg, png etc). Console.WriteLine(System.Drawing.Imaging.ImageFormat.Jpeg.Guid); Outputs: b96b3cae-0728-11d3-9d7b-0000f81ef32e I want to store this in the database as a GUID - and read from the database and get the associated ImageFormat. How do I cast the GU...

How to determine the transparency color of a bitmap

I know you can programmatically determine the tranparency color of a .gif Is there a way to do the same for a Bitmap? Right now, I am doing this heuristically by sampling around the outer edge but of course this is not 100% reliable. ...

image segmentation using pil/any package of python

hi all., i need to segment an image into regions .i'm using pil.i found no module to segment image in pil. I need this segmented regions as a list or dictionary. Actually i'm trying to compare the images for similarity in content aware fashion.for that i need to segment the image. i tried segwin tool but it is drawing another image(whi...

.NET photo processing component

Hi folks! I'm looking for a .NET image processing component or an open source alternative to automate the following tasks: Photo capture (webcams and photo cameras) Photo printing (grid/strip modes) Applying photo effects Saving photos AtalaSoft DotImage is quite expensive, any other suggestions are welcome. Thanks J ...

how to generate large image in compact framework

I need to generate large images (A4 image at 200 DPI, PNG format would be fine) in my compact framework application. This is impossible to do in standard way due to memory limitations (such big image will throw OOMException). Is there any library which offers file-backed stream image generation? Or I could generate many smaller stripes...

How to save an image in it's original format?

How can I save an Image with it's original encoding? It seems that the only way to save an Image is by using a BitmapEncoder but I don't know how I can get the correct format from the image. Example: Clipboard.GetImage() returns a InteropBitmap which doesn't seem to contain any information about the original format. I also tried usin...

ANY material writen in/for DELPHI around the graphics topic?

Does anyone knows ANY material writen in/for DELPHI around the graphics topic? Planning to build a software for medical imaging processing . Thinking in 3D UI to absorve the power of nvidias GTX graphics card, and some real-time 2D processing integrated with high-end scanners. Please dont take this as a "rant" but, we have zillions of ...

NETCF - Displaying custom shaped form in compact framework

Hi guys, I am developing some small little application that sits on the screen and on top of all window and flies around the screen, could be a bird or a butterfly or a fish. But I have a little bit of problem. How do I redraw the background without my images included? or how do I copy the background (not the wallpaper) behind my form...

SharePoint Silverlight Image viewer (AG_E_Network_Error)

My application is a Silverlight Image viewer that displays images from Sharepoint using the Silverlight Image control (by setting the source propery). My app displays the first image and i can use navigation buttons to go forward and backward. Everything is working fine, however after a certain amount of images (always the same amout fo...

OCR engines designed for screen-reading

Are there any OCR engines designed for identifying text in screen-captured images rather than scanned text? I have a project where I need to retrieve and identify text in an application, and none of the OCR engines I've tried so far have faired well with screenshots. Ideally the engine should work well with color and with background noi...

Change skin colour programmatically

Does anyone have any information or advice about adjusting one image so that the skin tones in it will match that of another image? It is a bit of an obscure question but I was hoping there would be someone that has come across this problem before! The purpose of me doing this is so that I can replace a face in one image with a face fro...

What is the best way to load a CCITT T.3 compressed tiff using python?

Hey guys, I am trying to load a CCITT T.3 compressed tiff into python, and get the pixel matrix from it. It should just be a logical matrix. I have tried using pylibtiff and PIL, but when I load it with them, the matrix it returns is empty. I have read in a lot of places that these two tools support loading CCITT but not accessing the...

How to implement an image or pdf viewer?

Hello, for learning purposes I would like to know how to implement an image (and/or) pdf viewer on my own. I'm interested in the general approach to implement such a thing. I already read about the different formats on the net (tiff/pdf) so I found out that these files have a special format which describes where I have to look for a h...

Graphics.Drawstring looks nice in PictureBox but horrible in a Bitmap

I am trying to use DrawString to write text as an image and then rotate it 90 degrees. It works fine with both a bitmap or directly on a PictureBox, but the big difference is in the quality. The PictureBox text drawn has great quality and looks nice. When I draw it on an image it looks horrible and blocky. I've made a few changes to ...

Best resources to learn about graphics and imaging?

Having spent a bunch of time recently doing 2D work that involves pixel manipulation of bitmaps and blending/compositing, I've run up against the limits of my own understanding with respect to colorspaces, non-RGB color worlds, etc. I'd like to go back to basics and learn how all this stuff actually works, so that I'm not shooting in th...

getting number of pages in a fax tiff?

How can I get a page count from a tiff file for faxes? using "g4" format. Language preferred is c++ ...