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

Documenting 2D vs 3D #3156

Closed
AnneCarpenter opened this issue Sep 14, 2017 · 27 comments
Closed

Documenting 2D vs 3D #3156

AnneCarpenter opened this issue Sep 14, 2017 · 27 comments
Assignees

Comments

@AnneCarpenter
Copy link
Member

At the end of the module's introductory help text, RelateObjects has this line:
This module supports 2D and 3D objects.

Have we added this to all other modules that need it? I've not seen any other modules so far.

@bethac07
Copy link
Member

I haven't checked it exhaustively but it should be in most of the modules that support 3D, I held up lots of people's PRs until they added it to the module docs :)

@AnneCarpenter
Copy link
Member Author

Hm, a search for "This module supports 2D and 3D objects." only comes up w RelateObjects. I spot checked a couple of modules (Watershed and smooth) and I don't see any such statement. Do you suppose it was different wording or something?

@bethac07
Copy link
Member

bethac07 commented Sep 14, 2017 via email

@mcquin
Copy link
Contributor

mcquin commented Sep 14, 2017

I noticed some say "volumetric" and others say "3D". We should make this consistent & put it in a consistent place. My vote is either at the very top or very bottom of the module documentation.

Would a table visualization be helpful/easy to use? E.g.,

Supports 2D?   Supports 3D?
    YES            NO

(^ but with table borders)

@AnneCarpenter
Copy link
Member Author

Yeah, that sounds great!
Is it sensible to also include a column for 3D data loaded as 2D slices? I imagine the answer is always yes (when 2D is yes, that is). If so, we could just have that as a separate column or else change the heading to "Supports 2D (or 3D loaded as 2D slices)?"

@bethac07
Copy link
Member

bethac07 commented Sep 14, 2017 via email

@AnneCarpenter
Copy link
Member Author

You just flew out of my league, so I'm no longer a valid discussant here :)

@bethac07
Copy link
Member

bethac07 commented Sep 15, 2017 via email

@mcquin
Copy link
Contributor

mcquin commented Sep 15, 2017

  • You tell CP it's a 3D image (by checking the "Volumetric" box), BUT that module performs operations on the individual Z slices one at a time- this is how some of our 3D image processing modules work.

I think that's worth highlighting (in some cases) in individual module documentation. For example, the morphology modules (which now live in Advanced), can operate on the whole volume with a 3D structuring element, or plane-wise on a whole volume with a 2D structuring element. This, however, is not normal. And, since these modules live in the Advanced category, it's not worth adding a field to indicate this behavior in all modules.

What about:

    2D images or slices   3D images (whole volume)
            YES                  YES

@bethac07
Copy link
Member

I quite like that!

@AnneCarpenter
Copy link
Member Author

Ah, I see - it's indeed your third point I had no idea existed.

I think it'd be great when telling people which modules work on 2D vs 3D which of these flavors is possible for a given module. I think I'd need an example of the 3rd point to know whether the distinction vs 2nd is crucial to describe or not.

@AnneCarpenter
Copy link
Member Author

I think it may be that @bethac07 and @mcquin are the only humans who would know the right answers for all the modules, and maybe not even them! As a shortcut, should we use the Y/N labeling in either of our internal spreadsheets?

If that info is sufficiently accurate, then @N3llz could add "This module supports 2D and 3D objects." (or "images") to all those modules and call this 'good enough'. I'm afraid it won't get done at all otherwise.

@mcquin
Copy link
Contributor

mcquin commented Sep 20, 2017

@AnneCarpenter @N3llz the first linked spreadsheet is up to date with the current modules supporting 3D. I have not been managing the second spreadsheet, I'm not as confident about its status.

(One thing to note is Images/Metadata/NamesAndTypes/Groups probably should not have this tag added to them, IMO.)

@AnneCarpenter
Copy link
Member Author

So, if Y on the first spreadsheet, then:
"This module supports 2D and 3D objects." (or "images")

If N on the spreadsheet, then:
"This module does not support 3D objects." (or "images")

@N3llz
Copy link
Member

N3llz commented Sep 20, 2017

Have we decided on "images" vs. "objects"?

@bethac07
Copy link
Member

bethac07 commented Sep 20, 2017 via email

@AnneCarpenter
Copy link
Member Author

AnneCarpenter commented Sep 20, 2017

It's a good point that perhaps we could just live without the specificity of images vs objects if we use a table instead of narrative text.

To keep it simple, I'd propose Jeanelle just add this if it's a module w N:

Supports 2D?   Supports 3D?
    YES            NO

And this if it's a module that is Y:

Supports 2D?   Supports 3D?
    YES            YES

@N3llz
Copy link
Member

N3llz commented Sep 20, 2017

Do we like this?

============ ============
Supports 2D? Supports 3D?
============ ============
YES          YES
============ ============

screen shot 2017-09-20 at 3 46 15 pm

@N3llz
Copy link
Member

N3llz commented Sep 20, 2017

And in cases where there is a "Measurements made by this module" section, I'll put it immediately above that. LMK if this is good.

@mcquin
Copy link
Contributor

mcquin commented Sep 20, 2017

Nice work on the table!

Do you think it would make sense to do something like:

ModuleName
==========

============ ============
Supports 2D? Supports 3D?
============ ============
YES          YES
============ ============

**ModuleName** does some stuff. It's cool and you should try it.

Then the information is always easy to find and in a consistent place?

@AnneCarpenter
Copy link
Member Author

I like the positioning in Jeanelle's screenshot at the end of the modules' intro help. I can't tell, @mcquin , are you proposing it go elsewhere, like right after the module name and before the one-liner description of the module?

@mcquin
Copy link
Contributor

mcquin commented Sep 20, 2017

@AnneCarpenter Yes. Below the title but before any text.

@N3llz
Copy link
Member

N3llz commented Sep 20, 2017

I agree, it needs to be consistent. Do we want it to be the first thing people see and read though? It seems like it would still be nice to have the description first.

@AnneCarpenter
Copy link
Member Author

^^^ Agreed with the woman in the sunglasses. The typical user isn't doing 3D so this isn't the MOST important thing on their mind.

@mcquin
Copy link
Contributor

mcquin commented Sep 20, 2017

Sounds good. So, below the module description but before the first subheading?

@AnneCarpenter
Copy link
Member Author

Right. I will edit the order in our other issue about ordering: #3177

0x00b1 pushed a commit that referenced this issue Sep 25, 2017
* Adding 2D vs 3D support into documentation

Added table noting if the module supports 2D / 3D. Also updated a few
formatting issues in the Advanced modules.

* resolve merge conflict for DisplayHistogram
@N3llz
Copy link
Member

N3llz commented Sep 25, 2017

Resolved by #3282
@0x00b1 OK to close this issue

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

No branches or pull requests

4 participants