Skip to content
luisibanez edited this page Sep 14, 2010 · 8 revisions

What you need to Download

Download V3D

The binaries for your platform are available for download at:

http://penglab.janelia.org/proj/v3d/V3D/Download.html

Install V3D in any directory of your choice. We will refer to that directory as: “V3D_BINARY_DIR”

Download the source code of the plugins from

http://github.com/luisibanez/ITK-V3D-Plugins

Typically:

If you have write access, use

git clone [email protected]:luisibanez/ITK-V3D-Plugins.git

or, if you only have read access, use:

git clone git://github.com/luisibanez/ITK-V3D-Plugins.git

then

cd ITK-V3D-Plugins

We will refer to the directory where this source tree is, as “ITK-V3D-Source-Dir”

Configuration

Running CMake

Create a binary directory in which the plugins will be build.
We will refer to this directory as “ITK-V3D-Binary-Dir”

Do

mkdir ITK-V3D-Binary-Dir
cd ITK-V3D-Binary-Dir
ccmake ITK-V3D-Source-Dir

In the configuration dialog set the values of the variables

  • ITK_DIR to the binary directory where you built ITK
  • V3D_BINARY_DIR to the binary directory where you installed V3D
  • QT_QMAKE_EXECUTABLE to the executable of “qmake” corresponding to the version of Qt that you want to use (it should be at least Qt 4.5.2)

Then

  • Hit “c” to “configure”
  • Hit “g” to “generate” the makefiles
  • type “make”
  • type “make install”

Testing

At this point the plugins should have been copied to the V3D_BINARY_DIR/plugins directory.

You can then do

cd V3D_BINARY_DIR
and launch v3d

  • In the top menu bar, select the option “File”
  • The “Open Stack in a New Window”
  • Use the File Dialog to locate an image to load
  • Select that image and load it.
  • In the top menu bar, select the option “Plug-In”.
  • It should present a drop-down menu with groups of plugins, one of which should say: “Smoothing”.
  • If you select that sub-menu, you should see another menu with multiple entries, one of which is “Median Filter”
  • Click in that option
  • At that point, the ITK Median filter should run in your image, and the original image will be replaced by the new smoothed image.