LEADTOOLS Support
General
General Questions
Re: Why are the X and the Y 179 in the Curve on the Dialog(by DoModalRemapIntensity) ? Thanks
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, February 18, 2008 4:52:51 PM(UTC)
Groups: Registered
Posts: 3
Please help me! I am beginner. Why are the X and the Y 179 in the Curve on the Dialog(by DoModalRemapIntensity) ?
The REMAPINTENSITYDLGPARAMS.uLookupLen is not effect when I set it is 65536( I use the image is 16-bit gray).
My Code:
{
REMAPINTENSITYDLGPARAMS DlgParams;
memset(&DlgParams,0,sizeof(REMAPINTENSITYDLGPARAMS));
DlgParams.uStructSize = sizeof ( REMAPINTENSITYDLGPARAMS ) ;
DlgParams.uChannel = CHANNEL_MASTER ;
DlgParams.bZoomToFit = true;
DlgParams.uLookupLen = 65536;
m_LAniWnd.DialogColor()->EnableToolbar(true);
m_LAniWnd.DialogColor()->EnableAutoProcess(true);
m_LAniWnd.DialogColor()->SetRemapIntensityParams(&DlgParams);
m_LAniWnd.DialogColor()->DoModalRemapIntensity(m_hWnd);
}
Thanks
LeadTools Version 15
Medical Imaging Viewer control (C++)
#2
Posted
:
Tuesday, February 19, 2008 7:05:16 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
I have reproduced this problem and have reported it with the incident number 6693IDT. This incident will be reviewed and prioritized by our engineering department. I will contact you when I get more information from our developers.
If you have any more questions, please let me know.
#3
Posted
:
Tuesday, February 19, 2008 4:06:31 PM(UTC)
Groups: Registered
Posts: 3
Thanks. I wait for your responses.
#4
Posted
:
Thursday, March 13, 2008 8:20:09 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The developers working on your incident, 6693IDT, have let me know that this is by design. The Data beween 0-255 is normalized to be from 0 to 179. If you want to convert one value to another, just use the ratio of 179 to 255 to get the approximate value.
LEADTOOLS Support
General
General Questions
Re: Why are the X and the Y 179 in the Curve on the Dialog(by DoModalRemapIntensity) ? Thanks
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.