Jump to content

 
Photo

euclidean allocation in photoshop

- - - - -

  • Please log in to reply
5 replies to this topic

#1
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

In ArcGIS you have this handy toolbox tool 'Euclidean Allocation' that I have used a bit lately. It lets you 'grow' raster data into 'nodata' cells, to fill holes or to expand land data into the ocean (to better match coastlines, for instance).

But is there a way to do something similar in Photoshop? So that one can draw a box, delete the contents and then fill the box with values from the neighbouring cells?

I know that this is not a very good explanation - I hope you get it!

Here is the description from the ArcGIS documentation of the EucAlloc tool
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#2
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

I am still looking for this, but in the mean-time, I have found that content-aware fill works reasonably well... !
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#3
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

I guess another way to do this, on a full-color (e.g. RGB) image) is to separate the channels into separate images in ArcGIS, run Euclidean Allocation on each images, and then re-assemble them to an RGB stack before exporting...
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#4
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

I have found a solution - or rather Nat Kelso and Tom Patterson (more the latter?) has - there doesn't seem to be a web page or blog post for it, so I'll just link directly to the file (Nat tweeted it). I guess it was in the PCD at this year's NACIS. The Photoshop action works very well for me, and it is actually quite simple (maybe I could have invented this myself!)
http://kelso.it/x/1b1
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#5
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

(Note that I have also started a thread a while ago on the Photoshop forums...)
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#6
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,303 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

From Nat - the web page is located here: http://www.shadedrelief.com/shelton/ - the link is the "droplet for buffer" on the lower right...
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->