Search found 16 matches

by thorax
2013-07-14T16:27:05-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

Ok, im not sure if you read bash, but ive wrapped up all the notes and came up with a script. The only manual imput is the AREA_A and AREA_B . Ill look in the future how to automatize this as well, but for this test well have to do it manually #!/bin/bash ARGS=2 if [ $# -ne $ARGS ] then echo "Usage ...
by thorax
2013-07-14T14:36:44-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

ok ive build from source last version and now: alejandro@desktop:~$ convert new-test.png -depth 16 -crop 64x1024+0+0 +repage -colorspace Lab -resize 1x1! -colorspace sRGB txt: # ImageMagick pixel enumeration: 1,1,65535,srgba 0,0: (17295,15135,14566,65535) #438F3B1F38E6 srgba(26.3905%,23.0945%,22 ...
by thorax
2013-07-14T14:03:55-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

im using the same image as you.. this is weird.. i even re downloaded the image from the host to discard any host format change that may be going on. im on linux, my im version is: alejandro@desktop:~$ convert -version Version: ImageMagick 6.6.0-4 2012-05-02 Q16 http://www.imagemagick.org Copyright ...
by thorax
2013-07-14T08:30:57-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

i get a totally different result form that line of code: alejandro@desktop:~$ convert test.png -depth 16 -crop 128x1024+0+0 +repage -colorspace Lab -resize 1x1! -colorspace sRGB txt: # ImageMagick pixel enumeration: 1,1,65535,srgba 0,0: ( 1591, 1264, 1363,65535) #063704F00553 srgba(2.42771%,1.92874 ...
by thorax
2013-07-13T18:06:56-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

sorry i dont get how you calculate average RGB:

Code: Select all

rgb(17.6394%%,15.5306%%,15.964%%)
Im using the code above and setting colorspace to RGB but im getting different results
by thorax
2013-07-13T17:29:58-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

wow men you rock!!! the result of this test img is very very close. There will always be some very small noticeable differences since the pictures may be taken months or years in between. But for this purpose its very close. And in the flight simulator you have limited view range , and also the view ...
by thorax
2013-07-13T06:01:22-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

cool that is something i can calculate in a script.

now i have to look into how to determine where each "tone" area is , with the mask you told me

thank you so much !
by thorax
2013-07-12T18:32:40-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

The left part has approx hue = 330 degrees, saturation = 11%, lightness = 17%.
The right part has hue = 113 degrees, sat = 30%, lightness = 24%.
how did you get those values?
by thorax
2013-07-12T10:18:21-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

From your sample image, which is 1024x1024 pixels, it is easy to write a script that make the left portion look more like the right, eg with "-modulate": convert test_field.png -modulate 140,270,160.28 tf.png A mask would determine which part of the image to change. However, if you have 2500 such ...
by thorax
2013-07-12T10:06:21-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

what i have noticed is that the areas of gradient change are either pretty much vertical or horizontal lines

would it be possible to detect these lines automatically and input that into the -modulate command?
by thorax
2013-07-12T10:01:13-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

I suspect the tile is a composite made from two photos, in two passes of a survey aircraft. Looking at Thu_Jul_11_114529_ART_2013.jpg, and thinking about 2500 images about how to automate the grading process: You may have a fairly small number of grade sets. (Terminology: "grading" is a term used ...
by thorax
2013-07-12T09:56:17-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

Thanks guys a lot for the help. Let me try to respond the questions: however, if you have 2500 such images, you would also need to automate the process of determining which part of each image is correct and which is incorrect, and thus the required shifts in hue, saturation and lightness. yes that ...
by thorax
2013-07-11T16:25:25-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

this is one single photo. The thing is that my process outputs the textures already cropped. So i dont have at any point the big picture. Else its totally impractical since we are talking about 2500 textures of 2048x2048. If i had to merge them together into one single file would be gigantic. I don ...
by thorax
2013-07-11T14:22:28-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

this looks complicated. Ive tested some examples with no luck.

This is a sample texture that features the boundary. The end result should be all green, the same tone

Image

can you please give me a hint on the parameters to achieve this?

thank you
by thorax
2013-07-11T10:57:59-07:00
Forum: Users
Topic: "even out" textures
Replies: 28
Views: 8761

Re: "even out" textures

Of course im with linux :D , ill investigate your links. Thanks so much!