creating a new DICOM file from existing one using DCMTK
I am trying to create a new DICOM file from an existing DICOM file. So, the=
scenario is that I have a DICOM file and I do some image processing on it =
and produce a transformed/processed file and I would like to save it using =
the original file as a template.=20
The only things that change are=20
1: The pixel data
2: The rescale and offset tags.
Does anyone know how I can achieve this with DCMTK? I looked at various exa=
mples but most of them show how to save a JPG or BMP image into a new DICOM=
On Monday, October 27, 2014 7:28:29 PM UTC+1, Luca Pamparan...Re: [tao-users] _this creates a new reference even thoughtheobject is activated already
>> I was able to reproduce the problem again, where a call to _this() acquires
>> memory which is not released. I am sure that this is probably an issue of my
>> program rather than a bug in TAO. In order to track memory leaks, I have
>> dump memory leaks at the end of my program execution. One of the memory
>> leaks is when calling _this, I have attached call_stack_1.txt which contains
>> the call stack of the call to "new" that is not released.
>> Also a lot of memory is not released, which is acquired during the call to
>> ORB_init (see call_stack_2 for the call stack). The odd thing is, that in a
>> smaller example, where I initialize and shutdown the ORB exactly the same.
>> This memory is released. Also all memory from _this calls is released. I
>> create and shutdown my servant as follows:
>> NameDictionary_impl * nameDic_i = new NameDictionary_impl();
>> NameDictionary_var nameDic = nameDic_i->this();
>> PortableServer::ObjectId_var obj_id =
>> By calling nameDic_i->_remove_ref(), the NameDictionary_impl object is
>> Do you have any clues, why this memory might not be releas...Script to create new Sun One Directory Server 5.x instance? #2
There is a perl script available from Sun that will create a new
instance of a directory server 4.*. It's called create_instance.pl Sun
states that "This tool is not compatible with Directory Server 5.x."
Does anyone have or know where I can get a script or other tool that
will provide the same functionality for Directory Server 5.x?
...Re: [tao-bugs] _this creates a new reference even though the object is activated already
Thanks for using the PRF.
>> TAO VERSION: 1.4.7
>> ACE VERSION: 5.4.7
>> HOST MACHINE and OPERATING SYSTEM:
>> Debian Linux x86
>> COMPILER NAME AND VERSION (AND PATCHLEVEL):
>> THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
>> specific file, simply state which one]:
>> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
>> use a link to a platform-specific file, simply state which one
>> (unless this isn't used in this case, e.g., with Microsoft Visual
>> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
>> (used by MPC when you generate your own makefiles):
>> AREA/CLASS/EXAMPLE AFFECTED:
>> _this() function
>> DOES THE PROBLEM AFFECT:
>> EXECUTION? YES
>> _this function invoked on servant creates a fresh reference to the
>> object event though the object had been activated before.
>> 1. I have PERSISTENT/USER_ID/NO_IMPLICIT_ACTIVATION POA
>> 2. I activate the object within this POA with my object id
...Re: [tao-users] _this creates a new reference even though the object is activated already
since I have noticed as well, that each time you call _this() memory is
allocated which is not released. I have tried to override _default_POA() in
my servant class and I am returning the root POA reference. It works until I
am trying to shutdown the orb. An access violation exception is thrown in
object_adapter.cpp line 702:
TAO_Object_Adapter::close (int wait_for_completion ACE_ENV_ARG_DECL)
when the line
I am using ACE Version 5.4.6 and TAO Version 1.4.6 on a Windows XP SP2
computer. In my application I am using a thread pool for the ORB and one POA
- the root POA.
Thanks for your help.
Dipl.-Inform. Jan Ohlenburg
Fraunhofer Institut fuer Angewandte Informationstechnik FIT
Forschungsgruppe Collaborative Virtual and Augmented Environments
D - 53754 Sankt Augustin, Germany
> -----Urspr�ngliche Nachricht-----
> Von: firstname.lastname@example.org
> [mailto:email@example.com] Im Auftrag von Jonathan Biggar
> Gesendet: Samstag, 8. Oktober 2005 03:06
> An: Milan Cvetkovic
> Cc: TAO users; firstname.lastname@example.org
> Betreff: Re: [tao-users] _this creates a new reference even
> though the object is activated already
> Milan Cvetkovic wrote:
...Why Doesn't Labview Place New Indicators I create near existing ones on the block diagram?
When I create a new indicator from the block diagram side Labview usually places them way off in space on the front panel instead of near my other existing stuff. I then have to go find them and drag them back to where I can see them using labview's slow border autoscrolling. This is extremely annoying. I would think that after all the revisions of labview with all the intellegent app engineers NI has that something this simple would have been fixed a while ago. Is there a setting I don't know about or something? Doesn't everyone else have the same annoying problem? Help.
If you click on the indicator and hold shift-direction key you will scroll five pixels at a time instead of one. That's the best I can offer.
you're not the only one.. :(
See this link where we discuss "cosmetic" improvements for future version of Labview:
<a href="http://forums.ni.com/ni/board/message?board.id=170&thread.id=327752" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&thread.id=327752</a>
I bring up the subject here:
<a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=327914#M327914" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=327914#M327914</a>
Having a block diagram that spans over more than o...Labview 6.0 x LabView 7.0 list of enhancements or new features
Hi, Have u a 1 page document with the main enhancements or new
features, that we can base our decision to upgrade (or not) to version
LV 7 FAQS:
...how to use Active X in LabVIEW
i m trying to acquiring the images from the ethernet camera. for this i want to use the ActiveX control.
but i donot know how to use this Active X with Image Acqusition.
has your camera an ActiveX support? If yes, then use the "Automation Open" function, create a constant for "ActiveX Refnum" and select your type. Use invoke and property nodes to work with it. Don�t forget to close the reference if you are ready.
<a href="http://zone.ni.com/devzone/cda/tut/p/id/2983" target="_blank">ActiveX and LabVIEW</a>
...using ACTIVE X in labview
Please see attach file ,, this is Active X which called TPDFILTER.OCX . ? this suppose to recognize if usb device connected if yes letter E : rise
How can I use this active X in labview
This is the command in this ocx
System.String GetDriveLetterByHW_ID ( System.String strInput )
please i need this very urgent
...Using same GUI window to open new ones
I wrote a .fig file's name into button's callback funtion. When I click a b=
utton, a new GUI is opening and it's being 2 windows , when I click another=
button, another GUI is opening , and it's being 3 windows on the screen. B=
ut I don't want multiple windows on the screen. I want to use one main wind=
ow and open my GUIs' on that main window. How can I do that.(By the way I'm=
creating my GUIs'with GUIDE not with code)
Thanks in advance.
...How do I read multiple channels at one time using labview...
How do I read multiple channels at one time using labview with the
Fluke Hydra Data Bucket 2620a using serial port?
I need to take a reading of 15 channels about once a second. I can
read one value at a time using the monitor function on the read
values.vi driver, but this takes forever to read all the channels.
...Has anybody had an example of mapping using an active x in labview?
Thank you in advance.
Can you please provide a bit more information on what exactly you are
trying to do? Thanks!
...Concept required for creating new projects out of existing one
Since I am a beginner in ProE I may ask some foolish questions, please
bear with me.
I have made a simple assy and the drawings of the assy as well as the
parts. For a similar assy i need to copy the assy with drawings and
same parts with minor changes.
To be more specific, I need to create new product with new names for
the assy/parts/drawings by duplicating the existing without
redesigning it from scratch also the drawings.
I have tried it by adding the config option
rename_drawings_with_object < both> & all the concerned parts/drawings
in the session a...RE: Creating new table with same structure as existing one
How about altering the table to fragment it, putting the yyyymm rows into a
separate fragment, and then detaching that fragment into the new table? The
effectiveness of this approach probably depends on how big the original
From: Nebojsa Sevo [mailto:DELETE_mips@zg.tel.hr]
Sent: Tuesday, October 14, 2003 2:59 AM
Subject: Creating new table with same structure as existing one
I need to create "archive" table that will have the same structure as
When I run my program it have to create table named "pronop_yyyymm" ( yyyymm
argument to my program representing date in format year(4)month(2)) if it
doesn't exist. I will write rows from table "pronop" that are in given
month/year to "pronop_yyyymm" and delete them from "pronop" (I know that
is very slow but I don't have alternative).
What I want is not to change program (or part of program where I create
"pronop_yyyymm") when structure of table "pronop" is changed.
I am using I4GL. I have an idea to do it with "dbschema" and some scripting.
Is there any other way?
Remove spam block (DELETE_) to reply
sending to informix-list
...Create menu for instruction on how to use database when opened for the first time
I have an access database application that is used to calculate landed
costs for foreign goods imported into vartious countries. I am trying
to determine an approach so that a user will be prompted through a form
the first time they open the database to read through instructions for
how to use the application. Then once they have read through the
instructions, they can select a check box so that access will not open
that form at open.
Any advice to how to approach this would be appreciated.
If you want a simple do/don't display the help setting, open Northwind.mdb
(comes with access) ...Creating an instance when the argument is already an instance.
I am learning python -:)
I am creating a new class: package (to analyse the packages database in
some linux distros). I have created a class package such that
package("string") give me an instance of package if string is a correct
representation of a package. I would like that if pack is already an
instance of package then package(pack) just return pack.
This is exactly the behaviour of many of the built-in types. For
[oesser@pcolivier ~]$ python2
Python 2.7.3 (default, Apr 24 2012, 00:06:13)
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type "he...How to update a existing tag file without creating a new one?
I use ctags+vim to read source code. After I've done some
modification to the source code, for example, add some comments, remove
some code, the original tag should be updated. How can I just "append"
the modification to the original tag file? It really takes me a lot of
time to rebuild another tag file( 33M tag file for linux kernel 2.4 ;-)
And if I want to map this update feature to some key in vim, for
example, F5, how should I write the script?
Thanks a lot!
...Use New for multiple rept. instances conflicts w/ ControlSource on open
This is actually not an issue of mine, but one a friend of mine told me about
that I was able to confirm.
Let's say you want a highly customizable report, so you want to be able to do
things like specify the ControlSource properties of TextBox controls on the
report when it is run. The only time this works is in the Open event handler,
but that works great. So, no problem, right?
Now, say the report is called rptFoo, and you want to open multiple instances
of the report for preview, so now, instead of using DoCmd.OpenReport, you use
something like Set mrptKeepOpen1 = New Repor...opening new window in one window using Tkinter -- Help please
I meant to write an application where there is a button in a window and
when you click on the button, it will open a new window, but I want the
first window to close, replaced by the second window.
I open a login window and start the mainloop, when the user click on
the login button, the __call__ function of VerifyProcessor is executed
and it will call the new window which is the file manager window
The thing is,.. I don't know how to exit the first mainloop and then
display the second window...I even tried calling the mainloop again but
a weird thing happens. I really need help bec...Times where one would use new style classes vs classic classes
I'm really new to Python and I've been reading up some texts on older
versions of Python (2.2 to be specific).
The text briefly mentioned new style and classic classes.
I'd really like to know in the current context of Python 2.5, besides
in the cases of multi-inheritance, where would I use new style
classes? Is it a norm to use more new style classes even if I don't
have multi-inheritance in the industry, open source projects, etc
If this isn't the right place to ask these questions, could some one
point me somewhere more appropriate?
Thanks a lot.
>...Any one use xml in a tcl\tk application to create new UI?
What I want is:
In an application written in tcl\tk, I want to source or excute severl
different xml files, so that I can create different window from these
xml files. And infomation needs to be passed from tk application and
will be passed back to it from the new created window. That is, new
created window will be integrated into tk application just like it's a
top window written in tk.
> What I want is:
> In an application written in tcl\tk, I want to source or excute severl
> different xml files, so that I can create different window from these
> xml files. And infomation needs to be passed from tk application and
> will be passed back to it from the new created window. That is, new
> created window will be integrated into tk application just like it's a
> top window written in tk.
It would be straight forward to do -- but why?
Do you have some XML "UI" description from somewhere that you need to implement?
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
On Aug 22, 9:47 am, "Gerald W. Lester" <Gerald.Les...@cox.net> wrote:
> pheobe wrote:
> > What I want is:
> > In an application written in tcl\tk, I want to source or excut...Is it possible to create a single csv file one row at a time using
I'm running an algorithm that outputs a list of numbers each time it
runs. I need to collect this data so I can analyze it in Mathematica,
but I have to run my algorithm about 14 million times. So far I've
been creating tables with 100,000 rows (one for each run of the
algorithm) and then exporting them to csv files. My question is: can
I create a csv file one row at a time? Is there a way to use Export
(or something else) so that the file isn't overwritten each time I run
my algorithm, but instead builds a single csv file row by row? It's
less taxing on my...Trouble creating new style based on existing one and applying to paragraphs
I have an outline-based document, using "Heading 1" through "Heading
3". I'm trying to change all the "Heading 3" paragraphs in one
particular "Heading 2" section so they use a different style, just
changing the numbering style from "1." to "AR-1." (this is a
I first created the "Requirement Heading" style based on "Heading 3".
I successfully applied the style to the first paragraph. Then, I tried
applying the style to the second paragraph, but it didn't quite work.
Inste...OraInventory- Installer asks for new inventory location while one already exist.
I just installed OEM Grid Control using the new database option. every
thing looks good. OMS, database and agents all are up arn running and
every thing seems like a good installation.
When i try to upgrade it 10.2.0.3 installer does not recognize the
OraInventory and asks for the new location for the inventory location,
which essentially means I can not upgrade as it does no show me any
Interestingly when i used Opatch to apply a patch it found the
OraInventory and Opatch was successful.
What am i missing? what could be the potential reason and any
thanks for athe help.
On Mar 24, 4:46=A0pm, Faraz <sarfarazla...@gmail.com> wrote:
> Hi all,
> I just installed OEM Grid Control using the new database option. every
> thing looks good. OMS, database and agents all are up arn running and
> every thing seems like a good installation.
> =A0When i try to upgrade it 10.2.0.3 installer does not recognize the
> OraInventory and asks for the new location for the inventory location,
> which essentially means I can not upgrade as it does no show me any
> installed products.
> =A0Interestingly when i used Opatch to apply a patch it found the
> OraInventory and Opatch was successful.
> What am i missing? what could be the potential reason and any
> thanks for athe help.
Did you correctly run root.sh?
On Mar 24, 4:24=A0pm, Niall Litchfield <niall.litchfi...@gmail.com>