Comments (4)
Hi Alissa,
Sorry for the delayed response. The size of the example image in the imagedataextractor repository is 887x909. From the ImageJ example you posted, your image seems to be around half this size (492x480). This may explain the discrepancy you're seeing.
from imagedataextractor.
Hi
Thank you so much for replying me.
I found that issue as well and the actual pixel is 127. However I tried to type nm/pixel for example 200/127. And I still got different results.
Last time you said that change these two line:
Conversion= nm / pixel
and
size = size *conversion
I wonder is that correct?
Thank you and take care!
Alissa
from imagedataextractor.
Sorry for the confusion that the API is causing. When conversions are calculated automatically by imagedataextractor, they are returned in units of pixels / meters. This is why we divide by the conversion in the example notebook to obtain the results in meters or nanometers.
If you calculated the conversion manually in units of nanometers / pixel for example, then you would need to multiply by this value to obtain the result in nanometers.
Both ways are correct. I understand that this can cause confusion, so I may work on making this more clear in the API.
from imagedataextractor.
Hi Batuhan,
I am confused by the same question as Alissa.
As you can see below, in the example image of size 887*909, 200nm can be converted to 127 pixels by Image J. Then I calculated the conversion manually in units of nanometers / pixels and multiplied by this value to get the result in nanometers, it output the average particle area is 1600.103 nm^2 which is much larger than the result of 647.872 shown in the example.
However, when I changed the conversion to pixels / nanometers, the output was pretty much as expected. I think it is a little bit tricky.
I am wondering if my code was wrong or I misunderstood your advice.
Looking forward to your reply. Have a lovely weekend.
Zeyu
from imagedataextractor.
Related Issues (13)
- scalebar issuse HOT 2
- The scale bar of some images still fails to detect HOT 2
- cvDrawContours HOT 2
- manully measure scalebar HOT 2
- Scalebar conversion HOT 4
- xml read error HOT 1
- Not reading image files HOT 3
- OpenCV error HOT 6
- list object has no attribute segmentation HOT 3
- Finetuning IDE scalebar detection HOT 2
- error: OpenCV(4.5.5) /io/opencv/modules/dnn/src/layers/convolution_layer.cpp:404: error: (-2:Unspecified error) Number of input channels should be multiple of 3 but got 4 in function 'getMemoryShapes' HOT 1
- Chemical Reaction Figure Extraction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagedataextractor.