How to play 1080p HD DICOM video @30fps -
i have tried leadtool sdk play 1080p dicom video @30fps, have problem read images dicom file, taking long time image dicom file.
if have achieve 30fps frame rate, image should read within 33 milliseconds, because 33 milliseconds time between 2 frames 30fps frame rate. lead tool taking more 50 milliseconds read single image/frame of 1080p.
therefore can't achieve 30fps frame rate 1080p video.
leadtool can read 720p video file, without problem, problem there 1080p hd video.
i using below code image.
rasterimage image = _dataset.getimage(null, count++, 0, _dicomimageinformation.isgray ? rasterbyteorder.gray : rasterbyteorder.bgr | rasterbyteorder.rgb, dicomgetimageflags.none | dicomgetimageflags.autoloadoverlays);
please, can suggest me solution or knows dicom library can enable play 1080p dicom video @30fps.
it looks using leadtools still imaging support rather leadtools multimedia sdk. provide directshow dicom reader filter designed pulling video data out of dicom file.
if looking every frame within dicom file, use leadtools video callback filter in conjunction either play or convert controls. if want simple playback, code it:
private leadtools.multimedia.playctrl _playctrl; _playctrl = new leadtools.multimedia.playctrl(); _playctrl.autostart = false; _playctrl.location = new system.drawing.point(10, 67); _playctrl.name = "_playctrl"; _playctrl.size = new system.drawing.size(325, 283); _playctrl.sourcefile = @"c:\users\public\documents\leadtools images\mr.dcm"; this.controls.add(_playctrl); _playctrl.run();
if have further questions or concerns regarding use of leadtools, please not hesitate contact directly.
Comments
Post a Comment