Re: Doese ImageJ contains Hill Shade ?
Posted by
Michael Schmid on
Oct 10, 2014; 5:26pm
URL: http://imagej.273.s1.nabble.com/Doese-ImageJ-contains-Hill-Shade-tp5009995p5009997.html
Hi Feras,
there is no hillshade plugin that I am aware of.
It would be simple to implement a very basic one; see e.g.
http://edndoc.esri.com/arcobjects/9.2/net/shared/geoprocessing/spatial_analyst_tools/how_hillshade_works.htmA rough approximation is the gradient. This can be calculated by convolution with a simple 3x3 matrix: You have to convert the image to float first (Image>Type>32 bit). E.g. convolving (Image>Process>Filters>Convolve) with something like the following looks like illumination from the left:
-0.25 0 0.25
-0.5 0 0.5
-0.25 0 0.25
Process>Shadows calculates the sum of the image and the gradient.
Michael
________________________________________________________________
On Oct 10, 2014, at 18:41, Feras wrote:
> Hi All,
>
> I just wonder if imageJ contains Hillshade functionality ? If so how can I find it?
>
> Thanks,
> Feras
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html