Skip to content

[wip] layer values at cursor position#229

Open
paulhfu wants to merge 12 commits intoilastik:mainfrom
paulhfu:label-info-at-cursor-position
Open

[wip] layer values at cursor position#229
paulhfu wants to merge 12 commits intoilastik:mainfrom
paulhfu:label-info-at-cursor-position

Conversation

@paulhfu
Copy link
Copy Markdown
Contributor

@paulhfu paulhfu commented Apr 3, 2019

Display the respective values of a selected amount of layers at current position of cursor in image view.

@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch from 47ab62c to 11b3150 Compare April 3, 2019 14:25
image = self.editor.imageViews[imgView].scene()._tileProvider._cache.layer(stack_id, layer_id,
tile_id)
if image is not None:
colorVal = image.pixelColor(x%blockSize,y%blockSize)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @m-novikov, this is how I am getting the data right now. Hacking into tileProvider. As we discussed, these are not the raw dataSources...

@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch from 3534c53 to 2b6551d Compare April 8, 2019 13:58
@paulhfu
Copy link
Copy Markdown
Contributor Author

paulhfu commented Apr 20, 2019

Hey @k-dominik, sorry, I was too quick telling you that this can be looked at. There is still a bug which needs some attention.

@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch from 2ae49a7 to fe2a0d8 Compare April 29, 2019 11:40
@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch from 05766bd to 094a9b5 Compare June 14, 2019 16:06
@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch 4 times, most recently from 2208c0b to ed0d755 Compare October 7, 2019 08:35
@paulhfu paulhfu force-pushed the label-info-at-cursor-position branch from 55b205b to 03e0310 Compare October 11, 2019 13:31
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

Successfully merging this pull request may close these issues.

2 participants