How to combine two binary image? [closed] - image

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a final project in which I have to combine two images from optic disk segmentation and optic cup segmentation on binary images. I can't combine both images.
i wish anyone can help me. thankyou

If the images are binary, you may want to take the logical AND to get the pixels that are white in both of them.
im3=im1 & im2;

Assuming that the two images have the same size and the values are in {0,1}, I think
result = image1 .* image2;
would be the most natural choice, yielding a result like this:

Related

MATLAB image processing - How can I find the building footprint from an aerial image [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I got this aerial image of a warehouse from Google Map, and I'd like to analyze the characteristics of the building inside the image. How can I find the approximate building footprint?
I learned some functions for matlab image processing. But I'm still a newbie for image processing. I'll be very appreciated if anyone can help me.
Or is it easier to figure out the area using the roadmap image below?
Import the roadmap image in Matlab, convert in in an 8bit greyscale image and use the following binarization.
BW = imbinarize(I,'adaptive','Sensitivity',0.68);
figure, imshow(BW,[0,1])
From Here you can either use regionprops (link) or extract lines using a Hough transform.

how to calculate the diameter of an ellipse? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a work to calculate the diameter vertical and horizontal of an ellipse to determine the value of the cup to disk ratio of glaucoma. from the journal was im read, they are using fit ellipse methode. How might I do that?
You can try to fit an ellipse using the Hough Transform.
But you can also find what you want using:
PCA => it will give you the main and secondary axises.
Moments

cocos2d. Matrix calculations? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I draw a graphical primitives using functions ccDraw... and I need to calc for example a scale and transition using 3x3 matrices.
How to solve this issue in cocos2d? I can't simply use sprites/nodes because all the calculated points belong to the same object. Is it possible without converting CGPoint->matrix->CGPoint?
It sounds like you are trying to do scale/rotation on the CGPoints. You can do this using CGAffineTransform functions and structure that are part of Quartz 2D.
See these references:
Apple's Documents.
A single example of rotating a rectangle formed by four points.
SO Example(s).
Was this helpful?

How do i create image background in gimp? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to create splash screen for my mobile application and I want to use an image like the one I have attached with this question but with different color for splash screen.I guess this is a gradient but really don't know any idea how to create this type of gradient image with different color.Please help me providing any link or tutorial.
Please take a look at
http://docs.gimp.org/2.2/en/gimp-tool-blend.html
http://www.youtube.com/watch?v=wjuCM-UTXaQ
for some gradient tutorials.
If you want the same image, with a different color, then just try changing the hue of your image like this
http://docs.gimp.org/en/gimp-tool-hue-saturation.html
http://www.youtube.com/watch?v=q2ybYHxyxfQ

Show users location on Globe instead of map in iOS 5 + [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to show users location with his profile image on Globe (Circular earth) instead of 2D map. As per my knowledge , latitude & longitude which we get from CLLocationManager are converted from circular by making calculation to display it in 2D map . Correct me if I am wrong.
My question is it possible to display different users current location with his profile image on globe. Also I need option to pan (must have) & zoom (if possible) ?
Any kind of help , reference is appreciated. Thanks.
As per the discussion here, you can use WhirlyGlobe to achieve the functionality.

Resources