Miscellaneous questions
huscript -script myscript
If you wish to have more control on this process you can convert the data to the desired data type before saving. This can be done with the Convert -> Data and Channel type menu from the Operations Window or with the
command, e.g. a convert -type byte
.
img open <filename> ?-query? ?-foreignTo byte|int|float? ?-cmode clip|scale?
-foreignTo int -cmode clip
options.img open yourImage -foreignTo int -cmode clip
img open
.Select an image and open the Twin Slicer by either right-clicking on the image and selecting View > Twin Slicer or by the menu Visualization > Twin Slicer. In Huygens Essential there is an additional button to open the Twin Slicer in the main window.
When the Twin Slicer is opened, the image is shown in the left viewer. When you simply click on the image and then drag to another point a line a is drawn between the two points with a distance displayed next to it. In the right viewer a line plot is automatically visualized, which shows the intensity values where the line goes through. A drawn line can be deleted by selecting the line and pressing Delete on the keyboard.
- Tcl and the Tk Toolkit by John Ousterhout, ISBN: 0-201-63337-Z, Addison-Wesley, New York.
- Practical Programming in Tcl and Tk (4th Edition) by Brent Welch, Ken Jones, Jeffrey Hobbs, ISBN: 0-13-038560-3, Prentice Hall PTR.
For an online tutorial and explanation about the huygens commands, see:
Note: the be able to view the manual of Huygens Core you need to be logged in.