harishanand95 / jsrt-parser Goto Github PK
View Code? Open in Web Editor NEWThis is a data parser to obtain images and descriptions from JSRT database in a uniform format for deep learning applications.
License: MIT License
This is a data parser to obtain images and descriptions from JSRT database in a uniform format for deep learning applications.
License: MIT License
First of all
Thanks for your help, I could manage JSRT dataSet.
I try to crop the image by using yours but there is a problem
(I put all image into the All247images folder and CSV file into the Clinical_Information folder )
when i try your sample code below,
jsrtdata = Jsrt().load_images("./All247images/")
nodule_images = jsrtdata.get_images(num_of_images=1, has_nodule=True)
# crop out from image a picture of size 1200 at location 0,0 as center.
image = nodule_images[0].crop(1200, 0, 0)
plt.imshow(image, cmap=plt.get_cmap('gray'))
plt.show()
I got an error like below
→ ValueError: cannot reshape array of size 851869 into shape (2048,2048)
The image that I have is also 2048*2048 size
Is there anything that I missed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.