[Cisco + Packet Tracer] Building a VLAN Network Using Switch in Packet Tracer

1. Open the Packet Tracer
2. Add a switch and four end devices (PC) to the workspace.

3. Link the router to each PC with copper straight-trough cable.

[Cisco + GNS3] Configuring IOS in GNS3

1. Open the GNS3 Simulator

2. Select Edit->IOS images and hypervisors, a new window appears


3. Under the Settings in IOS images tab, in "Image file", input the IOS image for your router, it should be a .bin file. I can't provide any of those images but you can search Google for "cisco IOS images".

[QT + VTK] Displaying DICOM Series Using VTK Widget and Sliderbar in Qt

This tutorial is a continuation from my previous post about displaying a single DICOM file. To install the VTK library, you should see tutorial how to install VTK library using CMAKE.
1. Create a new "Qt GUI Application" Project in Qt
2. Open the .pro file, add the following items in it:
LIBS += -L/usr/local/lib/vtk-5.10 #folder to your VTK library

LIBS += -lvtkCommon \
        -lvtkRendering \
        -lvtkVolumeRendering \
        -lQVTK \
        -lvtkIO \
        -lvtkFiltering \
        -lvtkgdcm
INCLUDEPATH += /usr/local/include/vtk-5.10 #folder to your VTK include files

[Qt + VTK] Displaying Single DICOM File Using VTK Widget in Qt

To install the VTK library, you should see tutorial how to install VTK library using CMAKE.
Read this post if you want to read a series of DICOM files using sliderbar.
1. Create a new "Qt GUI Application" Project in Qt
2. Open the .pro file, add the following items in it:
LIBS += -L/usr/local/lib/vtk-5.10 #folder to your VTK library

LIBS += -lvtkCommon \
        -lvtkRendering \
        -lvtkVolumeRendering \
        -lQVTK \
        -lvtkIO \
        -lvtkFiltering \
        -lvtkgdcm
INCLUDEPATH += /usr/local/include/vtk-5.10 #folder to your VTK include files

[Qt + VTK] Install VTK with Qt Integration using CMake-GUI (Linux & Windows)

If you already finished installing VTK, let's try the examples to read single DICOM file and DICOM file series.
1. Download Cmake-GUI and install:

    1. Open the Synaptic Manager, search for the Cmake-gui then install it.
    2. Open terminal, then type apt-get install cmake-qt-gui
    3. Download and install it from source: http://www.cmake.org/cmake/resources/software.html

[Qt + OpenCV] Displaying Images and Convert to Grayscale

If you are interested to just display the image, see displaying image in Qt with OpenCV.
1. Create a new Qt GUI Application project.
2. Add a new Label and 3 Push Buttons (Open Image, To Grayscale, and Reset buttons) in the form.
3. Do the rest with writing the program:

Linux Shortcuts and Commands


Legend:
<> = single special or function key on the keyboard. For example <Ctrl> indicates the "control" key.
italic = name of the file or variable you probably want to substitute with your own.
fixed width = in-line Linux commands and filenames.
Notes for the UNIX Clueless:
1. LINUX IS CASE-SENSITIVE. For example: Netscape, NETSCAPE and nEtscape are three different commands. Also my_filE, my_file, and my_FILE are three different files. Your user login name and password are also case sensitive. (This goes with the tradition of UNIX and the "c" programming language being case sensitive.)
2. Filenames can be up to 256 characters long and can contain letters, numbers, "." (dot), "_" (underscore), "-" (dash), plus some other not recommended characters.
3. Files with names starting with "." are normally not shown by the ls (list) or dir commands. Think of these files as "hidden". Use ls -a  (list with the option "all") to see these files.
4. "/" is an equivalent to DOS "\" (root directory, meaning the parent of all other directories).
5. Under Linux, all directories appear under a single directory tree (there are no DOS-style drive letters).
6. In a configuration file, a line starting with # is a comment.