Search found 29 matches

by aigo
2017-08-17T13:43:41-07:00
Forum: Users
Topic: Compute the difference between two images but with different dimensions
Replies: 8
Views: 1054

Re: Compute the difference between two images but with different dimensions

You can compare two different size images with histogram comparison metrics. See my bash unix script, histcompare, at my link below. Hi Fred, Thanks for your response. With regards to the metrics used in the scripts, which do you recommend will be a better indicator of difference between two images...
by aigo
2017-08-17T13:41:04-07:00
Forum: Users
Topic: Compute the difference between two images but with different dimensions
Replies: 8
Views: 1054

Re: Compute the difference between two images but with different dimensions

There are many ways of comparing two images. IM works by doing some arithmetic on each pair of pixels (one per image). For example, RMSE is the square root of the mean error (where "error" really means "difference"). So the differences in values from the two pixels are squared, then all added toget...
by aigo
2017-08-17T07:51:07-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: Questions mean shift noise removal and color reduction

I get these results with an unpublished process module, based on http://people.csail.mit.edu/tieu/notebook/kmeans/15_p600-hamerly.pdf k-means, without SD normalisation: http://snibgo.com/imforums/faces_kmeans.png k-means, with SD normalisation*: http://snibgo.com/imforums/faces_hk_norm.png fuzzy k-...
by aigo
2017-08-17T07:46:22-07:00
Forum: Users
Topic: Compute the difference between two images but with different dimensions
Replies: 8
Views: 1054

Re: Compute the difference between two images but with different dimensions

Hi Snibgo, Thanks for responding so fast. yes, I have done that but I worry that the resizing messes with the pixels in the images further. I am looking to measure the difference between two images, hoping it will give measurable insight into how good they will look in comparison to the original ima...
by aigo
2017-08-17T07:27:25-07:00
Forum: Users
Topic: Compute the difference between two images but with different dimensions
Replies: 8
Views: 1054

Compute the difference between two images but with different dimensions

Hi all,

I am trying to compare two similar images but with different dimensions. I have tried using the compare function in IM but it requires both images to be of same dimension.

Is there a way to go around this?

My IM version is 7.0.6-0. Mac OS Sierra 10.12.6

Thanks.

Aigo
by aigo
2017-08-06T08:22:22-07:00
Forum: Users
Topic: Clarification on use of colours and depth in IM
Replies: 12
Views: 2093

Re: Clarification on use of colours and depth in IM

glennrp wrote:
2017-07-28T17:22:36-07:00
Use -sample instead of -resize if you don't want to add interpolated colors.
Thanks so much..that works!

Is there any reason why resize behaves this way? Like a scientific reason?

Thanks!

Aigo
by aigo
2017-08-05T12:16:48-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: Questions mean shift noise removal and color reduction

Aah Nice..Thanks..
by aigo
2017-08-05T11:55:45-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: Questions mean shift noise removal and color reduction

Yeah..I have done that and it works perfectly.

Thanks!
by aigo
2017-08-05T01:19:37-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: Questions mean shift noise removal and color reduction

It should be bash kmeans.sh -n 20 faces.png faces_k10.png Perhaps you can post your faces.png image to some free hosting service and put the URL here so I can test your image. Thanks so much for this and the other examples. But I still get the white image. Could this be a platform problem? Thanks! ...
by aigo
2017-08-05T01:17:47-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: Questions mean shift noise removal and color reduction

It should be bash kmeans.sh -n 20 faces.png faces_k10.png Perhaps you can post your faces.png image to some free hosting service and put the URL here so I can test your image. Thanks so much for this and the other examples. But I still get the white image. Could this be a platform problem? Thanks! ...
by aigo
2017-08-04T03:40:59-07:00
Forum: Users
Topic: Mapping Central color to areas covered by edges
Replies: 10
Views: 1369

Re: Mapping Central color to areas covered by edges

Hi there.

Sorry about that.

Here's the sample image https://drive.google.com/file/d/0B3sq7o ... sp=sharing
IM version is 7.0.6-0, Mac-OS Sierra

Thanks!

Aigo
by aigo
2017-08-04T03:37:16-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: New: mean shift noise removal and color reduction

Hi Fred, I tried using the script but I keep on getting a white image.. I only used -n in the process. Kindly help. Thanks. Aigo! What is your IM version and platform? What was the command line you used? Did you follow the Pointers for use on my home page? 7.0.6-0 macOS Sierra this is the command I...
by aigo
2017-08-03T11:27:14-07:00
Forum: Users
Topic: Questions mean shift noise removal and color reduction
Replies: 22
Views: 3072

Re: New: mean shift noise removal and color reduction

Hi Fred, I tried using the script but I keep on getting a white image.. I only used -n in the process.

Kindly help.

Thanks.

Aigo!
by aigo
2017-08-03T09:26:23-07:00
Forum: Users
Topic: Mapping Central color to areas covered by edges
Replies: 10
Views: 1369

Re: Mapping Central color to areas covered by edges

That seems similar to: Flat-colour cartoons Partition boundary masks Cartoon and texture But perhaps not exactly the same? Yeah, the partition boundary masks are exactly what I am looking for. Sadly, for a newbie to IM like myself the tutorials are not easy to follow plus they are bat files. Is the...
by aigo
2017-08-03T09:21:39-07:00
Forum: Users
Topic: Mapping Central color to areas covered by edges
Replies: 10
Views: 1369

Re: Mapping Central color to areas covered by edges

You have not said what OS you are using. If on Unix-like systems, see my kmeans script at the link below. Also for any OS, see IM -mean-shift. Examples of the latter are at http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=25504 Yeah I am on UNIX, and both the k-means and mean-shift h...