nci / drishti

Drishti
MIT License
176 stars 40 forks source link

Can't load *.mask.pvl.nc file created by Drishti Paint into Drishti Render #39

Open timchaston opened 5 years ago

timchaston commented 5 years ago

Hi,

I'm having an issue where when I take the *.mask.pvl.nc file I've made with Drishti Paint and try to load it into Drishti Render, it gives me a message "Some problem with pvl.nc files" and displays a volume that is garbled (it's different every time).

I've tried starting from scratch but it didn't help.

I'm using Drishti 2.6.5 on Windows.

Any help would be greatly appreciated!

AjayLimaye commented 5 years ago

Hi Tim, The mask files are saved in compressed format, so you won't be able to see them directly in the renderer. Use "Export Raw" option from Files menu to export the compressed mask file to the one that renderer can understand. Cheers, Ajay

On Thu, 3 Oct. 2019, 6:49 pm timchaston, notifications@github.com wrote:

Hi,

I'm having an issue where when I take the *.mask.pvl.nc file I've made with Drishti Paint and try to load it into Drishti Render, it gives me a message "Some problem with pvl.nc files" and displays a volume that is garbled (it's different every time).

I've tried starting from scratch but it didn't help.

I'm using Drishti 2.6.5 on Windows.

Any help would be greatly appreciated!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/39?email_source=notifications&email_token=ABMVVLRDPFLNKKADXJOG6N3QMWWYLA5CNFSM4I5AGJH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPK452A, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMVVLSNT37WFH7TL7V5W33QMWWYLANCNFSM4I5AGJHQ .

timchaston commented 5 years ago

Hi Ajay,

Thanks for replying so quickly!

I gave this a go but when I tried loading the the *.rawmask.pvl.ncinto Drishti Render it gave a blank volume (no error messages, though). I guess I'm still doing something wrong there.

I ended up using the 'File' > 'Extract Tagged Region' function to produce a volume file that is good enough for the moment.

Cheers, Tim

AjayLimaye commented 4 years ago

Hi Tim, When you "Export /rawmask" you should get two files file.rawmask and file.rawmask.pvl.nc. .rawmask is the same size as your volume data. Cheers, Ajay

On Fri, Oct 4, 2019 at 6:10 PM timchaston notifications@github.com wrote:

Hi Ajay,

Thanks for replying so quickly!

I gave this a go but when I tried loading the the *.rawmask.pvl.ncinto Drishti Render it gave a blank volume (no error messages, though). I guess I'm still doing something wrong there.

I ended up using the 'File' > 'Extract Tagged Region' function to produce a volume file that is good enough for the moment.

Cheers, Tim

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/39?email_source=notifications&email_token=ABMVVLRGX43RIXF4AM2BSILQM327NA5CNFSM4I5AGJH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAK3LTY#issuecomment-538293711, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMVVLW7JVQFFV2M546HS2TQM327NANCNFSM4I5AGJHQ .

jel-bel commented 3 years ago

Hi, I have a similar problem.

I exported .rawmask, however file.rawmask doesn't seem to be uploaded in Drishti, and file.rawmask.pvl.nc gives me a blank volume, and mix tag command doesn't seem to be doing anything. I was wondering if I need to be in hires mode for that? If so, as soon as I press F2 Drishti crashes..

Hope for some advice and thanks in advance! Cheers

AjayLimaye commented 3 years ago

Hi Daurica, The rawmask file stores the mask values, so if the mask values you have chosen are closer to 0 i.e. 1,2,3,4... etc, then you will have to move your transfer function closer to the left side - closer to 0. If you don't want to do that then you can just reimport the rawmask volume (rawmask.pvl.nc.001 file) using DrishtiImport - this will remap the values between min and max.

Cheers, Ajay

On Sat, Jan 16, 2021 at 10:52 PM Daurica notifications@github.com wrote:

Hi, I have a similar problem.

I exported .rawmask, however file.rawmask doesn't seem to be uploaded in Drishti, and file.rawmask.pvl.nc gives me a blank volume, and mix tag command doesn't seem to be doing anything. I was wondering if I need to be in hires mode for that? If so, as soon as I press F2 Drishti crashes..

Hope for some advice and thanks in advance! Cheers

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/39#issuecomment-761550955, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMVVLUZ526UY4BGLSSNE7DS2F4YDANCNFSM4I5AGJHQ .

jel-bel commented 3 years ago

Thank Ajay!