CellProfiler-Analyst icon indicating copy to clipboard operation
CellProfiler-Analyst copied to clipboard

Feature Request - Set Image Size/Scale Separately

Open ErinWeisbart opened this issue 4 years ago • 2 comments

It would be really nice to be able to independently set the Image Size/Scale between the unclassified images and the classified images in the classifier. e.g. Generally I want my unclassified images to display large so that I can see the details of the image but it's often more helpful to have the classified images displayed small so that I can get the gestalt of the images in the bin.

ErinWeisbart avatar Feb 05 '21 16:02 ErinWeisbart

This would be nice, but from my understanding of the code there might not be an easy way to achieve this without causing problems when moving the tiles around. Tiles are referenced collectively and get attached to a relevant bin. Since the image control panel applies globally there's no specific control over which tiles get modified upon changing settings.

If we're really keen on doing this, I could imagine an "apply to all bins" toggle in the control panel which toggles between just changing Unclassified vs changing all classes. However, when dragging between bins this would force us to regenerate the displayed image at the correct size. That'd bring back the "CPA locks up when I move a lot of tiles" issue that I'd previously found a fix for.

So I guess the question is "would we be ok with CPA freezing up for a bit if you drag a bunch of tiles"?


Or another option - what if we had a "use mini tiles" option which scales tiles down to a fixed value (maybe 50x50)? Those would be fast to generate and could be attached to the original as an alternative display when we first make the tile.

DavidStirling avatar Mar 13 '21 00:03 DavidStirling

I defer to what you think is best since you're the most code-knowledgeable.

I think the major reason I want to scale them differently is so I can use the scaled-down tiles to easily tell when I'm duplicating images in a bin, but you've fixed that problem with other changes.

I like the idea of mini-tiles, but having a hard time picturing that size being helpful for much more than catching duplications, which is otherwise fixed. I'm happy to play with tiling images at different sizes and seeing what's the smallest that I feel like still gives "gestalt", but as that's super vague and likely to be different depending on what kind of images you're working with, I'm guessing it's not worth the time.

So, since this won't be easy without causing problems when moving tiles, I'm fine with closing this request.

ErinWeisbart avatar Mar 15 '21 20:03 ErinWeisbart