Search found 13 matches

by HunteX
2011-05-23T02:03:44-07:00
Forum: Magick++
Topic: How do that with Magick++ | MagickWand | MagickCore ?
Replies: 2
Views: 15785

Re: How do that with Magick++ ?

No one knows? Maybe you know how to do it with MagickWand or MagickCore? Please help! :(
by HunteX
2011-05-17T09:30:08-07:00
Forum: Developers
Topic: Overlaying two images Magick++
Replies: 8
Views: 20069

Re: Overlaying two images Magick++

Thank you, Anthony! If I didn't get to do the same thing with Magick++ then do just that
by HunteX
2011-05-16T07:57:45-07:00
Forum: Magick++
Topic: How do that with Magick++ | MagickWand | MagickCore ?
Replies: 2
Views: 15785

How do that with Magick++ | MagickWand | MagickCore ?

convert rd2.jpg -alpha set -virtual-pixel transparent \
+distort PerspectiveProjection \
"0.7635364058950651, 0.3438769700704157, 56.6722052397604020,
-0.4476195206801218, 0.8427856192168595, 79.6955261689579830,
-0.0003992035432886, -0.0000913103642461" \
rd1.jpg +swap -background black ...
by HunteX
2011-05-16T02:46:53-07:00
Forum: Developers
Topic: HOW to compile x64-debug of IM and USE it? [SOLVED]
Replies: 2
Views: 7186

Re: HOW to compile x64-debug of IM and USE it? [SOLVED]

anthony wrote:I gather than you speak russian! :-)
Yes, I am Russian, which is not good to speak English :)))
by HunteX
2011-05-13T23:05:28-07:00
Forum: Developers
Topic: Overlaying two images Magick++
Replies: 8
Views: 20069

Re: Overlaying two images Magick++


What exact program are you using?
Remember I am Dumb when it comes to Windows, having grown up using UNIX command line!
I hate the limitations and restrictions inherent in a fixed GUI program, prefering to work more
directly with images and image data, and only using GUI for display purposes.

Can ...
by HunteX
2011-05-12T02:55:03-07:00
Forum: Developers
Topic: Overlaying two images Magick++
Replies: 8
Views: 20069

Re: Overlaying two images Magick++

convert image2.png -alpha set -virtual-pixel transparent \
+distort Perspective '@coordinates_file.csv' \
image1.jpg +swap -background transparent -layers merge \
+repage result.png
How I can do this using Magick++ ? What functions need use?

I found the following function:

Image ...
by HunteX
2011-05-11T22:03:50-07:00
Forum: Developers
Topic: Overlaying two images Magick++
Replies: 8
Views: 20069

Re: Overlaying two images Magick++

The whole sequence is known as 'panorama overlaying' and involves a number of steps
fix any lens distortion in the images
Locate common 'registration points' between the two images
distort images using perspective into a shared distorted space (typically one image is left undistorted)
Note ...
by HunteX
2011-05-11T10:05:39-07:00
Forum: Developers
Topic: Overlaying two images Magick++
Replies: 8
Views: 20069

Overlaying two images Magick++

Hi! I have 2 images:

first:
http://img696.imageshack.us/img696/1261/rd1mz.jpg
second:
http://img705.imageshack.us/img705/8807/traei.png

How i can overlay these images and get this image:
http://img821.imageshack.us/img821/308/outg.jpg

In OpenCV I do that so:

...
// create mask
IplImage ...
by HunteX
2011-05-11T01:01:08-07:00
Forum: Developers
Topic: ImageMagick and Transformation Matrix of Homography
Replies: 6
Views: 17470

Re: ImageMagick and Transformation Matrix of Homography

The lines are where the corners of the source image touched the edge, and with the default Virtual-Pixels ('Edge' replication) the edge pixel colors became long lines of pixels spreading out from the image, which is then also distorted.

To remove them use a -virtual-pixel setting like black, white ...
by HunteX
2011-05-10T10:15:01-07:00
Forum: Developers
Topic: ImageMagick and Transformation Matrix of Homography
Replies: 6
Views: 17470

Re: ImageMagick and Transformation Matrix of Homography

Thanks, Fred, Anthony!

I applied the matrix on image

Code:
InitializeMagick(*argv);
Image o2("o2.jpg");

double matrix[8];
matrix[0] = 0.8784113208323167; matrix[1] = 0.4980249306365054; matrix[2] = -157.6203276579947200;
matrix[3] = -0.4975379836532773; matrix[4] = 0.8683160578912063; matrix[5 ...
by HunteX
2011-05-07T09:23:43-07:00
Forum: Developers
Topic: ImageMagick and Transformation Matrix of Homography
Replies: 6
Views: 17470

ImageMagick and Transformation Matrix of Homography

Hi! I have transformation matrix of homography with 9 parameters. How can I apply this matrix to an image?
OpenCV have cvWarpPesrpective() function. Does ImageMagick similar function?
by HunteX
2011-05-06T06:05:46-07:00
Forum: Developers
Topic: Working with ImageMagick on VS2010 [SOLVED]
Replies: 0
Views: 4426

Working with ImageMagick on VS2010 [SOLVED]

Hi! I configured ImageMagick under C++ (added the path to the header, libs, added the names of libraries in additional dependencies). Trying to run a simple project with Visual Studio 2010 VC++ (ImageMagick's libraries compiled as x64 and the project is configured as x64)

This example is taken from ...