Probe Software Users Forum

Software => CalcImage => Topic started by: Ben Buse on May 06, 2025, 10:19:49 AM

Title: QGIS and grd files
Post by: Ben Buse on May 06, 2025, 10:19:49 AM
Hi

I thought I'd mention QGIS, which I use to combine info from jeol software and pfe software in spatial space (flatbed scan, images, points). And also separate for SEM

I don't know if others use it and whether they also use it for presentation output

QGIS readily opens .grd files, can just drag into window, for JEOL want to rotate view 180 given axes polarity

Can select false colour palette and various selections for min and max

On print layout can have map image, scale bar and color bar. Which with a little tweaking get what you want

Map size function of scale attribute, and can position content by selecting move content

Scale bar can choice map units, and change to display as microns by changing scale factor and label

Colorbar can resize by unselecting link, clicking on color ramp and then format as like as here https://www.youtube.com/watch?v=cHhn1g5B6Do (https://www.youtube.com/watch?v=cHhn1g5B6Do)

An example here
(https://smf.probesoftware.com/gallery/453_08_05_25_1_18_29.png)
Title: Re: QGIS and grd files
Post by: Ben Buse on May 07, 2025, 11:06:57 AM
What's nice is can also do line profiles in QGIS

Either using elevation profile - single pixel width (tolerance) doesn't seem to do much

Or using wiscsims line profile plugin which allows wide lines averaging data 90 to line
Unfortunately it expects data to be in microns and wide lines averaging doesn't accept decimals
It would be nice if wiscsims made an adapted version for calcimage grd files expecting values in millimeters
As currently can transform grd from mm to um by using by transformjng from crs m to crs mm
https://github.com/wiscsims (https://github.com/wiscsims)
Title: Re: QGIS and grd files
Post by: Ben Buse on May 08, 2025, 01:12:22 AM
Here's a screenshot of the wiscsims line profile plugin, having first converted the grid using raster>projections>warp menu and setting the source crs to m and the target crs to mm (to convert from mm to um)

The line width is displayed on map by checking the box in development tab

(https://smf.probesoftware.com/gallery/453_08_05_25_1_11_19.png)
Title: Re: QGIS and grd files
Post by: sem-geologist on May 26, 2025, 04:21:07 AM
Oh QGIS is much much more capable.
I think it is excellent base software to build some easy to use correlative microscopy app.
where it shines is that it loads and handles huge tiff (few GB) like it would be a piece of feather, works like a breeze, very easy to write plugins (if familiar with python).