Sunday, November 27, 2005

PACS and Imaging Informatics ( PII )

PACS and Imaging Informatics - Basic Principles and Applications

H.K. Huang

Wiley-Liss 2004

Wednesday, November 23, 2005

Living photos using bacteria as pixels

Scientists at UC San Francisco have engineered bacteria to create living photographs that weigh in at 100 megapixels per square inch. The photos were created by projecting light on "biological film" -- billions of genetically engineered E. coli growing in dishes of agar.

BrainBlog article

Slashdot Discussion

Friday, November 11, 2005

DirectX : Rotating 3D Cube

Just compiled and successfully ran the rotating 3D cube.

Errors and solutions:

1. direct5 error LNK2019: unresolved external symbol __imp__timeGetTime@0 referenced in function "void __cdecl SetupRotation(void)" (?SetupRotation@@YAXXZ)

Sol: Include winmm.lib for the linker


2.
direct5 error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "void __cdecl SetupCamera(void)" (?SetupCamera@@YAXXZ)

direct5 error LNK2019: unresolved external symbol _D3DXMatrixMultiply@12 referenced in function "void __cdecl SetupRotation(void)" (?SetupRotation@@YAXXZ)

direct5 error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "void __cdecl SetupPerspective(void)" (?SetupPerspective@@YAXXZ)

direct5 error LNK2019: unresolved external symbol _D3DXMatrixRotationX@8 referenced in function "void __cdecl SetupRotation(void)" (?SetupRotation@@YAXXZ)

direct5 error LNK2019: unresolved external symbol _D3DXMatrixRotationY@8 referenced in function "void __cdecl SetupRotation(void)" (?SetupRotation@@YAXXZ)

direct5 error LNK2019: unresolved external symbol _D3DXMatrixRotationZ@8 referenced in function "void __cdecl SetupRotation(void)" (?SetupRotation@@YAXXZ)

Sol: Include d3dx8.lib for the linker


3. direct5 fatal error LNK1104: cannot open file 'libci.lib'

Sol: Project > Properties > Linker > Input > Ignore specific library : libci.lib


DirectX in Visual Studio .NET 2003

Just ran my first DirectX program in Visual Studio .NET.

Source code from Andy's tutorial

Two linking errors which popped up were:

Error 1. direct3 error LNK2019: unresolved external symbol _Direct3DCreate8@4 referenced in function "long __cdecl InitialiseD3D(struct HWND__ *)" (?InitialiseD3D@@YAJPAUHWND__@@@Z)

Solution:
Did a Google search and managed to find a single page with thread about solving this particular error; but it was in Polish! (probably a better selection / editing of the words would've given me more pages, some certainly in English). Used the online Polish translator, which decoded me to give:

"This error means, that with library related with title not zlinkowałeś, you have included (have switched on) which (who). If you have included (have switched on) d3d8.h, you must add file in options of projects > linkera d3d8.lib, if you have included (have switched on) d3dx8.h, then you must add d3d8.lib and d3dx8.lib. It will it won't hurt except it dxerr8.lib. "

Project > Properties > Linker > Command Line and d3d8.lib in Additional Options solved the problem.

Error 2: direct3 error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup

Solution: A simple Google search.
Project > Properties > Linker > System and changing Subsystem to Windows solves the problem.

Monday, November 07, 2005

Medical Image format FAQ

http://www.dclunie.com/medical-image-faq/html/toc.html

Wednesday, November 02, 2005

Dicom Info (psu)

Dicom Information