Category Archives: development

Correcting shaded illumination on medical image.

      Comments Off on Correcting shaded illumination on medical image.

By using CLAHE algorithm, there’s some problem occurs by object shapes like this: Each edge side of object going too darken by window leveling. It is defecting issue of CLAHE. So I tried to make it corrected with shading correction. Here is source raw image, 14bit gray. First, I need… Read more »

tinydicom + rawprocessor lesson #2

      Comments Off on tinydicom + rawprocessor lesson #2

Now it’s time to next step for using my open sources,  And here I like to introduce how loads DCM and what it contains inside tags. Just read my example code to read DICOM tags from DCM file, it should help what inside. #ifdef __APPLE__ #include <sys/uio.h> #elif _WIN32 #include… Read more »

tinydicom + rawprocessor lesson #1

      Comments Off on tinydicom + rawprocessor lesson #1

Here I planned to write some lessons to understand what is libtinydicom (Tiny DICOM library) and librawprocessor (RAW Processing library) for most of modern compilers except M$VC – unfortunately I am sorry about supporting M$VC, but I don’t like care about distinct, banishing standard compiler. Ok, let understand what is… Read more »

An open source graphical help tool library, fl_imgtk.

      Comments Off on An open source graphical help tool library, fl_imgtk.

Here is an open source library helps many Fl_RGB_Image processing to make some featured GUI.  You can clone or download source code in free on GitHub page. It designed to work with any type of gcc ( llvm-gcc and MinGW-W64 ) with just a copy and type ‘make’, or modify… Read more »

FLTK tech, HICON to Fl_RGB_Image

      Comments Off on FLTK tech, HICON to Fl_RGB_Image

This is a simple source code for converting Windows HICON to Fl_RGB_Image for my own customized FLTK window. Before understanding how it works, It must be requires understanding of some Windows API like LoadImage(). API, icon_to_flrgb() Fl_RGB_Image* icon_to_flrgb(HICON hIcon) { BITMAP bm; ICONINFO iconInfo; GetIconInfo(hIcon, &iconInfo); GetObject(iconInfo.hbmColor, sizeof(BITMAP),&bm); int width… Read more »

Applying HDR in medical image.

      Comments Off on Applying HDR in medical image.

Prologue High dynamic tone mapping is a kind of graphical thesis to indemnify exposure of whole a image specially such as 256 leveled Red, Green, Blue (+Alpha transparency) formats. But high dynamic calculates all pixel levels as an floating point number with luminance ( in case of RGB, it convert… Read more »

RAW scale process speed at Intel AVX instruction.

      Comments Off on RAW scale process speed at Intel AVX instruction.

Testbase My medical RAW image scale processor benchmarked for Intel AVX instruction set. It was fully reprogrammed for be affected by optimization algorithm by compiler option. Specification of benchmark CPU: Intel Core i7-6700 @ 4GHz (Skylake-S) Memory: DDR4-1066 16GB (Single channel) OS: Windows 7 professional 64bit Compiler MinGW-W64 64bit version… Read more »