Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration bar when using LUTs #488

Open
abhamacher opened this issue Nov 4, 2022 · 3 comments
Open

Calibration bar when using LUTs #488

abhamacher opened this issue Nov 4, 2022 · 3 comments

Comments

@abhamacher
Copy link

Hi Will,

is it actually possible to add a calibration bar to the image when using LUTs in OMERO.figure?
I don't think I ever saw such a function in OMERO.figure, although it's quite essential from my point of view.
Maybe I just have overseen it?

Thanks, Anna

@will-moore
Copy link
Member

Hi Anna,
Can you add a screenshot to show what you're thinking of and how it's calibrated?

I'm trying to think how to achieve this by creating a "fake" file (https://docs.openmicroscopy.org/bio-formats/6.11.0/developers/generating-test-images.html) which normally are created with a grey-scale that you could then render with a chosen LUT.

I could imagine adding a calibration bar for an image to match it's current rendering settings, but then you'd need to update it if you changed the image's rendering settings...

@abhamacher
Copy link
Author

Hi Will,

sorry, if I was not precise enough in my first post. With "calibration bar" I'm referring to the correspondent function in Fiji:

calibrationbar

I can image this adds some complexity to OMERO.figure, but when using LUTs this is actually essential from my point of view.

@will-moore
Copy link
Member

Ah, OK I see - thanks for the screenshot.

That would be a nice feature for OMERO.figure. I'll add it to the TODO list.

In the meantime, I played about a bit to see what you can do with existing functionality...

$ touch "calibration&sizeX=256&sizeY=256.fake"
$ omero import "calibration&sizeX=256&sizeY=256.fake"

...
Image:250772
Other imported objects:
Fileset:132614
...

Then "Add Image" in OMERO.figure, with this Image ID. I did this a couple of times for the screenshot.
Then apply the LUT you want and resize / rotate (e.g. 270' for the vertical one) and add a couple of labels to the top and bottom (the labels in the horizontal ones are actually labels on the image panel bottom-left and bottom-right).

Screenshot 2022-11-09 at 12 06 19

I realise that this isn't as nice as in Fiji, and it will give you an 'orphaned' calibration image which you could organise in a Dataset and use it for multiple figures. The lack of labels is an issue, but hopefully its partially useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants