Wednesday, October 24, 2018

Fulfillment in life

  1. Real value of relationship starts from here, best beautiful moment for couplesmost 


Peaceful place in the world; IN THE LAP OF MOTHER(ತಾಯಿಯ ಮಡಿಲು):


Bonding with father

Respect for relationship, now a days so many relationship break up for silly reasons, hardly we can see these type of relationship now.



unadulterated food( purest food in the world)


To be happy in life, money not really require!! its require only purest heart!!! Satisfaction in life

“Be happy every moment in life, who’s knows may be tomorrow is your last day”
             mahendra mahe

Sunday, October 21, 2018

Pain of your parents lonely feelings!!! much valuable-Go head

It was Diwali night, the old house in the centre of the road was the only one without lights, candles and Rangoli.
An old woman was sitting on the old broken sofa inside the almost empty house, staring at the stationary half open door since hours.
Even a little breeze would make her heart beat fast.
She was quite hopeful that any second her son would arrive and hug her tight.
Apart from the old woman, the little diya lightened in front of the “Lakshmi-Ganesh” idol was the only sign of life in the house.
The photograph of her late husband couldn't speak anything, sadly not even on a festival.
The kheer she cooked after standing for hours in the kitchen was lying silently in one corner.
Her phone had not been working since weeks but she was confident that her son would never miss celebrating Diwali with her.
She smiled once after every few minutes remembering her little grand kids.
Finally there was a noise.
She jumped out of the sofa in joy just like a young 10 year old girl.
But within seconds she realised that guests had arrived in the next house.
Soon people started bursting fire crackers, celebrations reached new highs.
Amongst the loud noises and celebrations everywhere, she was still desperately staring at the door.
Hours of wait made her tired and hungry, her eyes were not supporting her quest, they kept closing but she kept rising back.
How would they feel to find me asleep on the festival night

Finally they arrived!
Yes! The poor mother was not betrayed!
They did the auspicious pooja together.
She played with her grand kids.
Everyone loved the kheer.
They talked for hours.
Suddenly her grandson burst a fire cracker.
The sound was so loud that she woke up from the deep sleep.
She rubbed her eyes to realize that it was around 9 am in the morning and the sound of fire cracker which her grandson burst was nothing but the milk man beating the door.
She looked around in confusion to realize that the house was as empty as always.
Her hands and legs were shivering after sleeping on the sofa for the whole night, with no one to put a quilt or shawl on her old body.
Without wasting any more time she shouted in her old unclear voice-
“Aa gayi! Rukja beta 2 minute!"
(Coming son! Wait for 2 minutes!)
Finally she started a new day, all alone captured in the old painful body inturn captured inside that old broken house, lying somewhere in this ruthless world!

Answering your question in just one line-
Do whatever you want to do but don't betray your parents!

Friday, October 12, 2018

What keeps you motivate by gour gopal das

What is the best way to improve life?- find happiness yourself

What is the best way to improve life?- find the happiness yourself 
There was a King , and the King was walking with his minister in the farm, where he saw a farmer along with his family - husband, wife and son.
They were buzzing, so much life in them, their face were radiant, they were happy, they were beaming with joy, they were singing. They had so much affection and love for each other. And the King said, “Man, I have a massive palace and I have everything that one could dream for and these guys are more happier than me”. Why?
Minister said, “Sir, because this family is not a member of the 99 club.” So the King said, “What is this 99 club?” The minister said, “Give me 99 gold coins, I will tell you.” So the King gave him a bag of 99 gold coins and the Minister said, “After 6 months I will tell you, not today.”
So the minister took that bag of 99 gold coins and put it right at the door step of the farmer. In the morning when the farmer got up, he saw a bag right at his door step. He picked that bag up, went back into his own house, excited he was, he opened the bag and gosh lo and behold. Glittering Gold, gold coins. He never come across such a stroke of fortune.
He emptied the contents of on the floor and started counting, they were 99. “I made a mistake in counting as I am too excited. Let me count again.” He counted again it was 99. He said who was this idiot who forgot to put 1 more, he should have made it a round figure. So he asked his family to count and yet again 99, he thought he cannot live like this and he has to make it 100 anyhow.
So he started working hard to get that one gold coin and it would take him months and years to get the one. And then his wife was thinking, “My husband is a such a nut, for not spending anything. So she took 2 gold coins and went for shopping and his son took 2 gold coin for shopping as well. When he found that he said, “I am tolling working hard, putting my blood and sweat to get that one gold coin to make it 100 and they all started fighting.
Six months passed by and the King and his minister were walking by, and saw the family. Now the buzz had gone, the life had gone, the song had gone, the love had gone, only arguments, fights, bickering. And the king said, “What happened?”. How did they changed so much in just 6 months.
The minister replied. “Now they are officially members of the 99 club.” The king said, “you took 99 gold coins, what is the 99 club.” The minister said, “99 club is the club of those who have 99 gold coins, but in running after one, they don’t use their 99 gold coins.” In running behind that one coin, to reach 100, they don’t spend the 99 coins they have.
I have learnt one thing in my life, and I thoroughly believe in it - “Don’t wait for the Destination, start finding happiness while you are in the journey.”
Happiness is a Journey, not a Destination.
Source : Gaur Gopal Das.

Thursday, October 11, 2018

Ai- Artificial Intelligence

                   *Join your Intelligence*
*Start Predicting Future.*
We're providing AI Training, Learn to predict with Machine Learning, Deep Learning and Neural Networks. Create high accurate models along with the Languages like Python, R and tools like Sci-Kit Learn, Tensorflow, Keras, OpenCV, PyTorch with Business Intelligence  tools like Tableau & Power BI
This weekend join us take up the Demo. Explore the world of AI.
*Placement Assistance will be provided to get into Futuristic Industry*
Start your Magical Journey by attending demo on this Saturday. And it's absolutely Free
Register here from the below link:
https://goo.gl/hiaYZw
*Or*
Call Us / WhatsApp at *+91 91083 99222* or  *+91 91083 99444*
*Address*
*Python Gurukula*
Intell-Eyes Technologies (R)
#347,8th Main, 2nd Phase, 1st Stage, Gokula Extension, Mathikere,
Bangalore - 560 054
For Directions:
https://goo.gl/gmekZr





                              "ALL THE VERY BEST"

Wednesday, October 10, 2018

I have started earning more than my husband. Should I divorce him? Great answer in description

Yes absolutely! that’s a great decision. Be a girl, be a role model. Divorce him. Be happy.
You meet another guy after 2 months. He is extremely smart, earns double than what you earn. You marry him, have a great start to your new life. A year passes by and he thinks you are dumb. He demotivates you everyday. He is pissed of with your IQ and not being so smart. He makes fun of your job. He wants you to quit your job. You don’t want to be dependant on him and problem begins.
He files a divorce and congratulations, you just got your second divorce.
You walk away with your head high. You are a bold woman. You got a job and you earn. You show him your middle finger and move away.
A few months pass by and you are very clear with your terms and conditions this time. You don’t want to marry someone who is much more smarter than you & earns more than you. Little difficult to find one.
Wow, you just found the right guy and decided to marry him. He earns good, matches all your conditions perfectly. Your dream Husband. Congratulations you are conceived now. You are happy about the way life is going. Suddenly he is diagnosed with cancer. You don’t want your kid to be with a cancer patient. You don’t want to go through all the medication and chemo with him. You apply for a divorce. You are doing it for your kid. You are making the same mistake again.
Wow.. You just got your first baby. You think you will remain single and single mom for your kid.
Reality strikes you like a thunder. You cannot take care of your kid and work together. Work life balance is a dream. You decide to marry someone again. Your T&C increases and the probability of finding someone is way too less. But you are stubborn. Lot of dates. Lot of time is spent. But no luck, you are disappointed
After a huge struggle, you find a guy who is healthy, who earns more than you, who is not smarter than you, who can also take care of your kid. Wow, thank God. You found someone. You are getting married for 4th time. You two make an extra-ordinary couple. He wants to have a kid and you both have a kid. Congratulations for your second kid. :)
Slowly you can see he is playing favourites among your kids. He hugs, loves, buy toys, spends time and he does everything only for the second kid. First kid feels lonely. This gets bad each and every day. Your first kid feels that step dad doesn’t love him and feels depressed. He is a great dad but a poor step dad.
Everyday the discussion continues and turns into a fight. He is completely pissed off. You are pissed off and you cry almost every day. You want to treat both your kids equally.
Fourth divorce. Now you are pretty much good about the process. Your lawyer even gives you discounts for divorce. You turn 35 and crossed 4 un-successful marriages. Your first kid becomes a teenager and turns extremely aggressive.
You want to marry again. Not for money, not for society, but for yourself and your kids. It doesn't matter if he earns less than you. All you need is someone who can share your responsibilities, time, and make you and your kids feel better
Unfortunately you can't find someone. Your first kid turns 18 and flies away from you due to all the things he went through.
You have your second kid with you not knowing what to do next. You are tired, couldn’t balance your work and personal life. You cannot take care of your second kid, you cannot take care of yourself now.
You lost all your beauty, you are lonely, all you have is a good job, monthly salary and good money. You are tired, you just want someone to spend some time with.
You open scial media and scroll through it to see a question “How your life changed when your wife left you for money”. You tap the ”Read More” and all your life flashes in your mind when the answer is loading.
You see the answer, it was written by your first husband whom you divorced for not earning more than you. He is happy with his wife now. He has a couple of kids, and you read about his success story on how happy his life is. Though he is not a millionaire or billionaire, he is earning very good. He thanks his second wife for standing beside him when he was so low.
Your eyes become wet. Tears roll down and fall down on your mobile screen which upvotes the answer. Your second kid asks you the reason and you realize something, which cannot be expressed in words.
You think you cannot revert that mistake now. It’s too late.

I don’t say that women can’t live without men. They can absolutely do that. I know a lot of single mom who did wonders in their life. But not Divorcing for money. They had different and justifiable reasons.
Always remember, when Karma strikes back, no one can take that hit. It will blow you down. You can’t even stand after getting hit by Karma.

Tuesday, October 9, 2018

Image Segmentation

Image Segmentation

Segmentation partitions an image into distinct regions containing each pixels with similar attributes. To be meaningful and useful for image analysis and interpretation, the regions should strongly relate to depicted objects or features of interest. Meaningful segmentation is the first step from low-level image processing transforming a greyscale or colour image into one or more other images to high-level image description in terms of features, objects, and scenes. The success of image analysis depends on reliability of segmentation, but an accurate partitioning of an image is generally a very challenging problem.
Segmentation techniques are either contextual or non-contextual. The latter take no account of spatial relationships between features in an image and group pixels together on the basis of some global attribute, e.g. grey level or colour. Contextual techniques additionally exploit these relationships, e.g. group together pixels with similar grey levels and close spatial locations.

Non-contextual thresholding

Thresholding is the simplest non-contextual segmentation technique. With a single threshold, it transforms a greyscale or colour image into a binary image considered as a binary region map. The binary map contains two possibly disjoint regions, one of them containing pixels with input data values smaller than a threshold and another relating to the input values that are at or above the threshold. The former and latter regions are usually labelled with zero (0) and non-zero (1) labels, respectively. The segmentation depends on image property being thresholded and on how the threshold is chosen.
Generally, the non-contextual thresholding may involve two or more thresholds as well as produce more than two types of regions such that ranges of input image signals related to each region type are separated with thresholds. The question of thresholding is how to automatically determine the threshold value.

Simple thresholding

The most common image property to threshold is pixel grey level: g(x,y) = 0 if f(x,y) < T and g(x,y) = 1 if f(x,y) ≥ T, where T is the threshold. Using two thresholds, T1 < T1, a range of grey levels related to region 1 can be defined: g(x,y) = 0 if f(x,y) < T1 OR f(x,y) > T2 and g(x,y) = 1 if T1 ≤ f(x,y) ≤ T2.
Greyscale image "Boat"Its grey level histogram
Binary regions for T = 26Binary regions for T = 133Binary regions for T = 235
Greyscale image "Baboon"Its grey level histogramBinary regions for T = 159
The main problems are whether it is possible and, if yes, how to choose an adequate threshold or a number of thresholds to separate one or more desired objects from their background. In many practical cases the simple thresholding is unable to segment objects of interest, as shown in the above images.
A general approach to thresholding is based on assumption that images are multimodal, that is, different objects of interest relate to distinct peaks (or modes) of the 1D signal histogram. The thresholds have to optimally separate these peaks in spite of typical overlaps between the signal ranges corresponding to individual peaks. A threshold in the valley between two overlapping peaks separates their main bodies but inevitably detects or rejects falsely some pixels with intermediate signals. The optimal threshold that minimises the expected numbers of false detections and rejections may not coincide with the lowest point in the valley between two overlapping peaks:

Adaptive thresholding

Since the threshold separates the background from the object, the adaptive separation may take account of empirical probability distributions of object (e.g. dark) and background (bright) pixels. Such a threshold has to equalise two kinds of expected errors: of assigning a background pixel to the object and of assigning an object pixel to the background. More complex adaptive thresholding techniques use a spatially varying threshold to compensate for local spatial context effects (such a spatially varying threshold can be thought as a background normalisation).
A simple iterative adaptation of the threshold is based on successive refinement of the estimated peak positions. It assumes that (i) each peak coincides with the mean grey level for all pixels that relate to that peak and (ii) the pixel probability decreases monotonically on the absolute difference between the pixel and peak values both for an object and background peak. The classification of the object and background pixels is done at each iteration j by using the threshold Tj found at previous iteration. Thus, at iteration j, each grey level f(x,y) is assigned first to the object or background class (region) if f(x,y) ≤ Tj or f(x,y) > Tj, respectively. Then, the new threshold, Tj+1 = 0.5(μj,ob + μj,bg) where μj,ob and μj,bg denote the mean grey level at iteration j for the found object and background pixels, respectively:

Colour thresholding

Color segmentation may be more accurate because of more information at the pixel level comparing to greyscale images. The standard Red-Green-Blue (RGB) colour representation has strongly interrelated colour components, and a number of other colour systems (e.g. HSI Hue-Saturation-Intensity) have been designed in order to exclude redundancy, determine actual object / background colours irrespectively of illumination, and obtain more more stable segmentation. An example below (from http://www.matrix-vision.com/products/software) shows that colour thresholding can focus on an object of interest much better than its greyscale analogue:

Greyscale vs. colour thresholding
Segmentation of colour images involve a partitioning of the colour space, i.e. RGB or HSI space. One simple approach is based on some reference (or dominant) colour (R0, G0, B0) and thresholding of Cartesian distances to it from every pixel colour f(x,y) = (R(x,y),G(x,y),B(x,y)):

where g(x,y) is the binary region map after thresholding. This thresholding rule defines a sphere in RGB space, centred on the reference colour. All pixels inside or on the sphere belong to the region indexed with 1 and all other pixels are in the region 0.
Also, there can be an ellipsoidal decision surface if independent distance thresholds are specified for the R, G, and B components. Generally, colour segmentation, just as the greyscale one, may be based on the analysis of 3D colour histograms or their more convenient 2D projections. A colour histogram is built by partitioning of the colour space onto a fixed number of bins such that the colours within each bin are considered as the same colour. An example below of the partitioned 11×11×11 RGB colour space is from (http://www.owlnet.rice.edu/~elec301/Projects02/artSpy/color.html):

How fine should be the partitioning depends on the application domain. In many cases colour segmentation exploits only a few dominant colours corresponding to distinct peaks of the pixel-wise colour distribution (both the images and histograms below are from ij-plugins.sourceforge.net/ij-vtk/color-space/):
Colour image "Baboon"Its colour 6×6×6 histogram
(sphere-size-coded bin values)
Colour image "Clown"Its colour 6×6×6 histogram
(sphere-size-coded bin values)
If a chosen colour space separates colourless intensity values from intensity-independent colour components (such as hue and saturation or normalised red / blue colurs), colour segmentation can be based on a few pre-selected colours, e.g. on the eight primary colours (black, red, green, blue, yellow, cyan, magenta, white). An example below shows a digitised picture of the Rembrandt's canvas "Doctor Nicolaes Tulp's Demonstration of the Anatomy of the Arm" (1632; Mauritshuis Museum, The Hague, The Netherlands), its 8-bin histogram of the primary colours, and the corresponding colour regions:
Digitised Rembrandt's canvasColour 8-bin histogramRegions of the primary colours
(www.abcgallery.com/R/rembrandt/)(http://rsb.info.nih.gov/ij/plugins/color-inspector.html)
More efficient adaptive thresholding of greyscale images can be extended to colour images, too, by replacing mean grey levels for each colour region with its mean colors, e.g. RGB-vectors with the mean component values.

Contextual segmentation: Region growing

Non-contextual thresholding groups pixels with no account of their relative locations in the image plane. Contextual segmentation can be more successful in separating individual objects because it accounts for closeness of pixels that belong to an individual object. Two basic approaches to contextual segmentation are based on signal discontinuity or similarity. Discontinuity-based techniques attempt to find complete boundaries enclosing relatively uniform regions assuming abrupt signal changes across each boundary. Similarity-based techniques attempt to directly create these uniform regions by grouping together connected pixels that satisfy certain similarity criteria. Both the approaches mirror each other, in the sense that a complete boundary splits one region into two.

Pixel connectivity

Pixel connectivity is defined in terms of pixel neighbourhoods. A normal rectangular sampling pattern producing a finite arithmetic lattice {(x,y): x = 0, 1, ..., X−1; y = 0, 1, ..., Y−1} supporting digital images allows us to define two types of neighbourhood surrounding a pixel. A 4-neighbourhood {(x−1,y), (x,y+1), (x+1,y), (x,y−1)} contains only the pixels above, below, to the left and to the right of the central pixel (x,y). An 8-neighbourhood adds to the 4-neighbourhood four diagonal neighbours: {(x−1,y−1),(x−1,y), (x−1,y+1), (x,y+1), (x+1,y+1), (x+1,y), (x+1,y−1), (x,y−1)}.
4-connected path from a pixel p1 to another pixel pn is defined as the sequence of pixels {p1p2, ..., pn} such that pi+1 is a 4-neighbour of pi for all i = 1, ..., n−1. The path is 8-connected if pi+1 is an 8-neighbour of pi. A set of pixels is a 4-connected region if there exists at least one 4-connected path between any pair of pixels from that set. The 8-connected region has at least one 8-connected path between any pair of pixels from that set.
One of the simplest and most common algorithms for labelling connected regions after greyscale or colour thresholding exploits the "grassfire" or "wave propagation" principle: after a "fire" or "wave" starts at one pixel, it propagates to any of the pixel's 4- or 8-neighbours detected by thresholding. Each already visited (i.e. "burnt away" or "wet") pixel cannot be visited again, and after the entire connected region is labelled, its pixels are assigned a region number, and the procedure continues to search for the next connected region. Magenta and yellow stars below indicate the fire, or wave front and the burnt away pixels, respectively. To label a region, the fire starts from its first chosen pixel:
The 4- and 8-connectivity produce different segmentation results:
Moreover, each definition leads to contradictions between the discrete and continuous cases. For example, an one-pixel-wide vertical or horizontal 8-connected line separates two 8-connected regions but this separation does not hold after the line is only slightly rotated with respect to the image lattice:
At the same time, the like 4-connected line breaks into disjoint pieces after such a rotation:
Modern digital geometry has developed theoretically justified approaches to escape these problems. In many practical cases, the connectivity is simply defined variously for objects (foreground pixels) and background, e.g. 4-connectivity for objects and 8-connectivity for background or vice versa:
Binary image 64×64 (zoom by a factor of 5)86 foreground 4-connected regions10 foreground 8-connected regions
(http://www.dca.fee.unicamp.br/projects/khoros/mmach/tutor/toolbox/basicl/labeling/front-page.html)

Region similarity

The uniformity or non-uniformity of pixels to form a connected region is represented by a uniformity predicate, i.e. a logical statement, or condition being true if pixels in the regions are similar with respect to some property (colour, grey level, edge strength, etc). A common predicate restricts signal variations over a neighbourhood: the predicate P(R), where R denotes a connected region, is TRUE if |f(x,y) − f(x+ξ,y+η)| ≤ Δ and FALSE otherwise (here, (x,y) and (x+ξ,y+η) are the coordinates of neighbouring pixels in region R. This predicate does not restrict the grey level variation within a region because small changes in signal values can accumulate over the region.
Intra-region signal variations can be restricted with a similar predicate: P(R) = TRUE if |f(x,y) − &muR| ≤ &Delta and FALSE otherwise where (x,y) is a pixel from the region R and μR is the mean value of signals f(x,y) over the entire region R.

Region growing

The bottom-up region growing algorithm starts from a set of seed pixels defined by the user and sequentially adds a pixel to a region provided that the pixel has not been assigned to any other region, is a neighbour of that region, and its addition preserves uniformity of the growing region.
Greyscale imageSeed regionsRegion growing results
(http://www.lems.brown.edu/~msj/cs292/assign5/segment.html)
Such a segmentation is simple but unstable. It is very sensitive to a chosen uniformity predicate, i.e. small changes of the uniformity threshold may result in large changes of the regions found. Also, very different segmentation maps are obtained under different routes of scanning an image, different modes of exhausting neighbours of each region, different seeds, and different types of pixel connectivity.
Greyscale image (zoom by a factor of 2)4-connected region growing8-connected region growing
(http://www.comp.leeds.ac.uk/ai21/examples/images/rgrow.html)
Greyscale imageSeed regions: variant 1Region growing results
Seed regions: variant 2Region growing results
(http://www.lems.brown.edu/~msj/cs292/assign5/segment.html)
Generally, a "good" complete segmentation must satisfy the following criteria:
  1. All pixels have to be assigned to regions.
  2. Each pixel has to belong to a single region only.
  3. Each region is a connected set of pixels.
  4. Each region has to be uniform with respect to a given predicate.
  5. Any merged pair of adjacent regions has to be non-uniform.
Region growing satisfies the 3rd and 4th criteria, but not the others. The first two criteria are not satisfied because, in general, the number of seeds may not be sufficient to create a region for every pixel. The 5th criterion may not hold because the regions grown from two nearby seeds are always regarded as distinct, even if those seeds are defined within a potentially uniform part of the image.

Split-and-merge segmentation

The top-down split-and-merge algorithm considers initially the entire image to be a single region and then iteratively splits each region into subregions or merges adjacent regions until all regions become uniform or until the desired number of regions have been established.
A common splitting strategy for a square image is to divide it recursively into smaller and smaller quadrants until, for any region R, the uniformity predicate P(R) is TRUE. The strategy builds a top-down quadtree: if P(image) is FALSE, the image is divided into four quadrants; if P(quadrant) is FALSE, the quadrant is divided into subquadrants; and so on:

The splitting stage alternates with a merging stage, in which two adjacent regions Ri and Rj are combined into a new, larger region if the uniformity predicate for the union of these two regions, P(Ri ∪ Rj), is TRUE.

Texture segmentation: Spectral features

Grey level or colour pixel values by themselves are not sufficient for segmenting natural highly-textured images like those shown below:
Textured collageGrey-level histogramSegmentation by thresholding

The above two regions (a black object and white background) obtained by simple thresholding are completely meaningless. To find meaningful regions containing different types of homogeneous textures, specific texture measures (features) have to be used like, for example, local spatial signal statistics:
Textured collageSegmentation using local features
(http://www.sztaki.hu/~sziranyi/textu-iu.html)
Textured collage, actual region map, and segmentation using local features
(http://www.ercim.org/publication/Ercim_News/enw64/mikes.html
Texture is a spatial property that characterises groups of pixels. A local measure of texture is therefore computed over a neighbourhood. An example of the simplest statistical measure is the variance of grey levels in a square n×n neighbourhood centred on a pixel:

The "variance" image presents scaled standard deviations σ for each pixel; bright regions in this image signify high local variance of grey levels:
Greyscale image "Baboon"Variance image (7×7 window)
Histogram of the variance imageVariance thresholding: T=63
For most of natural textures, simple statistical measures are of little use. If two textures of interest are periodic, they might be separated in the frequency domain by comparing the spectra of small samples taken from the two patterns. Spectral segmentation techniques typically use the radially or angularly integrated power spectrum of a region in an image. Radial integration sums power values within a ring of radius r and width Δr. Angular integration sums power values within a sector defined by a radius, r, an orientation, θ, and an angular width, Δθ. The ring-based measurement relates to the texture scale: a concentration of power at small or large radii signifies coarse or fine texture, respectively. The sector-based measurement relates to texture orientation: a texture oriented in a direction φ results in high power for a sector at angle θ = φ + π/2.

References

These lecture notes follow Chapter 10 "Segmentation" of the textbook
  • Nick EffordDigital Image Processing: A Practical Introduction Using JavaTM. Pearson Education, 2000.
with extra examples and teaching materials taken mostly, with corresponding references, from the Web.
Return to the local table of contents
Return to the general table of contents