embl-cba / cats

Other
1 stars 2 forks source link

RGB image for visualisation #9

Open tischi opened 5 years ago

tischi commented 5 years ago

@davodogster

Another suggestion which would be extremely helpful - allow the user to have an RGB image as the first layer in the multi layer stack so that they can annotate it with confidence ( annotating an HSB/LAB stack etc can be difficult without colour ) But when computing the features, obviously don’t compute the features for the first layer because it’s not in grayscale. I hope you understand what I mean here as I think something like this will be really helpful.

tischi commented 5 years ago

I think this is not possible, because ImageJ does not allow an ImageStack that is a mixture of RGB and other pixel types. But you can change the viewing mode of your multi-channel stack to "Composite". Then it will look like an color image (you can even adjust the LUT and B&C of each channel):

image
davodogster commented 5 years ago

Cheers will look into that. I have an idea which you can hopefully implement How about one annotates the RGB/False colour image with the ROIS and adds all of them to the ROI manager.

Then can you program CATS so that I can add all these ROIS (e.g all for class 1) to the CATS stack from the ROI manager (maybe all at once after the ROIS are combined?) and finally then press the shortcut keys in CATS to assign these ROIs to a class.

This would be an awesome feature. Sam

tischi commented 5 years ago

This should be possible, but could you first explain me why the composite image view is not sufficient? This would be much easier and is a core feature of ImageJ.

davodogster commented 5 years ago

Thanks for the tip - it helps a bit for visualizing, although it's a weird false colour image. So this doesn't alter any of the channel values, it only alters the way we visualize the channels?

tischi commented 5 years ago

So this doesn't alter any of the channel values, it only alters the way we visualize the channels?

Yes. You should be able to configure it such that it looks exactly like the RBG image. It's a bit hard to explain without showing you in person...

tischi commented 5 years ago

I think with the script that I wrote for you this is solved, is it?

davodogster commented 5 years ago

Sure Is solved

Get Outlook for iOShttps://aka.ms/o0ukef


From: tischi notifications@github.com Sent: Saturday, June 15, 2019 7:57:25 PM To: embl-cba/fiji-plugin-cats Cc: Sam Davidson; Mention Subject: Re: [embl-cba/fiji-plugin-cats] RGB image for visualisation (#9)

I think with the script that I wrote for you this is solved, is it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/embl-cba/fiji-plugin-cats/issues/9?email_source=notifications&email_token=AK7R4HEHZIUKNSSYXQK342LP2SOGLA5CNFSM4HNKP5N2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYSYDA#issuecomment-502344716, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK7R4HATVBCCQFAINPDPWU3P2SOGLANCNFSM4HNKP5NQ.