Search found 19 matches

by dproc
2010-11-09T19:58:16-07:00
Forum: Users
Topic: Magick++ Demo won't compile VS 2008
Replies: 14
Views: 32330

Re: Magick++ Demo won't compile VS 2008

FYI same thing happening with me. I had everything working a couple months ago with VS2008 and an earlier version of IM but I can't remember the details and I did at some point decide to build from source--can't remember why. Now the demos crash with the latest stuff. Unfortunately I don't have time...
by dproc
2010-11-01T11:02:35-07:00
Forum: Users
Topic: Crash when i try to read in an image
Replies: 4
Views: 9825

Re: Crash when i try to read in an image

FYI I'm seeing the same thing with VS 2008. I built from source (16bbp, DLL) and the utils (convert.exe) built and run OK but my project still doesn't. My project was working with an earlier IM version. Unfortuanetly I don't have time at the moment to get any more details or dig into the problem.
by dproc
2010-10-27T08:43:49-07:00
Forum: Users
Topic: ImageMagick using wrong file intermittently
Replies: 3
Views: 8163

Re: ImageMagick using wrong file intermittently

I'm a little confused on exactly what you are doing, but using constant names for intermediate files (like uploadedPic_insitu.png and uploadedPic.jpg) may not be atomic--when two or more users are doing things at the same time.
by dproc
2010-10-27T08:30:50-07:00
Forum: Users
Topic: JPEG: Bigger file size after converting with less quality
Replies: 8
Views: 17958

Re: JPEG: Bigger file size after converting with less qualit

One possibility is that the distortions from one compression can appear as more detail to a subsequent compression. Another thing to check is for any data being added to the exif and/or text comment blocks in the JPG file. I'm an IM noob so I don't know the switches to remove that data--assuming tha...
by dproc
2010-10-05T17:53:52-07:00
Forum: Users
Topic: Convert to 300dpi
Replies: 7
Views: 17027

Re: Convert to 300dpi

I suspect the OCR code means by "optimal" that it runs the fastest assuming a reasonably-sized font, not necessarily the most reliably. Try to avoid resampling unless you are hurting for speed. I'd be VERY surprised if the OCR code actually got more reliable after you downsampled! Secondly...
by dproc
2010-10-05T08:50:19-07:00
Forum: Developers
Topic: circle detection
Replies: 24
Views: 48788

Re: circle detection

If the circles are always the same size and shape, or a small set of sizes, then you might just edge detect and clean things up like fmw42 said, but then just cross-correlate with a known good sample(s) that were also edge-detected and cleaned up. You might also try it without edge detection if the ...
by dproc
2010-10-04T17:02:14-07:00
Forum: Developers
Topic: OpenCL compilation requirements
Replies: 14
Views: 37079

Re: OpenCL compilation requirements

I searched the IM source for OpenCL and found OpenCL stuff in accelerate.c I see a kernel 'Convolve' function defined there as an OpenCL kernel. It ~looks~ like a time-domain convolve, and I ~think~ it is single threaded, but I've only glanced at the code. Even if I'm misinterpeting it and its multi...
by dproc
2010-10-04T07:43:03-07:00
Forum: Developers
Topic: OpenCL compilation requirements
Replies: 14
Views: 37079

Re: OpenCL compilation requirements

Out of curiosity: has anyone some experince how much faster IM will get? Below are some of the things I've found in working with OpenCL and CUDA, especially with 2D FFTs. (My leaning toward CUDA info is only because I've a little more experience with it--not to imply its better. Although I did have...
by dproc
2010-10-03T08:12:59-07:00
Forum: Digital Image Processing
Topic: how large/long can an animated gif be?
Replies: 3
Views: 71294

Re: how large/long can an animated gif be?

I would definitely go with a powerpoint-like approach. OpenOffice has a nice powerpoint clone called "Impress", and Google docs also has a presentation editor, both are free. A user can easily step frames forward or backward or play at the rate programmed by the author. The author can easi...
by dproc
2010-09-27T03:41:50-07:00
Forum: Users
Topic: "Winner" magnitude composite op ?
Replies: 7
Views: 14211

Re: "Winner" magnitude composite op ?

Yep, my bad. The word "magnitude" can be interpreted as a vector magnitude in a 3D color space, yet I didn't mean that. I subconsciously picked that word because of my application. Now to be more clear (I hope): It actually doesn't matter to me whether its just a channel, the magnitude of ...
by dproc
2010-09-26T16:06:09-07:00
Forum: Users
Topic: "Winner" magnitude composite op ?
Replies: 7
Views: 14211

"Winner" magnitude composite op ?

I suppose I want some sort of composite operation to do this, but I'll explain it in more general terms in case the solution doesn't involve compositing: I want to copy a pixel channel magnitude from the source image to the corresponding pixel in the destination image only if that magnitude is great...
by dproc
2010-09-25T03:36:47-07:00
Forum: Users
Topic: Faster subimage extraction?
Replies: 1
Views: 4568

Faster subimage extraction?

I want to create a new image composed of a small rectangular region from an existing image. I can copy all the pixels of the existing image into a new image and then crop the new image, but I wonder if there is a way to avoid copying all those pixels (I need speed). I'm working with Magick++ but any...
by dproc
2010-09-20T03:10:21-07:00
Forum: Users
Topic: Magick++ Segmentation Fault
Replies: 3
Views: 8522

Re: Magick++ Segmentation Fault

I'm also very new to imageMagick and I am using Magick++. One lesson I recently learned is to enclose everything in try/catch blocks because the library makes extensive use of exceptions. For example: int ReturnCode=-1; ... try { Image1=new Magick::Image(FileName); if(Image1) if(Image1->isValid()) R...
by dproc
2010-09-16T18:11:41-07:00
Forum: Users
Topic: Set My Own Software name to Creation Software property.
Replies: 15
Views: 31678

Re: Set My Own Software name to Creation Software property.

I know virtually nothing about IM so I was waiting to see an answer. But since its been a while... In a pinch you might try running a text search and replace (that doesn't mind binary files) and replace that "Image Magick 6.62" in the binary file with new text exactly the same length. Even...
by dproc
2010-09-16T11:53:27-07:00
Forum: Users
Topic: How to implement deinterlace "weave + bob" in C ?
Replies: 8
Views: 18518

Re: How to implement deinterlace "weave + bob" in C ?

If its from a video then the information in the previous & next frames is VERY valuable. If so then you might try his filter with virtualdub: http://neuron2.net/smart/smart.html