Search found 308 matches

by VanGog
2016-05-30T12:15:07-07:00
Forum: Users
Topic: Locate subimage
Replies: 23
Views: 23170

Re: Locate subimage

convert highway_mask.png small_img_board_1.png miff:- |^ compare -metric RMSE -subimage-search - miff:- |^ convert - -delete 0 -grayscale CMD says: file not found convert highway_mask.png small_img_board_1.png miff:- | compare -metric RMSE -subimage-search - miff:- | convert - -delete 0 -grayscale ...
by VanGog
2016-05-30T11:01:54-07:00
Forum: Users
Topic: Locate subimage
Replies: 23
Views: 23170

Locate subimage

I tried this command taken from here http://www.imagemagick.org/Usage/compare however in Windows batch (CMD) it produces error: convert large_image.png small_image.png miff:- | compare -metric RMSE -subimage-search - miff:- | convert - -delete 0 -grayscale Why there are the pipe-lines? If I omit the...
by VanGog
2016-05-29T23:56:45-07:00
Forum: Users
Topic: How to detect amount of pixels of some color in area?
Replies: 3
Views: 6377

Re: How to detect amount of pixels of some color in area?

I have tested your code: https://1.bp.blogspot.com/-RifbYC9NIUg/V0viEeUof3I/AAAAAAAAC10/4VL6-qgX3tk2FFIyEH4iFVkNXik9unSQACKgB/s1600/paths.jpg The problem is that is does not found the junctions except one. convert paths.jpg -virtual-pixel White -blur 0x9 -colorspace Gray -auto-level -threshold 5%% j...
by VanGog
2016-05-29T14:49:23-07:00
Forum: Users
Topic: Correction of -fill
Replies: 3
Views: 2898

Re: Correction of -fill

I do not have better input data. I can send you the script which I found. I updated this post after correction of values and now it works perfectly. I have added two samples (3 third sample is duplicate of the 1st one). As a hue I used the values directly from Photoshop in degrees. Using batch file:...
by VanGog
2016-05-29T13:29:33-07:00
Forum: Users
Topic: Correction of -fill
Replies: 3
Views: 2898

Correction of -fill

Edit: You can delete this question. I have found script which solve this problem perfectly. I better paste the images on my blog because it is faster then upload them to tinyimg (they upload images in low quality on tinyimg.com) http://war-thunder-gaming.blogspot.cz/2016/05/im.html This is the origi...
by VanGog
2016-05-29T11:25:48-07:00
Forum: Users
Topic: How to detect amount of pixels of some color in area?
Replies: 3
Views: 6377

How to detect amount of pixels of some color in area?

Is there a way how to do the following in IM 6.7.5-1 2012-01-28 Q8? When I have image with some lines like this: http://oi64.tinypic.com/2e2qoog.jpg I would like to detect places where the lines are crossed. To be more exact, I am not interested in the places which are crossed... This is related to ...
by VanGog
2016-05-29T10:46:42-07:00
Forum: Users
Topic: Paint bucket tool
Replies: 20
Views: 21052

Paint bucket tool

How to simulate bucket tool in IM? Paint Bucket in Photohop is tool which takes coordinates you specified by clicking on certain location in a image, and then it fills a color in a specified tolerance. The effect which I would to do looks similar like this: convert colorwheel.jpg -fuzz 10%% -fill wh...
by VanGog
2015-01-27T01:25:46-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

I have found very interesting article, this is from point of view of programming. It explains the basis. There are also algorithms in Java but this is similar to C/C++. Basis of DSP (Digital Signal Processing) http://www.developer.com/java/other/article.php/3374611/Fun-with-Java-How-and-Why-Spectral...
by VanGog
2015-01-26T13:01:35-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

It's truth that you have the log command everywhere so no need to mention that. The article is long so it is not simple to remember all details on reading once. If one checks the code, so it is there. But still I think best would be call it logarithmic transformation of magnitude or logarithmic scal...
by VanGog
2015-01-26T10:45:27-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

You confirmed that it is not possible to use more cores for FFT computations, but is it possible to join four different magnitudes to one image, and four different phase to one image and then join it and get the original image? I believe this would be mathematically possible even it sounds like non-...
by VanGog
2015-01-26T04:41:38-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

Both articles are good but I think something is missing there or could be explained better about the basis. I have found this article which seems to me better explained: http://homepages.inf.ed.ac.uk/rbf/HIPR2/fourier.htm Very good sentence in the above link, answered very good question: what is pro...
by VanGog
2015-01-25T02:16:22-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

what is difference in sign -/+ ? Between +fft and -fft? When you create two images by -fft: one spectrum and second phase, are they the arrays of real and imaginary numbers respectively? Or is it something different? I have seen the real and imaginary parts in spectrum of sinus function, so I am int...
by VanGog
2015-01-24T14:42:34-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

No, thanks. I should be able to build my own program for this (at least now I know that the library exists - thanks!). But I was impatient and wanted to try... The FFT calculation is not so hard but the things around it takes time.
by VanGog
2015-01-24T14:14:10-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Re: Fourier transform

I wanted to try some of your examples but this ImageMagick-6.9.0-Q16> convert lena.png -fft +depth +adjoin lena_fft_%d.png does this error: convert.exe: delegate library support not built-in `lena.png' (FFTW) @ warning/fourier.c/ForwardFourierTransformImage/982. I did not yet make myself to install ...
by VanGog
2015-01-24T05:37:17-07:00
Forum: Digital Image Processing
Topic: Fourier transform
Replies: 14
Views: 23955

Fourier transform

Hi, I read your article. Just before this: http://www.imagemagick.org/Usage/fourier/#waves_2d there is sentence: The wave has a number of components to it. Image example But missing the example. I started to read your article because I am interested of explanation of the Fourier Transform used on im...