Search found 7 matches

by RobShawUK
2018-11-21T08:57:48-07:00
Forum: Users
Topic: Balancing colours between map tiles
Replies: 6
Views: 3912

Re: Balancing colours between map tiles

When I try to compile cols2mat.c I'm getting the error

Code: Select all

vsn_defines.h(66) : error C2198: 'SetImageStorageClass' : too few arguments for call
have you any idea why that might be?
by RobShawUK
2018-11-21T01:05:04-07:00
Forum: Users
Topic: Balancing colours between map tiles
Replies: 6
Views: 3912

Re: Balancing colours between map tiles

The image shows where 4 tiles come together (slightly up and right from the image centre). I haven't done any pre-processing, although the full images are a higher resolution than that snapshot. It possible that the cols2mat functionality you explain on your web page may do what I need so I'll give ...
by RobShawUK
2018-11-20T08:38:12-07:00
Forum: Users
Topic: Balancing colours between map tiles
Replies: 6
Views: 3912

Re: Balancing colours between map tiles

Snibgo Thanks. Here's an example of where 4 of the tiles intersect. You can see the strong colour shift at the edges. https://photos.app.goo.gl/kjaVxgTMP584VcuF7 What I'm going to do it convert to greyscale using -color-matrix "1 -0.5 -0.5 1 -0.5 -0.5 1 -0.5 -0.5" i.e. R-(G+B)/2 so I could...
by RobShawUK
2018-11-20T01:50:51-07:00
Forum: Users
Topic: Balancing colours between map tiles
Replies: 6
Views: 3912

Balancing colours between map tiles

I have a large number (10k+) of aerial image tiles that have been colour matching in small groups. This means that between some pair of tiles there is a noticeable "cliff edge" as the tint of the changes. I'm hoping to use IM to correct this. I've tried using Snibgo's ImgGainBias batch fil...
by RobShawUK
2018-09-26T02:31:13-07:00
Forum: Users
Topic: Looping through folders and output convert to txt file with filename
Replies: 3
Views: 2737

Re: Looping through folders and output convert to txt file with filename

This code works great thanks. Can a similar command be used to get the values for all pixels if the -scale is larger than 1x1? E.g. magick 322_89.png -scale "4x4^!" test.txt puts the 16 pixel colours in a text file but without the filename etc. I'd want something like r.png (0,0) (128,190,...
by RobShawUK
2018-09-24T05:02:38-07:00
Forum: Users
Topic: Looping through folders and output convert to txt file with filename
Replies: 3
Views: 2737

Re: Looping through folders and output convert to txt file with filename

Thanks. I'm using 7.0.8-Q8 on Windows. I'll try that code
by RobShawUK
2018-09-24T02:22:26-07:00
Forum: Users
Topic: Looping through folders and output convert to txt file with filename
Replies: 3
Views: 2737

Looping through folders and output convert to txt file with filename

hi I have a large number of images in nested folders. I would like to loop through the images (they are small pngs) and capture the average colour of the image and write to a text file. I've tried doing this with magick convert *.png -resize 1x1 all.txt which works but doesn't include the filename (...