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

Documentation issue in RawReader #1640

Open
dcoeurjo opened this issue Mar 24, 2022 · 4 comments
Open

Documentation issue in RawReader #1640

dcoeurjo opened this issue Mar 24, 2022 · 4 comments
Assignees

Comments

@dcoeurjo
Copy link
Member

Checking https://dgtal-team.github.io/doc-nightly/structDGtal_1_1RawReader.html, the code snippet is incorrect as you have to add the domain extent as parameter to the importRaw

@dcoeurjo
Copy link
Member Author

Additionally, how does this work for the GenericReader?

@kerautret
Copy link
Member

Checking https://dgtal-team.github.io/doc-nightly/structDGtal_1_1RawReader.html, the code snippet is incorrect as you have to add the domain extent as parameter to the importRaw

Agree the doc is wrong the dim is missing in the example. For GenericReader, from the test is see you can specify the domain: DGtal::GenericReader::import(filenameImage5, 5, 5)

@kerautret
Copy link
Member

I will correct the doc and perhaps check genericReader to avoid call without dim like the doc example.

@dcoeurjo
Copy link
Member Author

yeah that would be great

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