Search found 35 matches

by simeon
Wed, 2021-10-06, 22:05
Forum: DCMTK - General
Topic: CR image is not shown good after convert to JPG
Replies: 4
Views: 2507

Re: CR image is not shown good after convert to JPG

I think it is not related with Windows Center/Width. Because I already try to change them.
Could it related with following?
- Presentation LUT Shape(2050,0020) - INVERSE
- Photometric Interpretation(0028,0004) - MONOCHROME1
by simeon
Wed, 2021-09-29, 13:03
Forum: DCMTK - General
Topic: CR image is not shown good after convert to JPG
Replies: 4
Views: 2507

CR image is not shown good after convert to JPG

Hello, I have a question about one image from a CR modality. When I convert it to JPEG, it doesn't look as it must look. I use following: >dcmj2pnm +oj 0001001A sample.jpg The left is converted to JPG, on the right how it must look. https://sas.bg/temp/cr.png Link to the file: https://sas.bg/temp/sa...
by simeon
Thu, 2017-09-07, 23:31
Forum: DCMTK - Installation
Topic: Visual studio and macro NOMINMAX
Replies: 2
Views: 3534

Re: Visual studio and macro NOMINMAX

Thanks.
by simeon
Wed, 2017-09-06, 13:17
Forum: DCMTK - Installation
Topic: Visual studio and macro NOMINMAX
Replies: 2
Views: 3534

Visual studio and macro NOMINMAX

Hello, I noticed one small problem when I use dcmtk 3.6.2 There is a commit from Apr 25, 2016 about NOMINMAX, but I noticed in file dcmtk/ofstd/oflimits.h there are 3 uses of numeric_limits<>::max that have to be (numeric_limits<>::max) template<typename T> struct OFnumeric_limits : std::numeric_lim...
by simeon
Tue, 2016-12-13, 09:59
Forum: DCMTK - General
Topic: about _fstati64
Replies: 3
Views: 4928

Re: about _fstati64

I was curios why we have to use _fstati64 to implement seek. There is a comment in the file that there is no 64 bit seek for WIN32. This issue is not fixed yet in VS2015 update 3. Many users still use Windows XP ;) I know that is old Windows version, but ... Nevermind, Please delete this topic, beca...
by simeon
Fri, 2016-11-25, 15:48
Forum: DCMTK - General
Topic: about _fstati64
Replies: 3
Views: 4928

about _fstati64

Hello, OFFile::fseek use _fstati64 to get file size for WIN32 plaforms. I have a question about that. Why you don't use _fseeki64. I am writing about that because VS2015 has a bug with _fstati64 on WindowsXP. It doesn't work. https://connect.microsoft.com/VisualStudio/feedback/details/1557168/wstat6...
by simeon
Thu, 2010-01-14, 10:14
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

Thanks.
by simeon
Wed, 2010-01-13, 20:43
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

When I choose 'Visual Studio 9 2008 Win64' in Cmake is OK with generating project.
Image
by simeon
Wed, 2010-01-13, 13:52
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

I test it on Windows XP and Windows 7(x64). MSVC 2008 SP1 My application is unicode and for that reason is defined UNICODE. Which CMakeList.txt? I download dcmtk-3.5.5_20091222.tar.gz. Exctract it. And in root there is CMakeList.txt. I find in /MT and /MTd flags in it. After that I load CMake and I ...
by simeon
Wed, 2010-01-13, 12:54
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

I build version 3.5.4 many times. I make changes in GUI not in CMakeLists.txt

When I open generate project, preprocessor Definitions are DCMTK_BUILD_DATE=\"2009-12-22\",_REENTRANT,CMAKE_INTDIR=\"Debug\".
It is very strange.
by simeon
Wed, 2010-01-13, 10:19
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

Thanks I haven't seen reporting for second issue. Sorry Also I said for generating project files with CMake. CMake always generate with /MT and /MTd even changed it. I append other defines as /D_BIND_TO_CURRENT_VCLIBS_VERSION. and it also missing form generate projects. I try with new version of Cma...
by simeon
Tue, 2010-01-12, 22:47
Forum: Third-Party DCMTK Applications
Topic: MicroDicom is free DICOM viewer for Windows based on DCMTK
Replies: 0
Views: 24155

MicroDicom is free DICOM viewer for Windows based on DCMTK

MicroDicom - free DICOM viewer for Windows It is based on the OFFIS DICOM Toolkit. MicroDicom is application for primary processing and preservation of medical images in DICOM format. It is equipped with most common tools for manipulation of DICOM images and it has an intuitive user interface. It a...
by simeon
Tue, 2010-01-12, 22:39
Forum: DCMTK - Installation
Topic: Compiling issue with MS Visual Studio 2005 (vc++)
Replies: 1
Views: 5178

You must generate projects of DCMTK with CMake for x64 compiler.
by simeon
Tue, 2010-01-12, 22:01
Forum: DCMTK - General
Topic: Modality LUT Sequence
Replies: 16
Views: 21872

I build it. I notice few problem. When I build my application it has error in oflog/streams.h LOG4CPLUS_STREAM_NAMESPACE is not define. I must define as: #define LOG4CPLUS_STREAM_NAMESPACE std Other problem is with OFString. Let value of DCM_WindowCenter is 123\123. OFString WC; pDataSet->findAndGet...